Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Daytona USA - Converting a Twin cabinet "correctly".  (Read 13226 times)

0 Members and 1 Guest are viewing this topic.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Daytona USA - Converting a Twin cabinet "correctly".
« on: April 18, 2015, 07:41:43 am »
Hi Guys,

I've started to convert my Daytona USA Twins (actually got 3 of em right now, 4th on the way) to PCs without modifying the original wiring.





I got bored of my Daytona Boardsets dying over and over again, so I swaped them with PCs.

I used an Arduino (MEGA 2560) to interface the PC to the cabinet. - None of the original wiring was cut/modified, so I can put a real Boardset back in there at any time.

Big ThankYou goes to BigPanik for the initial idea and "proof of concept" of using an Arduino in the first place :)



1. - I removed the CPU Board cage by unpluging all the connectors and removing two screws that hold the cage in place. Then I "moved" the cables going to the back of the base to the center.



2. - As the PC will generate the sounds, I disconnected the power cables going to the sound board (1 connector) and audio cables (2 pairs of connectors) from the amp board and pluged in a standard pc audio cable in there.

3. - I disconnected all cables on the sega power supply (1x AC, 1x Main Power, 1x Aux Power) and pluged in a handmade power cord for the PC instead.

4. - I built an adapter board which provides several connectors for the original cabling:
  • 10p (1x10) for AUX power. This line usually powers the I/O board inside the cage, but I will use it to provide power to the drive board instead.
  • 5p (1x5) for video.
  • 50p (2x25) for buttons, lamps, shifter.
  • 26p (2x13) for the pedals and wheel pot.
  • 11p (1x11) for sending commands to the drive board.
  • Pin-Header for the Arduino Mega2560
  • VGA for video
  • 5V and GND for power

5. - I put a standard PC in the place the original board cage was located at.
  • The VGA is connected to the adapter board.
  • Audio runs from a 3.5mm connector to the RCA jacks on the sega amp board.
  • One USB line feeds the Arduino Mega2560
  • 5V and GND line to the adapter board.



6. - I unscrewed one of the TOSLINK jacks on the back of the cabinet and used that hole to get a standard RJ45 network cable in there.




7. - The firmware on the Arduino Mega2560 does two things:
 * read pots, read buttons, read and decode the shifter (3 wires, 5 states)
 * write commands to the drive board, drive the "lamp driver" IC to switch on and off the lamps etc.

8. - I currently use vJoy to create a virtual Joystick device, which gets updated with the data supplied by the Arduino. A small tool (for the moment) checks which game is currently running, reads the commands and lamp data from memory and feeds them to the Arduino. It also filters out "bad commands" and translates various command types (for example OutRun deluxe movements).

9. - software wise I run XP64 on Core2Duo (2,1GHz), 1GB RAM, ATI HD4650. I use Soft-15kHz to feed the monitors with 25kHz video signal at native resolution of 496x384.



The software was "developed", using slightly modified hardware approach, on my Indy500 deluxe cabinet.

Intersting note: the m2emulator is running too fast! If I run daytona on real hardware and the emulation side by side, the emulator is slightly faster. I suspect that is a 58Hz (original) vs. 60Hz (emulation) thing. Even the music plays slightly faster.

There is also a new version of vJoy in development that does support force feeback on the windows side. So in theory I could translate the windows force feedback commands to the sega drive board and play pc games with force feeback too.



Another interesting fact...
4 units are "Daytona USA classic", the 3rd generation released. They are made of steel/plastic and have red seats.
2 units are "Daytona USA", the 1st generation released. They are made of wood and have black seats.
As far as I know there is another version - I'll call it 2nd generation - which is made of steel/plastic already but still features the "Daytona USA" topper and black seats.

I noticed the wood cabinet and the steel cabinets have a different setup of boards and wiring.
At first my adapter seemed to fit both setups perfectly. But I soon discovered some differences.

The wood cabinet for some reason has 4 "split" +5V rails, where the steel cabinet has only 2 rails.
This becomes even more strange as the Power Supply only has 2 rails for +5V.
V2 = +5V Aux (Sound Board, Drive Board, I/O Board), V4 = +5V CPU (CPU Board, Video Board)

Sadly, the I/O Board and the Drive Board are on different rails - I "hacked" the wiring by connecting both +5V Aux rails.

The other strange difference is the power for the CPU Board FAN.
On the wood cabinets the FANs are actually 12V wired (RED @ Pin 5). On the (later) steel cabinets, there are 5V wired (YELLOW @ Pin 5).
To "fix" that, I had to remove Pin 5 from my adapter board - otherwise I would have fed +5V on the +12V rail.
In conclusion it is NOT possible to swap board cages from one cabinet to another without paying attention to the FAN voltage... You might fry your 5V FANs.





Most of the screen (Nanao MS9-29U) worked out of the box - although they were quite dark.




MAME - Virtua Racing on a Daytona USA Twin (and Daytona)
MAME - OutRun on Indy 500 (with working FFB)
M2Emulator - Daytona USA on Indy 500 Deluxe Cabinet
MAME - Virtua Racing on Indy 500 Deluxe Cabinet
M2Emulator - Sega Indy 500 Deluxe Cabinet




« Last Edit: April 25, 2015, 06:09:03 pm by SailorSat »
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SegaOutrun

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 398
  • Brakes are overrated
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #1 on: April 18, 2015, 05:53:39 pm »
im intrigued on how you got the controls to interface with the pc and the video as well. i look forward to the info.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #2 on: April 19, 2015, 01:10:01 pm »
updated first post
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7877
  • My arcade cabinet has a cup holder.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #3 on: April 19, 2015, 01:33:59 pm »
 :notworthy:

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #4 on: April 20, 2015, 04:43:40 am »
:notworthy:

Hahaha, reminds me of waynes world .)

We're not Worthy!!!!
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


vandale

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 271
  • Id 10 and t error
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #5 on: April 20, 2015, 05:20:35 am »
RESPECT!!

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #6 on: April 25, 2015, 06:10:36 pm »
pics are up
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


sosad

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #7 on: April 27, 2015, 01:23:10 am »
reminds me of waynes world .)
You can join us for best cert killer PCNSE6 dumps oracle training solutions.

Psykick

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #8 on: April 28, 2015, 03:33:23 pm »
You're truly magnificent SailorSat!  :notworthy:

We also have an 8 player in our arcade where the boards keep dying on us, very frustrating. Now down to 6 and lots of defective boards on a pile.

Can you produce them and sell them as kits? We would really be interested and I think a lot of people worldwide will. Thnx for sharing and making it happen in the first place!


edekoning

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #9 on: April 29, 2015, 07:36:53 am »
Over the weekend I saw this YouTube vid showing all the internals of a Daytona twins cab. I never realized that Daytona was so complex, and required so many boards.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #10 on: April 30, 2015, 07:25:27 am »
That is a pretty decent video :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11977
  • 說好話 做好事 存好心
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #11 on: April 30, 2015, 10:21:23 am »
so is it somehow possible for you to play Daytona USA on a real board set against a PC in a set of your twins?

