Build Your Own Arcade Controls Forum
Main => Driving & Racing Cabinets => Topic started by: charliew on August 05, 2016, 05:02:54 pm
-
Is the a way I can convert a CS cab with one controller?
Maybe U-HID, will it work? Two wheels, two analog gas pedals and two (three with coinup) buttons?
-
Is the a way I can convert a CS cab with one controller?
Maybe U-HID, will it work? Two wheels, two analog gas pedals and two (three with coinup) buttons?
Yes, a U-HID will work, but there are too many inputs to use a U-HID nano.
Assuming that you don't share grounds or 5v on any of these:
- Each 360 wheel will need 5v, ground, and two data lines. (8 pins total)
- Each analog gas pedal will need 5v, ground, and wiper. (6 pins total)
- Each button/coin switch will need a separate input with one daisy-chained ground. (7 pins total)
That makes a grand total of 21 pins which leaves you lots of spare inputs on the U-HID. ;D
Scott
-
U-HID is Windows only right? Or will it work with a Raspberry Pi as well?
-
U-HID is Windows only right? Or will it work with a Raspberry Pi as well?
According to the Ultimarc website, it should work fine with RasPi. (Linux)
What is a HID?
HID stands for Human Interface Device. This is a term used to describe certain types of computer peripheral, usually connected via USB or more recently, Bluetooth.
Windows, MacOS, IOS, Android and Linux support a number of "native" HID devices using in-built drivers.
The probable exception is if you also want to have PC controlled LEDs. :dunno
No special drivers or application changes needed except for PC-controlled LEDs which has an API with code examples.
Scott
-
Is the a way I can convert a CS cab with one controller?
Maybe U-HID, will it work? Two wheels, two analog gas pedals and two (three with coinup) buttons?
Yes, a U-HID will work, but there are too many inputs to use a U-HID nano.
Assuming that you don't share grounds or 5v on any of these:
- Each 360 wheel will need 5v, ground, and two data lines. (8 pins total)
- Each analog gas pedal will need 5v, ground, and wiper. (6 pins total)
- Each button/coin switch will need a separate input with one daisy-chained ground. (7 pins total)
That makes a grand total of 21 pins which leaves you lots of spare inputs on the U-HID. ;D
Scott
Why wouldnt you share grounds and 5V? That means 12 pins. I just did this calculation for my project and I'm going with a U-HID nano and a minimus AVR encoder..
-
Why wouldnt you share grounds and 5V? That means 12 pins. I just did this calculation for my project and I'm going with a U-HID nano and a minimus AVR encoder..
The nano and AVR setup might work for this project too, but there are a few design limitations:
1. 30mA limit on 5v and ground pins for the U-HID.
2. Just one wheel and one pedal will use 5 pins (5v, ground, data A, data B, and wiper) -- the two LEDs in the optical circuit probably draw about 30 mA. (most LEDs draw ~15-20 mA each so check how much current your circuit draws)
3. Adding the second wheel and pedal to the nano causes you to either:
- Run out of pins (5*2=10)
- Draw WAY over 30mA by sharing 5v and ground between the two optical circuits
The way to get around this is by using 5v and ground from the AVR to power the LEDs in one (or both) of the optical circuits, depending on how much current they are drawing.
Scott