How to Control Lights Using TV Remote

3,867

40

4

Introduction: How to Control Lights Using TV Remote

About: I am an Electronics Engineer and hobbyist......I'm interested in work in robotics and automation, I make projects using Arduino and other hardware. I love to share things which I learn.

It feels awesome when you have the power to control things remotely.

Hello Friends in this write-up I will going to describe to you that How you control your home lights or other appliances by using very simple IR Remote or by a TV Remote. Let's see.

Step 1: Components Used

components links

Arduino Nano ----------------------------------------------- INDIA / USA

IR Sensor (TSOP1738) ---------------------------------- INDIA / USA

4-Channel Relay module -------------------------------- INDIA / USA

IR Remote --------------------------------------------------- INDIA / USA

12v 1A SMPS----------------------------------------------- INDIA / USA

DC Jack ----------------------------------------------------- INDIA / USA

Step 2:

This project is very simple and have very simple circuit also. connect the Arduino nano with Relay module and all other components as per the circuit diagram. take a 10k resistor and solder it in between output pin of the TSOP1738 and 5 volt. for more details about connections refer the video

Don't connect any load on relay before program it.

Step 3: How to Program It?

first, download the program from the link. You will get zip from the previous link, extract it and it will create a folder IR Remote. Open folder and you will get another folder by nameIR_REMOTE_ARDUINONANO. Open the Arduino code inside this folder. Connect Arduino nano with your computer, select COM Port and board type as Arduino Nano from the tool menu. and upload the program. Now open Serial monitor and press the keys on the remote which you want to use. As you press a key on remote keeping it in the direction of sensor, a number will appear on the Serial monitor. copy this number and pest it in the main code i.e. previously open code as shown in the picture. Do the same for all the keys which you want to use. once you all done, upload the code to the Arduino again. and all set. Now it's time to test, apply power and press the respective keys on the remote. If there is all ok the relay will turn on after pressing key on the remote.

Step 4:

Now connect wires in output terminal of relays for further connecting it with lamp or with any other appliances.

while connecting it with ac mains (working with AC voltage) make sure that your main switch is off. if you are not familiar with higher voltage or do not have any experience with such wiring please don't do it by yourself, in this case, you can take help from an electrician. Miss-handling of it can give you a heavy electrical shock, also can lead to fatal injuries.

after all connections secure the whole circuit in a suitable enclosure. now it ready to use.

Hope you find this useful. if yes, like it, share it, comment your doubt. For more such projects, follow me! Support my channel on YouTube.


Thank you!

SUBSCRIBE My YOUTUBE Channel

Follow Me on Facebook || Instagram

Be the First to Share

    Recommendations

    • First Time Author Contest

      First Time Author Contest
    • Backyard Contest

      Backyard Contest
    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge

    4 Comments

    0
    Chetankaravadra
    Chetankaravadra

    Question 1 year ago on Step 3

    Can I make this project program by mobile & arduino uno ?

    0
    Derek Yanch
    Derek Yanch

    Answer 1 year ago

    Yes,use can use "Arduino droid".
    Download it on google playstore.Connect your Arduino to your phone using an OTG

    1
    shubhamsuresh
    shubhamsuresh

    Answer 1 year ago

    if the App has capable to edit the code and can show the serial data from arduino. then it's possible to program it by phone.

    0
    Chetankaravadra
    Chetankaravadra

    1 year ago

    I want to program this by mobile can possible?