Stellar work as always.  :applaud:
2014 Standup UCA Runner Up
2015 Restoration UCA Winner
2016 thomas_surles choice award

Latest project:
http://forum.arcadecontrols.com/index.php/topic,150902.0.html
RedheadKingPinball aka GingerBalls

Latest Restore?
http://forum.arcadecontrols.com/index.php/topic,152600.0.html
Killer Instinct Cab

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #12 on: May 01, 2015, 06:42:25 am »
so is it somehow possible for you to play Daytona USA on a real board set against a PC in a set of your twins?

Stellar work as always.  :applaud:

In theorie, yes. But didn't bother to try yet.
I did interface the comm board to a PC some time ago. ( http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=333324 )
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


twistedsymphony

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 579
  • Play stupid games... win stupid prizes.
    • solid-orange.com
    • CollectorsEdition.org
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #13 on: May 02, 2015, 03:16:22 pm »
Wow i didn't realize the Model 2 hardware was so prone to failure. What is it that causes them to fail so regularly like that?

Very cool setup non-the less.

jimmeny5

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #14 on: May 02, 2015, 04:55:24 pm »
I think the failure rate on them is so high because the fans often fail in the base of the cabs and boards overheat.

Sailorsat : Amazing work on this! Are you planning to release the Arduino sketch?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #15 on: May 02, 2015, 07:57:05 pm »
Problem #1 - Overheating (probably because of fans running slow or dying)
Problem #2 - Liquids; some people keep their drinks ON the base...
Problem #3 - Shock; some people seem to slam the cabinets all over the place...

Most likely a combination of #1 and #3

---

As for the arduino sketch:
Well I'm still tinkering with it on a regular basis. But I should have something available soon.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


jimmeny5

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #16 on: May 03, 2015, 07:59:46 am »
Problem #1 - Overheating (probably because of fans running slow or dying)
Problem #2 - Liquids; some people keep their drinks ON the base...
Problem #3 - Shock; some people seem to slam the cabinets all over the place...

Most likely a combination of #1 and #3

---

As for the arduino sketch:
Well I'm still tinkering with it on a regular basis. But I should have something available soon.

Agreed on all those points of failure, then the other issue is repairs.  Often it's the 3d chip that fails and there are no replacements available :(

Can't wait for the Arduino sketch, my L2M2 boards have never worked right and i've killed no less than 5 Logitech Driving Force PCBs whilst tinkering with settings!

twistedsymphony

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 579
  • Play stupid games... win stupid prizes.
    • solid-orange.com
    • CollectorsEdition.org
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #17 on: May 04, 2015, 09:08:09 am »
Problem #1 - Overheating (probably because of fans running slow or dying)
Problem #2 - Liquids; some people keep their drinks ON the base...
Problem #3 - Shock; some people seem to slam the cabinets all over the place...

Most likely a combination of #1 and #3

Good to know. I'm glad one of the first things I did with my VO cab was replace the fans on the Model 2 boards. Sounds like something I should plan on doing if I ever get another model 2 game.

As for the arduino sketch:
Well I'm still tinkering with it on a regular basis. But I should have something available soon.

I'm assuming it's designed specifically to work with Model 2 Emulator, or is it more generic? could it work with a PC game to allow FFB with a Daytona steering setup? It'd be great to have an Arduino based FFB setup that could interface any FFB pc game to arcade controls.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #18 on: May 04, 2015, 12:01:24 pm »
I'm assuming it's designed specifically to work with Model 2 Emulator, or is it more generic?
No. There are actually 4 components involved atm.

1. the arduino sketch itself - it just reads its inputs every 16ms and writes a bitstream to the PC. also, any data send TO the arduino (from the PC)  will be used to drive the lamps or the drive board.

2. vJoy - a virtual joystick framework.

3. the "controller" app - this reads the arduino bitstream and feeds the virtual joystick. this also "waits" for feedback and lamp data (actually from anywhere - which is great for debugging)

4. the "feedback" app - this is where the "magic" happens; a rather simple tool that check which processes are running (currently MAME and M2EM are supported); once a known process is found, the active game is checked, and (if supported by this tool), the lamp and/or feedback data gets read out and (if necessary) translated/filtered (i.E. OutRun-to-Daytona).

---

most of the development is currently happening on the "feedback" app, as I have various driving boards (dayonta, indy500dx) etc, which all use a slightly different setup. and behave a little different.

for example:
daytona uses an AC motor [running full speed] and a clutch to transfer the power
indy500 uses an AC motor [running at various speeds] DIRECTLY attached to the wheel.

both boards use their own firmware, and both behave differently to various of the feedback commands.

---

could it work with a PC game to allow FFB with a Daytona steering setup? It'd be great to have an Arduino based FFB setup that could interface any FFB pc game to arcade controls.

there is a new version of vjoy in development that actually does support force feedback on windows side, so it should be possible to translate the win-feedback to a daytona (or anything else).

---

in theory you can drive pretty much anything with that arduino tool. I've added a "jumper" in the sketch, so you can use the "shifter" input as 3 regular buttons or as 5-state sega shifter. (I also use that setup to drive my WingWar which uses the shifter inputs as fire buttons)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


BadMouth

  • Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7877
  • My arcade cabinet has a cup holder.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #19 on: May 20, 2015, 10:55:49 am »
http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=333324

I don't post much over there, but here is my favorite quote from the original thread you started:

Quote from: R Belmont
> So the actual question is - Is there actualy anything I can do?

Not really. Sorry.

Less than two months later you post this pic.  :laugh2:





SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #20 on: May 20, 2015, 11:06:15 am »
"those were the days..." ^^ - still a long way to go .)

but i remember seeing those racers on ebay for like 100 bucks because nobody would repair the boards and noone wanted those 25kHz monitors...

going to get my last daytona twin on friday for like 600 bucks... (and a sega rally twin)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #21 on: May 23, 2015, 07:45:13 am »
Woah... That is some kind of Franken-Twin... Left half is a japanese v3, right half is a european v2, topper is from an old wooden daytona... cables in the back are from a sega rally... none the less... i got my 8 daytona setup complete.
expect a software upload later this day. (and images) ^^
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #22 on: May 23, 2015, 04:25:30 pm »
https://youtube.com/devicesupport


https://www.youtube.com/watch?v=Zq3Om3cxrGU
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #23 on: May 23, 2015, 07:08:56 pm »
hmm video not working for me sailorsat. Says something about device support

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #24 on: May 23, 2015, 07:22:18 pm »
Try the link, it works. 

Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #25 on: May 23, 2015, 07:26:08 pm »
ah didn't see that.

Thanks Howard.

Looks awesome SailorSat, Im jealous as hell.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11977
  • 說好話 做好事 存好心
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #26 on: May 23, 2015, 07:31:32 pm »
She just needs to take the s off of https and the video will embed
2014 Standup UCA Runner Up
2015 Restoration UCA Winner
2016 thomas_surles choice award

Latest project:
http://forum.arcadecontrols.com/index.php/topic,150902.0.html
RedheadKingPinball aka GingerBalls

