1.Traffic signal controlling through Android smart phone

36
Traffic signal controlling through Android smart phone, provided for only ambulance drivers Under the guidance of Mr.C.Venkataiah By 12091A04C0- G.N.S.MANJUNATH 13095A0419-Y.MOUNIKA 12091A0461-T.MAHESH KUMAR 13095A0416- N.MADHU 12091A0476-O.NAGABHUSHAN REDDY

Transcript of 1.Traffic signal controlling through Android smart phone

Page 1: 1.Traffic signal controlling through Android smart phone

Traffic signal controlling through Android

smart phone, provided for only ambulance drivers

Under the guidance of Mr.C.Venkataiah

By

12091A04C0- G.N.S.MANJUNATH 13095A0419-Y.MOUNIKA12091A0461-T.MAHESH KUMAR13095A0416- N.MADHU 12091A0476-O.NAGABHUSHAN REDDY

Page 2: 1.Traffic signal controlling through Android smart phone

AIM of the projectThe aim of this project is to build a traffic control

system using Android smart phone operation over wireless. The program running inside microcontroller is going to control the whole system.

Whenever driver finds more traffic in the moving route he can send a gentle touch in the application of traffic lights to the Bluetooth module which is connected to micro controller with android mobile that will be given to the microcontroller which changes the traffic signal according to the message from RED to GREEN by running embedded programming.

Page 3: 1.Traffic signal controlling through Android smart phone

BLOCK DIAGRAM

Page 4: 1.Traffic signal controlling through Android smart phone

MICRO CONTROLLER

Bluetooth

ResetYELLOW LED’S

RED LED’S

Regulated Power Supply

GREEN LED’S

Crystal Oscillator

Android Mobile

Page 5: 1.Traffic signal controlling through Android smart phone

The major building blocks of this project

Regulated power supply MicrocontrollerReset ButtonCrystal OscillatorHigh power LED as Traffic lightBluetoothAndroid

Page 6: 1.Traffic signal controlling through Android smart phone

Types of processors We have many types of processors in markets in that few are given below

AT MEGA microcontroller PIC microcontroller ASIC (application specific microcontroller) DSP (digital signal processor)

Compare to all controllers PIC microcontroller have more advantages. So in this project we are using PIC controller.

Page 7: 1.Traffic signal controlling through Android smart phone

Microcontroller A microcontroller is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timers, watchdog timer, serial and analog I/O etc.

Microcontrollers are also used in scientific, high technology, and aerospace projects.

Microcontrollers are designed for small or dedicated applications.

Page 8: 1.Traffic signal controlling through Android smart phone

PIC is a family of Harvard architecture microcontrollers made by Microchip Technology, derived from the PIC1640 originally developed by General Instrument's Microelectronics Division. The name PIC initially referred to “Peripheral Interface Controller”.

A PIC's instructions vary from about 35 instructions for the low-end PICs to over 80 instructions for the high-end PICs.

Page 9: 1.Traffic signal controlling through Android smart phone

RAM                                               368 bytesEEPROM                                        256 bytesFlash Program Memory                  8k wordsOperating Frequency                    DC to 20MHzI/O port                                      Port A,B,C,D,E

PIC 16F877A Specification:

Page 10: 1.Traffic signal controlling through Android smart phone

Advantages of microcontroller

Low cost User friendly Easily available in market We can reprogram it up to 1000 times Less power consumption

Page 11: 1.Traffic signal controlling through Android smart phone

Regulated power supplyRegulated power supply

The major blocks of power supply are given below Transformer Rectifier Filter 7805 voltage regulator

Page 12: 1.Traffic signal controlling through Android smart phone
Page 13: 1.Traffic signal controlling through Android smart phone

Transformer

Transformer is a electromagnetic device which induces the voltage due to magnetic field present between primary and secondary windings.

It has two windings called as primary winding and secondary winding. We are giving input 230v input voltage at primary side. The output of transformer is

9v(ac only).

In this project we are using 9v step down transformer.

Page 14: 1.Traffic signal controlling through Android smart phone

We have two types of transformersI. Step up transformer.II. Step down transformer.

Step up transformer:This transformer will step up the voltage that is this

transformer will increase the voltage.

Step down transformer:This type of transformers will step down the voltage. That

is this will convert high voltage in to low voltage.

Mostly for project purpose we are using only step down transformer.

Page 15: 1.Traffic signal controlling through Android smart phone

Rectifier Rectifier is circuit which converts the ac in to dc.

We have two types of rectifier.1. Full wave rectifier2. Half wave rectifier

Full wave rectifier again classified as follows1. Bridge rectifier2. Centertapped full wave rectifier

In this project we are using bridge rectifier because the efficiency of the bridge rectifier is high compare to all rectifiers.

Page 16: 1.Traffic signal controlling through Android smart phone

Specifications of DB107

Diode Type Single PhasePackage / Case DB-1Current - DC Forward (If) 1AVoltage - Peak Reverse (Max) 1000VMounting Type Through HoleLead Free Status Lead Free

Page 17: 1.Traffic signal controlling through Android smart phone

FilterFilter

The output of rectifier is not pure DC. It may contain some ripple components that is pulsating DC. To eliminate this ripple components which are present in output we are using filter.

Filter is a circuit which is used to eliminate the ripples present in rectified output.

Most of the power supplies are using capacitor filter to filter out the ripples present in output.

Page 18: 1.Traffic signal controlling through Android smart phone

RegulatorRegulator The output of filter is not constant output voltage it will varies according to changes in input but we want constant output voltage. For this purpose we are using voltage regulator.

Regulator is defined as it is a device which will maintain constant output irrespective of changes in input.

The most popular regulator series is 78xx series. This series have more advantages.

