Battery-Powered Environmental Monitoring System with Data Logging and GPS Tracking
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to interface various sensors and modules with a T-Deer Pro Mini LoRa Atmega328P microcontroller. It includes power management components, environmental sensors, a GPS module, a data logging module, a UV sensor, and a buzzer for alerts. The circuit is powered by two 3.7V batteries, with a step-up boost converter to provide 5V to the ESP32-CAM module. Communication between the microcontroller and modules is facilitated through serial and I2C interfaces.
Component List
Power Sources
- 3.7v Battery: Provides power to the circuit.
- Step Up Boost 3v-5v: Boosts the voltage from 3.7V to 5V for components requiring higher voltage.
Sensors and Modules
- BMP280: A sensor for measuring temperature, pressure, and altitude.
- SparkFun OpenLog: An open-source data logger that records serial data to a microSD card.
- Adafruit VEML6075 UV Sensor Breakout: Measures UVA and UVB light.
- GPS NEO 6M: A GPS module for location tracking.
- ENS160+AHT21: A sensor module for air quality and humidity/temperature sensing.
- ESP32-CAM: A camera module with Wi-Fi capabilities.
Microcontroller
- T-Deer Pro Mini LoRa Atmega328P: The main microcontroller that manages sensor data and communications.
Other Components
- Rocker Switch (SPST): A single-pole single-throw switch for power control.
- Buzzer: An audible alert device.
Wiring Details
3.7v Battery
+: Connected to the T-Deer Pro Mini LoRa Atmega328P'sJST +pin and Step Up Boost'sVipin.-: Connected to the other 3.7v Battery's-pin and the Rocker Switch (SPST)1pin.
BMP280
SDO: Not connected.CSB: Not connected.SDA: Connected to the I2C data line shared with ENS160+AHT21, Adafruit VEML6075, and T-Deer Pro Mini LoRa Atmega328P.SCL: Connected to the I2C clock line shared with ENS160+AHT21, Adafruit VEML6075, and T-Deer Pro Mini LoRa Atmega328P.GND: Common ground.VCC: Connected to the 3.3V power line shared with ENS160+AHT21, SparkFun OpenLog, and Adafruit VEML6075.
SparkFun OpenLog
DTR: Not connected.RXI: Connected to T-Deer Pro Mini LoRa Atmega328P'sD6pin.TXO: Connected to T-Deer Pro Mini LoRa Atmega328P'sD5pin.VCC: Connected to the 3.3V power line.GND: Common ground.RST,SCK,MOSI,MISO: Not connected.
Adafruit VEML6075 UV Sensor Breakout
VIN: Not connected.3.3V: Connected to the 3.3V power line.GND: Common ground.SCL: Connected to the I2C clock line.SDA: Connected to the I2C data line.
GPS NEO 6M
VCC: Not connected.RX: Connected to T-Deer Pro Mini LoRa Atmega328P'sD3pin.TX: Connected to T-Deer Pro Mini LoRa Atmega328P'sD4pin.GND: Common ground.
Step Up Boost 3v-5v
Vi: Connected to the 3.7v Battery's+pin.GND: Common ground.Vo: Connected to the ESP32-CAM's5Vpin.
ENS160+AHT21
VIN: Not connected.3V3: Connected to the 3.3V power line.GND: Common ground.SCL: Connected to the I2C clock line.SDA: Connected to the I2C data line.ADD,CS,INT: Not connected.
Rocker Switch (SPST)
1: Connected to the 3.7v Battery's-pin.2: Common ground.
ESP32-CAM
5V: Connected to the Step Up Boost'sVopin.GND: Common ground.- Other pins (
IO12,IO13,IO15,IO14,IO2,IO4,VOT,VOR,VCC,IO0,IO16,3V3): Not connected.
Buzzer
PIN: Connected to T-Deer Pro Mini LoRa Atmega328P'sD9pin.GND: Common ground.
T-Deer Pro Mini LoRa Atmega328P
JST +: Connected to the 3.7v Battery's+pin.GND: Common ground.3.3V: Connected to the 3.3V power line.A4/SDA: Connected to the I2C data line.A5/SCL: Connected to the I2C clock line.D3,D4,D5,D6,D9: Connected to various modules as specified above.- Other pins: Not connected or not specified in the net list.
Documented Code
No code was provided for the microcontrollers in the circuit. Therefore, this section is left blank until the relevant code is supplied.