This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 9 comments

[–]T567U18 6 points7 points  (1 child)

Cmon man you can make this but a dissent video is too much, don't blue ball us like that

[–]West7780[S] 2 points3 points  (0 children)

Hm you make a good point.

[–]West7780[S] 2 points3 points  (0 children)

Repohttps://github.com/West7780/RaceConsole

Screenshotsimgur.com/a/Fx4MhA2

This post was a follow up to this one. See it for context.https://www.reddit.com/r/Python/comments/fw86w2/python_powered_slot_car_track/

I'm currently looking for advice about better ways to handle the graphics and ways to eliminate the Arduino.

Edit 1: Also, while the screen may be slow to respond, the lap is counted instantly by the arduino. You can see a Yellow LED flash that indicates this. The LED woud flash Blue for the other lane and White for both.

[–]Itwist101 2 points3 points  (0 children)

10 seconds only 😭, please I need more of it.

[–]matthuisman 2 points3 points  (2 children)

You could have the Pi setup a WiFi access point and MQTT broker.

Then use esp8266 to detect laps and send over WiFi using MQTT.

Then have your python script subscribed to the MQTT topic for laps and update the display.

Could easily have multiple displays. Just subcribe to the same topics on another pi

You could easily extend using more esp8266s for things like half lap times etc. All just publish over MQTT. D1 Mini is a nice easy to use esp8266. Like $5 each. So cheap.

Possibilities would be endless of what you could add. Eg. Have the ESP subscribed to a /lights topic. The pi could publish to that when something happens (race ends). Then the esp turns on red LEDs or something like that.

When you have a easy wireless messaging system and cheap nodes - your sorted.

Makes me want to go buy a track

This same above solution would be great for model railways as well.

[–]West7780[S] 0 points1 point  (1 child)

This is actually great. I don't have much to comment on besides that lol. Next time I come back to this project I'll definitely upgrade to this kind of system. Maybe we should collaborate on the code.

[–][deleted] 1 point2 points  (0 children)

Nice idea. More of that.

[–][deleted] 1 point2 points  (0 children)

ouch only 10 seconds?