/scd40-sandbox

Sandbox for experiments with SCD40 CO2 sensor

Primary LanguageAdaApache License 2.0Apache-2.0

Indoor conditions monitor

This demo project collect and display few parameters of the indoor conditions:

  • Temperature
  • Relative humidity
  • Atmosphere pressure
  • CO2 concentration
  • Illumination level

Screen Photo

Hardware

It uses:

  • STM32H723 microcontroller board
  • 800*480 pixels LCD display with NT35510 controller
  • SCD40 sensor module (CO2 concentration, temperature, hymidity)
  • BME280 sensor module (atmosphere pressure, temperature, hymidity)
  • BH1750 sensor module (illumination level)

See signal connections for the list of connected wires.

Kit Photo

Software

Software is written on Ada. To build firmware you can use Alire package manager and add A0B Alire Index to download/build all dependencies.

Right now code doesn't use tasking (nor GNAT light-tasking/embedded runtimes, nor aob-tasking crate).

Notes

There are some notes available. They can be helpful for better understanding of microcontroller's peripherals settings, and list unusual features of the sensors.