Battery-Powered ESP32 and LoRa-Based Soil Moisture Monitoring System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a LoRa Ra-02 SX1278 module, an ADXL345 accelerometer, a DFRobot Capacitive Soil Moisture Sensor, and a 18650 Li-Ion battery. The circuit is designed to interface these components for various sensing and communication tasks.
Component List
18650 Li-Ion
- Description: Rechargeable lithium-ion battery.
- Pins: Positive, Negative
ESP32
- Description: A powerful microcontroller with integrated Wi-Fi and Bluetooth.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
LoRa Ra-02 SX1278
- Description: Long-range transceiver module.
- Pins: GND, NSS, MOSI, MISO, SCK, D105, DI04, 3.3V, RST, DI00, DI01, D102, DI03
ADXL345
- Description: 3-axis digital accelerometer.
- Pins: GND, VCC, CS, INT1, INT2, SDO, SDA, SCL
DFRobot Capacitive Soil Moisture Sensor (V1.0)
- Description: Capacitive soil moisture sensor.
- Pins: A, VCC, GND
Wiring Details
18650 Li-Ion
- Positive is connected to VIN of the ESP32.
- Negative is connected to:
- GND of the ESP32
- GND of the ADXL345
- GND of the LoRa Ra-02 SX1278
- GND of the DFRobot Capacitive Soil Moisture Sensor
ESP32
- D34 is connected to A of the DFRobot Capacitive Soil Moisture Sensor.
- VIN is connected to Positive of the 18650 Li-Ion.
- GND is connected to:
- Negative of the 18650 Li-Ion
- GND of the ADXL345
- GND of the LoRa Ra-02 SX1278
- GND of the DFRobot Capacitive Soil Moisture Sensor
- 3V3 is connected to:
- VCC of the ADXL345
- 3.3V of the LoRa Ra-02 SX1278
- VCC of the DFRobot Capacitive Soil Moisture Sensor
- D2 is connected to DI00 of the LoRa Ra-02 SX1278.
- D5 is connected to NSS of the LoRa Ra-02 SX1278.
- D18 is connected to SCK of the LoRa Ra-02 SX1278.
- D19 is connected to MISO of the LoRa Ra-02 SX1278.
- D21 is connected to SDA of the ADXL345.
- D22 is connected to SCL of the ADXL345.
- D23 is connected to MOSI of the LoRa Ra-02 SX1278.
LoRa Ra-02 SX1278
- GND is connected to:
- Negative of the 18650 Li-Ion
- GND of the ESP32
- GND of the ADXL345
- GND of the DFRobot Capacitive Soil Moisture Sensor
- 3.3V is connected to 3V3 of the ESP32.
- DI00 is connected to D2 of the ESP32.
- NSS is connected to D5 of the ESP32.
- SCK is connected to D18 of the ESP32.
- MISO is connected to D19 of the ESP32.
- MOSI is connected to D23 of the ESP32.
ADXL345
- GND is connected to:
- Negative of the 18650 Li-Ion
- GND of the ESP32
- GND of the LoRa Ra-02 SX1278
- GND of the DFRobot Capacitive Soil Moisture Sensor
- VCC is connected to 3V3 of the ESP32.
- SDA is connected to D21 of the ESP32.
- SCL is connected to D22 of the ESP32.
DFRobot Capacitive Soil Moisture Sensor (V1.0)
- A is connected to D34 of the ESP32.
- VCC is connected to 3V3 of the ESP32.
- GND is connected to:
- Negative of the 18650 Li-Ion
- GND of the ESP32
- GND of the ADXL345
- GND of the LoRa Ra-02 SX1278
Code
No code is provided for this circuit.