Raspberry Pi Pico HID-Device.
This project can be found here: GitHub
The following dependencies must be installed (see dependencies.sh):
- Raspberry Pi Pico SDK incl.
PICO_SDK_PATH
environment variable - TinyUSB (for HID support - should be part of Pico's SDK)
- C/C++ build environment and tools (gcc, make, ...)
- Doxygen (for docs)
- TexLive (for docs)
You can or have to configure some app properties (see CMakeLists.txt):
- GPIO-Pin numbers for buttons and LEDs (required)
- USB VID/PID (vendor/product id), manufacturer and product name, serial (required for real world use; optional for testing)
If everything is set up correctly, it should be as easy as running the build.sh
script.
Now the *.uf2 file can be installed on the Raspberry Pi Pico.
The required circuit is as simple as the following:
I decided to add a little (functional - not beautiful) case. So i had to provide a extra green LED as a replacement for the on board LED, as it is no longer reachable or visible. For the same reason there are two extra buttons on the bottom side for Reset (RUN-Pin to ground) and BOOTSEL (TP6 to ground). For debugging purposes there are also UART-pins soldered on the Pico.
circuit in his case
circuit front side
circuit back side (GND solder point on the top-left is wrong -> should be GP18)