Platform

Pico / RP2040

Cheap, fast, surprisingly fun once you wrap your head around PIO. MicroPython or C.

27 tutorials

intermediate 35 min

Pico: run multiple tasks with asyncio

Blink an LED, read a sensor, and serve a web page at the same time on a Pico with MicroPython asyncio. Cooperative multitasking without an RTOS.

beginner 30 min

Pico: drive DC motors with the L298N

Wire a Pico to an L298N motor driver, drive one or two DC motors with PWM speed control in MicroPython, and get direction control for free. The start of every wheeled robot.

intermediate 40 min

Pico W: send email alerts over SMTP

Send email straight from a Pico W over SMTP with STARTTLS in MicroPython. Works with your own mail server or any provider's app password, no cloud IoT service in the middle.

intermediate 35 min

Pico: measure wind speed with an anemometer

Wire a cup anemometer's reed switch to a Pico, count pulses with an interrupt, and convert pulse rate to wind speed with the manufacturer's constant.

beginner 30 min

Pico: GPS location and time with the NEO-6M

Wire a NEO-6M GPS module to a Pico over UART, parse NMEA sentences in MicroPython for position and atomic-clock UTC time, and learn why the first fix takes minutes outdoors.

beginner 15 min

Pico: read the RP2040's built-in temperature sensor

Read the temperature sensor inside the RP2040 chip with MicroPython's ADC and the 27-degree conversion formula. Zero wiring, one ADC channel, and a warning about what the number actually means.

beginner 20 min

Pico: read a DHT22 with MicroPython

Wire a DHT22 temperature and humidity sensor to a Pico and read it from MicroPython. The smallest useful Pico sensor project.