Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Based Environmental Monitoring System with LoRa and XBee Communication

View and Edit Project In Cirkit DesignerImage of ESP32-Based Environmental Monitoring System with LoRa and XBee Communication

Circuit Documentation

Summary

This circuit is designed around an ESP32 microcontroller and interfaces with multiple sensors (BMP280, INA219, Adafruit BNO055). It communicates data via LoRa (SX1278) and XBee (S2C) modules. The ESP32 collects data from the sensors, transmits it via LoRa and XBee, and stores it in an SD card in CSV format at a 1Hz sampling rate. Additionally, the ESP32 can receive remote commands via LoRa or XBee to control a MOSFET gate.

Component List

  1. LoRa Ra-02 SX1278

    • Description: LoRa transceiver module
    • Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
  2. Adafruit BNO055 STEMMA QT

    • Description: 9-DOF absolute orientation sensor
    • Pins: INT_3V, I2CADDR_3V, PS0_3V, PS1_3V, VCC, 3.3V, GND, SCL, SDA, RESET
  3. INA219

    • Description: High-side DC current sensor
    • Pins: VCC, GND, SCL, SDA, VIN -, VIN +
  4. BMP280

    • Description: Barometric pressure sensor
    • Pins: SDO, CSB, SDA, SCL, GND, VCC
  5. ESP32 (30 pin)

    • Description: Microcontroller with Wi-Fi and Bluetooth capabilities
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  6. L89HA Breakout

    • Description: GPS module
    • Pins: TX, RX, 3.3, GND
  7. Mosfet

    • Description: MOSFET transistor
    • Pins: Gate, Drain, Source
  8. Electrolytic Capacitor

    • Description: Capacitor with 4 Farads capacitance
    • Pins: -, +
  9. Resistor

    • Description: Resistor with 12.5 Ohms resistance
    • Pins: pin1, pin2
  10. XBEE S2C

    • Description: XBee module for wireless communication
    • Pins: VCC, DOUT, DIN, GND
  11. SD CARD MODULE

    • Description: SD card module for data storage
    • Pins: CS, SCK, MOSI, MISO, VCC, GND

Wiring Details

LoRa Ra-02 SX1278

Adafruit BNO055 STEMMA QT

INA219

BMP280

ESP32 (30 pin)

L89HA Breakout

Mosfet