Many thanks to them and all my donors🙏🏻
This project is a little air quality monitor for M5Stack and Unit CO2 (SCD40).
First, edit platformio.ini
file and change default_envs
target :
default_envs = core
for Core,default_envs = core2
for Core2default_envs = cores3
for Core S3.
You can compile the source code and flash your M5Stack.
Connect Unit CO2 to port A (I2C).
Use middle button to enter the settings menu. Use the right and left buttons to select a menu option and confirm with the middle button. If necessary, use the right and left buttons again to select the sub-options and the middle button to confirm.
The following options are available :
Settings | Value |
---|---|
Temperature Unit | Set Temperature Unit (Celcius or Fahrenheit) |
Led Alert | Set CO2 PPM Level (0 ~ 5000) |
Brightness | Set Brightness (0 ~ 100%) |
Sensor Port | Set Sensor Port (PORT A, PORT C for M5GO2, PORT C for M5GO3) |
Beep | Set Beep (0 ~ 100%) |
Shutdown | Shutdown your M5Stack (even if in charge) |
Reboot | Rebbot your M5Stack (even if in charge) |
Exit | Menu Exit |
Note
About Led Alert, set CO2 PPM to 0 if you want to use de default animation (green < 1000ppm, yellow < 2000ppm, orange < 3000ppm or red).
Note
Temperature Unit, Led Alert, Brightness, Sensor Port and Beep are preserved at the next restart.
Many thanks to...
Project | Author | Link |
---|---|---|
M5Unified | Lovyan03 | https://github.com/m5stack/M5Unified |
FastLED | FastLED | https://github.com/FastLED/FastLED |
A big thanks to Ken from desktopgauges.com !
Special thanks to Rolf Schroeder DL8BAG, Brian Garber WB8AM, Matt B-Wilkinson M6VWM, Robert Agnew KD0TVP, Meinhard Frank Günther DL0CN, Johan Hansson SM0TSC, Tadeusz Pater VA7CPM, Frederic Ulmer F4ESO, Joshua Murray M0JMO, Mark Hammond N8MH, Angel Mateu Muzzio EA4GIG (2 times 🍷🍷), Hiroshi Sasaki JL7KGW, Robert John Williams VK3IE, Mark Bumstead M0IAX, Félix Symann F1VEO, Patrick Ruhl DG2YRP, Michael Beck DH5DAX, Philippe Nicolas F4IQP, Timothy Nustad KD9KHZ, Martin Blanz DL9SAD, Edmund Thompson AE4TQ, Gregory Kiyoi KN6RUQ, Patrick Samson F6GWE, George Kokolakis SV3QUP, Ambrose "Bo" Barry W4GHV, Roger Bouche F1HCN, Christopher Platt, Pascal Paquet F4ICR, Gregory Kiyoi, Ning Yang BH7JAG, Mitsuhiko Nagasawa JL1LYT, Mike Mann G4GOC, David Cappello, Matt Brinkhoff KB0RXC, Franklin Beider WD9GZ, Robrecht Laurens ON4ROB, Florian Wolters DF2ET, James Gatwood WA9JG, Christoph Gässler DL6SEZ, Roger Kenyon WB2YOJ, Jean-pierre Billat F1RXM (2 times 🍷🍷), John Sheppard G4WOD, Jean-Cyrille Vercollier F6IWW, Kenneth Goins Jr, Tim Cowell G6GEI, Andreas Macrides M0FXB, Bogdan Manolache W4MHI, Jacob Mol N8JCM and Calin Vitan @zeromem0 for their donations. That’s so kind of them. Thanks so much 🙏🏻
If you find this project fun and useful then buy me a glass of wine 🍷 🤗
You could use the code F4HWN in order to get 5% discount on the M5Stack shop 🎁
By the way, you can follow me on Twitter and post pictures of your installation with your M5Stack. It always makes me happy ;)