dgoffredo / raspberry-pi-pico-w

my Raspberry Pi Pico W microcontroller board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Pi Pico W

I've been playing with the Raspberry Pi Pico W to create WiFi connected sensors like the SCD41 (CO₂) and the DHT22 (temperature and humidity).

Each subdirectory in this repository is either a "project" or a submodule/copy-paste of existing open source code.

My workflow is to modify one of the projects, say, dht22/. Then to build the code I run bin/build dht22. It defaults to debug mode; for release mode run bin/build dht22 release. Then I plug in the Pico via USB in boot select mode and run bin/install-and-monitor dht22. That copies the built uf2 file onto the Pico, which then reboots, and when the USB terminal interface becomes available we attach to it using GNU Screen.

A lot of what I've done so far is organized into a separate library of Pico-specific C++20 coroutines, picoro.

Gallery

SCD41 CO₂ sensor

DHT22 temperature/humidity sensors

DHT22 sensors in wine cooler

About

my Raspberry Pi Pico W microcontroller board

License:GNU Affero General Public License v3.0


Languages

Language:C++ 59.2%Language:C 26.2%Language:Python 8.5%Language:CMake 5.0%Language:Shell 1.1%Language:Makefile 0.1%