We are using 7805 voltage regulator to maintain constant 5v output voltage irrespective of changes in input voltage.

Page 19: 1.Traffic signal controlling through Android smart phone

V0 output voltage 5VR0 output resistance 15m ohmIsc short circuit current 230mAIpk peak current 2.2A

Regulator 7805 specifications

Page 20: 1.Traffic signal controlling through Android smart phone

LED

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices and are increasingly used for other lighting.

Early LEDs emitted low-intensity red light, but modern versions are available across the visible, ultraviolet, and infrared wavelengths, with very high brightness.

Page 21: 1.Traffic signal controlling through Android smart phone

Bluetooth HC-05

Bluetooth is a new standard developed by a group of electronics manufacturers that will allow any sort of electronic equipment -- from computers and cell phones to keyboards and headphones -- to make its own connections, without wires, cables or any direct action from a user.

A key difference with other existing wireless technologies is that bluetooth enables combined usability models based on functions provided by different devices.

Page 22: 1.Traffic signal controlling through Android smart phone

Bluetooth HC-05 Specifications

Operating Voltage:5 volt,reduced to 3.3volts,8 mA. Default baud rate: 9600 bps. Default pin: 1234 Default name: BlueBolt. Class: 2, with up to 10 meter coverage.

Page 23: 1.Traffic signal controlling through Android smart phone

It provides agreement at the physical level -- Bluetooth is a radio-frequency standard.

Provides agreement at the data link level where products have to agree on

when bits are senthow many will be sent at a timehow the parties in a conversation can be sure that the

message received is the same as the message sent

Page 24: 1.Traffic signal controlling through Android smart phone

PinsOn the bottom side there are labels for the signal

direction and voltage levels:

Page 25: 1.Traffic signal controlling through Android smart phone

VCC is indicated in the range of 3.6V-6V. The module worked for me both with 3.3V and 5V.

GND: GroundTXD: serial output of the module, to be connected to

RX of the microcontroller. Note that this signal is using 3.3V logic level

RXD: serial input of the module, to be connected to the TX of the microcontroller. Note that this signal is using 3.3V logic levels.

STATE: connected to LED2 of the module, but no meaning? At least on my module the pin was always low, regardless if paired or not.

Page 26: 1.Traffic signal controlling through Android smart phone

““Piconet”Piconet” A collection of devices connected via

Bluetooth technology. A piconet starts with two connected devices,

and may grow to eight connected devices. All Bluetooth devices are peer units and have

identical implementations. However, when establishing a piconet, one unit will act as a Master and the other(s) as slave(s) for the duration of the piconet connection.

Page 27: 1.Traffic signal controlling through Android smart phone

Android Mobile• Android's mobile

operating system is based on the Linux kernel and is the world's best-selling Smart phone.

• There are currently over 200,000 apps available for Android that are made accessible through the Android Market, which is the online app store run by Google.

• The apps are primarily written in Java.

Page 28: 1.Traffic signal controlling through Android smart phone

What is AndroidWhat is Android• Android is an open source operating system,

created by Google specifically for use on mobile devices (cell phones and tablets)

• Linux based (2.6 kernel)• Can be programmed in C/C++ but most app

development is done in Java.• Supports Bluetooth, Wi-Fi, and 3G and 4G

networking.

Page 29: 1.Traffic signal controlling through Android smart phone
Page 30: 1.Traffic signal controlling through Android smart phone

PIC16f877A is a 40 pin microcontroller. It has 5 ports port A, port B, port C, port D, port E. All the pins of the ports are for interfacing input output devices.Port A: It consists of 6 pins from A0 to A5Port B: It consists of 8 pins from B0 to B7Port C: It consists of 8 pins from C0 to C7Port D: It consists of 8 pins from D0 to D7Port E: It consists of 3 pins from E0 to E2The rest of the pins are mandatory pins these should not be used to connect input/output devices.Pin 1 is MCLR (master clear pin) pin also referred as reset pin. Pin 13, 14 are used for crystal oscillator to connect to generate a frequency of about 20MHz.Pin 11, 12 and31, 32 are used for voltage supply Vdd(+)and Vss(-)

Page 31: 1.Traffic signal controlling through Android smart phone

Advantages:Automatic traffic signals controlHigh efficient light can be achieved with high intensity high power LED.Android based traffic signal control in case of emergencies like ambulance, VIP vehicles etc.Usage of wireless technology like BluetoothLong life.Highly sensitive.Efficient and low cost designEasy to operate.Low power consumption.

Page 32: 1.Traffic signal controlling through Android smart phone

Disadvantages:• The high power LED’s used are very sensitive•Bluetooth wireless technology supports only for limited distance.

Applications: This system can be practically implemented in real time where the vehicle density is very high at the junction roads.

Page 33: 1.Traffic signal controlling through Android smart phone

The project “Traffic signal controlling through Android smart phone, provided for only ambulance drivers” was designed such that the traffic lights was automatically controlled with microcontroller using a high power light emitting diode. The system was also used to design a traffic signal controlling through android smart phone that is allowed only for ambulance drivers.

Result:

This project can be extended using GSM modem. GSM module will send the information regarding the status of traffic density and signal light information to the respective authorities.

Future Scope:

Page 34: 1.Traffic signal controlling through Android smart phone

Conclusion:

Integrating features of all the hardware components used have been developed in it. Presence of every module has been reasoned out and placed carefully, thus contributing to the best working of the unit. Secondly, using highly advanced IC’s with the help of growing technology, the project has been successfully implemented. Thus the project has been successfully designed and tested.

Page 35: 1.Traffic signal controlling through Android smart phone
Page 36: 1.Traffic signal controlling through Android smart phone