What is this?
This is a racing wheel, that has foot pedals for accelator and brake and can work on any game as long as it supports an Xbox360 controller.
What is it made of?
This Racing wheel was made using parts lying around in my home ( Except the foot pedal, i bought them but they are very cheap) . The Pico Wheel runs on a Raspbery Pi Pico, the rotation of wheel is interphased by Potentiometers. The Code is written in Circuit Python. Refer to https://hridaybarot.home.blog/2021/01/31/using-raspberry-pi-pico-has-hid-device-to-control-mouse-and-keyboard/ to get the HID library and setup Circuit Python.
Schematics


IMPORTANT: The Buttons numbers aren’t the same as the once refrenced in the code. Button number in the picture above are to only highligh where I attached buttons on PicoWheel
Calibration:
The code is given below. First read through all the comments. Undestand the Calibration-debug process. Then save it as “code.py” on your pico.
Then Run it. Perform CALIBRATION TEST 1.
Got to the Top of the code and change “debug” to True. Save it as “code.py” and run it. Close the editor and Perform “Set-Up on PC”
https://github.com/hriday111/picoWheel/blob/main/code.py
Set-Up on PC
Get the app called X360ce at https://www.x360ce.com/. Install it, run it as Administrator.
Click “add”

Click on “CircuitPython HID” device, then click add selected device.

On this page:

Click the right trigger, press accelator. Do the same with left trigger and press brake.
Put your cursor on the left joystick

and click the left arrow, then move your wheel towards the left.
Then set up your gear up and down. Simply click any button on gamepad and press that button on your wheel. EXCEPT the OFFSET Buttons.
Fire up your game and YOU are good to go.
Feel free to contact me if there are any mistakes or you need any help. For immideate help contact me at hridaybarot1@gmail.com