Sanwa JLF and clone joystick servo switchable 4/8 way restrictor gate
We calculate the final price from your selected file. You review and accept it before payment.
Saved on this device.
This model is a remix of Leogchuck's model on Thingiverse.com for a switchable 4-8way Sanwa JLF and clone joysticks.
- Rating
- 0 / 5
- Likes
- 0
- Downloads
- 8
- Makes
- 0
- Views
- 86
- Reviews
- 0
Updated at source:
Model information
- Source
- Printables
- Category
- Video Games
- License
- Creative Commons — Attribution — Noncommercial — Share Alike
I was looking for a way to automatically switch my cocktail table joysticks between 4 and 8-way mode. I found Legochuck's model on Thingiverse (4-8 Way Switchable Sanwa Joystick Restrictor Plate by legochuck - Thingiverse). My joysticks didn't have enough slop to allow his model to work as designed and I wanted automatic switching. I copied the restrictor gate's large diameter and used that to create a top flange and the base of the actuator arm. I added screw holes to attach the new actuator arm to the restrictor gate. The slot in the actuator arm is 22mm long and 4mm wide. The pin on the servo is a brass stand-off for a raspberry pi that has been machined round. The servo tray fits a MG90S (metal gear mini servo) and uses the single arm horn from the package. All the parts were printed in PETG on my Elegoo Neptune 4 Max. I did use supports for the actuator arm and chassis.
Next, I made a PCB to hold the microcontroller (ATtiny85) that controls the servos. Then I added some code to my pi 4 running RetroPie to read a text file of 8-way games on my multi-cade. When an 8-way game is selected the raspberry pi via RetroPie hooks will set a GPIO pin high and tells the ATtiny85 to switch both joysticks to 8-way. When the 8-way game is exited the joysticks swap back to default 4-way. The controllers have not been used for actual game play yet, as it's still being tested. It does however work great on the test bench. Enjoy!!
A quick update. I've installed these ServoGates in my RetroPie powered BarrelCade and they work great. I've included the code I used for the Attiny85 and RetroPie runcommands to make it all work. Please verify the provided code will work for you before using it. Also note: the metal gear servos are not needed for this project. The cheaper SG90S servos will work fine and are the same physical size. Plus, the SG90S servos will likely make less gear noise than the MG90S servos. Have fun and enjoy.