Introduction:

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


Objectives :

              In this project  we are controlling home appliances  from  IR Remote Control. In this project we are use Arduino  Microcontroller and IR Receiver Module. TV Remote send data to IR receiver module sensor  and the IR sensor give data to Arduino Micro controller. The arduino process data and further control the output pins  .The output pin are further connected to the Transister and relays. The realys 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




         Relays
         Diodes
         PCB Board
         Soldering iron
         Soldering wire
         Transistors Tip 122
         Bread board
         Jumperwires
         Bridge rectifies
         Polar capacitors
         Lm7805 voltage regulator
         Transformer 12volts output
         LED,s
         Resistors
Circuit :


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.

 PCB Design In Eagle:





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:










Follow me on:

   YouTube , Facebook   , Twitter  .


Post a Comment

Auto Gate HMI Animation VB.NET | Automatic Gate Open Close Application S...

Code: Public Class Form1     Private g As Graphics     'Private xPosition As Integer     Private yposition As Integer    Private Sub For...

 
Top