Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Mega 2560-Based Smart Environmental Monitoring System with LCD Display and Stepper Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560-Based Smart Environmental Monitoring System with LCD Display and Stepper Motor Control

Circuit Documentation

Summary

This circuit is designed to monitor and control environmental conditions using an Arduino Mega 2560 microcontroller. It includes sensors for temperature, humidity, and water level, as well as a stepper motor for vent control, LEDs for status indication, and a fan for temperature regulation. The system operates in different states (DISABLED, IDLE, ERROR, RUNNING) based on sensor readings and user inputs.

Component List

  1. ULN 2003

    • Description: Darlington transistor array used for driving the stepper motor.
    • Pins: IN1, IN2, IN3, IN4, IN5, IN6, IN7, GND, +, COIL1, COIL2, COIL3, COIL4, COIL5
  2. 28BYJ-48 Stepper Motor

    • Description: Stepper motor used for vent control.
    • Pins: BLUE, PINK, YELLOW, ORANGE, RED
  3. DS1307 RTC (Wokwi Compatible)

    • Description: Real-time clock module for timekeeping.
    • Pins: GND, 5V, SDA, SCL, SQW
  4. Water Level Sensor

    • Description: Sensor to measure water level.
    • Pins: SIG, VCC, GND
  5. Arduino Mega 2560

    • Description: Microcontroller used to control the entire system.
    • Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL
  6. DC Motor

    • Description: Motor used for fan control.
    • Pins: pin 1, pin 2
  7. LED: Two Pin (green)

    • Description: Green LED for status indication.
    • Pins: cathode, anode
  8. LED: Two Pin (yellow)

    • Description: Yellow LED for status indication.
    • Pins: cathode, anode
  9. LED: Two Pin (red)

    • Description: Red LED for status indication.
    • Pins: cathode, anode
  10. LED: Two Pin (blue)

    • Description: Blue LED for status indication.
    • Pins: cathode, anode
  11. Resistor (220 Ohms)

    • Description: Resistor used for current limiting.
    • Pins: pin1, pin2
  12. MB102 Breadboard Power Supply Module 3.3V/5V

    • Description: Power supply module for providing 3.3V and 5V.
    • Pins: VCC, GND, 3.3V, 5V
  13. LCD Display (16 pin)

    • Description: LCD display for showing sensor readings and system status.
    • Pins: VSS, VDD, VO, RS, R_W, E, DB0-DB7, A, K
  14. L293D

    • Description: Motor driver IC for controlling the DC motor.
    • Pins: Enable 1,2, Input 1, Output 1, GND, Output 2, Input 2, VCC2, VCC1, Input 4, Output 4, Output 3, Input 3, Enable 3,4
  15. DHT11 Humidity and Temperature Sensor

    • Description: Sensor for measuring temperature and humidity.
    • Pins: VDD, DATA, NULL, GND
  16. Rotary Potentiometer (10k Ohms)

    • Description: Potentiometer for adjusting vent position.
    • Pins: leg1, wiper, leg2
  17. Pushbutton

    • Description: Pushbutton for user input.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4
  18. Resistor (10k Ohms)

    • Description: Resistor used for pull-up configuration.
    • Pins: pin1, pin2

Wiring Details

ULN 2003

28BYJ-48 Stepper Motor

DS1307 RTC (Wokwi Compatible)

Water Level Sensor

Arduino Mega 2560

DC Motor

LED: Two Pin (green)

LED: Two Pin (yellow)

LED: Two Pin (red)

LED: Two Pin (blue)

Resistor (220 Ohms)

MB102 Breadboard Power Supply Module 3.3V/5V