Open source JVS I/O to pc interface (WIP: Analog, Lightgun)
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Open source JVS I/O to pc interface (WIP: Analog, Lightgun)
Hi, i developed, for my own use, a JVS to pc interface using a teensy 2 board i had lying around and a sn75176b chip. It's quite cheap: the teensy is about 16$, the sn75176b is about 2$ for 4 ICs.
It's currently little more than a proof of concept, but it works. It gets recognized as a HID joystick and requires no drivers or installation. Works on pc and mac, could be made to work on ps3 if needed. It looks lag-free. I tested it only with digital inputs but analog or gun controls should be doable.
If there's any interest i could release my code on github and maybe improve it together.
Lemme know!
It's currently little more than a proof of concept, but it works. It gets recognized as a HID joystick and requires no drivers or installation. Works on pc and mac, could be made to work on ps3 if needed. It looks lag-free. I tested it only with digital inputs but analog or gun controls should be doable.
If there's any interest i could release my code on github and maybe improve it together.
Lemme know!
Last edited by k4roshi on August 19th, 2014, 4:46 pm, edited 1 time in total.
-
- Posts: 386
- Joined: February 17th, 2011, 6:31 pm
- Location: France
- eBay: yuu_madrigal
Re: Open source JVS I/O to pc interface
Good idea!
-
- Breastfeeds when required
- Posts: 5907
- Joined: April 7th, 2009, 4:14 pm
- Location: Alingsås, Sweden
- eBay: jorgen_sjolander
- Initials: JOR
Re: Open source JVS I/O to pc interface
Cool, any pics of the hardware?
My games: http://www.emphatic.se
-
- Posts: 732
- Joined: July 10th, 2012, 10:58 am
- Location: Stockholm, Sweden
- eBay: uridium
- Initials: DAD
Re: Open source JVS I/O to pc interface
Wow! Yes, please share on Git! I'd love to give it a try 

