Arduino UNO-Based Environmental Monitoring System with LCD Feedback
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to interface various sensors and actuators with an Arduino UNO microcontroller. The circuit includes a power source, sensors for environmental monitoring, a potentiometer for analog input, an alcohol sensor, a light-dependent resistor (LDR), a soil moisture sensor, a buzzer for audio signaling, and an LCD display for visual output. The Arduino UNO serves as the central processing unit, reading sensor data, controlling the buzzer, and managing the display.
Component List
9V Battery
- Description: Provides power to the circuit.
Resistor (200 Ohms)
- Description: Limits current to protect connected components.
Arduino UNO
- Description: Microcontroller board based on the ATmega328P, used for controlling the circuit.
Potentiometer
- Description: Provides variable resistance, used as an analog input device.
DHT22
- Description: Digital temperature and humidity sensor.
MQ-3 Sensor Alcohol
- Description: Gas sensor for detecting alcohol levels.
LCD Display 20x4
- Description: Alphanumeric liquid crystal display for showing information.
Sensor LDR LM393
- Description: Light-dependent resistor module for detecting light intensity.
YL-69 Sonda
- Description: Soil moisture sensor.
Buzzer
- Description: Audio signaling device.
Wiring Details
9V Battery
-connected to the ground net.+connected to the positive voltage net.
Resistor (200 Ohms)
pin1connected to the LCD Display 20x4LEDApin.pin2connected to the positive voltage net.
Arduino UNO
GNDconnected to the ground net.5Vconnected to the positive voltage net.- Digital and analog pins connected to various components for control and data acquisition.
Potentiometer
GNDconnected to the ground net.Outputconnected to Arduino UNOA2and LCD Display 20x4VO.VCCconnected to the positive voltage net.
DHT22
+connected to the positive voltage net.Outconnected to Arduino UNOD3.-connected to the ground net.
MQ-3 Sensor Alcohol
VCCconnected to the positive voltage net.GNDconnected to the ground net.A0connected to Arduino UNOA0.D0connected to Arduino UNOD2.
LCD Display 20x4
VDDandVSSconnected to the positive voltage net and ground net, respectively.LEDKconnected to the ground net.LEDAconnected to Resistor (200 Ohms)pin1.DB0toDB7connected to Arduino UNOD8,D9,D10,D11,D12,D13, and two unassigned pins, respectively.RSconnected to Arduino UNOD8.Econnected to Arduino UNOD7.RWconnected to the positive voltage net.VOconnected to PotentiometerOutput.
Sensor LDR LM393
A0connected to Arduino UNOA1.D0connected to Arduino UNOD4.GNDconnected to the ground net.VCCconnected to the positive voltage net.
YL-69 Sonda
+connected to the positive voltage net.-connected to the ground net.
Buzzer
PINconnected to Arduino UNOD5.GNDconnected to the ground net.
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 Notes (documentation.txt)
No additional code documentation provided.