Sie sind auf Seite 1von 14

BLUETOOTH CONTROLLED ELECTRONIC HOME APPLIANCES

Submitted by
NAME : ABHISHEK CHOUDHARY
ROLL NO : 13000313004
REGISTRATION NO : 131300110188
NAME : AMAN KUMAR PANDEY
ROLL NO : 13000313010
REGISTRATION NO : 131300110194
NAME : AMIT KUMAR SINGH
ROLL NO : 13000313012
REGISTRATION NO : 131300110196
NAME : OLIVIYA MONDAL
ROLL NO : 13000313053
REGISTRATION NO : 131300110237
UNDER THE GUIDANCE OF: PROF. ADITI NANDI TOKDAR

TECHNO INDIA
EM 4/1 Salt Lake City, Sector V Kolkata: 700091

CONTENTS
Page No
1.Synopsis
..1
2.Functional Block
Diagram2
3.Detail Description Of
Circuit..3
4.Component Specification
List4
5.Plan For Hardware
Implementation.5
6.References
.6

2. SYNOPSIS:Operating conventional wall switches is difficult for physically handicapped or elder people.
This project provides the solution to this problem by integrating all the electrical appliances
to a control unit that can be operated by an Android application device (Android smart phone
or Tablet).
Proposed system controls the electrical loads based on the data transmitted by the Android
device. An android application should be installed in users mobile or tablet to control the
electrical loads. Using this android application user can send the commands to the Bluetooth
module which will be interfaced to 8051 Microcontroller to control the electrical loads.
Wireless technology used in this project is Bluetooth. It can also be called as Remote
Password Operated Electronic Home Appliances Control System.

2. Functional Block Diagram:

DISPLAY

POWER
SUPPLY

BLUETOOTH
MODULE

RELAY

LOAD

MICROCONTROLLER

CRYSTAL
CIRCUIT

RELAY

LOAD

Electrical loads (Lamp and DC motor) are connected to the P2.1 and P2.0 port of
Microcontroller through the relays. Here relays are used to switch AC loads using
small DC voltages. NPN transistors are used to drive the relays.

3. Detail description of the circuit:

Bluetooth Controlled Electronic Home Appliances System Circuit Diagram

WORKING PRINCIPAL:The project consists of a microcontroller, 16 x 2 alphanumeric LCD, two 5V relays, a


lamp, DC motor and Bluetooth module. We have used at89c51 microcontroller. It is an
8 bit microcontroller and it requires supply voltage of 5V DC. We will use 7805 power
supply circuit to provide 5V DC to the microcontroller. We can also use 9V DC battery
or 12V, 1A adapter to provide the supply to the circuit. For the above circuit
additionally we need to connect reset circuit and crystal circuit to the controller to work
properly.In the above circuit LCD is used to indicate the status of electrical loads and
also used to display received data from Bluetooth. Here LCD is interfaced to the
PORT1 of the microcontroller in 4 bit mode.Bluetooth module TX and RX pins are
connected to the RXD and TXD pins of controller. Vcc pin is connected to the 5V and
GND pin is connected to ground. Controller communicates with Bluetooth module
using serial communication (UART protocol).We use a baud rate of 9600 to

communicate with Bluetooth.We can also change the Bluetooth name and password
and for that we need to use Bluetooth AT commands.
Below are the few Bluetooth AT commands:

AT Responds OK. (Used to test the Bluetooth module)


AT+RESET Responds OK. (Used to reset the module)
AT+NAME? Responds with the module name.
AT+NAME = <name> Responds OK. Name should be less than or equal to
20
characters.
AT+PSWD? Responds with the existing password.
AT+PSWD =<password> Sets module pairing password.

Internal structure of the microcontroller AT89C51

Pin Description:
Pin No
1
2
3
4
5
6
7
8

Function

8 bit input/output port (P1) pins

Name
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

Reset pin; Active high


Input (receiver) for serial
RxD
communication
Output (transmitter) for serial
TxD
communication
External interrupt 1
Int0
External interrupt 2
Int1
Timer1 external input
T0
Timer2 external input
T1
Write to external data memory
Write
Read from external data memory
Read

Reset
P3.0
P3.1
8 bit input/output
port (P3) pins

Quartz crystal oscillator (up to 24 MHz)


Ground (0V)

8 bit input/output port (P2) pins


/
High-order address bits when interfacing with external memory

Program store enable; Read from external program memory


Address Latch Enable
Program pulse input during Flash programming
External Access Enable; Vcc for internal program executions
Programming enable voltage; 12V (during Flash programming)

8 bit input/output port (P0) pins


Low-order address bits when interfacing with external memory

Supply voltage; 5V (up to 6.6V)

P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
Crystal 2
Crystal 1
Ground
P2.0/ A8
P2.1/ A9
P2.2/ A10
P2.3/ A11
P2.4/ A12
P2.5/ A13
P2.6/ A14
P2.7/ A15
PSEN
ALE
Prog
EA
Vpp
P0.7/ AD7
P0.6/ AD6
P0.5/ AD5
P0.4/ AD4
P0.3/ AD3
P0.2/ AD2
P0.1/ AD1
P0.0/ AD0
Vcc

RESET CIRCUIT OF 8051 CONTROLLER


RESET is an active High input When RESET is set to High, 8051 goes back to the
power on state. The 8051 is reset by holding the RST high for at least two machine
cycles and then returning it low.
There are two method of reset circuit:
1.Power On Reset.
Initially charging of capacitor makes RST High
When capacitor charges fully it blocks DC.
2.Manual Reset
closing the switch momentarily will make RST High.

OSCILLATOR CIRCUIT OF 8051 CONTROLLER

The 8051 uses the crystal for precisely that to synchronize its operation.
Effectively, the 8051 operates using what are called "machine cycles."
A single machine cycle is the minimum amount of time in which a single
8051 instruction can be executed. although many instructions take multiple cycles.
8051 has an on-chip oscillator. It needs an external crystal that decides the
operating frequency of the 8051.

This can be achieved in two ways.

The crystal is connected to pins 18 and 19 with stabilizing capacitors. 12 MHz


(11.059MHz) crystal is often used and the capacitance ranges from 20pF to 40pF.
The oscillator can also be a TTL clock source connected with a NOT gate
as shown.

4. Component Specification List


Sl No.

Component

Component

Name

Specification

Quantity

Microcontroller

at89c51 controller

DC battery

12 V

Bluetooth module

HC-03/05

Relays

5V

Price

Transistors

BC-547

Resistors

330 ohm (1/4 watt)

Oscillator

11.059MHz

5. Plan For Hardware Implementation

1.

Write the program to the projectin keil software and create .hex file.

2.

Burn program to the controller with help of flash magic.

3.

Now give the connections as per the circuit diagram.

4.

While making the connections, ensure that there is no any common connection
between DC and AC supplies.

5.

Use 5V power supply circuit to provide regulated 5V DC to the microcontroller.

6.

Switch on the both AC and DC supplies.

7.

Now relay output pins gets 230v so do not touch the load connected pins.

8.

Install Bluetooth apk file in android device.

9.

Now pair android device with Bluetooth module.

10. Send data to switch on the electrical loads.

6. References
1. www.electronicshub.org
2. www.youtube.com
3. Google search

Das könnte Ihnen auch gefallen