Pico RP2040 HID Joystick Library for Arduino IDE

3 Просмотры
Размещено
I'm going to show you how to make your own HID gamepad / joystick using a Raspberry Pi Pico RP2040 in the Arduino IDE. C++ all the way, no Circuit Python here.

You'll need the following library from Realrobots (that's me!)
https://gitlab.com/realrobots/PicoGamepad

Here is the final circuit
https://realrobots.net/img/youtube/circuit.jpg

and the RP2040 pinout which comes in handy since they printed the pin numbers on the wrong side of the board with these things.
https://realrobots.net/img/youtube/raspberry-pi-pico-pinout.jpg

If you like stuff like this, buy me a coffee at
https://www.patreon.com/realrobots

STL files for the gamepad (originally uses an ESP32 but the Pico will fit too)
https://www.thingiverse.com/thing:4847835

0:00 Set up library
1:12 Open Code Example
2:09 Circuit Diagram
2:28 Connect Potentiometer
3:44 Connect Push Button
7:17 Connect Thumbstick
Категория
Ардуино
Комментариев нет.