RP2040 Pico W Lab
A playground for the Raspberry Pi Pico W: Wi-Fi, GPIO, I2C, SPI, UART, ADC and PWM experiments on the RP2040.
This repository contains my projects, experiments, and notes using the Raspberry Pi Pico W, built on the RP2040 microcontroller with integrated Wi-Fi. It serves as a playground for testing ideas, learning embedded concepts, and building small prototypes.
Goals:
- Explore RP2040 features with
rp2040_hal - Build Wi-Fi-enabled IoT devices
- Interface with peripherals (GPIO, I2C, SPI, UART, ADC, PWM)
- Experiment with power management, timers, interrupts
- Integrate with sensors and modules (temperature, motion, light, etc.)
Hardware used
- Raspberry Pi Pico W
- Breadboard & jumper wires
- Sensors: DHT11, MPU6050, BH1750, HW-416A, HC-SR04, HW-504, etc
- Modules: OLED, WS2812 (Neopixels), relay, MOSFET driver
- Power: USB / battery / external supply
Projects and experiments
| Project Name | Description | Status |
|---|---|---|
blinky_led_by_button | External LED blink controlled by button | Done |
led_bar | Make LED flow on 10 LED bar graph | Done |
led_lamp | LED ON and LED OFF with button | Done |
led_analog | Breathing LED with PWM | Done |
led_bar_pwm | Make LED flow on 10 LED bar graph with PWM | Done |
led_rgb | Experiments with RGB LED | Done |
led_circle | Make LED circle with freenove | Done |
doorbell | Touch active buzzer | Planned |
Tools and tech stack
- Languages: Rust
- IDEs: VSCode
- Libraries:
embedded_hal,rp2040_hal,panic_halt,hal - Protocols: GPIO, MQTT, UDP, TCP
- Flash storage & OTA update experiments (planned)
Repo structure
/bin/
└── blinky_external_led/
└── blinky_led_by_button/
└── led_analog/
└── led_bar/
└── led_lamp/
└── ...
/docs/
└── wiring_schematics/
└── setup_notes/
README.md
Notes
This is an open lab space, not a polished library or framework. Things may be messy, experimental, or half-finished. If you’re tinkering with the Pico W too, feel free to fork, comment, or share ideas.
Demos
Neighbors in time
when name
Related: the posts that share this one's subject, and where the thread goes next.