Aller au contenu

[TUTO] Arduino Uno R3 + Addressable LEDs + Super Bikes 3 (Real-time Outputs)


Messages recommandés

Posté(e) (modifié)
Hello everyone! 👋
 
Today I want to share a custom hardware and software solution I designed to extract in-game telemetry and lighting triggers from Super Bikes 3 (Raw Thrills). This project syncs live game events with physical WS2812B Addressable LED strips via an Arduino Uno R3, (You can use any led module if you want) which is a massive upgrade if you are building your own arcade cabinet or custom Arcade PC setup.
The system relies on a lightweight background Python daemon that reads the game's official game_log.txt file in real time using regular expressions (log tailing). When specific triggers occur (such as coin insertions, Attract Mode cycles, race starts, or finishing a lap), it fires custom serial commands over to the Arduino to execute high-performance lighting animations.
 
⚠️ IMPORTANT MODERATION & LEGAL NOTICE ⚠️
  • THIS COMPILATION DOES NOT CONTAIN AND WILL NOT SHARE ANY GAME DUMPS, EXECUTABLES, PATCHES, OR ROM DATA.
  • All assets provided in the download package consist strictly of open-source text scripts, logic code, and electronics schematics written entirely by me.
  • Please do not request game download links or bypass files in the comments or via Private Messages. Any such requests will be completely ignored to comply with forum rules.

 

 

🛠️ Hardware Requirements
  • Microcontroller: Arduino Uno R3 (connected via USB).
  • LED Strip: WS2812B Digital Addressable RGB LED strip.

 

  • Wiring Setup:
    • LED Data Pin connected to Arduino Digital Pin 6. (You can change it to any pin in the .ino) 
    • Optional: A digital relay can be mapped to Digital Pin 4 (again you can change it) if you want to drive a physical Blower Motor/Fan for wind feedback during boosts.

 

 

💾 Software & Libraries Used
  • Arduino Environment: Requires the FastLED library installed via the Arduino IDE Library Manager.
  • PC Environment: Python 3.x installed. You must install the serial communication library by opening your terminal/CMD and typing:
    pip install pyserial

 

 
📦 Features & Supported Triggers Inside the Pack
The script tracks multiple system hooks from the game log without injecting any unstable code into the game binary:
  • Global State: Attract -> Triggers passive arcade cabinet cycling animations when idle.
  • AddCash -> Instantly flashes the LEDs to acknowledge physical coin inserts or service credits.
  • Global State: RaceCoro -> Clears attract patterns and spins up high-speed reactive gradients for live gameplay.
  • Global State: RaceFinish -> Triggers custom victory green pulse waves upon crossing the finish line.
  • BLOWER:ON / OFF -> Toggles Pin 4 to drive structural relays.

 

 

📥 Download Link (Arduino Sketch + Python Log Monitor)
The package contains the production-ready .ino file for your Arduino Uno R3, the configured .py source file, and a quick setup text file.
Spoiler

 

Spoiler
 
Setup Tip: Remember to open the .py script with any text editor before launching it to update the SERIAL_PORT variable to your actual Arduino COM port (e.g., COM3) and set the precise folder location of your game_log.txt file. The log file is in: Super Bikes 3\User\
 
Feel free to download it, try it out on your rigs, and drop your questions or wiring issues down below. I will gladly help you troubleshoot your setups!
 
Some video

 

 

 

FEEDBACK & SUPPORT
If this project helped you bring your arcade cabinet back to life, please don't forget to Rate this thread and hit the "Thanks/Like" reaction button! 

Positive feedback keeps me motivated to share more custom Arcade PC setup tools and hardware hacks with the community. If you run into any bugs, drop a comment below!
 

Modifié par JoNB3x
Missing the readme.txt
Posté(e)

Really cool, and now feels like going down the rabbit hole I need to add something like this to my cab. Is there a turnkey easy solution for people who do not want to spend too much time on it?

Posté(e)
2 hours ago, ducon2016 said:

Really cool, and now feels like going down the rabbit hole I need to add something like this to my cab. Is there a turnkey easy solution for people who do not want to spend too much time on it?

 

Hi ! If you want to bypass the coding completely, there is a standard commercial turnkey solution widely used in the arcade community.
Instead of an Arduino and a custom Python script, you can combine plug-and-play USB hardware with universal arcade lighting software:
 
Note: Im not totally sure about but:
 
- Commercial USB Controllers
Instead of a DIY microcontroller, you can use dedicated arcade LED controllers that connect directly via USB and require no programming or soldering. The industry standards are:
  • Pac-Drive / PacLED64 (by Ultimarc)
  • LED-Wiz (by GroovyGameGear)
- Software: LEDBlinky
Instead of the Python script, you use a popular software called LEDBlinky. It features a full graphical user interface (UI) to manage everything:
  • No Coding: You map your LEDs and triggers entirely through visual menus and drop-down lists.
  • Native Integration: It automatically listens to game states, coin inserts, and outputs from emulators like TeknoParrot or frontends (LaunchBox, Hyperspin, etc.).
Summary
  • Pros: 100% code-free, highly stable, and works automatically across hundreds of arcade games.
  • Cons: Dedicated commercial boards are more expensive than a cheap $5 Arduino clone.
but to be honest u prefer this method using arduino + Python

Veuillez vous connecter pour commenter

Vous pourrez laisser un commentaire après vous êtes connecté.



Connectez-vous maintenant
×
×
  • Créer...