Latest Restore?
http://forum.arcadecontrols.com/index.php/topic,152600.0.html
Killer Instinct Cab

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #27 on: May 23, 2015, 07:36:28 pm »
Part #1 - Arduino sketch.
https://github.com/SailorSat/daytona-utils/tree/master/DaytonaArduino

this is a very simple sketch. no (complicated) logic, no magic.
if anyone wants a more advanced version, try asking bigpanik for model2pac :)

I'll clean some code and upload my pc side tools later on.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #28 on: May 23, 2015, 07:38:56 pm »
Eh? lemme try that...


Code: [Select]
http://www.youtube.com/watch?v=NmqODFxYCHM
---EDIT---
Nope. works fine in preview, but disappears once posted :(
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #29 on: May 23, 2015, 07:52:19 pm »
youtube recently changed their stuff. 

Don't use the youtube link, use the youtu.be (or whatever) link in the "share" part of the video's page instead and change the https to http.  That works for me at least.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11977
  • 說好話 做好事 存好心
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #30 on: May 23, 2015, 09:47:36 pm »


looks good Ariane!
2014 Standup UCA Runner Up
2015 Restoration UCA Winner
2016 thomas_surles choice award

Latest project:
http://forum.arcadecontrols.com/index.php/topic,150902.0.html
RedheadKingPinball aka GingerBalls

Latest Restore?
http://forum.arcadecontrols.com/index.php/topic,152600.0.html
Killer Instinct Cab

BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #31 on: June 01, 2015, 08:42:52 am »
Nice work Ariane!

I'm going to do the same job into my cabs.

How do you solve screen darkness? By using video amplifier?

An idea to adjust the video speed? Could you add some "NOP" into the code? :)



SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #32 on: June 01, 2015, 09:15:52 am »
Nice work Ariane!

I'm going to do the same job into my cabs.

How do you solve screen darkness? By using video amplifier?

An idea to adjust the video speed? Could you add some "NOP" into the code? :)

I adjusted every monitor by hand - I had to fine tune all of them anyway :)
I can add some NOPs, but I don't believe the framerate impact will be too high.

I'm currently developing a "fake" master to get rid of those hiccups/desyncs. But that is another story .)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #33 on: June 03, 2015, 06:53:52 pm »
Magic :D
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11977
  • 說好話 做好事 存好心
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #34 on: June 03, 2015, 10:09:39 pm »
  :applaud:
2014 Standup UCA Runner Up
2015 Restoration UCA Winner
2016 thomas_surles choice award

Latest project:
http://forum.arcadecontrols.com/index.php/topic,150902.0.html
RedheadKingPinball aka GingerBalls

Latest Restore?
http://forum.arcadecontrols.com/index.php/topic,152600.0.html
Killer Instinct Cab

ABACABB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 211
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #35 on: June 04, 2015, 02:50:17 pm »

twistedsymphony

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 579
  • Play stupid games... win stupid prizes.
    • solid-orange.com
    • CollectorsEdition.org
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #36 on: June 05, 2015, 01:08:41 pm »
please tell me those are live spectator monitors up top.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #37 on: June 05, 2015, 05:58:31 pm »
They are.
And I noticed I never uploaded a video of the final version too, so expect a new video soon :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #38 on: June 05, 2015, 06:33:07 pm »
***JEALOUS***

Looks awesome!! 

Have you had any 8 Player Races yet? I bet you will have a grin the whole time

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #39 on: June 05, 2015, 07:17:20 pm »
Man I bet that song plays in your head on a constant loop at this point.  That's 12 pounds of awesome in a 8 pound bag.  Those spectators monitors are really big, but thin and 4:3... what the heck are you using?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #40 on: June 05, 2015, 07:40:10 pm »
40" plasmas... 640x480 native xD

« Last Edit: June 05, 2015, 07:41:41 pm by SailorSat »
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #41 on: June 05, 2015, 07:49:46 pm »
Nice..... 

I see you are a fan of the 2x2 angle brackets as well.  I built an entire pacman replica cab with those things.... no glue anywhere so if anything ever rots I can replace it. 

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #42 on: June 06, 2015, 09:34:07 am »
[youtube]
[/youtube]
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #43 on: June 06, 2015, 01:05:19 pm »
Man, that adds so much to the game.  It makes you wonder why the sega devs never implemented it. 

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #44 on: June 06, 2015, 01:51:40 pm »
They did for virtua racing and sega rally... most likely they hit a deadline and simply droped it :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #45 on: June 06, 2015, 10:14:38 pm »
Will they ever work with less then 8 player setup? Ive only got a 4p setup :(

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #46 on: June 08, 2015, 03:42:09 am »
Aye, I'm working on getting the stuff universal.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


twistedsymphony

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 579
  • Play stupid games... win stupid prizes.
    • solid-orange.com
    • CollectorsEdition.org
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #47 on: June 08, 2015, 03:27:07 pm »
Aye, I'm working on getting the stuff universal.

If you ever figure this out do you think you could take a look at the Model 2 version of CyberTroopers Virtual On?

There is video evidence of a Live Monitor feature shown at old arcade tournaments in Japan, however myself and a few others have tried to get a Live monitor setup working on the actual arcade boards but the feature is no where to be found (tested both both the USA and the Japan rom boards).

Live Monitor Mode is readily available on Model 3 versions of Virtual On Oratorio Tangram... but we haven't yet figured it out for the Model 2 prequel.

Here's an example of the Live Monitor mode in use on Model 2 VO back in Japan: https://youtu.be/dptjP5aHaNc

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #48 on: June 08, 2015, 03:55:07 pm »
Don't hold me to this, but judging by the stuff I saw when I was mucking about with ts2, some of the code is still in there... at least that would explain a lot.  I'll leave it to the master though.  ;)

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #49 on: June 08, 2015, 04:03:27 pm »
Most likely there is a special spectator version of the roms.
We'll see about that :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Barry Barcrest

  • I'm only in it for the lack of money
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1598
  • Simple Plan
    • E-Touch Jukebox
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #50 on: June 10, 2015, 08:00:30 am »
The extra 2 monitors at the top really add to the experience.

Back in the day the arcade I visited that had 8 cars set up had a monitor showing the face of the lead driver. Each cab had a camera fitted and i assume the switch box somehow worked from the race leader lights. That was a pretty cool set up, but it never had the 2 screens like you have demonstrated.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #51 on: June 10, 2015, 11:11:06 am »
Ah, sounds like the special type cabinet :)


The game actually sends a "ccd priority" signal to the switch box, but how the switchbox decided which camera to use is a unknown.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Boomslang

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 344
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #52 on: June 10, 2015, 05:11:52 pm »
I heard something about a camera being fitted like that so cool to know it did exist.

I was considering doing something similar for my 4 cabs as right now I have them in 2 separate rooms

BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #53 on: June 12, 2015, 06:48:01 pm »

The game actually sends a "ccd priority" signal to the switch box, but how the switchbox decided which camera to use is a unknown.

Regarding this video, first monitor show the race leader and a second change each 5 seconds cycling.




Barry Barcrest

  • I'm only in it for the lack of money
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1598
  • Simple Plan
    • E-Touch Jukebox
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #54 on: June 15, 2015, 09:36:18 am »
Ah, sounds like the special type cabinet :)

The game actually sends a "ccd priority" signal to the switch box, but how the switchbox decided which camera to use is a unknown.

It could have been, I thought it was just something the arcade had rigged up themselves, didn't realise it actually existed as a factory option.

Andy_Bogard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #55 on: September 15, 2015, 08:22:47 am »
I ckecked my drive boards and they work, so I am givin it a try !

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #56 on: November 11, 2015, 06:23:59 am »
After like a hundred requests for the adapters...


Hardware

I checked some wiring diagrams and it seems that there are a few common pinouts:
 - Model 1/2 (at least Daytona and Virtua Racing seem identical)
 - Model 2A/3 (although small differences on the button mapping)

I need to check the details on the 2B and 2C, most likely they are common to either 2A or 3
That means I should be able to design an "interface" board that can be put into any Sega Model-X Racer.

Also someone noted that the "newer" Sega Racers might work too, although with some slight modifications (MIDI and/or RS-442 serial instead of 8bit parallel)


Firmware

I've tinkered around with the arduino part, and most likely will replace them with teensy2++ sooner or later.

For the time being I developed a new firmware for the MEGAs that works as plain usb gamepad (like unojoy does) - it features only the controls provided by the daytona (4* axis with full 10bit resolution, 24* buttons) AND is able to receive lamps and drive commands via usb itself.

I call it Daytona USB ;)
* 4 axis = X (A0 - Wheel), Y (fixed value), Z (A1 - Gas), Z-Rot (A2 - Brake)
* 24 Buttons
 = 1-8 -> VR1, VR2, VR3, VR4, START, SERVICE, TEST, COIN
 = 9-16 -> SHIFT0, SHIFT1, SHIFT2, GEAR1, GEAR2, GEAR3, GEAR4, NEUTRAL
 = 17-24 -> future use (like RX port on the I/O-Board)

Mapping for Button 9-16 will most likely change in the future, as there is no actual need to have both SHIFT- and GEAR- Inputs - And we are currently missing the "special inputs" (EX.START, EMERGENCY, COURSE0, COURSE1).

I plan to add some "dip switch" style options (initial values on hardware, overridable via software).
- Currently implemented is a "Shifter Decoder" Toggle - If turned ON, the SHIFT inputs (Buttons 9-11) are always off, and the shifter gets decoded to the individual gears (Button 12-16)
[WingWar uses the shifter lines for the fire buttons]

- "alternate axis layout" switch: For cabinets like WingWar it would be better to use X (A0), Y (A1), Z (A2) and RZ (fix value), as many "non arcade" flight simulators have trouble mapping axis correctly.

- "sequencial shifter" switch: For cabinets like Indy 500, to shift up and down in Daytona

- "sequencial views" switch: For cabinets like Indy 500 (or even Sega Rally) with less than 4 view buttons.


Software
Because of "Daytona USB" the software side is getting smaller (and simpler) - No more need for a virtual joystick driver - Just plug in the USB cord and you're done.

The "Driver"-App is starting to become obsolete:
- the old version (serial and vJoy) has been updated to fix some weird "invalid handle" errors
- the new version (USB) will be merged into the "Feedback"-App soon.

The "Feedback"-App will be extended:
- currently still needs a seperate driver app.
- I've added support for SuperModel (svn 274 x86 only*) featuring both Dayonta2 (BotE / PE) as well as SCUD (Australia / Export) and SCUD Plus.
- user-configurable command translator -> Currently the App will translate anything to a reduced** Dayonta / Indy500 command set.
- games to be added: Hard Drivin (just found the drive board controls *yeah*)
- ability to switch the "dip switch" settings on the "Daytona USB" board depending on running game.

* as the app is (for now) written in 32bit VB6, I cannot read the process modules of a 64bit application, which I need to calculate the offsets.
**(I kill the 0x90-0x9F commands, as they don't work on an Indy 500 drive board; used by Daytona USA for the moving seats)


Other stuff
As far as I know there are only two common motor setups used for the Sega Racers:
- "clutched" AC-Motor (Virtua Racing, Daytona USA, Sega Rally)
- "direct" AC-Motor (Indy 500 and later)

It seems the "clutched" setup uses springs to center the wheel by itself while the "direct" setup does center by software.

The command (group) 0x10 (to 0x1F) is used to "let the spring do it's job" - which gets done in software on a setup without spring.
Now the games designed for the "spring" setup only know one "force" while the games designed for the "no spring" setup have up to 16 different - which I cannot reproduce on a "spring" setup (I'll just let the spring do it's job, no matter what).

Are there any other motor setups I need to take care of?
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


ABACABB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 211
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #57 on: November 11, 2015, 04:55:59 pm »
Just to be clear, does this mean you will create these boards and have them available for sale?? (fingers crossed)
« Last Edit: November 11, 2015, 05:31:53 pm by ABACABB »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #58 on: November 12, 2015, 05:42:28 am »
There might be complete kits available, yeah.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #59 on: November 12, 2015, 09:27:15 am »
After like a hundred requests for the adapters...


Hardware

I checked some wiring diagrams and it seems that there are a few common pinouts:
 - Model 1/2 (at least Daytona and Virtua Racing seem identical)
 - Model 2A/3 (although small differences on the button mapping)

I need to check the details on the 2B and 2C, most likely they are common to either 2A or 3
That means I should be able to design an "interface" board that can be put into any Sega Model-X Racer.

Also someone noted that the "newer" Sega Racers might work too, although with some slight modifications (MIDI and/or RS-442 serial instead of 8bit parallel)


Firmware

I've tinkered around with the arduino part, and most likely will replace them with teensy2++ sooner or later.

For the time being I developed a new firmware for the MEGAs that works as plain usb gamepad (like unojoy does) - it features only the controls provided by the daytona (4* axis with full 10bit resolution, 24* buttons) AND is able to receive lamps and drive commands via usb itself.

I call it Daytona USB ;)
* 4 axis = X (A0 - Wheel), Y (fixed value), Z (A1 - Gas), Z-Rot (A2 - Brake)
* 24 Buttons
 = 1-8 -> VR1, VR2, VR3, VR4, START, SERVICE, TEST, COIN
 = 9-16 -> SHIFT0, SHIFT1, SHIFT2, GEAR1, GEAR2, GEAR3, GEAR4, NEUTRAL
 = 17-24 -> future use (like RX port on the I/O-Board)

Mapping for Button 9-16 will most likely change in the future, as there is no actual need to have both SHIFT- and GEAR- Inputs - And we are currently missing the "special inputs" (EX.START, EMERGENCY, COURSE0, COURSE1).

I plan to add some "dip switch" style options (initial values on hardware, overridable via software).
- Currently implemented is a "Shifter Decoder" Toggle - If turned ON, the SHIFT inputs (Buttons 9-11) are always off, and the shifter gets decoded to the individual gears (Button 12-16)
[WingWar uses the shifter lines for the fire buttons]

