Skip to content

pulcinella-x/sensorstation-small

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

ESP8266 SCD41 and OLED Display Project

This project demonstrates the integration of an ESP8266 microcontroller with a CIWEI SCD41 CO2 sensor and a 1.3-inch OLED I2C display. The system reads CO2 concentration, temperature, and humidity from the SCD41 sensor and displays the data on the OLED screen.

Hardware Components

  • ESP8266: The microcontroller used for reading sensor data and driving the display.
  • CIWEI SCD41: A CO2 sensor that also measures temperature and humidity.
  • 1.3-inch OLED Display (I2C): An I2C OLED display used to show the sensor readings.

Connections

ESP8266 Pins SCD41/OLED Pins
3V3 VCC
GND GND
D1 SCL
D2 SDA

Note: The SCD41 sensor and the OLED display share the same I2C pins.

Installation and Usage

  1. Clone this repository:

    git clone https://github.com/Superior404/sensorstation-small/
    cd sensorstation-small
  2. Install necessary libraries: Ensure you have the following libraries installed in your Arduino IDE:

    • Adafruit_GFX
    • Adafruit_SSD1306
    • SCD41
  3. Upload the code:

    • Connect your ESP8266 to your computer.
    • Open the code in Arduino IDE.
    • Select the correct board and port.
    • Upload the code.
  4. Connect the hardware:

    • Wire the SCD41 sensor and the OLED display to the ESP8266 as per the connections table.
  5. Power up:

    • Once powered, the system will start displaying CO2 concentration, temperature, and humidity readings on the OLED screen.

Images

Image1 Image2

Disclaimer

This project is provided as-is, without any warranty or guarantee of any kind. The creator of this project is not responsible for any damage that may occur to hardware or property as a result of using or misusing this project.

Acknowledgments

  • Adafruit for their excellent libraries.
  • Sensirion for the SCD41 sensor.

About

This repository features an Arduino sketch for indoor air quality monitoring using a SCD41 sensor and OLED display. Created for educational purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages