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

Arduino Mega 2560-Based Smart Fan Control System with Temperature and Water Level Monitoring

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560-Based Smart Fan Control System with Temperature and Water Level Monitoring

Circuit Documentation

Summary

This circuit is designed to control various components using an Arduino Mega 2560 microcontroller. The circuit includes multiple pushbuttons, LEDs of different colors, a DC motor, a stepper motor, a water level sensor, a temperature and humidity sensor, an LCD display, a real-time clock (RTC), and a motor driver. The system is programmed to monitor temperature, humidity, and water levels, and to control the state of LEDs, motors, and a fan based on these readings.

Component List

  1. Pushbutton

    • Description: A simple pushbutton switch.
    • Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
  2. LED: Two Pin (blue)

    • Description: A blue LED.
    • Pins: Cathode, Anode
  3. LED: Two Pin (green)

    • Description: A green LED.
    • Pins: Cathode, Anode
  4. LED: Two Pin (red)

    • Description: A red LED.
    • Pins: Cathode, Anode
  5. LED: Two Pin (yellow)

    • Description: A yellow LED.
    • Pins: Cathode, Anode
  6. Resistor

    • Description: A resistor with a resistance of 200 Ohms.
    • Pins: Pin 1, Pin 2
  7. Arduino Mega 2560

    • Description: A microcontroller board based on the ATmega2560.
    • Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, SDA, SCL, AREF
  8. DS1307 RTC (Wokwi Compatible)

    • Description: A real-time clock module.
    • Pins: GND, 5V, SDA, SCL, SQW
  9. TEMP

    • Description: A temperature and humidity sensor.
    • Pins: 5V, D3, GND
  10. LCD Display (16 pin)

    • Description: A 16-pin LCD display.
    • Pins: VSS, VDD, VO, RS, R_W, E, DB0-DB7, A, K
  11. Trimmer Potentiometer

    • Description: A trimmer potentiometer with a resistance of 10k Ohms.
    • Pins: Leg 1, Wiper, Leg 2
  12. L293D

    • Description: A motor driver IC.
    • Pins: Enable 1,2, Input 1-4, Output 1-4, GND, VCC1, VCC2, Enable 3,4
  13. DC Motor

    • Description: A simple DC motor.
    • Pins: Pin 1, Pin 2
  14. Water Level Sensor

    • Description: A water level sensor.
    • Pins: SIG, VCC, GND
  15. 28BYJ-48 Stepper Motor

    • Description: A stepper motor.
    • Pins: BLUE, PINK, YELLOW, ORANGE, RED
  16. ULN 2003

    • Description: A Darlington transistor array.
    • Pins: IN1-IN7, GND, +, COIL1-COIL5

Wiring Details

Pushbutton

LED: Two Pin (blue)

LED: Two Pin (green)

LED: Two Pin (red)

LED: Two Pin (yellow)

Resistor

Arduino Mega 2560

DS1307 RTC (Wokwi Compatible)

TEMP

LCD Display (16 pin)

Trimmer Potentiometer

L293D

DC Motor

Water Level Sensor