Skip to content

CO2 monitor integration for M5Stack AtomS3. Reads sensor values from UD-CO2S, and sends values to ThingsSpeak IoT platform.

License

Notifications You must be signed in to change notification settings

mu373/atom-s3-co2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CO2 monitor integration for M5Stack AtomS3. Reads sensor values from UD-CO2S, and sends values to ThingsSpeak IoT platform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published