Arduino UNO-Based Environmental Monitoring System with LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with various sensors and a display module. The sensors include a DHT22 temperature and humidity sensor, a DS18B20 temperature sensor, a pH Degree Sensor Module, and a SparkFun Soil Moisture Sensor. Additionally, an LCD 20x4 I2C display is used to show the sensor readings. The Arduino UNO serves as the central controller, reading data from the sensors and displaying it on the LCD.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
DHT22
- Description: A digital temperature and humidity sensor.
- Pins: +, Out, -
pH Degree Sensor Module
- Description: A sensor module for measuring pH levels.
- Pins: pH Negative, pH Positive, pH A
Lcd 20x4 i2c
- Description: A 20x4 character LCD display with I2C interface.
- Pins: GND, 5v, SCA, SCL
DS18B20
- Description: A digital temperature sensor.
- Pins: signal, GND, vcc
SparkFun Soil Moisture Sensor
- Description: A sensor for measuring soil moisture levels.
- Pins: VCC, GND, SIG
Wiring Details
Arduino UNO
- 5V: Connected to VCC of SparkFun Soil Moisture Sensor, + of DHT22, vcc of DS18B20, pH Positive of pH Degree Sensor Module, and 5v of Lcd 20x4 i2c.
- GND: Connected to GND of SparkFun Soil Moisture Sensor, - of DHT22, GND of DS18B20, pH Negative of pH Degree Sensor Module, and GND of Lcd 20x4 i2c.
- A0: Connected to pH A of pH Degree Sensor Module.
- A1: Connected to SIG of SparkFun Soil Moisture Sensor.
- A4: Connected to SCA of Lcd 20x4 i2c.
- A5: Connected to SCL of Lcd 20x4 i2c.
- D4: Connected to Out of DHT22.
- D2: Connected to signal of DS18B20.
DHT22
- +: Connected to 5V of Arduino UNO.
- Out: Connected to D4 of Arduino UNO.
- -: Connected to GND of Arduino UNO.
pH Degree Sensor Module
- pH Negative: Connected to GND of Arduino UNO.
- pH Positive: Connected to 5V of Arduino UNO.
- pH A: Connected to A0 of Arduino UNO.
Lcd 20x4 i2c
- GND: Connected to GND of Arduino UNO.
- 5v: Connected to 5V of Arduino UNO.
- SCA: Connected to A4 of Arduino UNO.
- SCL: Connected to A5 of Arduino UNO.
DS18B20
- signal: Connected to D2 of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- vcc: Connected to 5V of Arduino UNO.
SparkFun Soil Moisture Sensor
- VCC: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- SIG: Connected to A1 of Arduino UNO.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the microcontroller.