Solar-Powered Multi-Sensor Environmental Monitoring System with LoRa Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a variety of sensors and modules to interface with a Raspberry Pi Pico microcontroller. The sensors include capacitive soil moisture sensors, a DHT11 temperature and humidity sensor, a temperature sensor, and a rain sensor. The circuit also features a LoRa Ra-02 SX1278 module for long-range communication and an LCD display for user interface. Power management is handled by a solar panel and a charge controller, with an 18650 battery in a holder for energy storage.
Component List
Raspberry Pi Pico
- A microcontroller board based on the RP2040 microcontroller, with a wide range of GPIO pins for interfacing with various sensors and modules.
Capacitive Soil Moisture Sensor V1.2 (x4)
- These sensors measure the moisture level in the soil via capacitive sensing, which is less prone to corrosion.
DHT11 Sensor V2
- A basic, low-cost digital temperature and humidity sensor.
Temperature Sensor
- A sensor for measuring temperature with a digital interface.
LoRa Ra-02 SX1278
- A long-range communication module based on the SX1278 chip, capable of long-distance transmission with low power consumption.
LCD Display 16x4 I2C
- An alphanumeric liquid crystal display with an I2C interface for displaying data.
RAIN SENSOR
- A sensor for detecting rainwater, with both analog and digital outputs.
Solar Panel
- A photovoltaic panel for converting solar energy into electrical power.
Do solara (Solar Charge Controller)
- A device that controls the charging of a battery from a solar panel and protects the battery from overcharging.
18650 in holder
- A rechargeable lithium-ion battery in a holder, commonly used for portable electronics.
Wiring Details
Raspberry Pi Pico
- Serves as the central microcontroller unit, interfacing with all sensors and modules.
Capacitive Soil Moisture Sensor V1.2
- VCC connected to 3.3V power supply.
- GND connected to ground.
- AOUT connected to an analog input pin on the Raspberry Pi Pico.
DHT11 Sensor V2
- VCC connected to 3.3V power supply.
- GND connected to ground.
- DAT connected to a digital input pin on the Raspberry Pi Pico.
Temperature Sensor
- Temp VDD Red connected to 3.3V power supply.
- Temp GND Black connected to ground.
- Temp DQ Data Yellow connected to a digital input pin on the Raspberry Pi Pico.
LoRa Ra-02 SX1278
- 3.3V and GND connected to power supply and ground, respectively.
- SCK, MOSI, MISO, NSS, RST, and DI00 connected to corresponding SPI and control pins on the Raspberry Pi Pico.
LCD Display 16x4 I2C
- VCC connected to 3.3V power supply.
- GND connected to ground.
- SDA and SCL connected to I2C data and clock lines on the Raspberry Pi Pico.
RAIN SENSOR
- VCC connected to 3.3V power supply.
- GRD connected to ground.
- AO connected to an analog input pin on the Raspberry Pi Pico.
- DO connected to a digital input pin on the Raspberry Pi Pico.
Solar Panel
- "+" connected to the positive input of the solar charge controller.
- "-" connected to the negative input of the solar charge controller.
Do solara (Solar Charge Controller)
- "+" and "-" connected to the solar panel.
- "b+" and "b-" connected to the 18650 battery holder.
- "out+" and "out-" provide regulated output to the circuit.
18650 in holder
- VCC connected to the "b+" of the solar charge controller.
- GND connected to the "b-" of the solar charge controller.
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
No additional documentation provided for the code.