Skip to content

support@quartzcomponents.com

Free Shipping Over INR 500

Electronics Projects

Home Automation Project using Arduino Uno and 2-Channel Relay Module

by Anand Gora 04 Aug 2023 0 Comments

The Home Automation Project utilizing Arduino Uno and a 2-Channel Relay Module is a DIY project aimed at creating a smart home system that allows users to control various electrical appliances and devices remotely. This project combines the power of Arduino's microcontroller and relay modules to enable automation and control of household appliances using a mobile device. The main objective of this project is to provide users with a convenient and efficient way to control their home appliances, and also ensuring overall home security. By integrating Arduino Uno, with a 2-Channel Relay Module tasks such as turning lights on/off can be controlled also other activities can also be controlled using it.

 

Components Required

 

Circuit Diagram

Home Automation Circuit Diagram

Here's how the circuit would typically be set up:

Connect the Arduino Uno:

Connect the Arduino Uno's 5V pin to the positive rail of the breadboard. Connect the Arduino Uno's GND (ground) pin to the negative rail of the breadboard. Connect the Arduino Uno's digital pin 2 to the "IN1" (input) pin of the 2-channel relay module. Connect the Arduino Uno's digital pin 3 to the "IN2" (input) pin of the 2-channel relay module.

Connect the Power Supply:

Connect the positive wire of an external power supply (e.g., a 12V DC power adapter) to the positive rail of the breadboard. Connect the negative wire of the external power supply to the negative rail of the breadboard.

Connect the Relay Module:

Connect the "VCC" (power supply) pin of the relay module to the positive rail of the breadboard. Connect the "GND" (ground) pin of the relay module to the negative rail of the breadboard. Connect the "JD-VCC" (power supply) pin of the relay module to the positive rail of the breadboard. Connect the "GND" (ground) pin of the relay module to the negative rail of the breadboard.

Connect the Fan:

Connect the positive terminal of the fan to one of the relay module's "COM" (common) pins. Connect the negative terminal of the fan to the relay module's "NO" (normally open) pin associated with the fan. Connect a wire from the relay module's "GND" (ground) pin (preferably a separate one) to the negative rail of the breadboard.

Connect the Bulb:

Connect the positive terminal of the bulb to one of the relay module's "COM" (common) pins. Connect the negative terminal of the bulb to the relay module's "NO" (normally open) pin associated with the bulb. Connect a wire from the relay module's "GND" (ground) pin (preferably a separate one) to the negative rail of the breadboard.

Connect the External Power Supply:

Connect the positive wire of the external power supply to the relay module's "VCC+" pin. Connect the negative wire of the external power supply to the relay module's "GND-" pin.

 

Arduino Code For Home Automation

Quartz Components, your favorite online electronic component store is now also a place where you can submit your creative electronic projects and compete with other members of our community.

You will find all details about our Contest page, Also follow us on Facebook, Instagram, Twitter, and Youtube to not miss updates

930 x 520px

SPRING SUMMER LOOKBOOK

Sample Block Quote

Praesent vestibulum congue tellus at fringilla. Curabitur vitae semper sem, eu convallis est. Cras felis nunc commodo eu convallis vitae interdum non nisl. Maecenas ac est sit amet augue pharetra convallis.

Sample Paragraph Text

Praesent vestibulum congue tellus at fringilla. Curabitur vitae semper sem, eu convallis est. Cras felis nunc commodo eu convallis vitae interdum non nisl. Maecenas ac est sit amet augue pharetra convallis nec danos dui. Cras suscipit quam et turpis eleifend vitae malesuada magna congue. Damus id ullamcorper neque. Sed vitae mi a mi pretium aliquet ac sed elitos. Pellentesque nulla eros accumsan quis justo at tincidunt lobortis deli denimes, suspendisse vestibulum lectus in lectus volutpate.
Prev Post
Next Post

Leave a comment

Please note, comments need to be approved before they are published.

Thanks for subscribing!

This email has been registered!

Shop the look

Choose Options

Edit Option
Back In Stock Notification
is added to your shopping cart.
this is just a warning
Login