Professional Documents
Culture Documents
BLUETOOTH TECHNOLOGY
1
ANDROID SMART INDUSTRIAL AUTOMATION USING
BLUETOOTH TECHNOLOGY
A MINI PROJECT REPORT
Submitted in partial fulfillment of the requirements
for the award of the degree of
BACHELOR OF TECHNOLOGY
In
ELECTRICAL AND ELECTRONICAL ENINEERING
Submitted by
S.V.RUDHIVARDHAN
PIN NO:17551A0239
2
GODAVARI INSTITUTE OF ENGINEERING &
TECHNOLOGY(A)
(Autonomous)
CHAITANYA KNOWLEDGE CITY, NH-16, RAJAMAHENDRAVARAM
533296, AP
BONAFIDE CERTIFICATE
Certified that this project report “ADROID BASED SMART INDUSTRIAL
AUTOMATIONUSINBLUETOOTH TECHNOLOGY” is the bonafide work of
“S.V.RUSHIVARDHAN ,BRANCH:EEE & PIN NO:17551A0239”, who carried out the
project work under my supervision during the year 201__ to 201__, towards partial
fulfillment of the requirements of the Degree of Bachelor of Technology in Computer
Science & Engineering as administered under the Regulations of Godavari Institute of
Engineering & Technology, Rajamahendravaram, AP, India and award of the Degree from
Jawaharlal Nehru Technological University, Kakinada. The results embodied in this report
have not been submitted to any other University for the award of any degree.
___________________________________________________________________________
External Viva voce conducted on _______________
3
GODAVARI INSTITUTE OF ENGINEERING &
TECHNOLOGY
(Autonomous)
CHAITANYA KNOWLEDGE CITY, NH-16, RAJAMAHENDRAVARAM 533296, AP
CERTIFICATE OF AUTHENTICATION
I solemnly declare that this project report “ANDROID BASED SMART INDUSTRIAL
AUTOMATIONUSINBLUETOOTH TECHNOLOGY” ” is the bonafide work done purely by
me/us, carried out under the supervision of Prof./Dr./Mr./Ms.
________________________________________________, towards partial fulfillment of the
requirements of the Degree of _____________________________ in ___________________
______________ Engineering as administered under the Regulations of Godavari Institute of
Engineering & Technology, Rajamahendravaram during year of 20--- to 20---- .
I also declare that no part of this document has been taken up verbatim from any source
without permission from the author(s)/publisher(s). Wherever few sentences, findings,
images, diagrams or any other piece of information has been used for the sake of completion
of this work, I have adequately referred to the document source. In the event of any issue
arising hereafter about this work, I/we shall be personally responsible
.
It is further certified that this work has not been submitted, either in part of in full, to any
other department of the Jawaharlal Nehru Technological University Kakinada, or any other
University, institution or elsewhere, in India or abroad or for publication in any form.
Date:--------------- s.v.Rushivardhan
Pin no:17551A0239
4
ACKNOWLEDGEMENT
It gives us immense pleasure in express our gratitude in everyone who helped us in the
successful completion of our main project titled,” ANDROID BASED SMART INDUSTRIAL
AUTOMATIONUSIN BLUETOOTH TECHNOLOGY” .
We express our sincere thanks to project Guide MR.RAMJI ,electrical & electronical
engineering, Godavari institution of engineering technology ,Rajahmundry for her
extraneous support in providing the requirements and her valuable suggestions and co-
operation in making this mini project a success.
We wish to thank our respected principal sri. mr. Prasad , Godavari institution of
engineering technology, Rajahmundry for providing such a great opportunity in completion
of project. We wish to express our sincere gratitude to the management for providing
facilities in the completion of mini project successfully.
Finally ,we thank one and all who helped us directly and indirectly in completing the
mini project successfully.
Project Associates
5
TABLE OF CONTENTS
ABSTRACT 7
INTRODUCTION 8
CIRCUIT DIAGRAM 9
CONCLUSION 22
6
ABSTRACT
We are living in 21st century where automation of any form i.e. industrial or home plays an
important role in human life. When it comes to industrial automation the concept is applied
To large machines or robots which help in increasing the efficiency in terms of production.
Energy and time .industrial automation on the other hand involves automating the household
environment. This is possible because of the smart phones and internet that we are widely
using industrial automation can be again divide in to just controlling the appliances using a
smart phone from a remote location and another type filled with sensors and actuators which
controls the lighting, temperature, door locks, electronic gadgets, electrical appliances etc
Using a “smart” system.
The main objective of this project is to develop a industrial automation system using
an AVR microcontroller(Atmega16) with Bluetooth being remotely controlled by android Os
smart phone .As technology is advancing so industrials or houses are also getting smarter.
modern industrial are gradually shifting from conventional switches to centralized control
system. Involving remote controlled switches. Presently, conventional wall switches located
in different parts of the house makes it difficult for the user to go near them to operate. Even
more it becomes more difficult for the elderly or physically handicapped people to do so,
remote controlled or android controlled of industrial or home automation system provides a
most modern solution with smart phones. In order to achieve this a Bluetooth module is
interfaced to the AVR board at the receiver end while on the transmitter end. A java
application on the cell phone sends ON/OFF commands to the receiver where loads are
connected. by touching the specified location on the java program. the loads can be turned
ON/OFF remotely through this technology. The loads are operated by AVR board in single
channel with help of Bluetooth module
7
INTRODUCTION
8
CIRCUIT DIAGRAM
9
MAJOR COMPONENTS USED IN THIS PROJECT
Specifications
Hardware Features
10
Software Features
Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control:
has.
are paired, red and blue led blinks 1time/2s in interval, while disconnected only blue
led blinks 2times/s.
BUZZER
Type of buzzers
Electromechanical
Mechanical
11
A joy buzzer is an example of a purely mechanical buzzer. They require drivers.
Piezoelectric
Modern applications
Novelty uses
Educational purposes
Annunciator panels
Electronic metronomes
Game show lock-out device
Microwave ovens and other household appliances
Sporting events such as basketball games
Electrical alarms
Joy buzzer- a mechanical buzzer used for pranks
Atmega 16 Microcontroller
12
megaAVR chips became popular after they were designed into the 8-bit Arduino
platform.
13
Features of AVR Microcontroller
14
A variety of serial interfaces, including
o I²C compatible Two-Wire Interface (TWI)
o Synchronous/asynchronous serial peripherals (UART/USART) (used with
RS-232, RS-485, and more)
o Serial Peripheral Interface Bus (SPI)
o Universal Serial Interface (USI): a multi-purpose hardware
communication module that can be used to implement an SPI, I2C or
UART interface.
Brownout detection
Watchdog timer (WDT)
Multiple power-saving sleep modes
Lighting and motor control (PWM-specific) controller models
CAN controller support
USB controller support
o Proper full-speed (12 Mbit/s)
hardware & Hub controller with
embedded AVR.
o Also freely available low-speed (1.5
Mbit/s) (HID) bitbanging software
emulations
Ethernet controller support
LCD controller support
Low-voltage devices operating down to 1.8 V
(to 0.7 V for parts with built-in DC–DC
upconverter)
picoPower devices
DMA controllers and "event system" peripheral communication.
Fast cryptography support for AES and DES
TRANSFORMER
15
winding induces a varying electromotive force (EMF) or voltage in the secondary
winding due to electromagnetic induction.
A Transformer takes in electricity at a higher voltage and lets it run through lots of
coils wound around an iron core. “. A single-phase Transformer can operate to either
increase or decrease the voltage applied to the primary winding. Because the current
is alternating, the magnetism in the core is also alternating. Also around the core is
an output wire with fewer coils. The magnetism changing back and forth makes a
current in the wire. Having fewer coils means less voltage. When it is used to
“decrease” the voltage on the secondary winding with respect to the primary it is
called a Step-down Transformer. When a Transformer is used to “increase” the
voltage on its secondary winding with respect to the primary, it is called a Step-up
Transformer.
However, a third condition exists in which a transformer produces the same voltage
on its secondary as is applied to its primary winding. In other words, its output is
identical with respect to input. This type of Transformer is called an “Impedance
Transformer” and is mainly used for impedance matching or the isolation of
adjoining electrical circuits.
Types
Applications
Transformers are used to increase (or step-up) voltage before transmitting electrical
energy over long distances through wires. Wires have resistance which loses energy
16
through joule heating at a rate corresponding to square of the current. By
transforming power to a higher voltage transformers enable economical
transmission of power and distribution. Consequently, transformers have shaped the
electricity supply industry, permitting generation to be located remotely from points
of demand.[92] All but a tiny fraction of the world's electrical power has passed
through a series of transformers by the time it reaches the consumer. [44]
Transformers are also used extensively in electronic products to decrease (or step-
down) the supply voltage to a level suitable for the low voltage circuits they contain.
The transformer also electrically isolates the end user from contact with the supply
voltage.
Signal and audio transformers are used to couple stages of amplifiers and to match
devices such as microphones and record players to the input of amplifiers. Audio
transformers allowed telephone circuits to carry on a two-way conversation over a
single pair of wires. A balun transformer converts a signal that is referenced to
ground to a signal that has balanced voltages to ground, such as between external
cables and internal circuits.
RELAY
Operate a switch, but other operating principles are also used, such as
solid-state relays. Relays are used where it is necessary to control a
circuit by a low-power signal (with complete electrical isolation
between control and controlled circuits), or where several circuits must
be controlled by one signal. The first relays were used in long distance
telegraph circuits as amplifiers: they repeated the signal coming in from
one circuit and re-transmitted it on another circuit. Relays were used
extensively in telephone exchanges and early computers to perform
logical operations.
A type of relay that can handle the high power required to directly control an electric
motor or other loads is called a contactor. Solid-state relays control power circuits
with no moving parts, instead using a semiconductor device to perform switching.
Relays with calibrated operating characteristics and sometimes multiple operating
coils are used to protect electrical circuits from overload or faults; in modern electric
power systems these functions are performed by digital instruments still called
"protective relays".
17
A simple electromagnetic relay consists of a coil of wire wrapped around a soft iron
core, an iron yoke which provides a low reluctance path for magnetic flux, a movable
iron armature, and one or more sets of contacts (there are two in the relay pictured).
The armature is hinged to the yoke and mechanically linked to one or more sets of
moving contacts. It is held in place by a spring so that when the relay is de-energized
there is an air gap in the magnetic circuit. In this condition, one of the two sets of
contacts in the relay pictured is closed, and the other set is open. Other relays may
have more or fewer sets of contacts depending on their function. The relay in the
picture also has a wire connecting the armature to the yoke. This ensures continuity
of the circuit between the moving contacts on the armature, and the circuit track on
the printed circuit board (PCB) via the yoke, which is soldered to the PCB.
When an electric current is passed through the coil it generates a magnetic field that
activates the armature, and the consequent movement of the movable contact(s)
either makes or breaks (depending upon construction) a connection with a fixed
contact. If the set of contacts was closed when the relay was de-energized, then the
movement opens the contacts and breaks the connection, and vice versa if the
contacts were open. When the current to the coil is switched off, the armature is
returned by a force, approximately half as strong as the magnetic force, to its relaxed
position. Usually this force is provided by a spring, but gravity is also used commonly
in industrial motor starters. Most relays are manufactured to operate quickly. In a
low-voltage application this reduces noise; in a high voltage or current application it
reduces arcing.
When the coil is energized with direct current, a diode is often placed across the coil
to dissipate the energy from the collapsing magnetic field at deactivation, which
would otherwise generate a voltage spike dangerous to semiconductor circuit
components. Such diodes were not widely used before the application of transistors
as relay drivers, but soon became ubiquitous as early germanium transistors were
easily destroyed by this surge. Some automotive relays include a diode inside the
relay case.
If the relay is driving a large, or especially a reactive load, there may be a similar
problem of surge currents around the relay output contacts. In this case a snubber
circuit (a capacitor and resistor in series) across the contacts may absorb the surge.
Suitably rated capacitors and the associated resistor are sold as a single packaged
component for this commonplace use.
If the coil is designed to be energized with alternating current (AC), some method is
used to split the flux into two out-of-phase components which add together,
increasing the minimum pull on the armature during the AC cycle. Typically this is
done with a small copper "shading ring" crimped around a portion of the core that
creates the delayed, out-of-phase component, [9] which holds the contacts during the
zero crossings of the control voltage.
18
Pole and Throw
Relays have the exact working of a switch. So, the same concept is also applied. A
relay is said to switch one or more poles. Each pole has contacts that can be thrown
in mainly three ways. They are
Relay Applications
Relays are used to realize logic functions. They play a very important role in
providing safety critical logic.
Relays are used to provide time delay functions. They are used to time the
delay open and delay close of contacts.
Relays are used to control high voltage circuits with the help of low voltage
signals. Similarly they are used to control high current circuits with the help of
low current signals.
They are also used as protective relays. By this function all the faults during
transmission and reception can be detected and isolated.
VOLTAGE REGULATORS
Electronic voltage regulators are found in devices such as computer power supplies
where they stabilize the DC voltages used by the processor and other elements. In
automobile alternators and central power station generator plants, voltage
19
regulators control the output of the plant. In an electric power distribution system,
voltage regulators may be installed at a substation or along distribution lines so that
all customers receive steady voltage independent of how much power is drawn from
the line.
78xx ICs have three terminals and are commonly found in the TO-220 form factor,
although they are available in surface-mount, TO-92, and TO-3 packages. These
devices support an input voltage anywhere from around 2.5 volts over the intended
output voltage up to a maximum of 35 to 40 volts depending on the model, and
typically provide 1 or 1.5 amperes of current (though smaller or larger packages may
have a lower or higher current rating).
Advantages
20
APPLICATION OF MINI PROJECT
1) Using this project we can turn ON or OFF appliances remotely or Android I.e using
a phone or tablet
4) AVR Micro controller based device control using Bluetooth on smart phone project
can be enhanced to control the load ( Ex: light , fan, motor’s etc )
21
CONCLUSION
22
23