- "alternate axis layout" switch: For cabinets like WingWar it would be better to use X (A0), Y (A1), Z (A2) and RZ (fix value), as many "non arcade" flight simulators have trouble mapping axis correctly.

- "sequencial shifter" switch: For cabinets like Indy 500, to shift up and down in Daytona

- "sequencial views" switch: For cabinets like Indy 500 (or even Sega Rally) with less than 4 view buttons.


Software
Because of "Daytona USB" the software side is getting smaller (and simpler) - No more need for a virtual joystick driver - Just plug in the USB cord and you're done.

The "Driver"-App is starting to become obsolete:
- the old version (serial and vJoy) has been updated to fix some weird "invalid handle" errors
- the new version (USB) will be merged into the "Feedback"-App soon.

The "Feedback"-App will be extended:
- currently still needs a seperate driver app.
- I've added support for SuperModel (svn 274 x86 only*) featuring both Dayonta2 (BotE / PE) as well as SCUD (Australia / Export) and SCUD Plus.
- user-configurable command translator -> Currently the App will translate anything to a reduced** Dayonta / Indy500 command set.
- games to be added: Hard Drivin (just found the drive board controls *yeah*)
- ability to switch the "dip switch" settings on the "Daytona USB" board depending on running game.

* as the app is (for now) written in 32bit VB6, I cannot read the process modules of a 64bit application, which I need to calculate the offsets.
**(I kill the 0x90-0x9F commands, as they don't work on an Indy 500 drive board; used by Daytona USA for the moving seats)


Other stuff
As far as I know there are only two common motor setups used for the Sega Racers:
- "clutched" AC-Motor (Virtua Racing, Daytona USA, Sega Rally)
- "direct" AC-Motor (Indy 500 and later)

It seems the "clutched" setup uses springs to center the wheel by itself while the "direct" setup does center by software.

The command (group) 0x10 (to 0x1F) is used to "let the spring do it's job" - which gets done in software on a setup without spring.
Now the games designed for the "spring" setup only know one "force" while the games designed for the "no spring" setup have up to 16 different - which I cannot reproduce on a "spring" setup (I'll just let the spring do it's job, no matter what).

Are there any other motor setups I need to take care of?

Hey SailorSat,

Thanks for the update and love what you are doing.

Are you able to explain the pros and cons with this USB Arduino adapter vs using a L2M2 interface, please?  I see the benefit of being able to use multiple emulators, even PC games with the L2M2 interface, I'm not sure if this USB ardunio can do that?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #60 on: November 12, 2015, 10:38:30 am »
Are you able to explain the pros and cons with this USB Arduino adapter vs using a L2M2 interface, please?  I see the benefit of being able to use multiple emulators, even PC games with the L2M2 interface, I'm not sure if this USB ardunio can do that?
I'll try :)

Pros
  • simple plug-in adapter for the cabinets - no need to change any wires (+ you can put your original boards back at any time)
  • use of the original force feedback controller in the cabinet - this is a close as you can get to the "real feeling"
  • can handle the lamps .) - l2m2 does not
  • works with any sega wheel setup

Cons
  • does NOT support generic force feedback applications (like the L2M2 does)
  • feedback (either force or lamps) will only work with a list of specific games/emulatores

I think the L2M2 is a nice adapter if you plan on playing basically anything (FlatOut2 anyone? ^^)
I actually built 11 of em and tinkered around with the "best" settings for a long time...
I even added some capacitors to the CLUTCH-Lines to get a "smoother" feedback.

However I still believe a L2M2 modified Daytona feels "different" from a "real" Daytona.
Some effects like a plain "clutch" don't seem to work with a L2M2.

Also if I remember correctly, the L2M2 only works with the original Daytona style setup (free running AC Motor + Clutch).

« Last Edit: November 12, 2015, 10:47:15 am by SailorSat »
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #61 on: November 12, 2015, 12:42:02 pm »
do you sell the L2M2 boards sailorsat? as ive been asked a few times where to get them....

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #62 on: November 12, 2015, 01:14:59 pm »
Already sold most of them, sorry :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Andy_Bogard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #63 on: November 13, 2015, 03:51:04 am »
there is this guy called thebassprophet on gamoover in France making en selling them, you should try to contact him!

do you sell the L2M2 boards sailorsat? as ive been asked a few times where to get them....

Andy_Bogard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #64 on: November 13, 2015, 04:01:55 am »
SailorSat,

So basicly your work is pretty the same as Big panik's on gamoover?

http://www.gamoover.net/Forums/index.php?topic=33274.0




xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #65 on: November 13, 2015, 10:04:48 am »
Are you able to explain the pros and cons with this USB Arduino adapter vs using a L2M2 interface, please?  I see the benefit of being able to use multiple emulators, even PC games with the L2M2 interface, I'm not sure if this USB ardunio can do that?
I'll try :)

Pros
  • simple plug-in adapter for the cabinets - no need to change any wires (+ you can put your original boards back at any time)
  • use of the original force feedback controller in the cabinet - this is a close as you can get to the "real feeling"
  • can handle the lamps .) - l2m2 does not
  • works with any sega wheel setup

Cons
  • does NOT support generic force feedback applications (like the L2M2 does)
  • feedback (either force or lamps) will only work with a list of specific games/emulatores

I think the L2M2 is a nice adapter if you plan on playing basically anything (FlatOut2 anyone? ^^)
I actually built 11 of em and tinkered around with the "best" settings for a long time...
I even added some capacitors to the CLUTCH-Lines to get a "smoother" feedback.

However I still believe a L2M2 modified Daytona feels "different" from a "real" Daytona.
Some effects like a plain "clutch" don't seem to work with a L2M2.

Also if I remember correctly, the L2M2 only works with the original Daytona style setup (free running AC Motor + Clutch).



Thanks for the explanation, SailorSat.  Sounds impressive.

So the YouTube video of Outrun is using the Arduino USB adapter running Mame on a PC and shaking the wheel (not actual FFB) when the car crashes?   https://www.youtube.com/watch?feature=player_embedded&v=RYWQKtg7ZVk

What emulators will this support?  Mame, Model 2 Emulator, SuperModel?  Anything else?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #66 on: November 13, 2015, 11:54:58 am »
Thanks for the explanation, SailorSat.  Sounds impressive.

So the YouTube video of Outrun is using the Arduino USB adapter running Mame on a PC and shaking the wheel (not actual FFB) when the car crashes?   https://www.youtube.com/watch?feature=player_embedded&v=RYWQKtg7ZVk

What emulators will this support?  Mame, Model 2 Emulator, SuperModel?  Anything else?

Any that matters ^^

Well... That outrun is not just shaking - It is using the "move cabinet" information.
If you turn the wheel to the right and step on gas, the cabinet would move to the left -> the wheel starts "pushing" to the left.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #67 on: November 15, 2015, 03:55:15 am »
There might be complete kits available, yeah.

Awesome.  I'd be interested in at least four of the kits when they're available.

BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #68 on: November 16, 2015, 10:15:57 am »
SailorSat,

