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: Interfacing tatio active high spinner using a Pi Pico  (Read 470 times)

0 Members and 2 Guests are viewing this topic.

bonesai26

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:May 07, 2024, 07:33:40 am
  • I want to build my own arcade controls!
Interfacing tatio active high spinner using a Pi Pico
« on: May 03, 2024, 11:26:31 am »
Hi

I've been making control panels using Pi Pico as they are dirt cheep and programming through Circuit Python is easy.

I've had an original Tatio spinner lying around for years, and I've never got it to work - as I've discovered reading here, its an active high device and therefore I can't use it with the U-Hid that cam with my trackball, nor the trackball pins on my iPac2.

My thoughts have turned to the Pi Pico - and can I use it to interface the spinner without buying an Opti-pac? My gut says yes, but my head isn't there yet :)

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 811
  • Last login:Today at 01:45:50 am
Re: Interfacing tatio active high spinner using a Pi Pico
« Reply #1 on: May 04, 2024, 01:17:50 am »
You can, sure. Just remember to place a pulldown resistor (i.e. 10K ohm) to each data line (a total of two then).
The 3.3V logic should be not a problem as long as you drive the spinner @3V. Eventually a voltage divider (or other stepdown technique) will do the trick. If you don't want to mess with 3.3V logic, Arduino pro micro or Leonardo is the way
« Last Edit: May 04, 2024, 01:21:15 am by baritonomarchetto »

bonesai26

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:May 07, 2024, 07:33:40 am
  • I want to build my own arcade controls!
Re: Interfacing tatio active high spinner using a Pi Pico
« Reply #2 on: May 07, 2024, 07:24:02 am »
Thanks - will give it a go and report back.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6896
  • Last login:Yesterday at 05:06:13 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Interfacing tatio active high spinner using a Pi Pico
« Reply #3 on: May 08, 2024, 10:27:33 am »
The 3.3V logic should be not a problem as long as you drive the spinner @3V.

Not so sure that would be possible.  Opto-sensors use IR LEDs, which have resistors in-line to regulate the current (voltage) to that which allow them to work.  At minimum, it's very likely that a spinner would need to have some board level modifications to work decently at 3.3v, or even work at all.

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 811
  • Last login:Today at 01:45:50 am
Re: Interfacing tatio active high spinner using a Pi Pico
« Reply #4 on: May 08, 2024, 02:02:28 pm »
Sure, what you said is correct, but using 3.3V at the spinner is worth a try

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6896
  • Last login:Yesterday at 05:06:13 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Interfacing tatio active high spinner using a Pi Pico
« Reply #5 on: May 10, 2024, 10:35:08 am »
Sure, what you said is correct, but using 3.3V at the spinner is worth a try

Probably not.  The typical IR LED operates at 1.7v (with many operating below this value).  The voltage differential between 5v and 3.3v (1.7v), with the resistor intended for 5v operation, is the same as the forward voltage of the LED, essentially nullifying everything which would allow it to function if given only 3.3v.