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: 31 in 1 Kids Driving Game Steering Wheel pinout  (Read 4325 times)

0 Members and 1 Guest are viewing this topic.

jdevane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:September 29, 2023, 09:27:07 pm
  • I want to build my own arcade controls!
31 in 1 Kids Driving Game Steering Wheel pinout
« on: September 05, 2021, 04:04:12 pm »
Have you see these "spinner" 360 wheels that are packaged with a kids setup arcade package, commonly advertised as a 31 in 1 deal?  I have one, the steering wheel, it has a three wire plug I'm guessing is for steering and one has a 2 wire plug which should be the center button, but I don't have a wiring pin out for it so I'm just guessing and want to interface this with a PC setup, but having trouble how I would do this...  I'm guessing it uses a hall effect sensor.  But it only has the 3 wires so I'm not sure what path I need to take.  Would I be able to use an Opti-Pac?

Thanks



PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9404
  • Last login:Today at 03:14:06 am
  • Designated spam hunter
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #1 on: September 05, 2021, 06:53:10 pm »
it has a three wire plug I'm guessing is for steering and one has a 2 wire plug which should be the center button, but I don't have a wiring pin out for it so I'm just guessing and want to interface this with a PC setup, but having trouble how I would do this...  I'm guessing it uses a hall effect sensor.  But it only has the 3 wires so I'm not sure what path I need to take.
Assuming that it has a Hall Effect angle sensor similar to this one:
- The three wires will be VCC (5v?), ground, and output -- similar to a potentiometer.
-- Unlike a potentiometer, you can't swap VCC and ground to invert the output.
- The output is a variable voltage controlled by the position of the wheel -- similar to a 270 degree steering wheel with a potentiometer.
- Try testing it with your multimeter and a 5v power supply.

- The output should be one 0-5v range over one turn of the wheel, allowing you to use an analog (potentiometer) encoder like an A-Pac, a U-HID, or a 32u4 Arduino board. (Pro Micro, etc.)
- If the output is more than one 0-5v range over one turn of the wheel like the sensor shown in the video, it probably won't be usable.

Would I be able to use an Opti-Pac?
An Opti-Pac is an optical (mouse) encoder that converts two quadrature waveforms into relative mouse movements.
- Wiring for this is 5v, ground, Data A, and Data B. (4 wires)
- Unless your wheel has optical circuits that are getting ground from the 2-pin button connector, there aren't enough wires.




Scott
« Last Edit: September 05, 2021, 07:02:09 pm by PL1 »

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:August 26, 2023, 05:19:21 pm
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #2 on: September 05, 2021, 09:09:15 pm »
It's an optical encoder wheel. It has a large encoder disc attached to the rim of the wheel and two sensors plus board fixed in the middle of the main body. The (disc) tracks are very thick, so I think that it's a very low resolution encoder. I already tried to connect one to an U-Hid board, but It barely moves left or right.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9404
  • Last login:Today at 03:14:06 am
  • Designated spam hunter
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #3 on: September 06, 2021, 03:34:29 am »
If jdevane's wheel is like this one, it's probably a different version than yours, Sky25es.




Scott

jdevane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:September 29, 2023, 09:27:07 pm
  • I want to build my own arcade controls!
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #4 on: September 06, 2021, 12:38:04 pm »
Yes, mine looks like this one.

If jdevane's wheel is like this one, it's probably a different version than yours, Sky25es.




Scott

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9404
  • Last login:Today at 03:14:06 am
  • Designated spam hunter
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #5 on: September 06, 2021, 01:14:06 pm »
It's probably got a Hall Effect angle sensor, but the only way to tell for sure is to take the wheel apart and see what's inside that plastic shell.

If you find an encoder wheel like Sky25es described, it's an optical circuit.
- Make sure you don't accidently apply 5v to one of the data lines because there's a good chance that will fry the circuit.

Post some pics of the inside and let us know any markings that you find.


Scott

Sky25es

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:August 26, 2023, 05:19:21 pm
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #6 on: September 06, 2021, 05:19:47 pm »
If jdevane's wheel is like this one, it's probably a different version than yours, Sky25es.




Scott

Let me show you some pics..






In any case, you'll have to open your wheel to find out what's inside....

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9404
  • Last login:Today at 03:14:06 am
  • Designated spam hunter
Re: 31 in 1 Kids Driving Game Steering Wheel pinout
« Reply #7 on: September 06, 2021, 09:24:01 pm »
I stand corrected, Sky25es.

Great pics.  Now the construction makes sense.   :cheers:

Did they follow typical wire colors?
- Red for 5v
- Black for ground
- Yellow and green for data lines
- White for the button

Like you mentioned earlier, that 12 tooth encoder wheel is really low res.

You could probably 3d print a higher resolution replacement.   ;D
- There are some generic parametric ones on Thingiverse that could be adapted for this application.



Standard angular spacing between the optos equals a whole number multiplier + 0.5 (1.5, 2.5, etc) times the width of a tooth in degrees so when one opto is at the edge of a tooth or gap, the other opto is in the middle of a tooth or gap.

  opto degrees = 1.5 (multiplier) * 360 degrees/24 tooth-widths (that's 12 teeth + 12 gaps)
  opto degrees = 1.5 * 15 degrees/tooth
  opto degrees = 22.5

If you step up to a 2.5 multiplier, you get an 18 tooth wheel with 9 degrees per tooth.
- Probably do-able and a 50% gain in resolution.

If you step up to a 3.5 multiplier, you get a 28 tooth wheel with about 6.43 degrees per tooth.
- Wouldn't hurt to try, but you might run into backspin.   :dunno

Another improvement to the original encoder wheel design is to add a very narrow inner hub to reinforce the teeth, especially for a 28 tooth version.


Scott