How to Interface Tv Remote With Arduino | Home Automation | Ir Receiver Arduino

Introduction: How to Interface Tv Remote With Arduino | Home Automation | Ir Receiver Arduino

About: i believe to help people and share my knowledge i always want to build creative thing some of them for learning and some of them is very useful.

Please subscribe to my youtube channel.......

In this tutorial we gonna learn how to use TV remote to control house devices. Or you can say TV remote based home automation.

Step 1: Requirements

  1. Arduino Uno
  2. Breadboard
  3. Led (2)
  4. 330 ohm resistor (2)
  5. Tsop38238 (ir receiver)

Step 2: Types of IR Receiver

There are many IR receiver available in market so if you found other ir receiver then please cross check pin out once on Google.

Step 3: Tv Remote With Arduino Circuit

In the image above there is circuit diagram to interface tv remote with arduino.

Ir receiver connected at 4rth pin

2 led is connected at 6 and 7 pins

Step 4: Install IR Remote Library

  1. Open Arduino
  2. Click on sketch
  3. Click on Include Library
  4. Click on Manage Libraries
  5. Search IRremote
  6. Install IRremote by shirriff

Step 5: Code for Ir Remote With Arduino

  1. Download code from my github page.
  2. Open Get_remote_data code in arduino.
  3. Connect your Arduino with pc
  4. Select correct board and port
  5. Upload the code.

Github :-

Step 6: Get TV Remote Data With Arduino

  1. Open Serial monitor
  2. Now put tv remote in front of your sensor.
  3. Press any button in tv remote.
  4. Now you will see some data on serial monitor.
  5. If you see FFFFFFF values, please ignore it.
  6. Copy and paste your remote button data in notepad as show in image

Step 7: Control Led by Tv Remote

  1. Open the code placed in the same folder download by github.
  2. Copy remote code from note pad and paste it in switch case as shown in image.
  3. For better understanding you can see my video.
  4. Now upload the code.

GitHub :-

Step 8: Done

All done now you can see i am controlling led from my remote.

If you want to control any home appliances then just add relay at place of led.

DIY Summer Camp Contest

Participated in the
DIY Summer Camp Contest

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • 3D Printed Student Design Challenge

      3D Printed Student Design Challenge
    • Robots Contest

      Robots Contest