ESP32-Based Battery-Powered Environmental Monitoring System with GPS and SD Card Storage
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit design that includes various components such as a TP4056 battery charger, HiLetGo ESP-32 microcontroller, sensors, capacitors, and other peripherals. The circuit is designed to manage power distribution, data acquisition, and communication.
Component List
TP4056
- Description: Battery charger module
- Pins: OUT-, B-, B+, OUT+, IN-, IN+
HiLetGo ESP-32
- Description: Microcontroller with Wi-Fi and Bluetooth capabilities
- Pins: 3.3, EN, GPIO36, GPIO39, GPIO34, GPIO35, GPIO32, GPIO33, GPIO25, GPIO26, GPIO27, GPIO14, GPIO12, GND, GPIO13, GPIO9, GPIO10, GPIO11, VIN, GPIO6, GPIO7, GPIO8, GPIO15, GPIO2, GPIO0, GPIO4, GPIO16, GPIO17, GPIO5, GPIO18, GPIO19, GPIO21, GPIO3, GPIO1, GPIO22, GPIO23
2000mAh Battery
- Description: Power source
- Pins: VCC, GND
Voltage Regulator
- Description: Regulates voltage to a stable level
- Pins: GND, IN, OUT
Electrolytic Capacitor
- Description: Stores electrical energy
- Pins: -, +
- Properties: Capacitance: 0.00001 Farads
Ceramic Capacitor
- Description: Stores electrical energy
- Pins: pin0, pin1
- Properties: Capacitance: 0.0000001 Farads
SD SDHC
- Description: SD card module for data storage
- Pins: 3V3, CS, MOSI, CLK, MISO, GND
BME/BMP280
- Description: Environmental sensor for temperature, pressure, and humidity
- Pins: GND, SCL, SDA, VIN
ENS160+AHT21
- Description: Air quality and temperature/humidity sensor
- Pins: VIN, 3V3, GND, SCL, SDA, ADD, CS, INT
Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass)
- Description: Sensor for measuring acceleration and magnetic fields
- Pins: SCL, SDA, INT2, INT1, DRDY, GND, VIN, 3.3V
Adafruit Ultimate GPS v3
- Description: GPS module for location tracking
- Pins: 1PPS, VIN, GND, RX, TX, FIX, VBACKUP, ENABLE, 3.3V
PCB Antenna
- Description: Antenna for wireless communication
- Pins: wire
WLR089-CanSAT
- Description: Microcontroller for satellite communication
- Pins: USR, 3v6, TXD, RXD, GND, RES
BMP180-M
- Description: Barometric pressure sensor
- Pins: VIN, GND, SCL, SDA
Wiring Details
TP4056
OUT- connected to:
- HiLetGo ESP-32 (GND)
- Voltage Regulator (GND)
- Electrolytic Capacitor (-)
- BME/BMP280 (GND)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (GND)
- SD SDHC (GND)
- Ceramic Capacitor (pin0)
- ENS160+AHT21 (GND)
- BMP180-M (GND)
- Adafruit Ultimate GPS v3 (GND)
- WLR089-CanSAT (GND)
B- connected to:
- 2000mAh Battery (VCC)
B+ connected to:
- 2000mAh Battery (GND)
OUT+ connected to:
- Voltage Regulator (IN)
HiLetGo ESP-32
3.3 connected to:
- Voltage Regulator (OUT)
- Electrolytic Capacitor (+)
- BME/BMP280 (VIN)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (3.3V)
- SD SDHC (3V3)
- Ceramic Capacitor (pin1)
- ENS160+AHT21 (3V3)
- BMP180-M (VIN)
- Adafruit Ultimate GPS v3 (3.3V)
- WLR089-CanSAT (3v6)
GPIO16 connected to:
- WLR089-CanSAT (TXD)
GPIO17 connected to:
- WLR089-CanSAT (RXD)
GPIO22 connected to:
- BMP180-M (SCL)
- BME/BMP280 (SCL)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (SCL)
- ENS160+AHT21 (SCL)
GPIO5 connected to:
- SD SDHC (CS)
GPIO23 connected to:
- SD SDHC (MOSI)
GPIO18 connected to:
- SD SDHC (CLK)
GPIO19 connected to:
- SD SDHC (MISO)
GPIO21 connected to:
- BMP180-M (SDA)
- BME/BMP280 (SDA)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (SDA)
- ENS160+AHT21 (SDA)
GPIO3 connected to:
- Adafruit Ultimate GPS v3 (TX)
GPIO1 connected to:
- Adafruit Ultimate GPS v3 (RX)
2000mAh Battery
VCC connected to:
- TP4056 (B-)
GND connected to:
- TP4056 (B+)
Voltage Regulator
GND connected to:
- TP4056 (OUT-)
- HiLetGo ESP-32 (GND)
- Electrolytic Capacitor (-)
- BME/BMP280 (GND)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (GND)
- SD SDHC (GND)
- Ceramic Capacitor (pin0)
- ENS160+AHT21 (GND)
- BMP180-M (GND)
- Adafruit Ultimate GPS v3 (GND)
- WLR089-CanSAT (GND)
IN connected to:
- TP4056 (OUT+)
OUT connected to:
- HiLetGo ESP-32 (3.3)
- Electrolytic Capacitor (+)
- BME/BMP280 (VIN)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (3.3V)
- SD SDHC (3V3)
- Ceramic Capacitor (pin1)
- ENS160+AHT21 (3V3)
- BMP180-M (VIN)
- Adafruit Ultimate GPS v3 (3.3V)
- WLR089-CanSAT (3v6)
Electrolytic Capacitor
- connected to:
- TP4056 (OUT-)
- HiLetGo ESP-32 (GND)
- Voltage Regulator (GND)
- BME/BMP280 (GND)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (GND)
- SD SDHC (GND)
- Ceramic Capacitor (pin0)
- ENS160+AHT21 (GND)
- BMP180-M (GND)
- Adafruit Ultimate GPS v3 (GND)
- WLR089-CanSAT (GND)
+ connected to:
- HiLetGo ESP-32 (3.3)
- Voltage Regulator (OUT)
- BME/BMP280 (VIN)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (3.3V)
- SD SDHC (3V3)
- Ceramic Capacitor (pin1)
- ENS160+AHT21 (3V3)
- BMP180-M (VIN)
- Adafruit Ultimate GPS v3 (3.3V)
- WLR089-CanSAT (3v6)
Ceramic Capacitor
- pin0 connected to:
- TP4056 (OUT-)
- HiLetGo ESP-32 (GND)
- Voltage Regulator (GND)
- Electrolytic Capacitor (-)
- BME/BMP280 (GND)
- Adafruit LSM303DLHC Triple-axis Accelerometer+Magnetometer (Compass) (GND)
- SD SDHC (GND)
- ENS160+AHT21 (GND)
- BMP180-M (GND)