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
Lightguns Arcade1Up Try the site in https mode Site News

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

  

Author Topic: Championship sprint control options  (Read 3152 times)

0 Members and 1 Guest are viewing this topic.

charliew

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:February 07, 2020, 08:31:12 pm
  • I want to build my own arcade controls!
Championship sprint control options
« 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?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9672
  • Last login:Today at 03:12:54 am
  • Designated spam hunter
Re: Championship sprint control options
« Reply #1 on: August 05, 2016, 05:37: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?
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

charliew

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:February 07, 2020, 08:31:12 pm
  • I want to build my own arcade controls!
Re: Championship sprint control options
« Reply #2 on: August 05, 2016, 05:52:33 pm »
U-HID is Windows only right? Or will it work with a Raspberry Pi as well?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9672
  • Last login:Today at 03:12:54 am
  • Designated spam hunter
Re: Championship sprint control options
« Reply #3 on: August 05, 2016, 06:14:33 pm »
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)
Quote
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
Quote
No special drivers or application changes needed except for PC-controlled LEDs which has an API with code examples.


Scott
« Last Edit: August 05, 2016, 06:16:31 pm by PL1 »

MTPPC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 26, 2021, 02:25:46 pm
Re: Championship sprint control options
« Reply #4 on: August 05, 2016, 07:34:29 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?
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..
Pinball and Video Arcade Repair in Billings, MT USA
http://pinballmd.com/

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9672
  • Last login:Today at 03:12:54 am
  • Designated spam hunter
Re: Championship sprint control options
« Reply #5 on: August 05, 2016, 09:10:00 pm »
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