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

Arduino Mega 2560 Controlled Environment System with Relay, Humidifier, Fan, and Indicator LEDs

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560 Controlled Environment System with Relay, Humidifier, Fan, and Indicator LEDs

Circuit Documentation

Summary

This circuit is designed to control a humidifier, a fan, and a buzzer, with the capability to indicate status through red and green LEDs. The system is powered by a 12V battery, with a step-down buck converter to provide the necessary 5V supply. An Arduino Mega 2560 serves as the central microcontroller unit, interfacing with a KY-019 relay module to control the power flow to the humidifier. The circuit's design allows for expansion and integration with additional sensors or actuators if needed.

Component List

Arduino Mega 2560

Humidifier

Buzzer

Fan

LED: Two Pin (red)

LED: Two Pin (green)

KY-019 Relay module 1 channel

Step down Buck converter

12V Battery

Wiring Details

Arduino Mega 2560

Humidifier

Buzzer

Fan

LED: Two Pin (red)

LED: Two Pin (green)

KY-019 Relay module 1 channel

Step down Buck converter

12V Battery

Documented Code

Arduino Mega 2560 - sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Arduino Mega 2560 - documentation.txt

(No additional documentation provided for the code)