Arduino UNO Controlled Environmental Monitoring System with LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to interface various sensors and actuators with an Arduino UNO microcontroller. The circuit includes a power supply, a motor driver for controlling a fan, a piezo buzzer for audio feedback, a rotary encoder for user input, a DHT11 sensor for temperature and humidity readings, a GP2Y1010AU0F dust sensor, and an LCD display for outputting information. A rocker switch is included for power control. The Arduino UNO serves as the central processing unit, interfacing with all components and managing control logic and data acquisition.
Component List
12v Power Supply
- Provides the main voltage source for the circuit.
Piezo Buzzer
- Acts as an audio signaling device.
L298N DC Motor Driver
- Controls the speed and direction of the fan.
Rotary Encoder
- Allows the user to input rotational data into the system.
Rocker Switch
- Serves as an on/off switch for the circuit.
DHT11
- Measures temperature and humidity for environmental monitoring.
MKE-M07 LCD1602 I2C
- Displays information such as sensor readings and system status.
Arduino UNO
- The main microcontroller board that runs the embedded code and interfaces with all components.
GP2Y1010AU0F
- An optical dust sensor for detecting fine particulate matter.
Fan
- An actuator for creating airflow, controlled by the motor driver.
Wiring Details
12v Power Supply
+to Arduino UNO3.3V-to Arduino UNOGND
Piezo Buzzer
pin 1to Arduino UNOD9pin 2to Arduino UNOGND
L298N DC Motor Driver
OUT1to FanGNDOUT2to Fan5V12Vnot connectedGNDto Arduino UNOGND5Vto Arduino UNOVinOUT3not connectedOUT4not connected5V-ENA-JMP-Inot connected5V-ENA-JMP-Onot connected+5V-J1not connected+5V-J2not connectedENAnot connectedIN1not connectedIN2not connectedIN3to Arduino UNOD11IN4to Arduino UNOD12ENBto Arduino UNOD5
Rotary Encoder
clkto Arduino UNOD2dtto Arduino UNOD3swto Arduino UNOD7gndto Arduino UNOGND+to Arduino UNO5V
Rocker Switch
outputto Arduino UNOGNDinputto Arduino UNO5V
DHT11
DATAto Arduino UNOD6GNDto Arduino UNOGNDVCCto Arduino UNO5V
MKE-M07 LCD1602 I2C
GNDto Arduino UNOGND5Vto Arduino UNO5VSDAto Arduino UNOA4SCLto Arduino UNOA5
GP2Y1010AU0F
VCCto Arduino UNO5VVoutto Arduino UNOA0S-GNDto Arduino UNOGNDLEDto Arduino UNOD8LED-GNDnot connectedV-LEDnot connected
Fan
GNDto L298N DC Motor DriverOUT15Vto L298N DC Motor DriverOUT2
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 documentation provided for the code.