How to Use Relay and Switch Simultaneously to control load ?

Mukul Wadhokar
3 min readDec 13, 2020

Control appliance simultaneously with relay and switch board in your Arduino project

Hello fellas ! you probably have read my previous post on using Arduino and IR for home automation, that was the first step and was basically to get you started with home automation.

Now if you have came to this story you’ve hit a jackpot this is more practical and next stage and finally you can practically implement the system at your home.

Photo by Patrick Fore on Unsplash

Basically, now if you have tried the previous guide a thought provoking question would have came to your mind “How to I control the appliance both ways from my already existing switchboard and and Arduino simultaneously ? “ the answer is stunningly easy this guide and the two way switch! I will explain you how.

If you know how the stair case wiring works then its easy for you, if you don’t; no need to worry I will give you a simple cheat sheet!

Photo by David van Dijk on Unsplash

The main application of stair case wiring is to control an appliance simultaneously from two places. You may have noticed in your house you can control lamp on staircase from up stairs and downstairs simultaneously, This is the same principle which we are going to use.

Shown aside is the two way switch unlike the normal switch this type has three terminals that’s it, nothing different. You may also have noticed that on your relay module, it also have three terminals,

Like your staircase lamp need two 2way switches we will also need two. Alas! we already have one in form of our relay.

Shown in above diagram is the typical wiring connections for staircase wiring, In similar way we have to make the connection with our relay instead of second 2way switch as shown below. The main phase line is connected to the “COM” terminal of relay. The “COM” of switch is connected to load. The “L1” of relay is connected to “L1” of switch and “L2” of relay is connected to “L2” of switch,

Now that is upto you how you want to control your relay by using Arduino , You can use IR receiver, Bluetooth Module HC-05, Wifi module ESP32 or any sort of communication module. One such tutorial I’ve published is using IR reciever you can check that out!

Originally published at https://www.bloombisect.com on December 13, 2020.

--

--

Mukul Wadhokar
0 Followers

Mechanical Engineer by Profession | Arduino enthusiast | DIY'er | www.bloombisect.com