pico-enviro-sensor/README.md
Adam Macdonald f2564dd2e7 Add README
2025-02-19 15:20:10 +00:00

1.3 KiB

Pico Environment Sensor

This firmware, written in Rust using embedded-hal (rp235x-hal), is designed for the Raspberry Pi Pico 2 W platform using the RP2350 microcontroller. Its application is an environment-sensing device which can measure CO2 concentration in the atmosphere, ambient temperature and humidity.

Building

Prerequisites

Environment configuration

This build system assumes the environment variables: PICO_BOARD, PICO_PLATFORM & PICO_SDK_PATH are set. picotool should also be available in the PATH.

The env-vars.sh script sets these values to pico2_w, rp2350-arm-s and my personal Pico SDK path, respectively.

Compiling & running

  • cargo build (or cargo build --release)

If you wish to run the binary on your Pico (connected in BOOTSEL mode):

  • cargo run (or cargo run --release)