SCD40 ESP32C3 OLED
Model details
- Platform
Printables
- Price
- Free
- License
- CC-BY
- Print, modify and use commercially — credit the author.
- Formats
- 3MF
- 5 Likes
- 25 Downloads
- 0 Makes
- 0 Comments
- 297 Views
Description
Parts:
ESP32C3 OLED from Aliexpress (£2.50 each) https://www.aliexpress.com/item/1005009534750048.html
SCD40 (£11 each) https://www.aliexpress.com/item/1005006682069916.html
I don't know if my ESP Home code is optimal but it works. So far, working great.
Checks the SCD40 and ESP32 internal SOC temp every 60s and reports to HA.
3D printed case is basic but friction fits together solidly enough.
ESPHome Code:
esphome: name: esp32c3oled1 friendly_name: ESP32C3oled1
esp32: board: esp32-c3-devkitm-1 framework: type: esp-idf
# Enable logging logger:
# Enable Home Assistant API api: encryption: key: "_______________________________"
ota: - platform: esphome password: "_______________________________"
wifi: ssid: !secret wifi_ssid password: !secret wifi_password power_save_mode: HIGH
#flash on boot and error #status_led: # pin: GPIO8
i2c: sda: GPIO5 scl: GPIO6 scan: true id: bus_a
sensor:
#Internal ESP32S2 temp for diagnostics - platform: internal_temperature name: "SOC Temp" id: soctemp update_interval: 60s
- platform: scd4x measurement_mode: low_power_periodic temperature_offset: 2.5 update_interval: 60s co2: name: "SCD40_CO2" id: co2 temperature: name: "SCD40_Temperature" id: temperature humidity: name: "SCD40_Humidity" id: humidity
- platform: absolute_humidity name: Absolute Humidity temperature: temperature humidity: humidity
font:
# gfonts://family[@weight] - file: "gfonts://Roboto" id: roboto_12 size: 12
display: platform: ssd1306_i2c model: "SSD1306 72x40" id: ssd1306 address: 0x3C lambda: |- it.printf( 36, 5, id(roboto_12), TextAlign::CENTER, "Temp %.1f",id(temperature).state); it.printf( 36, 20, id(roboto_12), TextAlign::CENTER, "Humi %.1f",id(humidity).state); it.printf( 36, 34, id(roboto_12), TextAlign::CENTER, "CO2 %.0f",id(co2).state);
Similar models
ESP32-C6 + SCD-41 Sensor Enclosure
ESP32 box for SCD40
ESP32-WROOM-32 + SCD4x CO2 sensor enclosure
Wemos D1 Mini (ESP32) and SCD40/SCD41 Compact wall-mountable enclosure for air quality monitoring
Air Quality Monitor Enclosure
ESP32-C3 Super Mini — SCD4x CO₂ + AHT20 + BMP280 + OLED Enclosure (remix)
ESP32 CASE - CO2 Monitor with SCD41 (Home Assistant Ready)
LoLin32 Lite + SCD40/SCD41 CO2 Sensor Case Compact wall-mountable enclosure for air quality monitoringCompact wall-mountable enclosure for air quality monitoring
Minimalistic case for ESP32-H2 Super mini and sensor SCD40/41
CO₂ Monitor Case – SCD30 & ESP32-C3 Super Mini
CO2 Sensor slim case
Names are used only to indicate the source of a result. Polyzon is not affiliated with the listed sites.


Comments