ESP32-Based Smart Weather Station with LED Display and Multiple Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, various sensors (BH1750, BMP280, DS3231 RTC, DS18B20), multiple MAX7219 8x8 LED matrices, a USB power source, resistors, an LED, a transistor, and a banana socket. The circuit is designed to interface with these components to perform various sensing and display functions.
Component List
ESP32 Mini
- Description: A versatile microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: GND, GPIO27, GPIO25, GPIO32, TDI, GPIO4, GPIO0, GPIO2, SD1, CLK, RXD, TXD, GPIO22, GPIO21, GPIO17, GPIO16, VCC, TD0, SD0, RST, SVP, GPIO26, GPIO18, GPIO19, GPIO23, GPIO5, 3.3V, TCK, SD3, NC, SVN, GPIO35, GPIO33, GPIO34, TMS, SD2
BH1750
- Description: A digital light sensor.
- Pins: VCC, GND, SCL, SDA, ADDR
BMP280
- Description: A barometric pressure and temperature sensor.
- Pins: VCC, GND, SCL, SDA, CSB, SDO
DS3231 RTC
- Description: A real-time clock module.
- Pins: 32K, SQW, SCL, SDA, VCC, GND
DS18B20
- Description: A digital temperature sensor.
- Pins: VDD, DQ, GND
USB Power
- Description: Provides power to the circuit.
- Pins: +, -
MAX7219 8x8 LED Matrix
- Description: An 8x8 LED matrix display.
- Pins: CS, CLK, DIN, GND, VCC, CS(OUT), CLK(OUT), DOUT, VCC(OUT)
Resistor (2200 Ohms)
- Description: A resistor with 2200 Ohms resistance.
- Pins: pin1, pin2
LED: Two Pin (green)
- Description: A green LED.
- Pins: cathode, anode
Resistor (500 Ohms)
- Description: A resistor with 500 Ohms resistance.
- Pins: pin1, pin2
Resistor (50000 Ohms)
- Description: A resistor with 50000 Ohms resistance.
- Pins: pin1, pin2
Black Panel Mount 4mm Banana Socket
- Description: A banana socket for panel mounting.
- Pins: Black_Pin
BC547
- Description: A general-purpose NPN transistor.
- Pins: collector, base, emitter
Wiring Details
ESP32 Mini
- GPIO32 connected to Black Panel Mount 4mm Banana Socket (Black_Pin)
- GPIO22 connected to BH1750 (SDA), BMP280 (SDA), DS3231 RTC (SDA)
- GPIO21 connected to BH1750 (SCL), BMP280 (SCL), DS3231 RTC (SCL)
- GND connected to USB Power (-), MAX7219 8x8 LED Matrix (GND), DS18B20 (GND), BH1750 (GND), BMP280 (GND), DS3231 RTC (GND), BC547 (Emitter)
- VCC connected to USB Power (+), MAX7219 8x8 LED Matrix (VCC)
- GPIO18 connected to MAX7219 8x8 LED Matrix (CLK)
- GPIO19 connected to DS18B20 (DQ) via Resistor (pin2)
- GPIO23 connected to MAX7219 8x8 LED Matrix (DIN)
- GPIO5 connected to MAX7219 8x8 LED Matrix (CS)
- 3.3V connected to DS18B20 (VDD), BH1750 (VCC), BMP280 (VCC), DS3231 RTC (VCC) via Resistor (pin1)
- GPIO33 connected to Resistor (pin1)
BH1750
- SDA connected to ESP32 Mini (GPIO22), BMP280 (SDA), DS3231 RTC (SDA)
- SCL connected to ESP32 Mini (GPIO21), BMP280 (SCL), DS3231 RTC (SCL)
- GND connected to USB Power (-), ESP32 Mini (GND)
- VCC connected to ESP32 Mini (3.3V)
BMP280
- SDA connected to ESP32 Mini (GPIO22), BH1750 (SDA), DS3231 RTC (SDA)
- SCL connected to ESP32 Mini (GPIO21), BH1750 (SCL), DS3231 RTC (SCL)
- GND connected to USB Power (-), ESP32 Mini (GND)
- VCC connected to ESP32 Mini (3.3V)
DS3231 RTC
- SDA connected to ESP32 Mini (GPIO22), BH1750 (SDA), BMP280 (SDA)
- SCL connected to ESP32 Mini (GPIO21), BH1750 (SCL), BMP280 (SCL)
- GND connected to USB Power (-), ESP32 Mini (GND)
- VCC connected to ESP32 Mini (3.3V)
DS18B20
- GND connected to USB Power (-), ESP32 Mini (GND)
- DQ connected to ESP32 Mini (GPIO19) via Resistor (pin2)
- VDD connected to ESP32 Mini (3.3V)
USB Power
- - connected to ESP32 Mini (GND), MAX7219 8x8 LED Matrix (GND), DS18B20 (GND), BH1750 (GND), BMP280 (GND), DS3231 RTC (GND), BC547 (Emitter)
- + connected to ESP32 Mini (VCC), MAX7219 8x8 LED Matrix (VCC), LED: Two Pin (green) (anode)
MAX7219 8x8 LED Matrix
- GND connected to USB Power (-), ESP32 Mini (GND)
- VCC connected to USB Power (+), ESP32 Mini (VCC)
- CLK connected to ESP32 Mini (GPIO18)
- DIN connected to ESP32 Mini (GPIO23)
- CS connected to ESP32 Mini (GPIO5)
- DOUT connected to MAX7219 8x8 LED Matrix (DIN)
Resistor (2200 Ohms)
- pin1 connected to ESP32 Mini (3.3V)
- pin2 connected to DS18B20 (DQ), ESP32 Mini (GPIO19)
LED: Two Pin (green)
- anode connected to USB Power (+)
- cathode connected to Resistor (pin2)
Resistor (500 Ohms)
- pin1 connected to bc547 (collector)
- pin2 connected to LED: Two Pin (green) (cathode)
Resistor (50000 Ohms)
- pin1 connected to ESP32 Mini (GPIO33)
- pin2 connected to bc547 (base)
Black Panel Mount 4mm Banana Socket
- Black_Pin connected to ESP32 Mini (GPIO32)
BC547
- collector connected to Resistor (pin1)
- base connected to Resistor (pin2)
- Emitter connected to USB Power (-), ESP32 Mini (GND)
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and its connections are detailed to ensure clarity and ease of understanding.