So basicly your work is pretty the same as Big panik's on gamoover?

http://www.gamoover.net/Forums/index.php?topic=33274.0

Yes it's the same idea.  :cheers:

To resume "howto interface SEGA wheel":




SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #69 on: November 16, 2015, 11:22:38 am »
So basicly your work is pretty the same as Big panik's on gamoover?
http://www.gamoover.net/Forums/index.php?topic=33274.0
Yes it's the same idea.  :cheers:
My adapter is based on BigPaniks work :) We use different "driver" software though.

Hm... I wonder why they didn't use the new wheels for Sega Racing Classic :)

P.S. I just had to smile... vJoy FFB support :) - I just droped my vJoy Feeder in favor of a HID interface :D
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #70 on: November 16, 2015, 03:34:31 pm »

Hm... I wonder why they didn't use the new wheels for Sega Racing Classic :)


It's precisely this detail that has set me thinking. SEGA Racing Classic is just Model 2 Emulator Ringwide conversion, and they used the same tips than us for FFB/lamps.

terminator2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #71 on: November 16, 2015, 06:04:01 pm »
they probably had a warehouse full of them, and instead of dumping them in the sea, they put them to use...

Dico13

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #72 on: November 25, 2015, 06:13:17 am »
There might be complete kits available, yeah.
Hi SailorSat,
Great work you have been doing, how far away do you think you are away from being able to supply a turn key/plug in kit? Also do you know a ballpark figure that these kits will cost? I have 4 machines I've been wanting to convert but don't have the tech skills.

BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #73 on: December 07, 2015, 04:02:40 pm »
Interesting note: the m2emulator is running too fast! If I run daytona on real hardware and the emulation side by side, the emulator is slightly faster. I suspect that is a 58Hz (original) vs. 60Hz (emulation) thing. Even the music plays slightly faster.


I have made a video to show the problem:
https://youtu.be/SMdcXJE5RQw
« Last Edit: December 07, 2015, 04:04:20 pm by BigPanik »

xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #74 on: December 07, 2015, 05:47:29 pm »
Interesting note: the m2emulator is running too fast! If I run daytona on real hardware and the emulation side by side, the emulator is slightly faster. I suspect that is a 58Hz (original) vs. 60Hz (emulation) thing. Even the music plays slightly faster.


I have made a video to show the problem:
https://youtu.be/SMdcXJE5RQw

Could you use something like Calamity's CRT_EMUDRIVER to set the vertical refresh rate to 58Hz to fix the speed issue?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #75 on: December 08, 2015, 04:40:49 am »
Could you use something like Calamity's CRT_EMUDRIVER to set the vertical refresh rate to 58Hz to fix the speed issue?
You'll get sound problems then :(
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #76 on: December 08, 2015, 05:21:21 am »
Back to topic - Model3 proof-of-concept done. (I guess BigPanik did it years ago :D)

I visited a friend who happens to own a scud race twin - As expected, the same setup works with Model3 out of the box.

we have a fair share of "wtf" moments though:
- we used a SCUD RACE drive board, and for some reason, SCUD RACE in SuperModel does NOT activate FFB in ADVANCED and EXPERT course.
[scud sends C6 (mode 6) to the drive board, which the drive board does seem to ignore?? - "translating" C6 to C7 made the feedback work]

- although it does work pretty well, there is flaw. each model3 drive board has a special ROM, and as it turned out, the commands 0x0* (I'll call em "EFFECTS") differ between games (others are fine).
scud and dayonta2 use "EFFECTS" when "bumping" into other cars.
At first glance they just "feel" different - however in some cases, scud "effects" stop all feedback for a brief moment - this makes daytona2 nearly unplayable as the feedback keep turning on and off when touching anything or drifting.
In the end we just filtered out 0x0* - which removed any "bumps" from scud and daytona2, but still makes a very nice experience.

Some day I need to try out every single effect on both drive board setups. maybe we can just translate some effects up and down.

In the end:
- model3 works (except effects for now) fine with scud and daytona2 (didn't test the other games yet [need to look up offsets], lemans24 and sega rally2 need to be translated for sure)
- the model3 drive boards handle "uncentering" in a different way than model2 drive boards do. [m2 uncentering keeps turning the wheel away from the center until the next command; m3 uncentering turns off after about 2 seconds]
- the model3 drive boards have a "vibration" command (0x3*) which model2 drive boards do not have.

we played virtua racing, daytona, sega rally, indy500, stcc, scud and daytona2 without problems.

(sorry for the mess, we just hooked up a teensy with some hot glue to a spare filter board)




Off-Topic - my friend changed all of his CRTs with 32" LCDs - and I have to admit, did a great job.
I didn't expect a 32" LCD to fit in a twin :D




He also happens to own these...
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #77 on: December 08, 2015, 08:12:41 am »
Could you use something like Calamity's CRT_EMUDRIVER to set the vertical refresh rate to 58Hz to fix the speed issue?
You'll get sound problems then :(

Hmmm.

I did a bit of investigating on the vertical refresh rate of model 2 games myself.  I plugged in my Extron RGB interface to the video signal of one of my Daytona cabinets and got the following result :



I then tried loading the Daytona rom in Groovymame and that detected the vertical refresh rate at 57.524160Hz (Sega Rally Championship displayed the exact same result too).  If the Model 2 Emulator is displaying model 2 games at 60Hz, that is over 4% faster than the original arcade hardware, quite a significant difference in my opinion. 

If setting the default resolution and vertical refresh rate of the computer with CRT_EMUDRIVER to 496x384 @ 57.524160Hz causes the game to operate at the correct speed but the sound to be messed up, what are the options to fix this?  Would it require the Model 2 Emulator developer to add support for the correct vertical refresh rate so that the game runs at it's original speed?
« Last Edit: December 08, 2015, 08:15:52 am by xga »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #78 on: December 08, 2015, 11:10:50 am »
I then tried loading the Daytona rom in Groovymame and that detected the vertical refresh rate at 57.524160Hz (Sega Rally Championship displayed the exact same result too).  If the Model 2 Emulator is displaying model 2 games at 60Hz, that is over 4% faster than the original arcade hardware, quite a significant difference in my opinion. 

If setting the default resolution and vertical refresh rate of the computer with CRT_EMUDRIVER to 496x384 @ 57.524160Hz causes the game to operate at the correct speed but the sound to be messed up, what are the options to fix this?  Would it require the Model 2 Emulator developer to add support for the correct vertical refresh rate so that the game runs at it's original speed?

Hm... A "hack" to change the playback speed of the audio from 48000hz to 46000hz (48000 / 60 * 57,5) may fix the sounds buffer underrun. However, thats just a hack, not a correct fix :)

As long as the m2em source code is not available (to the public), we most likely will not see a fix for that issue anytime soon.
There are other issues too - at least two in the network code - that need to be fixed :(
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #79 on: December 08, 2015, 02:35:37 pm »
It's quite frustrating because there are things I would like to get in there and fix as well, particularly on the output side of things.  I'm even skittish about hacks now.  I spent months on troubleshooter 2 finding all the needed memory locations only to get another release of the emulator soon after, which makes the hack incompatible. 

BigPanik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #80 on: December 08, 2015, 04:27:45 pm »
You can find the results of my work some years ago: http://superusr.free.fr/model3.htm

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #81 on: December 08, 2015, 05:09:49 pm »
I spent months on troubleshooter 2 finding all the needed memory locations only to get another release of the emulator soon after, which makes the hack incompatible.
And most likely those outputs are not in RAM or RAM2 area too... I can only imagine the hustle :(

You can find the results of my work some years ago: http://superusr.free.fr/model3.htm
Hm... Yeah, some of that command definition seems familiar :)
around line 420
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14957
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #82 on: December 09, 2015, 08:54:23 am »
Yeah... the outputs are generally easy enough to re-offset as they are in relation to RAM or RAM2 but all the mouse code I have to block is all over the place. 

charliew

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #83 on: February 09, 2016, 01:55:22 pm »
This is amazing!
If only Supermodel would support game linking..
Would it also be possible to interface this with a PS3, either directly or via a pad-hack to the custom board somehow?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #84 on: February 10, 2016, 08:49:19 am »
With a different Firmware, that should work fine with PS3 (actually most arduino gamepad examples are PS3 Pads anyway).

One might try an Logitech Wheel and the L2M2 though.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


charliew

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #85 on: February 10, 2016, 07:29:32 pm »
Thanks.
That sounds hard to implement though, as it would have to emulate the input of a supported ps3 wheel as well.

Too bad there is no L2M3.

Rumblebelly5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #86 on: March 18, 2016, 12:02:10 am »
I have read through this forum post twice and I just want to start by saying WOW! your talent and skill set in this is amazing SailorSat!

I recently acquired a Daytona USA driver that I want to put a pair of 32" LCDs into and convert it over to a Core i7 CPU so I can play other driving games as well, I have been going over the arduino code and have more than a few questions:

can this be split into two parts, input and output and handled by two atmega328's I was thinking about build a couple boarduino's and having them use v-usb to make calls back to the hardware.

Do I need to have my MEGA turned into an HID device? that isnt clear in the docs anywhere, from translating BigPaniks post on the other forum it would appear that it needs to be but I dont see the code for it in the sketch.

The cabinet's mate that I received was dropped off the back of a truck so I will need to rebuild the whole thing from the base up, I have already started to cleanup of the complete cab and I am wondering if I need to go about reinstalling all the wiring harness can is there a more direct way of putting this all back behind the screen?

The rest is more software related like what is usually heard from the speakers on the control panel and is it possible to isolate the sound from the program to those speakers? can I run two monitors with FFB on both wheels from one PC? can I run two sets of speakers so that each driver has their own experience on one PC? What would be a good replacement speaker setup for this kind of a cabinet with the sub in the seat for the most kick ;-)

SO many questions I know, but to start Im working on setting up the input side from my Arduino, once I can make that work I want to get the lights working, Already have the screen installed and the PC running Model2 as I cannot make the graphics work on MAME (which is better btw, mame or Model2?)

Again awesome work, hoping to do the conversion to mine too!

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #87 on: March 18, 2016, 11:07:10 am »
Quote
can this be split into two parts, input and output and handled by two atmega328's
that should be no problem. the boarduino should have enough I/O pins for the outputs (16 outputs to be exact)

Quote
Do I need to have my MEGA turned into an HID device?
nope, the default serial mode works too, although you will have to use a virtual gamepad driver (was using vJoy for a long time)
It just make the whole thing kinda "plug and play" :)

