Remote Controlling Home Appliance Using your TV Remote

Remote Controlling Home Appliance Using your TV Remote

Introduction

Let’s learn to control our home appliance using the TV or DVD player remotes or smartphones phones like Xiaomi which is having an inbuilt IR transmitter.

We are using a Relay channel with an Arduino and IR receiver to control our home appliances.

If you haven’t watched the previous tutorial watch it before reading further. 👇🏻

How to use IR remote with Arduino?

Hardware Used

Components
Amazon.inamazon
Amazon.comamazon
Banggood.combanggood
AliExpressali express
Utsourceutsource
Arduino UNO
cart icon
cart icon
cart icon
cart icon
cart icon
5v Relay Channel
cart icon
cart icon
cart icon
cart icon
cart icon
IR Receiver Module
cart icon
cart icon
cart icon
cart icon
cart icon
Bread Board
cart icon
cart icon
cart icon
cart icon
cart icon
Jumper Wires
cart icon
cart icon
cart icon
cart icon
cart icon

Software / Libraries Used

Softwares
Download
IR library for Arduino
download icon
Arduino IDE
download icon

Circuit

Connect the circuit as shown below.

Arduino UNO with 2 channel relay and IR receiver.
Relay Channel
IR Receiver Module
GND
GND
GND
5V
VCC
VCC
D11
OUT
D9
IN2
D8
IN1

Video

Code

How to assign buttons to the relays?

  • First, upload the above code and open the serial monitor.
  • Then press the buttons on the IR remote which you want to assign to the relays.
  • So some values will be printed on the serial monitor for the press of each button.
  • Copie the code from the serial monitor and change it in the code where it is mentioned
  • Then upload the code again
  • Now if you press the same buttons which you assign then the relay will ON for the first press and it will OFF if pressed again

How to connect it to the home appliances?

Use the NO(normally open), C(common) & NC(normally closed) connections of the relays to connect to the high voltage appliances like fan, lights, etc…

To buy electronic components order from UTSOURCE

Leave a Reply