ESP32C3-Based Battery-Powered Weather Station with Fan Control
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32C3 microcontroller, various sensors, a fan, a transistor, a battery, a boost converter, a solar panel, and a charging module. The circuit is designed to monitor environmental conditions and control a fan based on sensor inputs. The power for the circuit is managed through a combination of a solar panel, a battery, and a boost converter.
Component List
ESP32C3 Supermini
- Description: A microcontroller with multiple GPIO pins.
- Pins: GPIO05, GPIO06, GPIO07, GPIO08, GPIO09, GPIO10, GPIO20, GPIO21, GPIO00, GPIO01, GPIO02, GPIO03, GPIO04, 3.3V, GND, +5V
BME/BMP280
- Description: A sensor module for measuring temperature, humidity, and pressure.
- Pins: GND, SCL, SDA, VIN
DHT 11
- Description: A digital temperature and humidity sensor.
- Pins: VCC, GND, DATA
NPN Transistor (CBE)
- Description: A transistor used for switching applications.
- Pins: collector, base, emitter
Fan
- Description: A fan for cooling purposes.
- Pins: GND, 5V
TP4056
- Description: A lithium battery charging module.
- Pins: OUT-, B-, B+, OUT+, IN-, IN+
18650 in holder
- Description: A holder for a 18650 lithium battery.
- Pins: GND, VCC
Boost converter MT3608
- Description: A boost converter to step up voltage.
- Pins: OUTPUT +, OUTPUT -, INPUT +, INPUT -
Solar panel
- Description: A solar panel for generating power.
- Pins: +, -
Wiring Details
ESP32C3 Supermini
- GPIO08 connected to BME/BMP280 SDA
- GPIO09 connected to BME/BMP280 SCL
- GPIO02 connected to DHT 11 DATA
- GPIO03 connected to NPN Transistor (CBE) base
- GND connected to:
- NPN Transistor (CBE) emitter
- DHT 11 GND
- boost converter MT3608 OUTPUT -
- BME/BMP280 GND
- +5V connected to:
- DHT 11 VCC
- Fan 5V
- boost converter MT3608 OUTPUT +
- BME/BMP280 VIN
BME/BMP280
- SDA connected to ESP32C3 Supermini GPIO08
- SCL connected to ESP32C3 Supermini GPIO09
- GND connected to ESP32C3 Supermini GND
- VIN connected to ESP32C3 Supermini +5V
DHT 11
- VCC connected to ESP32C3 Supermini +5V
- GND connected to ESP32C3 Supermini GND
- DATA connected to ESP32C3 Supermini GPIO02
NPN Transistor (CBE)
- collector connected to Fan GND
- base connected to ESP32C3 Supermini GPIO03
- emitter connected to ESP32C3 Supermini GND
Fan
- GND connected to NPN Transistor (CBE) collector
- 5V connected to ESP32C3 Supermini +5V
TP4056
- OUT- connected to boost converter MT3608 INPUT -
- B- connected to 18650 in holder GND
- B+ connected to 18650 in holder VCC
- OUT+ connected to boost converter MT3608 INPUT +
- IN- connected to solar panel -
- IN+ connected to solar panel +
18650 in holder
- GND connected to TP4056 B-
- VCC connected to TP4056 B+
Boost converter MT3608
- OUTPUT + connected to ESP32C3 Supermini +5V
- OUTPUT - connected to ESP32C3 Supermini GND
- INPUT + connected to TP4056 OUT+
- INPUT - connected to TP4056 OUT-
Solar panel
- - connected to TP4056 IN-
- + connected to TP4056 IN+
Code
No code is provided for this circuit.