As an experiment, I wanted to see if it was possible to build a pirate wheel to control a ship sailing game. See Reddit for the final result. Before you build this, keep in mind that it's built as a fun experiment, not to actually play a full game.
BuildDownload the files at Printables and print them out at the preferred resolution and material. glue the flat base to the bottom of the stand so it sits flush with the back and extends out the front.
Screw the rotary encoder onto the hole of the stand and fit the wheel on the encoder.
Connect the encoder to the Raspberry Pi Pico, you only need to connect the pins of the encoder since the button is not in use. Connect them to the pins defined in the code or change the code.
For extra stability add double-sided tape to the bottom of the wheel or weigh it down.
SoftwareInstall Circuitpython 7 to the Raspberry Pi Pico and upload the adafruit_hid libraries. If you have no experience with the Pi Pico or Circuitpython, check out this guide from Adafruit.
TestingThe Pi Pico is seen as a keyboard to the computer, so make sure to connect it only when the game is running or just don't turn the wheel. Otherwise, your computer will think you're pressing a lot of buttons.
This was coded to test with Sea of Thieves. If you want to use it with a game that doesn't use the A and D keys for turning, change the keycodes in the Python code.
Hope you enjoy it and please let me know if you build it!





Comments