Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.86 KB

README.md

File metadata and controls

40 lines (35 loc) · 1.86 KB

atom-s3-co2

CO2 monitor integration for M5Stack AtomS3. Reads sensor values from UD-CO2S, and sends values to ThingsSpeak IoT platform. Temperature, Humidity (relative and absolute), CO2 concentration are shown in the display. Click on the display button to switch between each readings.

Materials

graph LR
    AC["USB AC Adapter"] -->|Type A Male-to-Male Cable| Splitter["USB Type A Splitter"]
    Splitter -->Adapter["USB Type C to A Adapter"]
    Adapter --> Extension["Type C Extender"]
    Extension --> |USB Type C Cable| AtomS3
    Splitter --> UDCO2S["UD-CO2S"]
Loading

Setup

  • Prepare environment: VSCode + platform.io
  • Setup src/config.h
    • ThingSpeak API keys, channel ID, data sending interval
    • Wi-Fi SSID and password
  • Build and write the program to AtomS3 using USB
  • Connect UD-CO2S to AtomS3
  • Provide power 5V supply
  • When AtomS3 is booted up, it will automatically connect to Wi-Fi and start reading values from the sensor.

License

MIT license excluding files under lib/EspUsbHost/. See here for details.

References