An Android Based Elecronic Fare Meter System
Transcript of An Android Based Elecronic Fare Meter System
A PROJECT SYNOPSIS ON
ANDROID BASED ELECTRONIC FARE METER SYSTEM
BY
Bhopatkar Gaurang
Qureshi Mohammed Tarique
Shaikh Juberahmed
Upadhyay Anupam
Under the Guidance of
Prof. Dinesh Deore
Submitted as a partial fulfillmentof
B.E.(Semester VII), ELECTRONICS
RIZVI COLLEGE OF ENGINEERINGBANDRA(W),MUMBAI-400 050
UNIVERSITY OF MUMBAIFOR THE ACADEMIC YEAR 2013-2014
.CERTIFICATE
This is to certify that the project synopsis entitled
ANDROID BASED ELECTRONIC FARE METER SYSTEM
Submitted by
Upadhyay Anupam
Qureshi Mohammed Tarique
Bhopatkar Gaurang
Shaikh Juberahmed
Of Rizvi College of Engineering, Electronic Branch has
been approved in partial fulfillment of requirement for
the degree of Bachelor of Engineering.
Prof. Dinesh Deore
Prof.
Internal Guide
External Guide
Prof. Nargis shaikh
Dr. Varsha Shah
(Head of the Department)
(Principal)
Internal Examiner External
Examiner
PREFACE
We take an opportunity to present the project report on “ANDROIDBASED ELECTRONIC FARE METER SYSTEM” and put before users someuseful information about our project.We have made sincere attempts and taken every care to present this
matter in precise and compact form.
We are sure that the information contained in this volume would
certainly prove useful for better insight in the scope and
dimension of the subject.
The task of completing the project though being difficult but was
made quite simple,interesting and successful due to deep
involvement and complete dedication of our group member.
ACKNOWELEDGEMENT
It is indeed of great pleasure and proud privilege to be able topresent the project on “ANDROID BASED ELECTRONIC FARE METERSYSTEM”. The completion of the project work in a milestone instudent’s life is inevitable in the hands of guide. We highlyindebt the project guide Prof.Dinesh Deore For the invaluableguidance and appreciation for giving form and substance to thisproject. It is due to his enduring efforts, patience andenthusiasm which has given a sense of direction purposefulness tothis project and ultimately made it a success.We would like to tender our sincere thanks to the staff members
for their co-operation.
We would also like to express our deep regards and gratitude to
the principle Dr.Varsha Shah, our HOD Prof. Nargis Shaikh.
We would wish to thank the non teaching staff and our friends who
have helped us all the time in the way or the other.
Abstract
An auto rickshaw / taxi is one of the chief modes of transport inIndia. A large number of people use these vehicles for their dailycommute and every time they pay some fare because there is no check on the reading of meter. Auto rickshaw meter tampering in India has become quite common because the current meter calculatesfare on the basis of the rotations of the wheel and this system can be easily tampered. Hence, it is necessary that we should havesomething that can cross check the reading of the meter and guide us the right fares. This daily problem of the public encouraged usto work in this area and we came up with an idea of ANDROID BASED ELECTRONIC FARE METER SYSTEM.
Our designed system has a circuit inbuilt in the existing meter and it will send the count of wheel rotation on Bluetooth frequency with the help of Bluetooth modem. This data is received on the mobile of passenger which is paired with the Bluetooth device of the meter with the help of the meter id. The software inthe mobile will calculate the fare on the basis of the received
data. Now passenger can cross check the fare on the mobile with the meter reading. If there is difference between the two, then one can easily point out that there is tampering in the meter.
.
ContentsChapte
rsPage Title.
Page
No.1. List of tables/figures 42. Introduction 53. Aims and objectives 64. Literature survey 7
5. Problem statement 86. Android Based Electronic Fare Meter
System and its Block Diagram
9
6.1 Proposed system 106.2 Microcontroller 89S51 12
6.3 Bluetooth Module 146.4Power supply 156.5 IR transmitter and receiver 166.6 DIP Switch 176.7 LCD Display. 17
6.8Software used 187. Conclusion. 208. Implementation plan for next
semester.
23
9 References. 24
1. LIST OF TABLES/FIGURES
Figure
number
Name of figure
6.1 Block diagram of Android Based
Electronic Fare Meter System system6.2 Microcontroller 89S51
6.3 Bluetooth Module AUBTM20
6.4 Block diagram of a regulated power
supply system.6.5 Circuit diagram for IR transmitter and
reciever
2. INTRODUCTION
An auto rickshaw / taxi is one of the chief modes of transport
in India. A large number of people use these vehicles for their
daily commute and every time they pay some fare because there is
no check on the reading of meter. Auto rickshaw meter tampering in
India has become quite common because the current meter calculates
fare on the basis of the rotations of the wheel and this system
can be easily tampered. Hence, it is necessary that we should have
something that can cross check the reading of the meter and guide
us the right fares. This daily problem of the public encouraged us
to work in this area and we came up with an idea of ANDROID BASED
ELECTONIC FARE METERING SYSTEM.
Our designed system has a circuit inbuilt in the existing
meter and it will send the count of wheel rotation on Bluetooth
frequency with the help of Bluetooth modem. This data is received
on the mobile of passenger which is paired with the Bluetooth
device of the meter with the help of the meter id.
The software in the mobile will calculate the fare on the basis of
the received data. Now passenger can cross check the fare on the
mobile with the meter reading. If there is difference between the
two, then one can easily point out that there is tampering in the
meter.
It is necessary that we should have something that can cross
check the reading of the meter and guide us the right fare amount.
This daily problem of the public encouraged us to work in this
area and we came up with an idea of ANDROID BASED ELECTRONIC FAIR
METERING SYSTEM for social benefits of all.
3. AIM AND OBJECTIVES
The aim of the project is to provide reliable means of payment for
public vehicle transport like autos and taxis. The project in
detail includes a bluetooth module which is connected to the
passengers mobile resulting in fair system to reduce cheating
among people. The project is a combination of hardware and
software module which uses Wireless technology along with basics
for android. The main objective of our project is to create
awareness among passengers about the unfairness in the Current
Metering System due to the tampering of the meter by the auto/taxi
drivers.
Thus it is necessary that we should have something that can cross
check the reading of the meter and guide us the right fare amount.
This daily problem of the public encouraged us to work in this
area and we came up with an idea of ANDROID BASED ELECTRONIC FARE
METERING SYSTEM for social benefits of all.
4. LITERATURE SURVEY
4.1 Existing System
The calculation of fare amount is calculated on the basis of
number of wheel rotation of the vehicle. There is no such
system available which can check whether the calculation shown
by the meter is correct or not. If the driver has tampered the
meter the fare amount shown will be high but as no cross
checking is done the passengers are forced to pay the extra money.
4.2 Drawbacks of existing system
Tampering the current system is very easy.
Passengers are forced to pay extra.
Increase corruption and malpractices in society.
Creates burden on the pocket of the public.
4.3 Features
The following are the prominent features of the above system.
Any Android mobile can be paired with any meter.
Mobile software will increment FARE as per government rule.
Real time increment as soon as meter starts.
No cheating possible.
5. PROBLEM STATEMENT& SCOPE
5.1 Problem definition stage
The system should be simple to use. The system does not expect
the owner to have too much of technical knowledge. The system
should be tamper proof. The thief should not be able to easily
tamper with it .It should give the owner peace of mind once
installed in the vehicle. Most important of all, the system
should be affordable and cost-effective.
5.2 Scope
There is always a scope to improve any system as research &
development is an endless process. Our system is no exception
to this phenomenon. The following improvements can be done:
1. Automatic complain launching for tampered meter can be
introduced.
2. FARE chart can be integrated
3. GPS module can be added.
In fig 6.1 our proposed system uses Bluetooth modem which is
connected to the Bluetooth of the mobile of passenger. Basically
when the raw pulses are generated using IR transmitter and
receiver, these pulses are transmitted to the An Android Based
Electronic Metering System of autos and taxis. The An Android
Based Electronic Metering System will be connected to a Bluetooth
modem which receives the pulses. The mobile of passenger gets
paired with the Bluetooth modem. A software is installed in mobile
of passenger which calculates the fare according to the pulses
generated by rotation of wheel. Thus we can crosscheck the meter
reading displayed on the An Android Based Electronic Metering
System using mobile reading. The microcontroller is connected to
Bluetooth modem, LCD display, DIP switch and power supply. The IR
transmitter and receiver generates pulses which is given to
microcontroller. The Bluetooth modem helps us to connect via
Bluetooth. LCD display displays meter reading. The various
detailed description of the various components used is explained
further.
6.1 PROPOSED SYSTEM
Our proposed system will have a circuit inbuilt in the existing
meter and will send the count of wheel rotation on Bluetooth
frequency with the help of Bluetooth modem. This data can be
received on the mobile of passenger after pairing their mobile
with the Bluetooth device of the meter with the help of the meter
id printed on the meter.
The software in the mobile will calculate the fare amount on the
basis of the data received by the meter. Now passenger can cross
check the fare amount between mobile reading and the meter
reading. If there is difference then one can easily point out that
there is tampering in meter. The passenger will pay as per mobile
reading only.
6.2 MICROCONTROLLER AT89S51
AT89S51[1] is a powerful 40-pin microcontroller IC which is the
heart of this system. It is programmed for this application using
Kiel µVision 2 programming software.
Fig 6.2 Microcontroller 89S51
Features
• 4K Bytes of In-System Programmable (ISP) Flash Memory
• 4.0V to 5.5V Operating Range
• 128 x 8-bit Internal RAM
• 32 Programmable I/O Lines
• Two 16-bit Timer/Counters
• Six Interrupt Sources
• Low-power Idle and Power-down Modes
• Watchdog Timer
• Dual Data Pointer
6.3 Bluetooth Module
Bluetooth modem is a device that acts as mediator between any
embedded system and the Bluetooth communication medium. It has
built-In protocol for serial communication i.e. serial port
profile. Thus it provides an ideal solution for developers who
want to integrate Bluetooth wireless technology into their design
with limited knowledge of Bluetooth and RF technologies. This unit
requires +3.3 VDC for it proper operation
Fig 6.3: Bluetooth Module AUBTM20
AUBTM-20[4] bluetooth module is a drop-in replacement for wired
serial connections, transparent usage. You can use it simply for
serial port replacement to establish connection between mcu and
gps, pc to your embedded project / robot etc. The module can be
configured for baud rates 9600 to 115200 bps.
Features
Support master & slave mode
Serial communications: 9600-115200bps
spp (serial port profile) support
support uart,usb,pcm,i2c interface to host system
Frequency: 2. 4~2. 524 GHz
Bluetooth core v2. 0 compliant
built-in chip antenna
power supply: 3. 3v
6.4 The power supply
Our system requires two different power supplies:
The 5V supply is used for the proper functioning of the
microcontroller, IR transmitter and receiver, LCD boards and
it also acts as an input to the variable power supply unit.
The variable power supply circuit provides an output of 3.3V
which is required for the functioning of Bluetooth modem.
Power Supply circuit
The input to the regulator IC 78L05 is provided by a 12V DC
battery. The 78L05[6] is a 5V regulator. The input voltage ranges
from 7V to 35V and the output voltage is about 5V.
Fig 6.4 Power Supply,7C1-1000 mf ;C2-100 mf; D3,D6,D10,D11-1N4007
Variable Power Supply
The LM317[7] are monolithic integrated circuit in TO-220,
ISOWATT220, TO-3 and D2PAK packages intended for use as positive
adjustable voltage regulators. They are designed to supply more
than 1.5A of load current with an output voltage adjustable over a
1.2 to 37V range. The nominal output voltage is selected by means
of only a resistive divider, making the device exceptionally easy
to use and eliminating the stocking of many fixed regulators.
6.5 The IR Transmitter and Receiver
Infrared transmitter that emits light in the range of 10^-6 – 10^-
3 wavelength (m) This light is not visible by human eye and hence
mostly used in security systems for proximities. This unit
requires +5 VDC for its operation.
Fig.6.5.A CIRCUIT DIAGRAM FOR IR TRANSMITTER
Fig.6.5.B CIRCUIT DIAGRAM FOR IR RECEIVER
Features
High sensitivity
High accuracy
Low power consumption
Low cost
6.6 DIP Switch
A DIP switch is a manual electric switch that is packaged with
others in a group in a standard dual in-line package (DIP). The
term may refer to each individual switch, or to the unit as a
whole. This type of switch is designed to be used on a printed
circuit board along with other electronic components and is
commonly used to customize the behavior of an electronic device
for specific situations.
6.7 LCD Display
Liquid crystal Display (LCD) displays status of the circuitry of
the. CMOS technology makes the device ideal for application in
hand held, portable and other battery instruction with low power
consumption.
GENERAL SPECIFICATION:
• Drive method: 1/16 duty cycle
• Display size: 16 character * 2 lines.
• Character generate ROM: 192 characters
• Character generate RAM: 8 characters (64*8 bits)
• Internal automatic reset circuit at power ON.
• Built in oscillator circuit.
6.8 Software used
6.8.1: Kiel µVision 2: The Kiel C51[9] Cross Compiler is an
ANSI C compiler that is written specifically to generate
fast, compact code for the 8051 microcontroller family. The
C51 Compiler generates object code that matches the
efficiency and speed of assembly programming.
6.8.2: EAGLE PCB Layout Editor: We are using EAGLE software
for PCB designing AGLE stands for Easily Applicable Graphical
Layout Editor. EAGLE is an editor, which is easy-to-use, yet
powerful tool for designing printed circuit boards (PCBs). It
is a complete platform for the development of any type of
complicated & sophisticated multilayered PCBs.
7. CONCLUSION
The fair fare system provides a reliable system for payment of
fares. The ever growing dispute between passengers and drivers
over the fare can come to an end courtesy of the proposed system.
The system also proposes to provide an integrated complaining
system which can help to eradicate cheating and malpractices.
By the realization of the above proposed system one can learn many
aspects of a digital electronics circuit. This will give the
complete knowledge of designing microcontroller based system and
developing embedded software. We will also learn the software
development strategies and various programming techniques for
mobile based application
8. IMPLEMENTATION PLAN FOR NEXT SEMESTER
The proposed plan for implementation of the project in the next
semester is as follows:
Firstly, take the advice of the project guide on how to work in
the next semester, to properly complete the project.
Purchase and test the components required for the project. Get
faulty components if any, exchanged well in time.
Preparation of the PCB layout and etching of the PCB.
Learn in detail, AT commands for GSM, and Kiel µVision 2.1
Meet the group guide regularly and incorporate the
methods/changes suggested by the guide properly.
Take the guidance of the college faculty who are experts in
this area.
Keep the department updated on the progress of the project.
Complete the implementation well before the final project
presentation day; so that there is ample time to rectify any
kind of errors that may arise, and the project works flawlessly
on the final day.
REFERENCES
1. Microcontroller: Theory and application by Ajay V. Deshmukh,
Edition-2005.
2. www.alldatasheets.co m
3. http://www.atmel.com/Images/doc2487.pdf
4. IEEE papers on Bluetooth technology by Kashyap Shah.
5. http://www.quatech.com/support/comm-over-bluetooth.php
6. http://www.engineersgarage.com/electronic-components/7805-
voltage-regulator-ic
7. www.wikipedia.org
8. www.electroniccircuits.com
9. www.ent.mrt.ac.lk