By Matthew Hait
Software for USB sim racing steering wheel running on FreeRTOS.
- 12 - Buttons
- OP: One output each
- GPIO: GP2-13
- 5 - Encoders
- PN: Encoder_CTS-288T232R161A2
- OP: Two-bit encoder, Two outputs, Interrupts needed
- GPIO: GP14-21,GP22,GP28
- 2 - Paddles (Buttons)
- OP: One output each
- GPIO: GP0-1 Move to save UART for future projects
- 2 - Hall Effect for clutch
- OP: Analog
- GPIO: 26, 27
- 1 - Multi-direction Switch
- PN: RKJXT1F
- OP: 4 POS + rotate + press
- GPIO: TBD
- Internal Temp Sensor
- OP: P.589 RP2040 Datasheet
- GPIO: ain_sel #4
- USB HID Gamepad
- TinyUSB:
- See examples "pico-examples\usb\device\dev_hid_composite"
- https://github.com/hathach/tinyusb/tree/master/src/portable/raspberrypi/rp2040
- https://github.com/hathach/tinyusb/tree/master/examples/device/hid_composite_freertos
- CDC ACM port
- DMA if used: https://www.youtube.com/watch?v=-Wh3SIAl0Ic
- GPIO
- TinyUSB:
1: PWR - Red 2: Rx - White 3: Gnd - Black 4: TX - Green
- export PICO_SDK_PATH=/mnt/c/Users/PoisonGryphon/Documents/My\ Files/proj/pico/pico-sdk/