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, data logging capability, and a communication interface. The circuit is powered by two 3.7V batteries, with a step-up boost converter to provide 5V to the ESP32-CAM module. A rocker switch controls the power flow to the circuit. The sensors and modules communicate with the microcontroller via I2C and serial connections. Additionally, there is a buzzer for audio signaling.
3.7V Battery
+
to T-Deer Pro Mini LoRa Atmega328P JST +
-
to Rocker Switch 1
Step Up Boost 3V-5V
Vi
to 3.7V Battery +
GND
to Rocker Switch 2
Vo
to ESP32-CAM 5V
BMP280
SDA
to I2C Bus (shared with other I2C devices)SCL
to I2C Bus (shared with other I2C devices)GND
to common groundVCC
to 3.3V power railAdafruit VEML6075 UV Sensor Breakout
SDA
to I2C Bus (shared with other I2C devices)SCL
to I2C Bus (shared with other I2C devices)GND
to common ground3.3V
to 3.3V power railENS160+AHT21
SDA
to I2C Bus (shared with other I2C devices)SCL
to I2C Bus (shared with other I2C devices)GND
to common ground3V3
to 3.3V power railGPS NEO 6M
VCC
to common ground (possibly a mistake in the net list)RX
to T-Deer Pro Mini LoRa Atmega328P D3
TX
to T-Deer Pro Mini LoRa Atmega328P D4
GND
to common groundSparkFun OpenLog
RXI
to T-Deer Pro Mini LoRa Atmega328P D6
TXO
to T-Deer Pro Mini LoRa Atmega328P D5
GND
to GPS NEO 6M VCC
(possibly a mistake in the net list)VCC
to 3.3V power railESP32-CAM
GND
to common ground5V
to Step Up Boost 3V-5V Vo
Rocker Switch (SPST)
1
to 3.7V Battery -
2
to common groundBuzzer
PIN
to T-Deer Pro Mini LoRa Atmega328P D9
GND
to common groundThere is no code provided for the microcontrollers in the circuit. The code would typically include initialization and configuration of the I2C bus, serial communication setup, sensor data acquisition, data logging routines, and any control logic for the buzzer or other outputs.
Please ensure that the wiring details are double-checked, as there may be errors in the net list provided, particularly with the common ground connections.