Skip to content

BrendanBall/airquamon

Repository files navigation

Airquamon

Monitor air quality, starting with C02. This project currently uses the ESP32-C3 MCU and is implemented in Rust (no_std). It periodically reads the sensor data (CO2, temperature, humidity) and displays it on an e-ink display. See Display Themes for more info on the display themes.

Building and Flashing

To build:

cd esp32c3_nostd
cargo build --release

To flash:

cd esp32c3_nostd
cargo run --release

Hardware

ESP32-C3-DevKitC-02

I2C and SPI2 can be used on any GPIO pins.

Sensirion SCD41

Connections:

  • I2C SCL (yellow) -> GPIO0
  • I2C SDA (green) -> GPIO1
  • GND (black) -> GND
  • VDD (red) -> 3.3 V

2.9inch E-Paper E-Ink Display Module (B), 296×128, Red / Black / White, SPI

https://www.waveshare.com/product/displays/e-paper/epaper-2/2.9inch-e-paper-module-b.htm

  • VCC: 3.3V/5V
  • GND: Ground
  • DIN: SPI MOSI pin
  • CLK: SPI SCK pin
  • CS: SPI chip selection, low active
  • DC: Data / Command selection (high for data, low for command)
  • RST: External reset, low active
  • BUSY: Busy status output, low active

Connections:

  • VCC -> 3.3 V
  • GND -> GND
  • DIN (MOSI) -> GPIO4
  • CLK (SCK) -> GPIO5
  • CS -> GPIO6
  • DC (MISO) -> GPIO7
  • RST -> GPIO18
  • BUSY -> GPIO19

Resources

Acknowledgements

About

Air quality monitor

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages