Skip to content

brunothg/pico-hid

Repository files navigation

pico-hid

Raspberry Pi Pico HID-Device.
This project can be found here: GitHub

Dependencies

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)

Configuration

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)

Build

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.

Circuit

The required circuit is as simple as the following:

Pico-HID circuit

this image was created with Fritzing

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 housing

circuit in his case

Circuit front side

circuit front side

Circuit back side

circuit back side (GND solder point on the top-left is wrong -> should be GP18)