Portable CO2 sensor - ESP32 M5Stack compatible by hpsaturn 3d model
3dmdb logo
Thingiverse
Portable CO2 sensor - ESP32 M5Stack compatible by hpsaturn

Portable CO2 sensor - ESP32 M5Stack compatible by hpsaturn

by Thingiverse
Last crawled date: 4 years, 2 months ago
M5CoreInk / M5StickC CO2 Sensirion sensor hat
Source code and 3DPrint files for making a CO2 hat for M5CoreInk/M5StickC (or any ESP32 compatible board), this use a Sensirion SCD30 sensor for get CO2 values.
Components
Description
Store link
M5CoreInk
M5Stack
M5Stack Proto
M5Stack
Sensirion SCD30
Mouser


M5StickC (compatible)
M5Stack
M5StickC Plus (compatible)
M5Stack


How to build it

Firmware upload
First of all, install PlatformIO with your favourite IDE (i.e. VSCode). Follow this instructions. Also, you may need to install git in your system. source code
Clone the repo
git clone https://github.com/hpsaturn/co2_m5coreink.git
Via IDE (vscode)
Connect the M5CoreInk or compatible board via USB. In Windows 10, drivers are installed automatically. I guess with other OS will be automatically installed too.
Open cloned folder with your PlatformIO IDE and build & upload it. For details please see the documentation, but the process flow is more easy than Arduino IDE flow, but you can also import it to the Arduino IDE if you want.

Via PlatformIO CLI
After the clone, enter to directory and you can build and upload the current firmware from CLI:
pio run --target upload
3D print Files

Tags