Micro Controller Programing (Project Document) : 
Topic: IR Remote Home Automation
 Submitted by

Name
SAP Id
Semester
Abdullah Razi
8584
5th
Waheeb Ur Rehman
8620
5th
H.Muhammad GIlman
8588
7th

Submitted to: Sir Rana Marwat Hussain

FACULTY OF COMPUTING, LAHORE

Riphah International University Islamabad, Lahore Campus



HOME AUTOMATION SYSTEM USING IR SENSOR



ABSTRACT:

This Document proposes a system for automation of appliances which will be operated using sensors and micro controllers. We have used sensor network and one central control section. The network is connected with IR Sensors. Sensors will be in communication with micro controller. Whenever a person presses a specific button of IR Remote, IR Sensor Receive, Decode and send the HEXA value for button to controller. Controller after receiving information from sensor, it sends signal to particular pin there then after the appliance will turn on/off according to code functionality and display message on LCD. The feasibility of the model is verified in the demo kit.




INTRODUCTION

Work to Population proportion has expanded radically with expanding expectations for everyday comforts. Home Automation assumes a significant job in keeping up these expectations for everyday comforts of utilized populace by giving a protected and advantageous condition. Home mechanization is like brilliant home, computerized home, e-home and shrewd family unit. The two of them mean a high everyday environment with many savvy gadgets. It is the private expansion of building mechanization which is utilizing robotization innovation, PC innovation and media transmission innovation to give the client a created everyday environment, amusement and security. It causes individuals to diminish house working and family unit the board by its mechanization. The Home Automation Systems advantage the utilized populace as well as helps the crippled and old populace. The point of our framework is to fabricate an ideal ally for somebody to be at home.




CIRCUIT DIAGRAM:



Peepgrams.com




COMPONENTS:
Arduino Uno IR Sensor
IR Remote
LCD
Potentiometer LED
Breadboard

 



METHODOLOGY:
The Model work as remote-control switch. When User Press specific button it generates specific code and then IR Sensor receive this code and decode it to HEXA values using method. Then in code system will compare the code and perform action accordingly. When appliance is turn on using remote it will display a message on LCD like “Fan is turn on” and it can turn off all the appliances at a time. This shows we can turn off all appliances using one button.

TOOLS:

Tinker CAD



CONCLUSIONS AND FUTURE SCOPE:
The framework for the "Home Automation" has a huge extension and practically boundless applications in the present innovation driven market. The framework can be made effective by modularizing every single segment of the framework thus guaranteeing that it tends to be incorporated with a changed scope of gadgets. The essential vision of the framework is to give a Home Automation System Using IR Sensor and secure framework to the client, which would help the serious extent of portability and control we expect to accomplish these days. 

The future work for Intelligent Home System can be porting the framework to the cloud with the goal that any gadget in the long run could be utilized to control and screen the Intelligent Home System remotely over cloud. Concerning proposal, there are not many recommendations that can be considered for additional exploration to improve this paper: The observing part not just constrained to the ON/OFF the home apparatuses as it were. Movement sensor may include for programmed lighting and turning ON the fans in the zone where client was there. Timetable may add to empower client to set the ON/OFF clock for home machines.

REFRENCES:

YouTube Tutorials



Code and Project Links:
Link
Code
#include <LiquidCrystal.h>


#include <IRremote.h>


LiquidCrystal lcd(7,8,9,10,11,12);
const int RECV_PIN=A0;
IRrecv irrecv(RECV_PIN);
decode_results results;
#define IN1 3
#define IN2 4
#define IN3 5
#define IN4 6

void setup()
{
 lcd.begin(16, 2);



  Serial.begin(9600);
  pinMode(IN1, OUTPUT);
  pinMode(IN2, OUTPUT);
  pinMode(IN3, OUTPUT);
  pinMode(IN4, OUTPUT);
  irrecv.enableIRIn();
  irrecv.blink13(true);

}
void loop()
{
  if (irrecv.decode(&results))
   {
     Serial.println(results.value,HEX);
     delay(100);
   
     if(results.value==0xFD08F7)
     {
       
        digitalWrite(IN1, HIGH);
        lcd.clear();
        Serial.print("Fan is turned on");
        lcd.print("Fan is  on");
       
     }
    
     if(results.value==0xFD8877)
     {
       
        digitalWrite(IN2, HIGH);
        lcd.clear();
        Serial.print("Bulb is  on");
        lcd.print("Bulb is  on");
       // delay(200);
     }
     if(results.value==0xFD48B7)
     {
       
        digitalWrite(IN3, HIGH);
        lcd.clear();
        Serial.print("AC is on");
        lcd.print("AC is on");
       // delay(200);
     } 
    
     if(results.value==0xFD28D7)
     {
       
        digitalWrite(IN4, HIGH);
        lcd.clear();
        Serial.print("TV is on");
        lcd.print("TV is on");
       // delay(200);
     }
   
     if(results.value==0xFD00ff)
     {
        
        digitalWrite(IN1, LOW);
        digitalWrite(IN2, LOW);
        digitalWrite(IN3, LOW);
        digitalWrite(IN4, LOW);
        lcd.clear();
         lcd.print("ALL appliance off");
       // delay(200);
     }
     irrecv.resume(); // Receive the next value
     //delay(100);
   }
}




Post a Comment

Previous Post Next Post