Home Automation using Bluetooth

Call for Price

Smart Home is a house that uses information technology to monitor the environment, control the electric appliance and communicates with the outer world.

SKU: Home Automation using Bluetooth Category:

Description

Abstract

Smart Home is a house that uses information technology to monitor the environment, control the electric appliance and communicates with the outer world. Smart Home is a complex technology, at the same time it is developing. A sample house environment monitors and control system that is one branch of the Smart Home is addressed in this paper. The system is based on the embedded system and can act as a security guard of the home. The system can monitor the temperature, humidity, gas density, water immersion of the house.

The whole system is a cheaper one, but it provides the full-scale home device monitor and control function. By using the embedded system technique, it is convenient to use and allows simple installation in existing homes, it provide a safe, convenient home to us. The shortage of the system is only can turn on/off the electric appliances and the lack of the wireless function. With the Development of the smart electric appliances, the system must make much progress.

This Project is used to control the AC Machine controlled according to the temperature and it also indicates the temperature. The system will get the temperature from the Temperature sensor and fed it to microcontroller. When temperature exceeds normal level then it automatically enables/Turn’s on AC Machine.

Block Diagram for Home Automation using Bluetooth

Block Diagram for Home Automation using Bluetooth
Description

Every Home Automation box is a stand-alone device. It is connected to the mains and controls the power outlet of the electrical device that is plugged into it. There will be a receiver and transmitter in each of the box, so they can exchange information with the master (a computer). People can control power supply of electrical devices in order to create an interactive home environment to facilitate the control without changing any home appliance. People can enjoy the high technology and simplicity modern life style.

Each device will be with standard setup and while adding it into network; it can be given an address and tasks to do. All the setting will be easily resettable to default value, so people can move the devices between different electrical devices and networks. Home Automation boxes will be put into different rooms at home, depending on the needed functionality. Various different sensors could be attached to the boxes. The sensors are used as triggers for actions, that user can set up in the computer program.

Hardware:

  • 8051 (P89V51RD2) Microcontroller
  • Power Supply (9V Adaptor, 5V Adaptor)
  • Bluetooth
  • Relay interface (user can interface any devices according to their needs / Application)

Software:

  • Programming Language: Embedded C
  • KEIL U Vision IDE
  • Flash magic
  • Orcad 16.3

Home Automation Output Image

Home Automation Output Image

Home Automation Output Image

Home Automation Output Image

 Source Code

#include
sbit Fan=P1^0;
sbit Light=P1^1;
sbit TV=P1^2;
 char str;
 char Charin=0;
void delay(int time)
{
 unsigned int i,j;
 for(i=0;i<time;i++)
 for(j=0;j<1275;j++);
}
void Serialwrite(char byte)
{
 SBUF=byte;
 while(!TI);
 TI=0;
}
void Serialprintln(char *p)
{
 while(*p)
 {
 Serialwrite(*p);
 p++;
 }
 Serialwrite(0x0d);
}
void Serialbegin()
{
 TMOD=0x20;
 SCON=0x50;
 TH1=0xfd;
 TR1=1;
}
void main()
{
 P1=0x00;
 Serialbegin();
 Serialprintln("Sys ready...");
 delay(50);
 while(1)
 {
 while(!RI);
 Charin=SBUF;
 str=Charin;
 RI=0;
 if(str=='A')
 {
 Fan=1;
 Serialprintln(" Fan ON");
 delay(50);
 }
 else if(str=='a')
 {
 Fan=0;
 Serialprintln(" Fan OFF");
 delay(50);
 }
 else if(str=='B')
 {
 Light=1;
 Serialprintln(" Light ON");
 delay(50);
 }
 else if(str=='b')
 {
 Light=0;
 Serialprintln("Light OFF");
 delay(50);
 }
 else if(str=='C')
 {
 TV=1;
 Serialprintln(" TV ON");
 delay(50);
 }
 else if(str=='c')
 {
 TV=0;
 Serialprintln(" TV OFF");
 delay(50);
 }
 str=0;
 }
}

Conclusion

Home Automation is undeniably a resource which can make a home environment automated. People can control their electrical devices via these Home Automation devices and set up the controlling actions in the computer. We think this product have high potential for marketing in the future.

Additional information

Weight 1.000000 kg

Reviews

There are no reviews yet.

Be the first to review “Home Automation using Bluetooth”

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.