page contents Verification: 3e521cb8638cc050

Control of home appliances from the TV remote

Introduction: In this project, we control all the home appliances from IR Remote control (TV remote) .you can implement this project at home, office, and shops, etc.it gives you reliable results of controlling a lot of devices.  This project also gives you security and safety.

Arduino projects
For basic knowledge  study my blog “Control LED,s From Infrared (IR) TV Remote Control:”
 
 

Objectives :

              In this project, we are controlling home appliances from IR Remote Control. In this project, we are using the Arduino  Microcontroller and IR Receiver Module. TV Remote sends data to the IR receiver module sensor and the IR sensor gives data to the Arduino Microcontroller. The Arduino process data and further control the output pins. The output pin is further connected to the Transistor and relays. The relays circuits then control the Electric Devices.
       The Arduino board used in this project are Arduino Uno.
 
Electrical and Electronic Equipment’s:
         Arduino Microcontroller
         IR Remote Control
         IR Receiver Module
 
 
IR Sensor
 
 
  •        Relays
  •         Diodes
  •         PCB Board
  •          Soldering iron
  •          Soldering wire
  •         Transistors Tip 122
  •          Breadboard
  •      Jumper wires
  •          Bridge rectifies
  •          Polar capacitors
  •         Lm7805 voltage regulator
  •         Transformer 12volts output
  •          LED,s
  •          Resistors
Circuit :
 
Circuit arduino project Control of home appliances from TV remote

Relay Module:

       You can make your own relay module or buy from Amazon. The relay module I made my own four channel relay module from which I control four different devices both AC and DC.
But in this project, I used only two relays one for  AC light bulb and the other for DC small Fan.
 
relay circuit Control of home appliances from TV remote
 

 PCB Design In Eagle:

relay circuit PCB design
 

Sketch:

#include “IRremote.h”
             //Declare Constants
int receiver = 11; // pin 1 of IR receiver to Arduino digital pin 11
//Declare objects
IRrecv irrecv(receiver);           // create instance of ‘irrecv’
decode_results results;            // create instance of ‘decode_results’
//Declare Variables
int light = 13;
int fan = 12;
 void setup() 
{
  Serial.begin(9600);
  Serial.println(“IR Receiver Raw Data + Button Decode Test”);
  irrecv.enableIRIn(); // Start the receiver
  pinMode(light, OUTPUT);
   pinMode(fan, OUTPUT);
}
void loop()
{
  if (irrecv.decode(&results)) // have we received an IR signal?
  { 
    translateIR();
    irrecv.resume(); // receive the next value
  }
}
      //Declare User-written Functions
void translateIR() // takes action based on IR code received
 
{
switch(results.value)
{
case 0xFFA25D: 
 
     digitalWrite(light, HIGH);          //Light ON
     Serial.println(“Light ON”);
     delay(1000);
     break;
 
  case 0xFF629D:
 
     digitalWrite(light, LOW);             //Light OFF
     Serial.println(“Light OFF”);
     delay(1000);
     break;
    
     case 0xFFE21D:
 
     digitalWrite(fan, HIGH);              //Fan ON
     Serial.println(“Fan ON”);
     delay(1000);
     break;
 
 case 0xFF22DD:
    digitalWrite(fan, LOW);                 //Fan OFF
     Serial.println(“Fan OFF”);
     delay(1000);
     break;
    
  default:
    Serial.println(” other button   “);
 }
delay(500);
}
 

Project Images:

Control of home appliances from TV remote arduino project
 
Control of home appliances from TV remote arduino projects
 
 
 

Watch Video Tutorial:

Hello, Friends, My name is Mohsin Habib and I am an Electrical Engineer. I have Experience In Circuit Designing, Arduino Projects, PLC’s Projects, HMI Designing, Networking and much more. I have done lots of projects in Arduino.

Leave a Reply

Your email address will not be published. Required fields are marked *