Skip to content

SimonWaldherr/rp2040-examples

Repository files navigation

rp2040-examples

Examples for Raspberry Pi Pico (RP2040 MCU based SBCs)
If you're looking for my Raspberry Pi Golang examples, you will find them here.


You can get the very cheap Raspberry Pi Pico from many retailers:


A good documentation is also available here.
I also recommend this great Raspberry Pi Pico Pinout-page.


you need more GPIO-Pins, just use some PCF8574.

need more fun with LEDs? Get some WS2812 light stripes or modules.

measure real world distance with the help of the HC-SR04 hypersonic module.

show information about your Pi.

accepts text input (e.g. via Thonny) in two different formats Pin,Status or Pin,On-Time,Off-Time and allows pins to be switched on and off (or flashing the LED (pin 25)).

expects text input and causes the LED on the Raspberry Pi Pico to output this text as Morse code.

control up to 16 servo motors with only 2 pins from your pico and the magical PCA9685.

read RFID cards with the rc522.

show a funny snake animation on a hub75 LED-Matrix with an Pimoroni Interstate 75 W.

uses a load cell and the HX711-24bit A/D converter to measure a weight.

connect to your wifi and read json data from the internet.