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: A-PAC or U-Hid - which should I use  (Read 2144 times)

0 Members and 1 Guest are viewing this topic.

portyman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:December 29, 2023, 10:07:40 pm
  • I want to build my own arcade controls!
A-PAC or U-Hid - which should I use
« on: June 13, 2020, 09:11:28 am »
I am building a pole position/ off road cab with a raspberry Pi and 360 wheels. I have an analog potentiometer gas pedal and brake set. I use a mini pac for buttons and joystick. What should I use for the pedals. I will eventually get 2 more gas pedals to use for the off road game but I’m starting simple at first. It’s my first uses of anything with Pots.
Thanks

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9405
  • Last login:Today at 02:01:29 am
  • Designated spam hunter
Re: A-PAC or U-Hid - which should I use
« Reply #1 on: June 13, 2020, 01:38:52 pm »
I am building a pole position/ off road cab with a raspberry Pi and 360 wheels. I have an analog potentiometer gas pedal and brake set. I use a mini pac for buttons and joystick. What should I use for the pedals. I will eventually get 2 more gas pedals to use for the off road game but I’m starting simple at first.
Several approaches to this:

1. Use your Mini-Pac for the buttons, joystick, and 360 wheels.  Use a U-HID nano for the pedals.
- Two 360 wheels are electrically the same as one trackball.

2. If you want to fit all of the controls on one hybrid encoder board, you're looking at a full-size U-HID.
- It's a bit expensive for some people's budget but a very powerful and flexible encoder.

3. You can roll-your-own joystick/button, optical, or analog encoders using inexpensive 32u4 Arduino boards.
- Costs far less than the encoders mentioned above, but requires some soldering skills and loading the desired firmware on the board.
--------------
Dedicated admin buttons or shifted functions?  http://wiki.arcadecontrols.com/index.php/FAQ#Number_of_admin_buttons

How many of each type of control will you need for your final build?

  2 - 360 wheels (optical encoder)
  4 - potentiometer pedals (analog/gamepad encoder)
  __ - admin and player buttons (gamepad or keyboard encoder)
  __ - joysticks (gamepad or keyboard encoder)

Based on that info, you can determine how many inputs/connections you'll need.
http://wiki.arcadecontrols.com/index.php/FAQ#How_many_encoder_inputs_do_I_need_for_my_control_panel.3F
--------------
A 360 wheel is an optical (mouse) control.
- 5v
- Ground
- Two data lines ("quadrature waveforms")

A potentiometer is an analog control.
- 5v
- Ground
- Input for variable voltage from the wiper (center tab)

Buttons/joysticks are microswitch controls.
- Input
- Ground


Scott

portyman

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:December 29, 2023, 10:07:40 pm
  • I want to build my own arcade controls!
Re: A-PAC or U-Hid - which should I use
« Reply #2 on: June 13, 2020, 02:02:23 pm »
Awesome..thank you. I think option 1 is the best for me since I have the mini ipac already and my soldering skills are terrible.