Main > Project Announcements
4 PLAYER RACING CAB – LED Outputs/ MameHooker/ OutputBlaster/ Physical RPM Tacho
<< < (8/12) > >>
Pstylz:
05/04/2023 - UPDATE
-------------------------------
I have some exciting newssssssssssssssssssssssss!!!!  :cheers: :applaud:
I managed to get a physical tacho working with SEGA RACING CLASSIC (Daytona USA remake)

There was quite a bit of trial and error here..... I'd never worked with an Arduino before but I enjoyed the challenge very much!
Boomslangnz's OUTPUT BLASTER sends the RPM signal as a value between 0 and 100 (mamehooker appears to not work with any value above a byte eg 255 so the RPM was divided by 100, eg, 6700RPM = 67).
MAMEHOOKER sends this via the COM PORT to the Arduino, where it then does some math and sends "pulses" to the tacho to display the value.

Here is a quick video during the build of my 4P Arcade Racers showing that I successfully got a Tacho working with SEGA Racing Classic (TeknoParrot).
Massive thanks to Boomslangnz for taking the time to find the RPM output which I use MAMEHOOKER (Howard_Casto) to send the output to an Arduino which then communicates to the tachometer.


Fursphere:
Very cool.    :applaud:
jorgenjl2:
Oh wow this is so impressive!

I am glad to find some more people doing the race leader lights. I just got my led strip (ws2812b) programmed to an Arduino nano. I have it so 61x makes it all green, 51x all blue, 41x all red, 31x rainbow, 21x dancing green, etc. That way each player and even game is easily configurable in the mamehooker ini and you just change the value sent. My test of San Francisco Rush the Rock had the race leader light come on right away. I can send the code here soon if you want to rule out an Arduino code issue or a hardware issue for why your race leader light has a small delay. It took me a while to get it programmed and thankfully gpt4 was very helpful.

What games are you using with race leader lights?
Pstylz:

--- Quote from: jorgenjl2 on April 06, 2023, 10:02:56 pm ---Oh wow this is so impressive!

I am glad to find some more people doing the race leader lights. I just got my led strip (ws2812b) programmed to an Arduino nano. I have it so 61x makes it all green, 51x all blue, 41x all red, 31x rainbow, 21x dancing green, etc. That way each player and even game is easily configurable in the mamehooker ini and you just change the value sent. My test of San Francisco Rush the Rock had the race leader light come on right away. I can send the code here soon if you want to rule out an Arduino code issue or a hardware issue for why your race leader light has a small delay. It took me a while to get it programmed and thankfully gpt4 was very helpful.

What games are you using with race leader lights?

--- End quote ---

Thanks mate!

I love the Race Leader lights along with any game that can have an output translated to a physical LED - it's a lot of the reason I wanted to take on this project.
I appreciate the tip using an Arduino Nano.  I think my issue has been from using an ESP32 - from reading specs and so fourth, I think my issue is that the data wire needs a 5V signal and I'm barely getting 2+.  I tried to use a Level Shifter, but couldn't get a solid 5v from the ESP32 for the high power, got around this by using the 5v from the power supply but then found the ESP32 couldn't supply a 3.3v either.
I've ended up buying a couple of https://quinled.info/quinled-dig-octa-brainboard-32-8l/ which have built in level shifters, so I hope this solves my LED issues.

I love that you have San Francisco Rush the Rock working - I hope I can get the original working via LAN also.

Regarding Games with Race Leader outputs, this is what I have learnt so far:

  Daytona Championship USAOriginal hardware uses a second screen called a "billboard" to show race leader and race stats. It's powered by a Rasp Pi - I don’t think this will be available unfortunatelyDirty Drivin'Need to play around with this one – it appears like some of the outputs "flash" when you are in frontHyperdrive H2OYESSega Racing Classic (Daytona USA 1)YESSonic All Stars RacingYES - not positive about this oneStorm Racer Gbillboard lamp output - more testing neededDaytona USA 2 - PEYESDirt DevilsYESScud RacingYESSega Rally 2YESDaytona USAYESOutrunnersYESVirtuaRacing12347=digit1=0 - more testing neededRad RacingThere is a "Winner" output - more testing neededRad Racing12355=out7=0 - more testing needed
jorgenjl2:

--- Quote from: Pstylz on April 18, 2023, 04:58:05 am ---
--- Quote from: jorgenjl2 on April 06, 2023, 10:02:56 pm ---Oh wow this is so impressive!

I am glad to find some more people doing the race leader lights. I just got my led strip (ws2812b) programmed to an Arduino nano. I have it so 61x makes it all green, 51x all blue, 41x all red, 31x rainbow, 21x dancing green, etc. That way each player and even game is easily configurable in the mamehooker ini and you just change the value sent. My test of San Francisco Rush the Rock had the race leader light come on right away. I can send the code here soon if you want to rule out an Arduino code issue or a hardware issue for why your race leader light has a small delay. It took me a while to get it programmed and thankfully gpt4 was very helpful.

What games are you using with race leader lights?

--- End quote ---

Thanks mate!

I love the Race Leader lights along with any game that can have an output translated to a physical LED - it's a lot of the reason I wanted to take on this project.
I appreciate the tip using an Arduino Nano.  I think my issue has been from using an ESP32 - from reading specs and so fourth, I think my issue is that the data wire needs a 5V signal and I'm barely getting 2+.  I tried to use a Level Shifter, but couldn't get a solid 5v from the ESP32 for the high power, got around this by using the 5v from the power supply but then found the ESP32 couldn't supply a 3.3v either.
I've ended up buying a couple of https://quinled.info/quinled-dig-octa-brainboard-32-8l/ which have built in level shifters, so I hope this solves my LED issues.

I love that you have San Francisco Rush the Rock working - I hope I can get the original working via LAN also.

Regarding Games with Race Leader outputs, this is what I have learnt so far:

  Daytona Championship USAOriginal hardware uses a second screen called a "billboard" to show race leader and race stats. It's powered by a Rasp Pi - I don’t think this will be available unfortunatelyDirty Drivin'Need to play around with this one – it appears like some of the outputs "flash" when you are in frontHyperdrive H2OYESSega Racing Classic (Daytona USA 1)YESSonic All Stars RacingYES - not positive about this oneStorm Racer Gbillboard lamp output - more testing neededDaytona USA 2 - PEYESDirt DevilsYESScud RacingYESSega Rally 2YESDaytona USAYESOutrunnersYESVirtuaRacing12347=digit1=0 - more testing neededRad RacingThere is a "Winner" output - more testing neededRad Racing12355=out7=0 - more testing needed

--- End quote ---

Yeah this is pretty awesome to get all these race leader lights working!

SF Rush, Rush the Rock and Rush 2049 work great with the race leader light. The problem with Rush (my favorite racing game) is that the LAN version only works for 15 to 99% of the way through a race before it crashes one of the players games. The other issue is that Windows 10 cannot programmatically enable and disable the TAP VPN (needed to play the Rushes and California Speed currently) since Microsoft has not added the ability and turning the tap adapter on manually loses network for the other lan games. I started looking into programs that can do gui mouse clicks (literally programmatically clicking on parts of the screen and mimicking what you do with your mouse) but I gave up hoping a Mame dev would fix the Rush LAN at some point. That or Cruis’n USA would be my two favorite games that need to be linkable.
Navigation
Message Index
Next page
Previous page

Go to full version