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: pots, pedals and wiring oh my!  (Read 1334 times)

0 Members and 1 Guest are viewing this topic.

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
pots, pedals and wiring oh my!
« on: September 09, 2013, 04:02:48 pm »
hey guys,

next up on my "to do" list is to add pedals to my cab.  i have been buying any used wheel/pedals i've seen at thrift stores just to get the pedals.  i'm curius, will game console / pc pedals work with dual strike hack (or uHID) or do the pots need to be the same (5v i believe)?

also, a quick question on pots.  currently my add ons (star wars yoke, hang on handlebars) are using two dual strikes as the hang on handlebar uses 3 axises.  each pot takes 3 wires.  is it possible to share the common ground of each pot between axises?  so, instead of taking 9 wires total, it would only take 7 wires as the common would be daisy chained.

thanks

Paul Olson

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1235
  • Last login:June 20, 2024, 08:23:41 am
    • Paul's Arcade
Re: pots, pedals and wiring oh my!
« Reply #1 on: September 09, 2013, 06:56:26 pm »
3 axes would take 5 wires. You can share the 5v as well.


tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: pots, pedals and wiring oh my!
« Reply #2 on: September 09, 2013, 07:19:51 pm »
3 axes would take 5 wires. You can share the 5v as well.

wow really?  how about if the three axis are across two controller hacks?

appreciate the insight

EDIT:  had a bit of time tonight to try some wiring.  pedals i am using are wired exactly as you say, two points on the two pots are wired together with the third point being wired individually.

so, i mirrored the wiring up to my dual strike hack.  under devices, if i look at that controller, the stick is centered.  pushing down on gas moves the crosshair all the way to the right.  releasing gas it goes back to the center.  pressing the brake, the crosshair goes all the way to the left.  ease up, back to center.  so, my gas and brake are wired to joystick 2, x axis.

i'm not sure if that is right though.  i've gone into two games and set the gas/brake to my pedals (again, joystick 2, x axis) and here are the results:

spy hunter - gas only.  pressing on the pedal does nothing in game.  i can set the control just fine and the config screen reports "joy 2 x axis" but in game, nada.

ridge racer - brake and gas.  again, in the config screen, seems to be OK.  but when the game starts, gas seems to already be pressed and the car just accelerates constantly.

i'm thinking my issue is that i have both gas/brake on one axis and think that maybe if i go x and y axis, it might clear up?  no time to try this tonight but whatcha all think?  might that fix this for me?

thanks, t
« Last Edit: September 09, 2013, 11:23:04 pm by tony.silveira »

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9675
  • Last login:Today at 05:41:59 am
  • Designated spam hunter
Re: pots, pedals and wiring oh my!
« Reply #3 on: September 10, 2013, 12:11:29 pm »
Sounds like some of the games are expecting single axis and some are expecting dual axis wiring.

(picture by Unclet)

Le Chuck researched it in this thread as part of his New Republic Flight Trainer.

Here is a relay circuit that switches between single and dual axis wiring and a diagram of the voltages to expect on single axis as you press the brake/gas pedals.


Scott