element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14 presents
  • Challenges & Projects
  • More
element14 presents
element14 presents Forum Episode 607 Reboot request
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14 presents to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 63 replies
  • Subscribers 106 subscribers
  • Views 4478 views
  • Users 0 members are here
Related

Episode 607 Reboot request

Mikeatencio
Mikeatencio 5 months ago

/challenges-projects/element14-presents/project-videos/w/documents/28198/from-strava-to-motion-creating-an-arduino-powered-arcade-game-with-running-data----episode-607

I included the episode for context. Can someone please recreate this project for horse racing like the carnival arcades instead of the STAVA Lorraine created? I would truly enjoy making this now that I am retired. Thanks

Mike 

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave 5 months ago in reply to Mikeatencio +3
    I recall colporteur created a project 14 entry based on PWM locomotive motor control about 3 years ago as part of the world in motion competition and won a prize. I think it will have some similarities…
  • beacon_dave
    beacon_dave 5 months ago +2
    You may need to start by sharing some pictures of the version of the game that you are after creating, as they vary quite a bit. Over here in my youth it was known as the 'Donkey Derby' but that I believe…
  • beacon_dave
    beacon_dave 5 months ago +2
    If you still want to use a pinball mechanism, then perhaps look at the Ben Heck Show episode archive, as he built a number of pinball machines from scratch.
  • beacon_dave
    beacon_dave 5 months ago in reply to Mikeatencio +2
    Well that was a quick and easy decision... You can get GPIO expanders if you run out or you can just add another microcontroller, like has been done here where 200 buttons are being used: https://www…
  • beacon_dave
    beacon_dave 5 months ago in reply to beacon_dave +1
    I recall that some were based on linear tracks like Lorrainbow's Strava version whereas some were based on oval tracks. Size varied a lot as well from the large arcade versions like this Blackpool Pier…
  • michaelkellett
    michaelkellett 5 months ago in reply to Mikeatencio +1
    I would have had a look but you can't see much at all without signing in an creating an account - but they want you to pay before you can access the 14 day free account. I won't pay money to a supplier…
  • beacon_dave
    beacon_dave 5 months ago in reply to beacon_dave +1
    I recall SparkFun did a corn hole board game with a LED light strip in the hole the corn bag drops through Sketch Up SparkFun Corn Hole Lorrainbow also did a BasketBall hoop using a colour sensor …
  • michaelkellett
    michaelkellett 5 months ago in reply to Mikeatencio +1
    No need to apologise - it's not you being a muppet ! MK
  • beacon_dave
    beacon_dave 5 months ago in reply to Mikeatencio +1
    Mikeatencio said: 6 foot long. For 12 players then a 6' long track might be a bit on the short side. If you have 6 players either side then that only leaves 1' per player. Might be worth considering…
  • beacon_dave
    beacon_dave 5 months ago in reply to Mikeatencio +1
    I think you are going to be around 2' shoulder width, then you need extra for the elbow movement when picking and rolling the balls. One way to maximize space may be to make it dodecagonal as that way…
Parents
  • Mikeatencio
    Mikeatencio 5 months ago

    I just tried the FLUX.AI to create the game. It works mostly but it needs to be a little more intuitive. I used ChatGPT to create a prompt and then used the prompt in FLUX. CoPilot spit out a lot of stuff as it asked questions. Here's the thing, every time it uses CoPilot, it charges  .05 per unit after the free 50 credits are used up. I didn't know this. I paid $48.00 because CoPilot wouldn't answer the question with everything I needed, It was a question at a time ringing up my bill. Don't get me wrong, it's pretty good, but it feels like I was led down a dark alley way. That being said, they offered to refund the money when the charge goes through. And they were very understanding. I will finish this game in flux as soon as I have more money to pay. Oh, you can't buy credits in advance. And they can't tell you how many credits your project will take. Hiring  a person to create this would have been in the thousands plus the parts. For a DIYer, this is a better alternative and it includes documentation if it doesn't work and I still need an electrical engineer to fix it.  AI makes mistakes, so there's that. 

    I thought I'd share this with you to mull over for anyone else thinking of using that platform.  Here's the prompt I used:

    Project Title:
    Single-ESP32 Addressable RGB Horse Race Game PCB Design (SMD, Detachable, Trailer-Mounted)

    Project Description:
    We are creating an interactive "Horse Race Game" designed for carnival trailer mounting. This game uses a single ESP32 to control 12 addressable RGB LED strips (e.g., WS2812B) that simulate a horse race. Each LED strip represents one "horse" and is mounted behind silhouette cutouts. To protect the LED strips during transport and facilitate quick setup at carnival events, the LED strips will be purchased separately and designed to be easily detachable. They will be segmented into groups (for example, 5 LEDs per segment) with intentional gaps (approximately three inches) between each segment. Dedicated connector strips will rejoin the segments by maintaining proper 5V, GND, and data connections.

    Key Features and Requirements:

    1. Microcontroller and Core Components:

      • A single ESP32 development board (SMD version or mounted on an SMD adapter) is used to drive the entire game.

      • The board is powered by a standard 5V workbench electronics power supply, which must supply sufficient current for all 12 LED strips.

      • All components share a common ground.

    2. LED Display for the Horses:

      • 12 addressable RGB LED strips (e.g., WS2812B, each with approximately 30 LEDs) are used to display the progress of each horse.

      • The LED strips are connected via dedicated SMD detachable connectors on the PCB for quick and easy attachment/detachment.

      • The LED strips will be segmented into groups (e.g., groups of 5 LEDs) with a gap (around three inches) between each segment. These segments will be rejoined using connector strips to ensure proper electrical continuity for 5V, GND, and the data line.

      • Optionally, include an SMD 330 Ω resistor in series with each LED strip data line for signal protection.

    3. Ball-Drop Sensor Box:

      • A physical sensor box, mounted on the trailer, includes 3 holes labeled "Hole 1", "Hole 2", and "Hole 3."

      • Each hole is equipped with microswitches arranged as follows:

        • Hole 1: 1 microswitch (awards 1 point)

        • Hole 2: 2 microswitches (awards 2 points)

        • Hole 3: 3 microswitches (awards 3 points)

      • Microswitches are connected to designated digital input pins on the ESP32 (via SMD connectors or solder pads) with the internal pull-up resistors enabled.

    4. User Interface and Power Control:

      • An SMD pushbutton is provided to start the game (wired to a digital input on the ESP32).

      • An integrated SMD on/off toggle switch is incorporated into the power circuitry, allowing users to safely turn off the game.

      • (Optional) Additional SMD status indicator LEDs may be added for game status feedback.

    5. PCB Design Guidelines (All SMD Components):

      • ESP32 Section:

        • Use the SMD footprint for the ESP32 module with proper routing for all necessary power, digital outputs, and sensor inputs.

        • Route 12 digital output lines to SMD headers or detachable connectors for the LED strips.

        • Include decoupling SMD capacitors (e.g., 0.1 µF and 10 µF) near the ESP32’s power pins.

      • LED Strip Connections:

        • Provide clearly labeled SMD connectors or low-profile headers for each LED strip’s data, 5V, and GND.

        • Ensure the connector design allows for easy attachment/detachment to protect the LED strips during transport.

        • Optionally integrate SMD 330 Ω resistors on the data lines.

      • Sensor Inputs:

        • Create SMD header pins or solder pad arrays for each microswitch from the ball-drop sensor box.

        • Label sensor inputs clearly as “Hole 1,” “Hole 2 (Switches 1 & 2),” and “Hole 3 (Switches 1, 2 & 3).”

      • Power Distribution and On/Off Switch:

        • Design robust common 5V and GND rails to handle the current for the LED strips.

        • Integrate the SMD on/off toggle switch into the power section so that users can disconnect the 5V rail or safely signal a shutdown.

        • Ensure proper trace widths for high-current sections.

      • Trailer-Mounted Considerations:

        • The PCB layout must be compact and robust to handle vibrations and movement typical in a trailer environment.

        • Use secure yet detachable connectors for the LED strips.

        • Clearly label all connectors and mounting points on the PCB silkscreen.

    Additional Notes:

    • The ESP32's fast main loop processes sensor inputs and updates the LED strips sequentially. However, due to the rapid cycling, the updates appear simultaneous.

    • Once the start pushbutton is pressed, the game begins; sensor events update the respective horse's score, and when a horse reaches the finish line (e.g., 30 points), the game stops.

    • The entire design is optimized for SMD components, and the LED strips are intentionally designed to be detachable, segmented, and rejoinable via connector strips.

    • This project is powered by a standard 5V workbench electronics power supply.

    Please use this detailed prompt to generate SMD-based PCB schematic files that fully address all aspects of the project, including the detachable LED strips for a trailer-mounted carnival installation.

    Link to my FluxAI project   https://www.flux.ai/matencio/hrg-1?editor=schematic 

    Check it out

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Mikeatencio
    Mikeatencio 5 months ago

    I just tried the FLUX.AI to create the game. It works mostly but it needs to be a little more intuitive. I used ChatGPT to create a prompt and then used the prompt in FLUX. CoPilot spit out a lot of stuff as it asked questions. Here's the thing, every time it uses CoPilot, it charges  .05 per unit after the free 50 credits are used up. I didn't know this. I paid $48.00 because CoPilot wouldn't answer the question with everything I needed, It was a question at a time ringing up my bill. Don't get me wrong, it's pretty good, but it feels like I was led down a dark alley way. That being said, they offered to refund the money when the charge goes through. And they were very understanding. I will finish this game in flux as soon as I have more money to pay. Oh, you can't buy credits in advance. And they can't tell you how many credits your project will take. Hiring  a person to create this would have been in the thousands plus the parts. For a DIYer, this is a better alternative and it includes documentation if it doesn't work and I still need an electrical engineer to fix it.  AI makes mistakes, so there's that. 

    I thought I'd share this with you to mull over for anyone else thinking of using that platform.  Here's the prompt I used:

    Project Title:
    Single-ESP32 Addressable RGB Horse Race Game PCB Design (SMD, Detachable, Trailer-Mounted)

    Project Description:
    We are creating an interactive "Horse Race Game" designed for carnival trailer mounting. This game uses a single ESP32 to control 12 addressable RGB LED strips (e.g., WS2812B) that simulate a horse race. Each LED strip represents one "horse" and is mounted behind silhouette cutouts. To protect the LED strips during transport and facilitate quick setup at carnival events, the LED strips will be purchased separately and designed to be easily detachable. They will be segmented into groups (for example, 5 LEDs per segment) with intentional gaps (approximately three inches) between each segment. Dedicated connector strips will rejoin the segments by maintaining proper 5V, GND, and data connections.

    Key Features and Requirements:

    1. Microcontroller and Core Components:

      • A single ESP32 development board (SMD version or mounted on an SMD adapter) is used to drive the entire game.

      • The board is powered by a standard 5V workbench electronics power supply, which must supply sufficient current for all 12 LED strips.

      • All components share a common ground.

    2. LED Display for the Horses:

      • 12 addressable RGB LED strips (e.g., WS2812B, each with approximately 30 LEDs) are used to display the progress of each horse.

      • The LED strips are connected via dedicated SMD detachable connectors on the PCB for quick and easy attachment/detachment.

      • The LED strips will be segmented into groups (e.g., groups of 5 LEDs) with a gap (around three inches) between each segment. These segments will be rejoined using connector strips to ensure proper electrical continuity for 5V, GND, and the data line.

      • Optionally, include an SMD 330 Ω resistor in series with each LED strip data line for signal protection.

    3. Ball-Drop Sensor Box:

      • A physical sensor box, mounted on the trailer, includes 3 holes labeled "Hole 1", "Hole 2", and "Hole 3."

      • Each hole is equipped with microswitches arranged as follows:

        • Hole 1: 1 microswitch (awards 1 point)

        • Hole 2: 2 microswitches (awards 2 points)

        • Hole 3: 3 microswitches (awards 3 points)

      • Microswitches are connected to designated digital input pins on the ESP32 (via SMD connectors or solder pads) with the internal pull-up resistors enabled.

    4. User Interface and Power Control:

      • An SMD pushbutton is provided to start the game (wired to a digital input on the ESP32).

      • An integrated SMD on/off toggle switch is incorporated into the power circuitry, allowing users to safely turn off the game.

      • (Optional) Additional SMD status indicator LEDs may be added for game status feedback.

    5. PCB Design Guidelines (All SMD Components):

      • ESP32 Section:

        • Use the SMD footprint for the ESP32 module with proper routing for all necessary power, digital outputs, and sensor inputs.

        • Route 12 digital output lines to SMD headers or detachable connectors for the LED strips.

        • Include decoupling SMD capacitors (e.g., 0.1 µF and 10 µF) near the ESP32’s power pins.

      • LED Strip Connections:

        • Provide clearly labeled SMD connectors or low-profile headers for each LED strip’s data, 5V, and GND.

        • Ensure the connector design allows for easy attachment/detachment to protect the LED strips during transport.

        • Optionally integrate SMD 330 Ω resistors on the data lines.

      • Sensor Inputs:

        • Create SMD header pins or solder pad arrays for each microswitch from the ball-drop sensor box.

        • Label sensor inputs clearly as “Hole 1,” “Hole 2 (Switches 1 & 2),” and “Hole 3 (Switches 1, 2 & 3).”

      • Power Distribution and On/Off Switch:

        • Design robust common 5V and GND rails to handle the current for the LED strips.

        • Integrate the SMD on/off toggle switch into the power section so that users can disconnect the 5V rail or safely signal a shutdown.

        • Ensure proper trace widths for high-current sections.

      • Trailer-Mounted Considerations:

        • The PCB layout must be compact and robust to handle vibrations and movement typical in a trailer environment.

        • Use secure yet detachable connectors for the LED strips.

        • Clearly label all connectors and mounting points on the PCB silkscreen.

    Additional Notes:

    • The ESP32's fast main loop processes sensor inputs and updates the LED strips sequentially. However, due to the rapid cycling, the updates appear simultaneous.

    • Once the start pushbutton is pressed, the game begins; sensor events update the respective horse's score, and when a horse reaches the finish line (e.g., 30 points), the game stops.

    • The entire design is optimized for SMD components, and the LED strips are intentionally designed to be detachable, segmented, and rejoinable via connector strips.

    • This project is powered by a standard 5V workbench electronics power supply.

    Please use this detailed prompt to generate SMD-based PCB schematic files that fully address all aspects of the project, including the detachable LED strips for a trailer-mounted carnival installation.

    Link to my FluxAI project   https://www.flux.ai/matencio/hrg-1?editor=schematic 

    Check it out

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • michaelkellett
    michaelkellett 5 months ago in reply to Mikeatencio

    I would have had a look but you can't see much at all without signing in an creating an account - but they want you to pay before you can access the 14 day free account.

    I won't pay money to a supplier who doesn't understand the words "free trial".

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Mikeatencio
    Mikeatencio 5 months ago in reply to michaelkellett

    Sorry, I didn't think they would do that just to look at a file. I don't like the subscription plan for any business. I cancelled the subscription after I had all of the issues.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett 5 months ago in reply to Mikeatencio

    No need to apologise - it's not you being a muppet !

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Mikeatencio
    Mikeatencio 5 months ago in reply to michaelkellett

    Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube