Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP8266 NodeMCU Weather Station with Multiple Sensors and Battery Power

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU Weather Station with Multiple Sensors and Battery Power

Circuit Documentation

Summary

This project integrates multiple sensors and modules with an ESP8266 NodeMCU to acquire data, store it on an SD card, display it on an OLED screen, and create a web server to show and graph all the collected data. The system also includes power management components to ensure reliable operation.

Component List

  1. ESP8266 NodeMCU

    • Description: A microcontroller with built-in WiFi capabilities.
    • Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
  2. Adafruit BMP388

    • Description: A barometric pressure sensor.
    • Pins: VCC, 3.3V, GND, SCK/SCL, SDO/ADR, SDI/SDA, CS, INT
  3. DHT22

    • Description: A temperature and humidity sensor.
    • Pins: VCC, OUT, GND
  4. DS3231 RTC

    • Description: A real-time clock module.
    • Pins: 32K, SQW, SCL, SDA, VCC, GND
  5. Adafruit TSL2591 High Dynamic Range Digital Light Sensor

    • Description: A light sensor.
    • Pins: VCC, 3.3V, GND, SCL, SDA, INT
  6. 0.96" OLED

    • Description: A small OLED display.
    • Pins: GND, VDD, SCK, SDA
  7. Micro SD Card Module

    • Description: A module for interfacing with an SD card.
    • Pins: cs, sck, mosi, miso, vcc, gnd
  8. Adafruit PCF8591

    • Description: An analog-to-digital converter.
    • Pins: VCC, GND, SCL, SDA, OSC, AOUT, AIN3, AIN2, AIN1, AIN0
  9. Photocell (LDR)

    • Description: A light-dependent resistor.
    • Pins: pin 0, pin 1
  10. YL-83 Rain Sensor - Control Board

    • Description: A rain sensor control board.
    • Pins: VCC, GND, DO, AO, POS, NEG
  11. YL-83 Rain Sensor - Detection Board

    • Description: A rain sensor detection board.
    • Pins: POS, NEG
  12. TP4056

    • Description: A lithium battery charger module.
    • Pins: OUT-, B-, B+, OUT+, IN-, IN+
  13. PowerBoost 1000 Basic Pad Terminal

    • Description: A power supply module to boost voltage to 5V.
    • Pins: VBAT, GND, ENABLE, LBO, 5.0V
  14. 18650 in holder

    • Description: A holder for a 18650 lithium-ion battery.
    • Pins: GND, VCC
  15. Resistors

    • Description: Various resistors used in the circuit.
    • Pins: pin1, pin2
    • Properties:
      • 10k Ohms
      • 4.7k Ohms
      • 330 Ohms
  16. Zener Diodes

    • Description: Zener diodes used for voltage regulation.
    • Pins: cathode, anode

Wiring Details

ESP8266 NodeMCU

Adafruit BMP388

DHT22

DS3231 RTC

Adafruit TSL2591 High Dynamic Range Digital Light Sensor

0.96" OLED

Micro SD Card Module

Adafruit PCF8591

Photocell (LDR)

YL-83 Rain Sensor - Control Board