Arduino Mega 2560-Based Smart Evaporation Cooling System with LCD Display and Sensor Integration
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is an advanced control system utilizing an Arduino Mega 2560 microcontroller. It integrates various sensors, LEDs, a stepper motor, an LCD display, and other components to create a comprehensive system for monitoring and controlling environmental conditions. The system reads temperature and humidity data, controls a stepper motor for vent adjustment, and displays information on an LCD screen. It also includes pushbuttons for user interaction and LEDs for status indication.
Component List
Arduino Mega 2560
- Description: Microcontroller board based on the ATmega2560.
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL.
LCD Display (16 pin)
- Description: 16x2 character LCD display.
- Pins: VSS, VDD, VO, RS, R_W, E, DB0-DB7, A, K.
LED: Two Pin (red)
- Description: Red LED.
- Pins: Cathode, Anode.
LED: Two Pin (blue)
- Description: Blue LED.
- Pins: Cathode, Anode.
LED: Two Pin (green)
- Description: Green LED.
- Pins: Cathode, Anode.
LED: Two Pin (yellow)
- Description: Yellow LED.
- Pins: Cathode, Anode.
Resistor (330 Ohms)
- Description: Resistor with 330 Ohms resistance.
- Pins: Pin1, Pin2.
Pushbutton
- Description: Pushbutton switch.
- Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out).
Rotary Potentiometer
- Description: 10k Ohm rotary potentiometer.
- Pins: Leg1, Wiper, Leg2.
KY-015 DHT11 Temperature-Humidity sensor module
- Description: Temperature and humidity sensor.
- Pins: VCC, GND, DOUT.
Water Level Sensor
- Description: Water level sensor.
- Pins: SIG, VCC, GND.
28BYJ-48 Stepper Motor
- Description: Stepper motor.
- Pins: BLUE, PINK, YELLOW, ORANGE, RED.
ULN 2003
- Description: Darlington transistor array.
- Pins: IN1-IN7, GND, +, COIL1-COIL5.
MB102 Breadboard Power Supply Module 3.3V/5V
- Description: Power supply module for breadboards.
- Pins: VCC, GND, 3.3V, 5V.
9V Battery
- Description: 9V battery.
- Pins: +, -.
L293D Motor Driver
- Description: Motor driver IC.
- Pins: Enable 1, Input 1, Output 1, GND, Output 2, Input 2, VS, VSS, Input 4, Output 4, Output 3, Input 3, Enable 2.
DC Motor
- Description: DC motor.
- Pins: Pin 1, Pin 2.
DS1307 RTC (Wokwi Compatible)
- Description: Real-time clock module.
- Pins: GND, 5V, SDA, SCL, SQW.
Wiring Details
Arduino Mega 2560
- D2 PWM: Connected to Pushbutton Pin 1 (in)
- D3 PWM: Connected to Pushbutton Pin 1 (in)
- D18/TX1: Connected to Pushbutton Pin 1 (in)
- D19/RX1: Connected to Pushbutton Pin 3 (out)
- D20/SDA: Connected to DS1307 RTC SDA
- D21/SCL: Connected to DS1307 RTC SCL
- D22: Connected to Resistor pin2
- D23: Connected to LCD Display RS
- D24: Connected to Resistor pin2
- D25: Connected to LCD Display DB7
- D26: Connected to Resistor pin2
- D28: Connected to Resistor pin2
- A0: Connected to KY-015 DHT11 Temperature-Humidity sensor module DOUT
- A1: Connected to Water Level Sensor SIG
- D4 PWM: Connected to LCD Display DB4
- D5 PWM: Connected to LCD Display DB5
- D6 PWM: Connected to LCD Display DB6
- D8 PWM: Connected to L293D Motor Driver enable 2
- D9 PWM: Connected to ULN 2003 IN1
- D10 PWM: Connected to ULN 2003 IN2
- D11 PWM: Connected to ULN 2003 IN3
- D12 PWM: Connected to ULN 2003 IN4
- D13 PWM: Connected to LCD Display E
- D52: Connected to L293D Motor Driver input 4
- D53: Connected to L293D Motor Driver input 3
LCD Display (16 pin)
- VSS: Connected to Rotary Potentiometer leg2
- VDD: Connected to Rotary Potentiometer leg1
- VO: Connected to Rotary Potentiometer wiper
- RS: Connected to Arduino Mega 2560 D23
- R_W: Connected to GND
- E: Connected to Arduino Mega 2560 D13
- DB4: Connected to Arduino Mega 2560 D4 PWM
- DB5: Connected to Arduino Mega 2560 D5 PWM
- DB6: Connected to Arduino Mega 2560 D6 PWM
- DB7: Connected to Arduino Mega 2560 D25
- A: Connected to Resistor pin1
- K: Connected to GND
LED: Two Pin (red)
- Cathode: Connected to GND
- Anode: Connected to Resistor pin1
LED: Two Pin (blue)
- Cathode: Connected to GND
- Anode: Connected to Resistor pin1
LED: Two Pin (green)
- Cathode: Connected to GND
- Anode: Connected to Resistor pin1
LED: Two Pin (yellow)
- Cathode: Connected to GND
- Anode: Connected to Resistor pin1
Resistor (330 Ohms)
- Pin1: Connected to LED Anode
- Pin2: Connected to Arduino Mega 2560 D22, D24, D26, D28
Pushbutton
- Pin 1 (in): Connected to Arduino Mega 2560 D2 PWM, D3 PWM, D18/TX1
- Pin 3 (out): Connected to Arduino Mega 2560 D19/RX1
- Pin 4 (out): Connected to GND
Rotary Potentiometer
- Leg1: Connected to Resistor pin2
- Wiper: Connected to LCD Display VO
- Leg2: Connected to LCD Display VSS
KY-015 DHT11 Temperature-Humidity sensor module
- VCC: Connected to Rotary Potentiometer leg1
- GND: Connected to GND
- DOUT: Connected to Arduino Mega 2560 A0
Water Level Sensor
- SIG: Connected to Arduino Mega 2560 A1
- VCC: Connected to Rotary Potentiometer leg1
- GND: Connected to GND
28BYJ-48 Stepper Motor
- BLUE: Connected to ULN 2003 COIL1
- PINK: Connected to ULN 2003 COIL2
- YELLOW: Connected to ULN 2003 COIL3
- ORANGE: Connected to ULN 2003 COIL4
- RED: Connected to ULN 2003 COIL5
ULN 2003
- IN1: Connected to Arduino Mega 2560 D9 PWM
- IN2: Connected to Arduino Mega 2560 D10 PWM
- IN3: Connected to Arduino Mega 2560 D11 PWM
- IN4: Connected to Arduino Mega 2560 D12 PWM
- GND: Connected to GND
- +: Connected to MB102 Breadboard Power Supply Module VCC
- COIL1: