Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Environmental Sensing and Data Logging System with GPS and Wi-Fi/LoRa Connectivity

Image of Environmental Sensing and Data Logging System with GPS and Wi-Fi/LoRa Connectivity

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, 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.

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

  • BMP280: A sensor for measuring temperature, pressure, and altitude.
  • Adafruit VEML6075 UV Sensor Breakout: Measures UVA and UVB light.
  • ENS160+AHT21: A sensor module for air quality and temperature/humidity sensing.
  • GPS NEO 6M: A GPS module for location tracking.

Data Logging and Communication

  • SparkFun OpenLog: An open-source data logger that records serial data to a microSD card.
  • ESP32-CAM: A small camera module with Wi-Fi capabilities.

Control and Indication

  • Rocker Switch (SPST): A single-pole single-throw switch to control the power to the circuit.
  • Buzzer: Provides audible feedback or alerts.

Microcontroller

  • T-Deer Pro Mini LoRa Atmega328P: The main microcontroller board that manages sensor data and communications.

Wiring Details

Power Management

  • 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

Sensors

  • BMP280

    • SDA to I2C Bus (shared with other I2C devices)
    • SCL to I2C Bus (shared with other I2C devices)
    • GND to common ground
    • VCC to 3.3V power rail
  • Adafruit 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 ground
    • 3.3V to 3.3V power rail
  • ENS160+AHT21

    • SDA to I2C Bus (shared with other I2C devices)
    • SCL to I2C Bus (shared with other I2C devices)
    • GND to common ground
    • 3V3 to 3.3V power rail
  • GPS 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 ground

Data Logging and Communication

  • SparkFun 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 rail
  • ESP32-CAM

    • GND to common ground
    • 5V to Step Up Boost 3V-5V Vo

Control and Indication

  • Rocker Switch (SPST)

    • 1 to 3.7V Battery -
    • 2 to common ground
  • Buzzer

    • PIN to T-Deer Pro Mini LoRa Atmega328P D9
    • GND to common ground

Documented Code

There 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.