Quote
is there a more direct way of putting this all back behind the screen?
mhm... you can basically put the atmegas right behind the dash board and hook up the pots, buttons and stuff directly.
but if you wan't to use segas ffb board you should go with the original wiring.

Quote
what is usually heard from the speakers on the control panel
the original cabinet is basically stereo:
- the dashboard speakers are tweeters
- the speakers next to the monitor are midrange
- the subwoofer... you guess it :)

Quote
can I run two monitors with FFB on both wheels from one PC?
Quote
can I run two sets of speakers so that each driver has their own experience on one PC?
you can absolutely do that. I did it with outrunners once.

however note: running a dual screen setup strongly depends on the software used.
the m2emulator cannot be run "fullscreen" on anything but the first screen (sure, there are tools like dxwnd to "fix" that issue).
also the m2emulator will run on the "default" audio device, so you'll have to switch the default device before starting the second emulator.

with outrunner that was pretty straight forward, as outrunners is basically dual mono - mame outputs player 1s stuff on the left channel, and player 2s on the right.

I'd rather use two pcs. (for most likely any racing game out there :))

Quote
which is better btw, mame or Model2?
for daytona I'd stick with m2emu for the time being.

the m2emu has some flaws (like running too fast - 60hz instead of 58hz) but most people won't notice.
the mame driver might mature over time, but currently is kinda unplayable. graphic glitches and a serious speed problem (game is running exactly half the speed it should run at -  most likely an irq issue)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #88 on: March 26, 2016, 04:37:46 am »
the m2emu has some flaws (like running too fast - 60hz instead of 58hz) but most people won't notice.
the mame driver might mature over time, but currently is kinda unplayable. graphic glitches and a serious speed problem (game is running exactly half the speed it should run at -  most likely an irq issue)

Hey SailorSat.  Do you think that we'll ever see the Mame devs do any more development work on the Model 2 emulation?  I'd love to be able to play the Model 2 racing games at their original 57.5Hz refresh rate with GroovyMame and I just can't see ElSemi doing any more work on his Model 2 emulator.

xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #89 on: March 31, 2016, 11:01:18 pm »
the m2emu has some flaws (like running too fast - 60hz instead of 58hz) but most people won't notice.
the mame driver might mature over time, but currently is kinda unplayable. graphic glitches and a serious speed problem (game is running exactly half the speed it should run at -  most likely an irq issue)

Hey SailorSat.  Do you think that we'll ever see the Mame devs do any more development work on the Model 2 emulation?  I'd love to be able to play the Model 2 racing games at their original 57.5Hz refresh rate with GroovyMame and I just can't see ElSemi doing any more work on his Model 2 emulator.

Less than a week later since my post (above) and it appears that the Mame devs have done a bit of work on the Model2 driver with the latest release of Mame 0.172!   :applaud:  Even though it's only related to an audio bug for Daytona, hopefully this is a sign of further work to come!?!?

Code: [Select]
0.172
-------


MAMETesters Bugs Fixed
----------------------

- 06147: [Sound] (model2.c) daytona: Some songs can not be played and cause audio to halt (R. Belmont)


naoto.awai

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #90 on: June 20, 2016, 04:23:10 pm »
Hi everybody!
This is my first post, but I've been reading You for a while.

Sailorsatís work is really awesome!

I read all the posts but I still have some doubts.

I have the following stuffs laying around:
1-virtua racing steering wheel and pedals

2-virtua racing driving board


3-arduino mega

4-ULN2003 Stepper Motor Driver Module

What other items do I need to build a DAYTON USA PC CONVERTER ?
Or... is it already available to buy ?

