21-06-2011, 04:10 PM
bluetooth based home control system.doc (Size: 3.75 MB / Downloads: 347)
Bluetooth Home Automation:
Abstract
Our project is a wireless controlling of a home component, this is the main Idea.
The wireless communication system is Bluetooth peering between a client (mobile station in our case) & a server(LinkMatik 2.0 : Bluetooth module) which is connected directly to pic16f778 controller.
The home component we try to controlled:
4 DC motor represent 2 doors, window & fan
4 lights
Temperature sensor
Real clock timer.
LCD.
Introduction
Bluetooth is a radio standard and communications protocol primarily designed for low power consumption, with a short range (power-class-dependent: 1 meter, 10 meters, 100 meters) based on low-cost transceiver microchips in each device.
Bluetooth lets these devices communicate with each other when they are in range. The devices use a radio communications system, so they do not have to be in line of sight of each other, and can even be in other rooms, as long as the received transmission is powerful enough.
Class Maximum Permitted Power
(mW/dBm)
Range
(approximate)
Class 1 100 mW (20 dBm) ~100 meters
Class 2 2.5 mW (4 dBm) ~10 meters
Class 3 1 mW (0 dBm) ~1 meter
Bluetooth is implemented in a variety of new products such as phones, printers, modems, and headsets. Bluetooth is acceptable for situations when two or more devices are in proximity to each other and don't require high bandwidth. Bluetooth is most commonly used with phones and hand-held computing devices, either using a Bluetooth headset or transferring files from phones/PDAs to computers.
Bluetooth also simplifies the discovery and setup of services. Bluetooth devices advertise all services they provide. This makes the utility of the service that much more accessible, without the need to worry about network addresses, permissions and all the other considerations that go with typical networks.
Components:
Lights:
In our home we put 4 lights, we can turn them on & off separately, connecting them relay which separate the source of them ULN2003 for driving relay, of course the controlling is 4 pic pins by giving output high on them.
DC motors:
We control three motors in two direction each to represent the movements of doors and windows , need 2 pins each, 2 relays, driving from ULN.
The other implement of motor is a FAN so it is one direction motor with several speeds, for this aim we need to use ccp1( PIN 17) to control duty cycle for the signal we give to the motor, no external component is needed.