-
- Posts: 471
- Joined: August 17th, 2008, 5:26 pm
- Location: Oslo, Norway
- eBay: prrole
Re: Open source JVS I/O to pc interface
Very cool! I wanted to do something like this for the JVS-PAC, but the USB libraries used (and the official vendor/product ID's I got sub licensed from Microchip) made it unfeasible.
I make and sell cool Arcade stuff, check out https://irkenlabs.com/ - In The Name of Science!
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Re: Open source JVS I/O to pc interface
Ok, I pushed the first version here https://github.com/k4roshi/JVSy"
I attached the first compiled version.
Let me know if you manage to have a go at it
Edit: Apparently i can't attach files...
Well, here it is: https://dl.dropboxusercontent.com/u/637 ... e/JVSy.hex"
I attached the first compiled version.
Let me know if you manage to have a go at it

Edit: Apparently i can't attach files...
Well, here it is: https://dl.dropboxusercontent.com/u/637 ... e/JVSy.hex"
-
- Windy City
- Posts: 4077
- Joined: August 17th, 2008, 5:00 pm
- Location: London
- eBay: yosai
Re: Open source JVS I/O to pc interface
Excellent work, thanks for sharing.



-
- Please Continue...
- Posts: 18
- Joined: January 7th, 2009, 11:09 am
- Location: North Germany Ol dirty double H Town
Re: Open source JVS I/O to pc interface
Sounds Great, Thank You very much for Sharing!
Did anyone tried it already on a JVS Racing Cab, to Play emulated Daytona or Sega Rally 2?
Thats what I would try to use it for
Did anyone tried it already on a JVS Racing Cab, to Play emulated Daytona or Sega Rally 2?
Thats what I would try to use it for
-
- Posts: 601
- Joined: August 17th, 2008, 6:51 pm
- Location: Dublin, Ireland
Re: Open source JVS I/O to pc interface
When will you be putting the schematic up and a pic of your completed version would be really helpful.
Cheers
Cheers
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Re: Open source JVS I/O to pc interface
During next week i'll upload a schematic, in the mean time the few connections to make and the components needed are available in the readme on github.
It won't work on a racing cab for now, i have no analog controls to test it on and the documentation is really scarce on that.
I've had ArcadeSTG offer me some help, if he's still up for it i could cook up a debug build for him and find out how it works with analog controls.
It won't work on a racing cab for now, i have no analog controls to test it on and the documentation is really scarce on that.
I've had ArcadeSTG offer me some help, if he's still up for it i could cook up a debug build for him and find out how it works with analog controls.
-
- Posts: 387
- Joined: January 28th, 2010, 12:40 am
- Location: Sweden, Stockholm
- eBay: irishfrog89
- Initials: CHI
Re: Open source JVS I/O to pc interface
a French bloke on gamoover is quite the expert on analog JVS, he hacked wiimotes and sensor bars to make guns for gun games on naomi.
http://www.gamoover.net/Forums/index.php?topic=27895.0
If you need any help translating stuff, I'm French so I can help.
http://www.gamoover.net/Forums/index.php?topic=27895.0
If you need any help translating stuff, I'm French so I can help.
-
- Please Continue...
- Posts: 18
- Joined: May 19th, 2014, 8:13 pm
- Location:
- eBay: hybridprowrestling
Re: Open source JVS I/O to pc interface
looks excellent
-
- Please Continue...
- Posts: 2
- Joined: July 28th, 2014, 10:36 pm
- Location:
Re: Open source JVS I/O to pc interface
Is this project still being worked-on? I see it's been a few months since the OP announced it and there haven't been many updates.
I would love to help get analogue support added. I have an OutRun 2 Special Tours driving cabinet that I would like to get working on the PC, if possible. For this cabinet I think we're looking at 3 analogue controls, 1 for steering and 1 each for the two pedals.
Thanks!
I would love to help get analogue support added. I have an OutRun 2 Special Tours driving cabinet that I would like to get working on the PC, if possible. For this cabinet I think we're looking at 3 analogue controls, 1 for steering and 1 each for the two pedals.
Thanks!
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Re: Open source JVS I/O to pc interface
Yes, i'm still working on it.
I actually added shift mode and coin recognition to the firmware... but, never got to push it to github. If you're willing i could cook up a special version that would let us test the analog controls. Do you have a teensy and a sn75176b ready?
I actually added shift mode and coin recognition to the firmware... but, never got to push it to github. If you're willing i could cook up a special version that would let us test the analog controls. Do you have a teensy and a sn75176b ready?
-
- Please Continue...
- Posts: 73
- Joined: March 8th, 2014, 5:10 pm
- Location: Italy
Re: Open source JVS I/O to pc interface
I'm not the one who asked, and at the moment I've no way to test it, but it's really great to know you're still working on it. When I'll have time I'll test it, thanks.k4roshi wrote:Yes, i'm still working on it.
I actually added shift mode and coin recognition to the firmware... but, never got to push it to github. If you're willing i could cook up a special version that would let us test the analog controls. Do you have a teensy and a sn75176b ready?
Paolo
-
- Please Continue...
- Posts: 1
- Joined: October 30th, 2013, 6:48 am
- Location:
Re: Open source JVS I/O to pc interface
Hello
first, sorry for my bad english...
I have a complete Interface ready and also a complete analog setup to test analoge inputs.
how can I help?
Andi
first, sorry for my bad english...
I have a complete Interface ready and also a complete analog setup to test analoge inputs.
how can I help?
Andi
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Re: Open source JVS I/O to pc interface
Hi guys!
I updated the code on github, improved the startup procedure, coin handling works and shift mode is provided:
p1 start works as shift, when pressed with the following buttons it causes different keypresses:
button 1: coin (presses keyb 5)
J1 right: Tab
J1 down: P (pause)
J1 left: enter
P2: esc
Here's the binary build:
https://dl.dropboxusercontent.com/u/637 ... Sy-1.0.hex"
I also managed to read analog inputs, but have no way of "calibrating" them.
This debug build outputs to the serial console the binary readings it receives from the analog ports. If anybody wants to flash this and report back to me i can make them work in little time. This doesn't work as a joystick input, so don't flash unless you know what you're doing.
https://dl.dropboxusercontent.com/u/637 ... analog.hex"
I studied a bit the lightgun controls and they should be easy to implement, but again, i would need someone to help me test it.
I updated the code on github, improved the startup procedure, coin handling works and shift mode is provided:
p1 start works as shift, when pressed with the following buttons it causes different keypresses:
button 1: coin (presses keyb 5)
J1 right: Tab
J1 down: P (pause)
J1 left: enter
P2: esc
Here's the binary build:
https://dl.dropboxusercontent.com/u/637 ... Sy-1.0.hex"
I also managed to read analog inputs, but have no way of "calibrating" them.
This debug build outputs to the serial console the binary readings it receives from the analog ports. If anybody wants to flash this and report back to me i can make them work in little time. This doesn't work as a joystick input, so don't flash unless you know what you're doing.
https://dl.dropboxusercontent.com/u/637 ... analog.hex"
I studied a bit the lightgun controls and they should be easy to implement, but again, i would need someone to help me test it.
-
- Posts: 601
- Joined: August 17th, 2008, 6:51 pm
- Location: Dublin, Ireland
Re: Open source JVS I/O to pc interface
any pics of your setup?k4roshi wrote:Hi guys!
I updated the code on github, improved the startup procedure, coin handling works and shift mode is provided:
p1 start works as shift, when pressed with the following buttons it causes different keypresses:
button 1: coin (presses keyb 5)
J1 right: Tab
J1 down: P (pause)
J1 left: enter
P2: esc
Here's the binary build:
https://dl.dropboxusercontent.com/u/637 ... Sy-1.0.hex"
I also managed to read analog inputs, but have no way of "calibrating" them.
This debug build outputs to the serial console the binary readings it receives from the analog ports. If anybody wants to flash this and report back to me i can make them work in little time. This doesn't work as a joystick input, so don't flash unless you know what you're doing.
https://dl.dropboxusercontent.com/u/637 ... analog.hex"
I studied a bit the lightgun controls and they should be easy to implement, but again, i would need someone to help me test it.
-
- Please Continue...
- Posts: 26
- Joined: March 8th, 2014, 6:33 pm
- Location: Italy
Re: Open source JVS I/O to pc interface (WIP: Analog, Lightg
Nothing fancy, and probably a bit overcomplicated, but i ultimately had to use a perforated board, because wires kept getting loose from the strain the usb cables puts on them.
You then connect the jvs cable to the usb female port and the teensy to the pc, as usual.
You then connect the jvs cable to the usb female port and the teensy to the pc, as usual.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 601
- Joined: August 17th, 2008, 6:51 pm
- Location: Dublin, Ireland
Re: Open source JVS I/O to pc interface (WIP: Analog, Lightg
That's really cool do you have a wiring diagramk4roshi wrote:Nothing fancy, and probably a bit overcomplicated, but i ultimately had to use a perforated board, because wires kept getting loose from the strain the usb cables puts on them.
You then connect the jvs cable to the usb female port and the teensy to the pc, as usual.