Is it available a wiring diagram to let me understand what part need to be connected ?

I hope my questions aren't silly!

Thank You in advance






SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #91 on: June 21, 2016, 10:33:37 am »
Unless you have the wiring harness to, you will need to find a wiring diagram for Virtua Racing.

The basic pinout for the MEGA can be found at:
https://github.com/SailorSat/daytona-utils/blob/master/DaytonaArduino/DaytonaArduino.ino

One thing I just noticed, the ULN2003 is not in the pinout ^^
A8 to A15 would be the ULN2003 lines - A8 and A9 are the CoinMeters, A10 START lamp, A11-A14 would be VR1-4 and A15 LEADER lamp

--- other than that ---
1. upload DaytonaArduino.ini to the MEGA
2. put the MEGA in DFU mode (there are various guides on the net)
3. run TurnIntoAJoystick.bat from the MEGA folder
4. un- and replug your MEGA and it should come up as DaytonaUSB "GamePad"


(I should really do a good howto on that xD)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


naoto.awai

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #92 on: June 21, 2016, 11:42:23 am »
Thank You SailorSat!
I'm a big fan of your projects.

I have 2 VR wheel + pedals that wait to be connected.
I'll post each step of the process, so It will be easier for everybody...al least to not repeat all the mistakes I'll do for sure !  ;D

Another question:
Unlike BigPanik solution, isn't there any need of  PL2303HX to USB TTL for Arduino in your DAYTON USA PC CONVERTER, right?




SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #93 on: June 22, 2016, 10:22:43 am »
This is correct. The DaytonaUSB gets fed via the built-in USB.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


galaga.nz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #94 on: July 16, 2016, 06:12:02 am »
hey I'm a newbie to mega 2560 when i build it.. i have and error
Arduino: 1.6.9 (Windows 7), Board: "Arduino Mini, ATmega328"


C:\Users\matthew\AppData\Local\Temp\build75df08496b3fdcc940505a15f57d05b2.tmp\sketch\Mega\usb_gamepad.c:259:18: error: 'PLLCSR' undeclared (first use in this function)

         while (!(PLLCSR & (1<<PLOCK))) ; // wait for PLL lock

                  ^

C:\Users\matthew\AppData\Local\Temp\build75df08496b3fdcc940505a15f57d05b2.tmp\sketch\Mega\usb_gamepad.c:259:18: note: each undeclared identifier is reported only once for each function it appears in

Can any one help??
« Last Edit: July 16, 2016, 06:13:41 am by galaga.nz »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #95 on: July 17, 2016, 08:09:19 pm »
You can't use the Arduino IDE for the "mega" subdirectory, as that is a atme studio project.

The part for the Arduino IDE is one directory up.

Also in Arduino IDE select Board "Arduino Mega or Mega 2560" - It won't work with "Arduino Mini" :)

--

1. upload DaytonaArduino.ino to the MEGA
2. put the MEGA in DFU mode (there are various guides on the net)
3. run TurnIntoAJoystick.bat from the MEGA folder
4. un- and replug your MEGA and it should come up as DaytonaUSB "GamePad"
« Last Edit: July 20, 2016, 07:36:21 am by SailorSat »
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


galaga.nz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #96 on: July 20, 2016, 02:05:58 am »
hi thanks sailorsat
i opened the C:\Users\matt\Documents\daytona-utils-master\DaytonaArduino\DaytonaArduino.ion

when i up load the daytona.arduino.ion file i get the error so i cant upload it

if i open C:\Users\matt\Documents\UnoJoyModel2FFBVR\UnoJoyModel2FFBVR.ino
it will upload!!

can you tell me what version arduino ide your running

the problem is i have the "type B " so i only have gear up and down so i need to change the code to suit..

but if i cant build it i cant change it.
« Last Edit: July 20, 2016, 02:17:36 am by galaga.nz »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #97 on: July 20, 2016, 07:34:29 am »
i opened the C:\Users\matt\Documents\daytona-utils-master\DaytonaArduino\DaytonaArduino.ion

when i up load the daytona.arduino.ion file i get the error so i cant upload it
what error exactly?


the problem is i have the "type B " so i only have gear up and down so i need to change the code to suit..
you can just connect D10 to ground (which will disable the decoder feature).

I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


galaga.nz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #98 on: July 22, 2016, 04:17:12 pm »
please see error.txt
it is the log
i think is just a library  missing 

thanks for all your help

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #99 on: July 23, 2016, 08:27:06 am »
please see error.txt
it is the log
i think is just a library  missing 

thanks for all your help

... Don't get me wrong, but are you trying to troll?
The error log calls missing stuff in usb_gamepad.c, which is NOT part of DaytonaArduino.ino in any way.

I already told you, you cannot compile the "mega" subdirectory with Arduino IDE (and you don't have to compile it anyway)

You only need two files for the Arduino IDE:
- DaytonaArduino.ino
- DaytonaArduino.h

If you don't want to follow simple instructions, then you're on your own.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


galaga.nz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #100 on: July 23, 2016, 01:41:57 pm »
i'm so sorry i feel very silly right now  :tool:

i moved the DaytonaArduino.ino, DaytonaArduino.h into their own directory and all good

very sorry for been a troll  :'(

but this is the first time i have used a arduino.

thanks you so much for all your help

Rumblebelly5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #101 on: September 10, 2016, 11:21:39 pm »
Any new updates on this? I just received my MEGA and found out that its a cheap clone that cannot be put into DFU mode :-( should have looked closer before ordering..........


sdf_

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #102 on: September 12, 2016, 10:40:03 am »
Hello SailorSat

I am a noob in the Daytona Cab.

I have 1 and i want to convert it.

I have done the manipulation but i don't know doing the wiring.

Do you have any photo, schema of it ?

Thanks

PS: i am french, sorry for my english

Rumblebelly5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • I want to build my own arcade controls!
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #103 on: September 12, 2016, 08:52:36 pm »
The basic pinout for the MEGA can be found at:
https://github.com/SailorSat/daytona-utils/blob/master/DaytonaArduino/DaytonaArduino.ino

Im almost done with mine, have to trace out the wires used for the driver board then I will be done!

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #104 on: September 13, 2016, 06:15:05 am »
The basic pinout for the MEGA can be found at:
https://github.com/SailorSat/daytona-utils/blob/master/DaytonaArduino/DaytonaArduino.ino

Im almost done with mine, have to trace out the wires used for the driver board then I will be done!

http://www.arianchen.de/driveboard/ :)

There is also a wiring-diagram for the yet-to-be-completed "production board"
http://images.arianchen.de/for-amusement-only/daytona_usb/daytona-usb-teensy2-v2.jpg
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Kneissl

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Coin op love
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #105 on: February 11, 2017, 12:35:59 pm »
Is the production board still in the works?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1102
    • For Amusement Only e.V.
Re: Daytona USA - Converting a Twin cabinet "correctly".
« Reply #106 on: February 12, 2017, 06:49:37 pm »
I haven't worked on it for some time. But I still plan to finish the layout soon :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31