Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 849 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 849 Bytes

Micropython library and example for running the Sensirion SCD4X (https://cdn.sparkfun.com/assets/d/4/9/a/d/Sensirion_CO2_Sensors_SCD4x_Datasheet.pdf) sensor on the ESP-WROOM-32 DEVKITV1 (30 pin board).

Based on https://github.com/adafruit/Adafruit_CircuitPython_SCD4X Copyright (c) 2021 ladyada for Adafruit Industries MIT License

&&

Note at the time of writing the ESP-WROOM-32 was not supported for circuitpython (https://circuitpython.org/downloads). This microython code has been tested on the SCD40

Wiring as follows (SCD4X : ESP32):

  • GND : GND
  • VDD : 3V3
  • SDA : D19
  • SCL : D18

Copy the contents of scd4x.py to the board.

Copy the contents of main.py (example) to the board.

Save and reboot the board.