Android control Device with energ efficient logic

Project synopsis

On

             ANDROID CONTROL DEVICES WITH ENERGY EFFICIENT LOGIC

Submiited to:

Submitted by:

Objective:

  • To make application based on mobile
  • To make application based on bluetooth Android

Methodology:

  • Methodology used in this project is serial communication between bluetooth module and microcontroller.

Introduction

In this project we control devices using android phone. We will use 89s52 IC for this purpose.  We will interface blue tooth serially with micro-controller and then after receiving data we will control motor using H bridge circuit. We will use Ttl OUT BLUETOOTH module HC-05 for getting Data. We will make application in java for android controlled .

In energy efficient logic we will use  ldr circuit. We can switch on / off lights in night mode only. We will ise ldr- light dependent resisitor.

VARIOUS STEPS OF PROJECT:

  1. POWER SUPPLY +5V
  2. MICROCONTROLLER AT89S52
  3. MAX232 CIRCUIT
  4. GSM MODEM
  5. LDR circuit
  6. H- Bridge circuit for motor

Pin no 40 is connected to the positive supply. In this project we provide a 5 volt dc power supply. This power supply is truly regulated power supply. Pin no 20 is connected to the negative supply. Here we supply a negative voltage on this pin. Crystal is connected to the pin no 18 and 19 of the microcontroller. Crystal provide a clock signal to run the vehicle and process all the internal requirement of the circuit.. For the regulated power supply we use ic 7805 as a regulator to provide a fix 5 volt power supply.

BLOCK DIAGRAM

Serial InterfaceMAX 232  
         MCU      89s52  

RS 232CONNECTOR  

(1) Bluetooth serial interface module:

Industrial level: HC-03, HC-04(HC-04-M, HC-04-S)

Civil level: HC-05, HC-06(HC-06-M, HC-06-S)

 HC-05-D, HC-06-D (with baseboard, for test and evaluation)

(2) Bluetooth adapter:

HC-M4

HC-M6

This document mainly introduces Bluetooth serial module. Bluetooth serial module is used for

converting serial port to Bluetooth. These modules have two modes: master and slaver device. The

device named after even number is defined to be master or slaver when out of factory and can’t be

changed to the other mode. But for the device named after odd number, users can set the work mode

(master or slaver) of the device by AT commands.

HC-04 specifically includes:

Master device: HC-04-M, M=master

Slave device: HC-04-S, S=slaver

The default situation of HC-04 is slave mode. If you need master mode, please state it clearly or

place an order for HC-O4-M directly.The naming rule of HC-06 is same.

When HC-03 and HC-05 are out of factory, one part of parameters are set for activating the device.

The work mode is not set, since user can set the mode of HC-03, HC-05 as they want.

The main function of Bluetooth serial module is replacing the serial port line, such

1. There are two MCUs want to communicate with each other. One connects to Bluetooth master

device while the other one connects to slave device. Their connection can be built once the pair is made.

This Bluetooth connection is equivalently liked to a serial port line connection including RXD, TXD signals. And they can use the Bluetooth serial module to communicate with each other.

2. When MCU has Bluetooth salve module, it can communicate with Bluetooth adapter of

computers and smart phones. Then there is a virtual communicable serial port line between MCU and

computer or smart phone.

3. The Bluetooth devices in the market mostly are salve devices, such as Bluetooth printer,

Bluetooth GPS. So, we can use master module to make pair and communicate with them.

Bluetooth Serial module’s operation doesn’t need drive, and can communicate with the other

Bluetooth device who has the serial. But communication between two Bluetooth modules requires at

least two conditions:

(1) The communication must be between master and slave.

(2) The password must be correct.

However, the two conditions are not sufficient conditions. There are also some other conditions

basing on different device model. Detailed information is provided in the following chapters.

In the following chapters, we will repeatedly refer to Linvor’s (Formerly known as Guangzhou HC

Information Technology Co., Ltd.) material and photos.

Component List

S.No.ItemQuantityRate/Unit
 MCU 89C051180
 GSM  MODEM1800
 DC motor2640
 Thermocouple140
 3.38 MHz.125
 Buzzer15
 Condenser MIC115
 Speaker 8 ohm130
 Relay 12v 100 ohm110
 Transformer 6v 500mA110
 Power lead120
 Push to On Sw41
   SOLDERING WIRE  115
 SOLDERING IRON180
 FLUX145
 CONNECTING WIRE115
 RESISTENCES1.5
 CAPACITORS 1000µf12
 100uf,470uf23
 DIODES22
 LED11
 Crystal 12MHz125
 IC BASE130
 IC 7805 Volt. Reg115
 TRANSFORMER 9 V130
 RELAY 9V115
 MILER CAP115
 CRYSTAL 3.579545120
 HOLDER110
 PLY BOARD1150
 TAPE ROLL145
 Copper Clad Board1150

Applications:

  • Machine controlled
  • devicesics
  • Electrical appliances
  • security system password protection.

Advantages:

  1. It is very easy to use
  2. it need no network
  3. it need small circuit
  4. All components easily available in market

Bibliography:

www.8051.com

www.atmel.com

www.8052.com

www.projectidea.com

Book – Ali mazidi

Leave a Reply

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