home appliance control using rf remote
TRANSCRIPT
Home Appliance Control using RF Remote
Abstract
The project is designed to operate electrical loads using a RF remote. The remote
transmits coded infrared data which is then received by a sensor interfaced to the control unit.
The system operates electrical loads depending on the data transmitted from the RF remote.
Operating conventional wall switches is difficult for elderly or physically handicapped people.
This proposed system solves the problem by integrating house hold appliances to a control unit
that can be operated by a RF remote coded data sent from the RF remote is received by an RF
receiver interfaced to the microcontroller of 8051 family. The program on the microcontroller
refers to the code to generate respective output based on the input data to operate a set of relays
through a relay driver IC. The loads are interfaced to the control unit through the relays. The
system can be used in existing domestic area for either operating the loads through conventional
switches or with the RF remote .The project can be used by using radio frequency technology
where the operational range shall be independent of line of sight distance as often encountered
with RF type of remote control.
BLOCK DIAGRAM
RF Driver Unit
Control devices
Relay UnitRF
ReceiverMicro
Controller
Key PadRF
Transmitter
Circuit Diagram
Receiver
Software
ORCAD 9.1- Circuit Design
Ride 7 - Compiler
Transmitter
Program
* Processor: AT89C52
* Compiler: Keil for 8051
*/
#include <reg51.h>
#include <stdio.h>
#define OFF 0
#define ON 1
#define RData P1
sbit Fan=P2^0;
sbit Light=P2^1;
void Delay(unsigned int D)
{
while(--D);
}
void main(void)
{
// Write your code here
Delay(100);
Fan=OFF;
Light=OFF;
RData=0xFF;
while (1)
{
switch(RData)
{
case 0xFE:
Fan= ON;
Delay(100);
break;
case 0xFD:
Fan=OFF;
Delay(100);
break;
case 0xFB:
Light=ON;
Delay(100);
break;
case 0xF7:
Light=OFF;
Delay(100);
break;
default:
Delay(100);
break;
}
}
}