Вы находитесь на странице: 1из 50

Public Transportation Management Service

Using GSM for vacant seat


A PROJECT REPORT
Submitted by
Jatin Patel (120293111007)
HarmitJani (120293111013)
Deep Patel (120293111015)
Hiren Mistry(120293111054)
In fulfillment for the award of the degree
Of
BACHELORS OF ENGINEERING
In
ELECTRONICS AND COMMUNICATION
L.C INSTITUTE OF TECHNOLOGY
BHANDU

GUJARAT TECHNOLOGICAL UNIVERSITY, Ahmadabad


April 2015
L.C. INSTITUTE OF TECHNOLOGY
BHANDU
CERTIFICATE
This is to certify that the dissertation entitled as Public Transportation Manage
ment Service using GSM with vacant seat has been carried out by Jatin Patel(120293
111007) under my guidance in fulfillment of the degree of Bachelors in Engineerin
g in Electronics and Communication in 8th semester of Gujarat Technological Univ
ersity, Ahmadabad during the academic year 2014-2015

Signature and Name


nd Name
Guide
Department
Prof. Alpesh Dobariya
tel
(B.E. E&C)
H.O.D. in E&C Dept.

Signature a
Head of
Prof.Mehul L. Pa

GUJARAT TECHNOLOGICAL UNIVERSITY, Ahmadabad


April 2015
L.C. INSTITUTE OF TECHNOLOGY
BHANDU
CERTIFICATE
This is to certify that the dissertation entitled as

Public Transportation Manage

ment Service using GSM with vacant seat has been carried out by Harmit Jani (12029
3111013) under my guidance in fulfillment of the degree of Bachelors in Engineeri
ng in Electronics and Communication in 8th semester of Gujarat Technological Uni
versity, Ahmadabad during the academic year 2014-2015

Signature and Name


re and Name
Guide
nt
Prof. AlpeshDobariya
tel
(B.E. E&C)
. in E&C Dept.

Signatu
Head of Departme
Prof.Mehul L. Pa
H.O.D

GUJARAT TECHNOLOGICAL UNIVERSITY, Ahmadabad


April 2015
L.C. INSTITUTE OF TECHNOLOGY
BHANDU
CERTIFICATE
This is to certify that the dissertation entitled as Public Transportation Manage
ment Service using GSM with vacant seat has been carried out by Deep Patel (120293
111015) under my guidance in fulfillment of the degree of Bachelors in Engineerin
g in Electronics and Communication in 8th semester of Gujarat Technological Univ
ersity, Ahmadabad during the academic year 2014-2015

Signature and Name


ame
Guide
nt
Prof. AlpeshDobariya
tel
(B.E. E&C)
H.O.D. in E&C Dept.

Signature and N
Head of Departme
Prof.Mehul L. Pa

GUJARAT TECHNOLOGICAL UNIVERSITY, Ahmadabad


April 2015
L.C. INSTITUTE OF TECHNOLOGY
BHANDU
CERTIFICATE
This is to certify that the dissertation entitled as Public Transportation Manage
ment Service using GSM with vacant seat has been carried out by Hiren Mistry (1202
93111054) under my guidance in fulfillment of the degree of Bachelors in Engineer

ing in Electronics and Communication in 8th semester of Gujarat Technological Un


iversity, Ahmadabad during the academic year 2014-2015

Signature and Name


ame
Guide
nt
Prof. AlpeshDobariya
ul L. Patel
(B.E. E&C)
H.O.D. in E&C Dept.

Signature and N
Head of Departme
Prof.Meh

ACKNOWLEDGEMENT
The completion of any project brings with it a sense of satisfaction, but it is
never complete without thanking those people who made it possible and whose cons
tant support has crowned our efforts with success. One cannot even imagine the p
ower of the force that guides us all and neither can we succeed without acknowle
dging it. We would also like to thank our guide, Mr. Dinesh Patel and Prof. A.D.
Dobariya Department of Electronics and Communication for his expert guidance, e
ncouragement and valuable suggestions at every step. We also would like to thank
all the staff members of LCIT for providing us with the required facilities and
support towards the completion of the project. We are extremely happy to acknow
ledge and express our sincere gratitude to our parents for their constant suppor
t and encouragement and last but not the least, friends and well-wishers for the
ir help and cooperation and solutions to problems during the course of the proje
ct.

With Sincere Regards


Jatin Patel (120293111007)
Harmit Jani (120293111013)
Deep Patel (120293111015)
Hiren Mistry (120293111054)

ABSTRACT
Nowadays, the evolution in transportation technologies makes the necessity for i
ncreasing road safety. In this context, we propose the implementation of a smart
onboard GSM system to be attached to vehicles for Counting Vacant Seat and send
to other stands. In case of no. of people are more Controller Sends zero vacant
seats so passengers at the next stand can know. Our proposed model can be utili
zed for different implementations, both in public and private sectors. While sim
ilar existing systems in Palestine have focalized just on give ticket cost, it w
ould be the first system supporting both ticket cost with vacant seat.

LIST OF FIGURES
Figure
Figure 2.1
19
Figure 2.2
22
Figure 3.1.1
24
Figure 3.1.2
24
Figure 3.2.1
26
Figure 3.2.2
27
Figure 3.2.3
28
Figure. 3.3.1
29
Figure. 3.3.1.1
30
Figure3.3.2.1
31
Figure 3.3.2.2
32
Figure 3.3.2.3
32
Figure 3.3.2.4
33
Figure 3.3.3.1
33
Figure 3.3.3.4
35
Figure 3.3.4.1
36
Figure 3.3.4.2
37
Figure 3.3.4.3
38
Figure 3.3.5.1
40
Figure 3.3.5.2
41
Figure 3.3.5.3

Figures name

Page No.

Ideation Canvas
Product developments Canvas
Transmitter Block diagram
Receiver Block diagram:
Transmitter Circuit Diagram
Receiver Circuit Diagram
Project Concept
P89v51RD2 Controller IC
Pin Diagram of P89V51RD2
Block diagram of power supply
+5v DC Regulated Power supply Circuit
Working of 5 v power supply
REGULATOR IC (78XX)
16 x 2 LCD Display
LCD Interfacing
GSM900 Modem
GSM900 Pin Diagram
GSM900 Interfacing
4*4 key pad
Ticket Machine & Ticket hard copy
Key Pad Interfacing

43
Figure 3.3.6.1
44
Figure 3.3.7.1
46
Figure 3.3.7.2
46
Figure. 3.4.2.1
50
Figure. 3.4.2.2
52
Figure. 3.4.2.3
53
Figure. 3.5.1.1
55
Figure 3.7
73
Figure 3.8
74
Figure3.9.1
75
Figure 3.9.2
75
Figure 3.9.3
76
Figure 4.1
78
Figure 4.2
79
Figure 4.3
79
& Monitoring

MAX 232 Pin Diagram & IC


Ceramic Capacitor
Electrolytic Capacitor
Window for choosing the target device
Vision3 Debugger window
Reset , Run

and

Step into

options

Programming software
Flow Chart
Technical poster
Hardware
Hardware
Hardware
Bus Stand
VTMS
GPS based Automatic Vehicle Tracking

LIST OF TABLE
Table No.
Figure 3.3.2.2
Figure 3.3.3.3
Figure 3.3.6.2
Figure 3.3.7.3
47
Figure 3.3.8.1

Table description
Pin Description of LCD
Basic Command of LCD
MAX232 Pin Description
Color Code for Capacitor
color code for resistor

Page No.
34
35
45
48

TABLE OF CONTENTS
Title
Sr
Page
No.
14L32A4.4
876no:
10
11
12
13
15
17
19
22
24
25
29
49
54
56
73
74
75
77
81
82
5CTAPPENDIX
1.1
1.2
1.3
1.4
1.5
2.1
2.2
2.3
3.1
3.2
3.3
3.4
3.5Programmer
3.6
3.7
3.8
93.9
4.1
4.2
4.3
REFRENCES
cknowledgement
bstract
ist
ableFuture
hapter:
Introduction
Objective
Material
Design
Ideation
project
Circuit
Working
Software
programs
Flow
Technical
Hardware
Summary
Application
of
Problem
Literature
Advantages
ofTable
Figures
321Contents
4Chart
Introduction
Designs
methodology
Implementation
Summary
of
development
Diagram
of
summary
/Tools
canvas
Description
photo
ofthe
poster
the
survey
the
Project
Circuit
of
Project
required
project
thecanvas
Project
Chapter 1

IMPLIMANTATION

1.1 Problem Summary:


* There are many reasons due to which the feeling of dissatisfaction arises in P
assenger s mind which include have don t want to wait for next even empty transport
and go in current crowded transport. The time taken by next transport might be u
nknown; passengers disappointed as well tired by waiting for next less crowded o
r empty transport. In other case transport are never scheduled or cancel without
declaration.
* This creates problem when there is rush in festival seasons.
* In this project a screen will place on each major station. Whenever passengers
come to station then they will select the desired station and get information n
ext transports time.
1.2 INTRODUCTION:
1.2.1 Basic Information:
* Many times at transport stand we have to wait for a empty transport so we can
get a vacant seat to seat. This creates problem when there is rush in coming tra
nsport even don t know when the empty transport will be come. Main intention of ou
r project is to avoid such problems and to give solutions to such problems. In t
his project In this project a screen will place on each major station. In this p
roject a screen will place on each major station. Whenever passengers come to st
ation then they will select the desired station and get information next transpo
rts time.
* For example: suppose, passenger want to go to destination A then he will can s
ee list of same Station transport with vacant seat. As well when a passenger in
transport he can get information about his destination name and ticket cost.
1.2.2 Motivation:
* Today we see that station has no digital device to inform passenger about tran
sport a So our motto is reduce waiting and time wasting as well comfort travelli
ng
1.2.3 Manual Setup:
* This set-up involves visual waiting of the time, unscheduled list of transport
, long time waiting, error in list while getting rush transport.
1.2.4 Problem Definition:
* The problem is that Many times at transport stand we have to wait for a empty
transport so we can get a vacant seat to seat.
* This creates problem when there is rush in coming transport even don t know when
the empty transport will be come
1.2.5 Application:
* Buses
* Railway
* Private Transport
* And more .
1.3 OBJECTIVE OF THE PROJECT:

* Among stations passengers travelling to their destination for tour, work. Whil
e travelling they expect comfort and happy journey however it is common thing th
at passengers can t get such a things in a private or public transport.
* There are many reasons due to which the feeling of dissatisfaction arises in P
assenger s mind which include have don t want to wait for next even empty transport
and go in current crowded transport
* Main intention of our project is to avoid such problems and to give solutions
to such problems. In this project a screen will place on each major station. Whe
never passengers come to station then they will select the desired station and g
et information next transports time.
* For example: suppose, passenger want to go to destination A then he will can s
ee list of same Station transport with vacant seat. As well when a passenger in
transport he can get information about his destination name and ticket cost.
1.4 LITERATURE SURVEY:
* This project is based on LCD Screen based system in which power supply is give
n to the system with the IC 7805 and used. The power supply is of +5v.
* There is GSM modules are used to transmit and receive the data. Also there is
MAX communication is used which contain MAX 232 IC and 16v capacitor is used wit
h this max communication IC for protecting purpose.
* There are different modes through which we change it systematically. Now the s
upply is given to the microcontroller from power supply section is +vcc.
* Microcontroller gives the supply to three different paths, one is to LCD, seco
nd is to transmitter circuit, and the third one is to crystal circuit.
* Analysis of project.
* Working on circuit diagram.
* Circuit diagram s implementation using Proteus 7.
* Hardware s implementation.
Finally last process done by our group was testing and troubleshooting which was
also done with some of the help of our faculty
1.5 MATERIAL /TOOLS REQUIRED:
Material and Component used:
Power (1N4007)
Quantity
Material
Diode
supply circuit:
Capacitor (0.1pF)
2
Capacitor (100n) (16v)
Transformer (Step-Down)
Transistor IC (LM7805)
ECD/2
Transmitter
Resister
(10k)
Circuit Section:
Resistor (22R)
Capacitor (10uF)
4
Zener Diode
3
MAX232 IC
1
DB9 Connector
Capacitor (100n)
1
Controller SocketSection:
Microcontroller
(40Pin)
1
Controller IC (P89V52RD1)
1
Crystal (11.0592 MHz)
Resistor Pack
2

4
3
1
1
1
1
3

Capacitor (10uF)
1
-Receiver
Any GSMCircuit
Based Mobile
Section:
LCD Screen Section:
1
Keil IDE Used:
Software
Proteous 7.0
Flash Magic
Chapter 2
DESIGN
2.1 DESIGN METHODOLOGY:
This is the method of making this system which we have used:
1. Take one GPB (General Purpose Board).
2. In this circuit first we have taken different circuit diagram as shown in cir
cuit diagram figure.
3. Make these different circuits on GPB by implement of component.
* The different section of circuit is given below:
Power Supply Section.
Microcontroller section.
GSM Transmitter Section.
LCD Section.
Touch Panel Section.
4. Complete Every Section of the circuit by implement of component.
5. Connect all the track of every section as shown in circuit diagram.
6. This track can be completed by solder wire with help of soldering iron.
7. Check continuity of the circuit of every section with help of multi meter.
8. Connect all the ground of circuit of every section in common line.
9. Connect all the +vcc to the +vcc of power supply section.
10. Connect all the +5v to the +5v of power supply section.
11. Check continuity of all section after completed section of circuit.
12. This can check by multimeter.
13. Interface LCD to the microcontroller section.
14. Now, this system of circuit is complete.
15. Now, take IC and load programming into the IC.
16. Now, fit the IC on microcontroller socket.
17. Give the +12v power supply using step down transformer
18. Now, this system is in running condition.
Programming Language is used:
> In this Embedded C language used.
Software is used:
> Keil IDE is used.
> PROTEOUS 7.0 is used for circuit checking.
> FLASH MAGIC Software is used to load the IC.
2.2 IDEATION CANVAS:
Figure: 2.1 Ideation Canvas
The ideation Canvas Model contains is listed below:
1: People
2: Activities
3: Situation/context/location

4: Props/possible solution
1. People:
1.1 Driver
1.2 Student
1.3 Conductor
1.4 Men
1.5 Women
2. Activities:
2.1 Taking Passenger
2.2 Driving
2.3 Drop passengers
2.4 seating
2.5 Taking Tickets
3. Situation/Context/Location
3.1 School
3.2 College
3.3 Bus stand
4. Props/Possible solution
4.1 Counting passenger
4.2 Ticket machine(Keypad)
4.3 GSM Bus Module
4.4 Ticket Details
4.5 Display
4.6 Counting seat
1. People
a. Driver: Its future concept to include display at driver side
b. Student: mostly student are travelling so they can use.
c. Conductor: main use of this project is this.
d. Men: Working and general men can use.
e. Women: Working and general Women can use.
2. Activities:
a. Taking Passenger: usually, people are standing at stand to get bus
b. Driving: Driver can decide when to stop or drive
c. Drop Passengers: Passengers have their destination and have to drop them thei
r.
d. Sitting: Passengers take ticket and get a seat to sit
e. Taking Tickets: for travel passengers have to get tickets
3. Situation/Context/Location
a. School: This project can be used at School students
b. College: This project can be used at college students faculty
c. Bus Stop: especially for Bus passengers so can use here
4. Props/Possible Solution
a. Counting passenger: Using this project passengers can count.
b. Ticket machine(Keypad): Ticket is main feature so can use keypad or ticket ma
chine for project
c. GSM Bus Module: By using GSM ystem, wiring can be reduced and cost will be re
duced.
d. Ticket Details: Using this project there will be serving fast.
e. Display: by using this project there can be display vacant seat.
f. Counting seat: Using this seat counting seat is there.
2.3 PRODUCT DEVELOPMENT CANVAS:
Figure 2.2 Product development Canvas
The Product development Canvas Model contains is listed below:

1.
2.
3.
4.
5.
6.
7.
8.

purpose
people
product experience
product function
product features
component
customer relation
reject, redesign, retain

1 Purpose:
1.1 Reliable: Reliable for people by using this project can be used.
1.2 Comfortable: By using this project comfortable travelling.
1.3 Safe: safe reach to destination because no rush in vehicle.
1.4 Convenient Travelling: because no rush in vehicle passenger can feel conveni
ent.
2 People
2.1 Driver: Its future concept to include display at driver side
2.2 Student: mostly student are travelling so they can use.
2.3 Conductor: main use of this project is this.
2.4 Men: Working and general men can use.
2.5 Women: Working and general Women can use
3 Product Experience:
3.1 No Load Passengers: because display of vacant seat people wait for next bus
3.2 No Harsh: passengers are limited due to limited vacancy.
3.3 Safe Journey: safe journey is done by this project.
4 Product function:
4.1 Live Scheduling Data: future Function
4.2 Root Travel Time: there is an easy to check current vehicle travel time
5
Product features:
5.1 Senior Citizen: Senior citizen can most use for their convenient
5.2 Proper Seat Management: it is Seat management mainly
5.3 Pre-Known Scheduling: Future function
6. Components
6.1 LCD: In this project LCD is used for the display.
6.2 Keypad: 4-wire key panel is used.
6.3 Microcontroller: P89v51rd2 named controller is used in this project.
6.4 Power Supply: +5v & +12v supply is used in this project.
7 Customer revalidation:
8 Reject/redesign/retain:
Chapter 3

IMPLIMANTATION

3.1 Circuit Diagrams:


3.1.1 Transmitter Block diagram:
Fig 3.1.1 Transmitter block Diagram
3.1.2 Receiver Block diagram:
Fig 3.1.2 Receiver block Diagram
3.2 Working
> P89v51RD2 microcontroller is interfaced serially to a GSM Modem.
> The hardware interfaces to microcontroller are LCD display GSM modem. The desi

gn uses RS 232 protocol for serial communication between modems and microcontrol
ler, A serial driver IC is used for converting TTL voltage levels into RS 232 vo
ltage levels.
Microcontroller:> A Micro controller consists of a powerful CPU tightly coupled with memory, var
ious I/O interfaces such as serial port, parallel port timer or counter, interru
pt controller, data acquisition interfaces-Analog to Digital converter, Digital
to Analog converter, integrated onto a single silicon chip.
> If a system is developed with a microprocessor, the designer has to go for ex
ternal memory such as RAM, ROM, EPROM and peripherals. But controller is provide
d all these facilities on a single chip.
B.GSM :> It has become the world s fastest growing mobile communication standard. It allo
ws for seamless and secure connectivity between networks on a global scale.
> Digital encoding is used for voice communication, and time division multiple a
ccess (TDMA) transmission methods provide a very efficient data rate/information
content ratio . While GSM is becoming the standard for person-to person communi
cation.
> Working is mainly divided into two categories
1. Bus Module interface with Ticket machine(Keypad)
2. Bus Station Module (GSM Mobile )

> In Bus module:


Tx Circuit Diagram :-

Fig 3.2.1 Transmitter Circuit Diagram


> This Bus module is every time count how many passenger is present in this bus
and this data is automatically send to the bus station module using GSM module.
So vacant seat data will be display on LCD so passenger can take decision .So th
at s way we can manage the transportation

> Bus station module:


Rx Circuit Diagram :-

Fig 3.2.2 Receiver Circuit Diagram


> BUS Station Module is installed at bus terminals from where the bus will depar
t. It consist of a GSM modem connected to a PC. At the time of entrance of a bus
in to the terminal a data will update in PC.

> Basic Concept of Project:-

Fig 3.2.3 Project Concept

> 3.3 Hardware Description:


* The hardware is used as follows:
1)
2)
3)
4)
5)
6)
7)
8)

Microcontroller
Power Supply
16 x 2 LCD Display
GSM Modem
Key Pad
MAX 232
Capacitor
Resistor
3.3.1 Microcontroller:

Fig. 3.3.1 P89v51RD2 Controller IC


What is P89V51RD2?
* It is an 80C51 microcontroller with 64 kB Flash and 1024 bytes of data RAM. A
key feature of the P89V51RD2 is its X2 mode option. The design engineer can choo
se to run the application with the conventional 80C51 clock rate (12 clocks per
machine cycle) or select the X2 mode (6 clocks per machine cycle) to achieve twi
ce the throughput at the same clock frequency. Another way to benefit from this
feature is to keep the same performance by reducing the clock frequency by half,
thus dramatically reducing the EMI. The Flash program memory supports parallel
programming, serial In-System Programming (ISP).
* Parallel programming mode offers gang-programming at high speed, reducing prog
ramming costs and time to market. ISP allows a device to be reprogrammed in the
end product under software control. The capability to field/update the applicati
on firmware makes a wide range of applications possible. The P89V51RD2 is also I
n-Application Programmable (IAP), allowing the Flash program memory to be reconf
igured even while the application is running
Fig 3.3.1 .1

Pin Diagram of P89V51RD2

3.3.1.1 Description:
* The P89v51RD2 is an 80c51 microcontroller with 64KB flash and 1024 byte of dat
a RAM.
* A key feature of the P89V51RD2 is its X2 mode option. The design engineer can
choose to run the application with the conventional 80C51 clock rate (12 clocks
per machine cycle) or select the X2 mode (6 clocks per machine cycle) to achieve
twice the throughput at the same clock frequency. Another way to benefit from t
his feature is to keep the same performance by reducing the clock frequency by h
alf, thus dramatically reducing the EMI.

* The Flash program memory supports both parallel programming and in serial In-S
ystem Programming (ISP). Parallel programming mode offers gang-programming at hi
gh speed, reducing programming costs and time to market. ISP allows a device to
be reprogrammed in the end product under software control. The capability to fie
ld/update the application firmware makes a wide range of applications possible.
* The P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash pr
ogram memory to be reconfigured even while the application is running.
3.3.1.2 Feature of P89V51RD2:
* 80C51 Central Processing Unit
* 5 V Operating voltage from 0 to 40 MHz
* 64 kB of on-chip Flash program memory with ISP (In-System Programming) and
* IAP (In-Application Programming)
* Supports 12-clock (default) or 6-clock mode selection via software or ISP
* SPI (Serial Peripheral Interface) and enhanced UART
* PCA (Programmable Counter Array) with PWM and Capture/Compare functions
* Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
* Three 16-bit timers/counters
* Programmable Watchdog timer (WDT)
* Eight interrupt sources with four priority levels
* TTL- and CMOS-compatible logic level
3.3.2 Power Supply:
> Power supply is a reference to a source of electrical power.
> A device or system that supplies electrical or other types of energy to an out
put load or group of loads is called a power supply unit or PSU.
> The term is most commonly applied to electrical energy supplies, less often to
mechanical ones, and rarely to others. Here in our application we need a 5v DC
power supply for all electronics involved in the project.
> This requires step down transformer, rectifier, voltage regulator, and filter
circuit for generation of 5v DC power. Here a brief description of all the compo
nents are given as follows:

Fig3.3.2.1 Block diagram of power supply


> +5 DC Regulated Power supply Circuit
Fig 3.3.2.2 +5v DC Regulated Power supply Circuit
Working:
* When 230V 50 Hz AC supply given to the 0-12 step down transformer, it convert
the 230v into the 12V RMS value. Then this voltage apply to the bridge rectifier
circuit it convert the 12V ac supply into the 12V pulsating dc. It pass to word
s the 1000 microfarad capacitor it reduce the very voltage then it pass to the 7
805 Regulated IC.
* It give the output 5V peak to peak again it pass to the 100 microfarad capacit
or for reduce the varying voltage. To ensure the regulated IC is give a 5V or no
t it passes towards the LED. We put here LED is on to see the 5V is coming from
the regulated IC.
Fig. 3.3.2.3 working of 5 v power supply

REGULATOR IC (78XX):
> It is a three pin IC used as a voltage regulator. It converts unregulated DC c
urrent into regulated DC current

Fig 3.3.2.4 REGULATOR IC (78XX)


> Normally we get fixed output by connecting the voltage regulator at the output
of the filtered DC (see in above diagram).
> It can also be used in circuits to get a low DC voltage from a high DC voltage
(for example we use 7805 to get 5V from 12v).
> There are two types of voltage regulators
1) fixed voltage regulators (78xx, 79xx)
2) Variable voltage regulators (LM317)

3.3.3 16 x 2 LCD Display:


Fig 3.3.3.1 16 x 2 LCD Display
> Liquid Crystal Display (LCD) is very commonly used electronic display module a
nd having a wide range of applications such as calculators, laptops, mobile phon
es etc. 162 character LCD display is very basic module.
3.3.3.2 Pin Description of LCD:
Fig 3.3.2.2 Pin Description of LCD
3.3.3 Basic Command of LCD:
Fig 3.3.3.3 Basic Command of LCD
3.3.3.4 LCD interfacing:

Fig 3.3.3.4 LCD Interfacing


> Displaying their status on a small display module.
> LCD(Liquid Crystal Display) screen is such a display module and a 16x2 LCD modu
le is very commonly used.
> These modules are replacingseven segmentsand other multi segment LEDs for these
purposes.
> The reasons being: LCDs are economical, easily programmable, have no limitatio
n of displaying special & evencustom characters(unlike in seven segments),animation
sand so on.
> LCD can be easily interfaced with a microcontroller to display a message or st

atus of a device. This topic explains the basics of a 16x2 LCD and how it can be
interfaced with8051to display a character.
3.3.4 GSM900 Modem:
Fig 3.3.4.1 GSM900 Modem
> The main principle of this circuit is to interface a GSM modem with the microc
ontroller. The microcontroller used microcontroller. To communicate with GSM mod
em, AT commands are required. Microcontroller sends these commands to the GSM mo
dem, which is then activated to perform the required operation.
> The number of SMS messages that can be processed by a GSM modem per minute is
very low only about six to ten SMS messages per minute.GSM/GPRS RS232 Modem from
rhydo LABZ is built with SIMCOM Make SIM900 Quad-band GSM/GPRS engine, works on
frequencies 850 MHz, 900 MHz, 1800 MHz and 1900 MHz.
> It is very compact in size and easy to use as plug in GSM Modem. The Modem is
designed with RS232 Level converter circuitry, which allows you to directly int
erface PC Serial port .
3.3.4.1 GSM900 Pin Diagram :

Fig 3.3.4.2 GSM900 Pin Diagram


> The baud rate can be configurable from 9600-115200 through AT command. Initial
ly Modem is in Autobaud mode. This GSM/GPRS RS232 Modem is having internal TCP/I
P stack to enable you to connect with internet via GPRS.
> It is suitable for SMS as well as DATA transfer application in M2M interface.
The modem needed only 3 wires (Tx,Rx,GND) except Power supply to interface with
microcontroller/Host PC.
> The built in Low Dropout Linear voltage regulator allows you to connect wide r
ange of unregulated power supply (4.2V -13V). Yes, 5 V is in between !! .Using t
his modem, you will be able to send & Read SMS, connect to internet via GPRS thr
ough simple AT commands.
3.3.4.2 GSM Interfacing:
Fig 3.3.4.3 GSM900 Interfacing
3.3.4.3 GSM900 Features:
* Tri-band(900/1800/1900) GPRS Class 10
* 40x33x2.85mm
60-pin ENTERY board to board connector
* Sleep mode(about 2.5mA)
* Embeded TCP/IP with transparent mode
* Autobauding
* Over-temperature automatic shutdown
* SIM card detection function
* All software version based on V10.0
* The Vext level of SIM300 is the 3.0V/60mA.
* The Vext level of SIM100S is the 2.8V/10mA.
* The customer may use Vext to dirve the other IC, for example LCD and serial po
rt IC.
3.3.4.4 GSM900 AT Commands:
* AT+CSMS
Select message service.
* AT+CMGF Message format.
* AT+CMGL List messages.
* AT+CMGR Read message.

*
*
*
*
*
*

AT+CMGS
Send message.
AT+CMGD Delete message.
ATA Answer a call.
ATD Dial a number.
ATDL Dial the last outgoing number.
ATH
Hang up the call.

3.3.5 Key pad:


> This 16-button keypad provides a useful human interface component for microcon
troller projects. Convenient adhesive backing provides a simple way to mount the
keypad in a variety of applications.

3.3.5.1 Features
* Ultra-thin design
* Adhesive backing
* Excellent price/performance ratio
* Easy interface to any microcontroller
* Example programs provided for the BASIC Stamp 2 and Propeller P8X32A microcont
rollers

3.3.5.2 Key Specifications


* Maximum Rating: 24 VDC, 30 mA
* Interface: 8-pin access to 4x4 matrix
* Operating temperature: 32 to 122 F (0 to 50C)
* Dimensions:
Keypad, 2.7 x 3.0 in (6.9 x 7.6 cm) Cable: 0.78 x 3.5 in (2.0 x 8.8 cm)

3.3.5.3 Application Ideas


* Security systems
* Menu selection
* Data entry for embedded systems

Fig 3.3.5.1 4*4 key pad

Fig 3.3.5.2 Ticket Machine & Ticket hard copy


> Initially all switches are assumed to be released. So there is no connection b
etween the rows and columns.When any one of the switches are pressed, the corresp
onding rows and columns are connected (short circuited). This will drive that co
lumn pin (initially high) low. Using this logic, the button press can be detecte
d. The colors red and black is for logic high and low respectively. Here are the
steps involved in determining the key that was pressed.
> Step 1:
* The first step involved in interfacing the matrix keypad is to write all logic
0 s to the rows and all logic 1 s to the columns. In the image, black line symboliz
es logic 0 and red line symbolizes logic 1.
* For now let us assume that, the circled key is pressed and see how the key pre
ss can be detected by a software routine.

Step 2:
* Now the software has to scan the pins connected to columns of the keypad. If i
t detects a logic 0 in any one of the columns, then a key press was made in that
column. This is because the event of the switch press shorts the C2 line with R
2. Hence C2 is driven low
Step 3:
* Once the column corresponding to the key pressedis located, the next thing that
the software has to do is to start writing logic 1 s to the rows sequentially (on
e after the other) and check if C2 become high. The logic is that if a button in
that row was pressed, then the value written to that row will be reflected in d
etermined column (C2) as they are short circuited.Note: color of the lines indica
te the logic values they return.

Step 4:
* The procedure is followed till C2 goes high with logic high is written to a ro
w. In this case, a logic high to the second row will be reflected in the second
column.
* We already know the key press happened at column 2. Now we have detected that
the key is in row 2. So, the position of the key in the matrix is (2,2)Once this
is detected, its up to us to name it or provide it with a task in the event of
the key press.
3.3.5.4 Key Pad Interfacing:

Fig 3.3.5.3 Key Pad Interfacing


3.3.6 MAX 232:
Fig 3.3.6.1 MAX 232 Pin Diagram & IC
> The MAX232 IC is used to convert the TTL/CMOS logic levels to RS232 logic leve
ls during serial communication of microcontrollers with PC. The controller opera
tes at TTL logic level (0-5V) whereas the serial communication in PC works on RS
232 standards (-25 V to + 25V). This makes it difficult to establish a direct li
nk between them to communicate with each other.
> The intermediate link is provided through MAX232. It is a dual driver/receiver
that includes a capacitive voltage generator to supply RS232 voltage levels fro
m a single 5V supply. Each receiver converts RS232 inputs to 5V TTL/CMOS levels.
These receivers (R1& R2) can accept 30V inputs. The drivers (T1& T2), also calle
d transmitters, convert the TTL/CMOS input level into RS232 level.
> The transmitters take input from controller s serial transmission pin and send t
he output to RS232 s receiver. The receivers, on the other hand, take input from t
ransmission pin of RS232 serial port and give serial output to microcontroller s r
eceiver pin. MAX232 needs four external capacitors whose value ranges from 1F to
22F.
3.3.6.1 MAX232 Pin Description:
1Pin
Name
Function
765432Capacitor
OCutput
apacitor
No pin;4213connection
-+
outputs
the
pinsserially transmitted data at RS232 logic level; connecte
dInput
8T2
toOutreceiver
pin; receives
pin ofserially
PC serialtransmitted
port
data at RS 232 logic level; connected t
oOutput
9R2
transmitter
In pin; outputs
pin ofthe
PC serially
serial port
transmitted data at TTL logic level; connected
to
R2
10
Input
receiver
Out
pins; receive
pin of controller.
the serial data at TTL logic level; connected to serial tran
smitter
T2
11
12
T1 In pin;
Output
pin outputs
of controller.
the serially transmitted data at TTL logic level; connected
to
R1
13
Input
receiver
Out
pin; receives
pin of controller.
serially transmitted data at RS 232 logic level; connected t
oOutput
R1
14
transmitter
In pin; outputs
pin ofthe
PC serially
serial port
transmitted data at RS232 logic level; connecte
Fig
Vcc
dSupply
T1
15
16
Ground
toOut
3.3.6.2
receiver
(0V) MAX232
voltage;
pin5Vof
Pin
(4.5V
PCDescription
serial
5.5V)port
3.3.7 Capacitor:
> Capacitor is a passive component used to store charge. The charge (q) stored i
n a capacitor is the product of its capacitance (C) value and the voltage (V) ap
plied to it. Capacitors offer infinite reactance to zero frequency so they are u
sed for blocking DC components or bypassing the AC signals.
> The capacitor undergoes through a recursive cycle of charging and discharging
in AC circuits where the voltage and current across it depends on the RC time c
onstant. For this reason, capacitors are used for smoothing power supply variati
ons
> . Other uses include, coupling the various stages of audio system, tuning in r
adio circuits etc. These are used to store energy like in a camera flash.Capacit
ors may be non-polarized/polarized and fixed/variable.
> Electrolytic capacitors are polarized while ceramic and paper capacitors are
examples of non polarized capacitors. Since capacitors store charge, they must b
e carefully discharged before troubleshooting the circuits.
> The maximum voltage rating of the capacitors used must always be greater than
the supply voltage.
3.3.7.1 Types of capacitor
> Ceramic capacitor:
Fig 3.3.7.1 Ceramic Capacitor
> The ceramic capacitor is a type of capacitor that is used in many applications
from audio to RF. Values range from a few Pico farads to around 0.1 microfarads
.

> Ceramic capacitor types are by far the most commonly used type of capacitor be
ing cheap and reliable and their loss factor is particularly low although this i
s dependent on the exact dielectric in use.
> Class 1: Class 1 ceramic capacitors are the most stable forms of ceramic capac
itor with respect to temperature.
> Class 2: Class 2 capacitors offer better performance, but this is at the cost
of lower accuracy and stability.
> Electrolytic Capacitor:
Fig 3.3.7.2 Electrolytic Capacitor
> Today electrolytic capacitors or as they are more correctly termed, aluminium
electrolytic capacitors are used in huge quantities.
> They are very cost effective and able to provide a larger capacitance per volu
me than other types of capacitor.
> This gives them very many uses in circuits where high currents or low frequenc
ies are involved. Aluminium electrolytic capacitors are typically used most in a
pplications such as audio amplifiers of all types (hi-fi to mobile phones) and i
n power supply circuits
> An electrolytic capacitor is a type of capacitor that uses an electrolyte to a
chieve a larger capacitance than other capacitor types. An electrolyte is a liqu
id or gel containing a high concentration of ions.
> Almost all electrolytic capacitors are polarized, which means that the voltag
e on the positive terminal must always be greater than the voltage on the negati
ve terminal.
> The benefit of large capacitance in electrolytic capacitors comes with severa
l drawbacks as well. Among these drawbacks are large leakage currents, value tol
erances, equivalent series resistance and a limited lifetime.

3.3.7.2 Color code for capacitor:


Band
Digit
Colour
ADigit
BMultiplier
DTolerance
Tolerance
(T)>10pf
Temperature Coefficient
(T)<10pf
0FxSGW-Big
Black
21(TC)
Red
3-3310-6
Orange
4-7510-6
5Yellow
6Green
Blue
7-33010-6
8Violet
Grey
9+80%,-20%
110%
rown
10
100
1,000
15010-6
10,000
22010-6
100,000
1,000,000
47010-6
75010-6
hite
old
0.1
ilver
0.01
2.0pF
1%
0.1pF
2%
0.25pF
3%
4%
0.5pF
1.0pF
5%
20%3.3.7.3 Color Code for Capacitor

3.3.8 Resistor:
> Resistor is a passive component used to control current in a circuit. Its resi
stance is given by the ratio of voltage applied across its terminals to the curr
ent passing through it. Thus a particular value of resistor, for fixed voltage,
limits the current through it. They are omnipresent in electronic circuits.
> The different value of resistances are used to limit the currents or get the d
esired voltage drop according to the current-voltage rating of the device to be
connected in the circuit.
> Resistors can be either fixed or variable. The low power resistors are compara
tively smaller in size than high power resistors. The resistance of a resistor c
an be estimated by their colour codes or can be measured by a multimeter
> . There are some nonlinear resistors also whose resistance changes with temper
ature or light. Negative temperature coefficient (NTC), positive temperature coe
fficient (PTC) and light dependent resistor (LDR) are some such resistors. These
special resistors are commonly used as sensors.
3.3.8.1 Types of Resistors:

> Carbon Resistors:


> Carbon Resistors are the most common type of Composition Resistors. Carbon res
istors are a cheap general purpose resistor used in electrical and electronic ci
rcuits. Their resistive element is manufactured from a mixture of finely ground
carbon dust or graphite (similar to pencil lead) and a non-conducting ceramic (c
lay) powder to bind it all together.
> Film Type Resistors:
> The generic term Film Resistor consist of Metal Film, Carbon Film and Metal Oxid
e Film resistor types, which are generally made by depositing pure metals, such
as nickel, or an oxide film, such as tin-oxide, onto an insulating ceramic rod .
3.3.8.2 Color code for Resistor
TC
TOLERANCE
MULTIPLIER
DIGIT
COLOR
10%
2105%
Red
100*10-6/K
31%
Orange
50*10-6/K
42%
5Yellow
Green
760.5%
Violet
10*10-6/K
80.25%
Grey
5*10-6/K
90.1%
Fig
Silver
Gold
Black
Brown
15*10-6/K
25*10-6/K
Blue
xWhite
1*10-6/K
0.01
0.1
10
1100
3.3.8.1
?M?
k?
M?
G?
?M?
k?
?? color code for resistor
k?
3.4 Software Description:
3.4.1 Introduction to proteus 7.6 simulator:
* The Proteus Design Suite is wholly unique in offering the ability to co-simula
te both high and low-level micro-controller code in the context of a mixed-mode
SPICE circuit simulation.
* With this Virtual System Modeling facility, you can transform your product de
sign cycle, reaping huge rewards in terms of reduced time to market and lower co
sts of development.
* If one person designs both the hardware and the software then that person ben
efits as the hardware design may be changed just as easily as the software desig
n. In larger organizations where the two roles are separated ,
* The software designers can begin work as soon as the schematic is completed;
there is no need for them to wait until a physical prototype exists. In short, P
roteus VSM improves efficiency, quality and flexibility throughout the design pr
ocess.
* Proteus Virtual System Modeling (VSM) combines mixed mode SPICE circuit simula
tion, animated components and microprocessor models to facilitate co-simulation
of complete microcontroller based designs.
* For the first time ever, it is possible to develop and test such designs befo
re a physical prototype is constructed. This is possible because you can interac
t with the design using on screen indicators such as LED and LCD displays and ac
tuators such as switches and buttons.
3.4.2 Introduction to Keil software:
* Keil Micro Vision is an integrated development environment used to create soft
ware to be run on embedded systems (like a microcontroller). It allows for such
software to be written either in assembly or C programming languages and for tha
t software to be simulated on a computer before being loaded onto the microcontr
oller.
3.4.2.1 What is Vision3?
* Vision3 is an IDE (Integrated Development Environment) that helps write, compil
e, and debug embedded programs. It encapsulates the following components:
o A project manager.
o A make facility.
o Tool configuration.
o Editor.
o A powerful debugger.
3.4.2.2 Step Followed in creating an application in Vision3:
To create a new project in uVision3:
1. Select Project - New Project.
2. Select a directory and enter the name of the project file.
3. Select Project Select Device and select a device from Device Database.
4. Create source files to add to the project
5. Select Project - Targets, Groups, and Files. Add/Files, select Source Group1,
and add the source files to the project.
6. Select Project - Options and set the tool options. Note that when the target

device is selected from the Device Database all-special options are set automatic
ally. Default memory model settings are optimal for most applications.
7. Select Project - Rebuild all target files or Build target
* To create a new project, simply start Micro Vision and select Project => New Projec
t from the pull down menus. In the file dialog that appears, choose a name and base
directory for the project. It is recommended that a new directory be created fo
r each project, as several files will be generated.
* Once the project has been named, the dialog shown in the figure below will app
ear, prompting the user to select a target device. In this lab, the chip being u
sed is the AT89S52, which is listed under the heading Atmel .
Fig. 3.4.2.1 Window for choosing the target device
* Next, Micro Vision must be instructed to generate HEX file upon program compil
ation. A HEX file is a standard file format for storing executable code that is
to be loaded onto the microcontroller.
* In the Project Workspace pane at the left, right click on Target 1 and select Options
for Target 1
.Under the Output tab of the resulting options dialog, ensure that both
the Create Executable and Create HEX File options are checked. Then click OK as shown
in the two figures below

* Next, a file must be added to the project that will contain the project code.
To do this, expand the Target 1 heading, right click on the Source Group 1 folder, and
select Add files Create a new blank file (the file name should end in .asm ), select
it, and click Add.
* The new file should now appear in the Project Workspace pane under the Source Gro
up 1 folder. Double-click on the newly created file to open it in the editor. All
code for this lab will go in this file. To compile the program, first save all
source files by clicking on the Save All button, and then click on the Rebuild All
Target Files to compile the program as shown in the figure below. If any errors o
r warnings occur during compilation, they will be displayed in the output window
at the bottom of the screen.
* Note that only errors indicate that the compilation failed, warnings do not (t
hough it is generally a good idea to look into them anyway).

* When the program has been successfully compiled, it can be simulated using the
integrated debugger in Keil Micro Vision. To start the debugger, select Debug => Sta
rt/Stop Debug Session from the pull down menus.
* At the left side of the debugger window, a table is displayed containing sever
al key parameters about the simulated microcontroller, most notably the elapsed
time (circled in the figure below).
* Just above that, there are several buttons that control code execution. The Ru
n button will cause the program to run continuously until a breakpoint is reached
, whereas the Step Into button will execute the next line of code and then pause (
the current position in the program is indicated by a yellow arrow to the left o
f the code.
Fig. 3.4.2.2 Vision3 Debugger window
* Breakpoints can be set by double clicking on the grey bar on the left edge of th
e window containing the program code. A breakpoint is indicated by a red box nex
t to the line of code.

Fig. 3.4.2.3

Reset ,

Run

and

Step into

options

* The current state of the pins on each I/O port on the simulated microcontrolle
r can also be displayed. To view the state of a port, select Peripherals => I/O Ports =
> Port n from the pull down menus, where n is the port number. A checked box in the p
ort window indicates a high (1) pin, and an empty box indicates a low (0) pin. B
oth the I/O port data and the data at the left side of the screen are updated wh
enever the program is paused.
* The debugger will help eliminate many programming errors, however the simulati
on is not perfect and code that executes properly in simulation may not always w
ork on the actual microcontroller.
* The current state of the pins on each I/O port on the simulated microcontrolle
r can also be displayed. To view the state of a port, select Peripherals => I/O Ports =
> Port n from the pull down menus, where n is the port number. A checked box in the p
ort window indicates a high (1) pin, and an empty box indicates a low (0) pin. B
oth the I/O port data and the data at the left side of the screen are updated wh
enever the program is paused.
* The debugger will help eliminate many programming errors, however the simulati
on is not perfect and code that executes properly in simulation may not always w
ork on the actual microcontroller.
3.4.2.3 Device Database:
* A unique feature of the Keil Vision3 IDE is the Device Database, which contains
information about more than 400 supported microcontrollers. When you create a n
ew Vision3 project and select the target chip from the database, Vision3 sets all
assembler, compiler, linker, and debugger options for you. The only option you m
ust configure is the memory map.
3.5 Programmer:
* The programmer used is a powerful programmer for the Atmel 89 series of microc
ontrollers that includes 89C51/52/55, 89S51/52/55 and many more.
* It is simple to use & low cost, yet powerful flash microcontroller programmer
for the Atmel 89 series. It will Program, Read and Verify Code Data, Write Lock
Bits, Erase and Blank Check. All fuse and lock bits are programmable. This progr
ammer has intelligent onboard firmware and connects to the serial port. It can b
e used with any type of computer and requires no special hardware. All that is n
eeded is a serial communication port which all computers have.
* All devices also have a number of lock bits to provide various levels of softw
are and programming protection. These lock bits are fully programmable using thi
s programmer. Lock bits are useful to protect the program to be read back from m
icrocontroller only allowing erase to reprogram the microcontroller.
* Major parts of this programmer are Serial Port, Power Supply and Firmware micr
ocontroller. Serial data is sent and received from 9 pin connector and converted
to/from TTL logic/RS232 signal levels by MAX232 chip. A Male to Female serial p
ort cable, connects to the 9 pin connector of hardware and another side connects
to back of computer.
* All the programming intelligence is built into the programmer so you do not need
any special hardware to run it. Programmer comes with window based software for
easy programming of the devices.
3.5.1 ProLoad Programming software:

ProLoad is a software working as a user friendly interface for programmer boards


from Sunroom Technologies. Preload gets its name from Program Loader term, becaus
e that is what it is supposed to do. It takes in compiled HEX file and loads it
to the hardware. Any compiler can be used with it, Assembly or C, as all of them
generate compiled HEX files. ProLoad accepts the Intel HEX format file generate
d from compiler to be sent to target microcontroller. It auto detects the hardwa
re connected to the serial port. It also auto detects the chip inserted and byte
s used. The software is developed in Delphi and requires no overhead of any exte
rnal DLL.
* The programmer connects to the computer s serial port (Comm 1, 2, 3 or 4) with
a standard DB9 Male to DB9 Female cable. Baud Rate - 57600, COMx Automatically s
elected by window software. No PC Card Required.
* After making the necessary selections, the Auto Program button is clicked as s
hown in the figure below which burns the selected hex file onto the microcontrol
ler.

Fig. 3.5.1.1 Programming software

3.6 Program(Code):
#include <REG51F.H>
#include<string.h>
ontroller
//#include<lcd.h>

// string Header File allready Include in ATMEL Microc

#define LCDDATA P0
// P1 = LCD DATA PIN D0-D7
#define LCSIGNAL P2
// RS, RW, EN = connect P3
unsigned char keypad[16] = {'1','2','3',' ',
U PRINT SET
//actaul code // 0 1 2 3
'4','5','6',' ',
// 4 5 6 7
'7','8','9','B',
// 8 9 10 11
'C','0','E','F'};
// 12 13 14 15
void keydetect(void);
// Main Keypad Scan Function
sbit
sbit
sbit
sbit

c0
c1
c2
c3

=
=
=
=

P1^0;
P1^1;
P1^2;
P1^3;

// column define

sbit
sbit
sbit
sbit

r0
r1
r2
r3

=
=
=
=

P1^4;
P1^5;
P1^6;
P1^7;

// row define

void
void
void
void

row0();
row1();
row2();
row3();

//
//
//
//

Row
Row
Row
Row

0
1
2
3

Scan
Scan
Scan
Scan

//
//
//
//

Key
Key
Key
Key

detect
detect
detect
detect

0,1,2,3
4,5,6,7
8,9,A,B
C,D,E,F

// WHAT

//4*4

char kstore,keyflag=0;
xdata unsigned char inc[6] [16] = {
"SIDH",
"UNJH",
"MEHS",
"KALO",
"AHMD"
};
xdata unsigned char dec[6] [16] = {
"KALO",
"MEHS",
"UNJH",
"SIDH",
"PALN"
};
sbit RS = P2^7; //P3^2
sbit RW = P2^6; //P3^3;
sbit EN = P2^5; //P3^4;
unsigned char flag1=1,j;

"PALN",

"AHMD",

void DelayMs(unsigned int x) ;


void writelcdcw(unsigned char dat);
void writelcddata(unsigned char addr, unsigned char dat);
void writelcdstring(char *dat,char add);
void detectdisplay(char);
// RF Remote key pressed then call this Fn
unsigned int val,cmpdata,s1=0,lastdata=0xFF;
char storespeech[15];
void Callfunction(void);
void misscl(void);
int mclcount=0;
xdata unsigned int rflag=0,pflag=0,hflag=0,savcount=1;
Void main(void)
{
writelcdstring("*Hiren - Jatin*",0x80);
Delay40mSec();
writelcdstring("*Deep - Harmit* ",0xC0);
Delay1Sec();
writelcdstring("E&C Department ",0x80);
Delay40mSec();
writelcdstring("L.C.I.T-Bhandu**",0xC0);
Delay40mSec();Delay40mSec();Delay40mSec();Delay40mSec();Delay40mSec();
writelcdstring("PLANPUR - AHMBAD",0x80);
if(Check== 1)
{
Sound(1);
writelcdstring("*SIM Detect OK*",0xC0);
Check =0;
}
else
{
writelcdstring("*SIM Not Detect*",0xC0);
}
ClearArray(); // my
Delay30mSec();
While(1)
{
Keydetect();
}
void writelcdstring(char dat[],char add)

{
unsigned char len = strlen(dat);
int i = 0;
// writelcdcw(0x01);
//clear screen
for(i = 0x0; i < len; i++)
{
if(i > 0x0f )
{
writelcddata(((i + 0x40) + 0x80, dat[i]);
continue;
}
else
{
writelcddata(add, dat[i]);
continue;
}
}
DelayMs(100);
}
void keydetect(void)
{
unsigned int i;
unsigned char Ch,*Ptr;
while(1)
{
P1 = 0xFF;
for(i=0;i<2;i++)
{

// make input port for keypad


// 2 Times Scan Keypad

row0();
row1();
row2();
row3();
msdelay(20);

// Keyboard Debouncing Times ( decide key

sensing speed)
if(kstore == 3) // 3 = '3'
// < = F1 (on keypad) = < l
eft move station name
{
kstore = 0;
keyflag=0;
one=1;
one1=1;
//--------------------------- display station name
lcdcmd(0xC0);
for(j=0;j<=3;j++)
// point to inc[][] ar
ray and rotate 4 times
{
lcddata1(inc[ii][j]); }
ii++;
//-- increment station
if(ii==6)
ii=0;
//---------------------------------------------------//---------------------------this for display price rate of bus
using function displayrate()
if(one1)
{
one1=0;
ii1++;
//-- change price according station
if(ii1==6)
ii1=0;

}
if( one == 1 & two == 1)
{
displayrate();
}
//-----------------------------------------------------break;
}
if(kstore == 7) // 7 = '7'
// > = F2 (on keypad)
= > right move station name
{
kstore = 0;
keyflag=0;
two=1;
two1=1;
//--------------------------- display station name
lcdcmd(0xC5);
//---------------------------------------------------//---------------------------this for display price rate of bus
using function displayrate()
if(two1)
{
two1=0;
di1++;
//-- change price according sta
tion
if(di1==6)
di1=0;
}
}
//---------------------------------------------------break;
}
if(kstore == 11) // 11 = 'B'
// back space code
{
kstore = 0;
keyflag=0;
lcdcmd(0x10);
// cursor move right side
lcddata1(' ');
lcdcmd(0x10);
p--;
count1--;
tempdata[p]=' ';
break;
}
if(kstore == 12) // 12 = 'C'
// ESC = EXIT FROM KEYP
AD AND CLEAR ALL
{
kstore = 0;
keyflag=0;
writelcdcw(0x01);
writelcdstring("Palnpur to AHMBD",0x80);
writelcdstring("all data clear ",0xC0);
count1=0;
tempseat=0;
totalseatcount=0;
ii=0;di=0;ii1=5;di1=5;
one=0;two=0;one1=0;two1=0;
//new

writelcdstring("
writelcdstring("Ticket =
break;

",0xC0);
",0x80);

}
if(kstore == 14) // 14 = 'E'
// TAB Key = SEND Dat
a using GSM modem
{
kstore = 0;
keyflag=0;
writelcdstring("Total seat:
",0x80);
writelcdstring("Data TX Tot Seat",0xC0);
lcdcmd(0x8D);
fullseat = tempseat;
vcntseat = 54 - fullseat;
if(fullseat>54)
{
vcntseat=0;
}
lcddata1((fullseat/10)+48);
lcddata1((fullseat%10)+48);
msdelay(100);
//SendMessage1("PALNPUR AHMEDABAD:Total seat:");
//------------------------------------------------------------------//Send Messege Function //because we need every time diff. seat dat
a transmit
SerialSendStr("AT+CMGS=");
//Comman
d for Sending Sms
Delay40mSec();
SerialSendChar('"');Delay40mSec();
SerialSendChar('9');Delay40mSec(); Seria
lSendChar('7'); Delay40mSec();SerialSendChar('2'); Delay40mSec();SerialSendChar(
'7'); Delay40mSec(); SerialSendChar('8');Delay40mSec(); SerialSendChar('1');
Delay40mSec();SerialSendChar('6'); Delay
40mSec();SerialSendChar('4'); Delay40mSec();SerialSendChar('4'); Delay40mSec();S
erialSendChar('7');Delay40mSec();
//Enter Phone number from Mem
SerialSendChar('"');Delay40mSec();
while((TimeCount < 45)&&(Ch!='>'))//Wait for Mod
em
{
//Ready to Send
if(RI)
Ch = SerialRecvChar();
}
//For sending Message
RecvGsmData(250);
Ptr = strstr(String,"OK");

//CMP Co

mmands
if(strncmp(Ptr,"OK",2))
{
writelcdstring("MESSAGE SENT
",0xC0);
Delay40mSec(); Delay40mSec();Del
ay40mSec(); Delay40mSec();
writelcdstring("
",0xC0);

writelcdstring("Ticket =
",0x80);
misscl();
return;
}
}
writelcdstring("MESSAGE NOT SEND",0xC0);
writelcdstring("Ticket =
",0x80);
Delay40mSec(); Delay40mSec();Delay40mSec();Delay
40mSec();
//------------------------------------------------------------------break;
}
if(kstore == 15) // 15 = 'F'
// Enter Key
{
kstore = 0;
keyflag=0;
writelcdstring("Ticket =
",0x80);
lcdcmd(0xCA);
lcddata1('T');lcddata1('O');lcddata1('L');lcddata1('=')
;
//seatcount = tempdata[0]*10 + tempdata[1];
seatcount = atoi(tempdata);
//
char tem
pdata[] , int seatcount-tempseat , atoi = merge data
totalseatcount = totalseatcount + seatcount;
}
void displayrate(void)
// Display different Price Rate
according to Fix station
{
lcdcmd(0x8C);
if( ii1==0 & di1==0 )
// ii = 0 = Palanpur , // 0=PAL - 0=AH
M
{ lcddata1('*');lcddata1('1');lcddata1('6');lcddata1('0');}
if( ii1==0 & di1==1 )
// PAL - 1=KALOL
{ lcddata1('*');lcddata1('1');lcddata1('3');lcddata1('0');}
if( ii1==0 & di1==2 )
// PAL - 2=MEH
{ lcddata1('*');lcddata1('0');lcddata1('9');lcddata1('0');}
if( ii1==0 & di1==3 )
// PAL - 3=UNJ
{ lcddata1('*');lcddata1('0');lcddata1('6');lcddata1('0');}
if( ii1==0 & di1==4 )
// PAL - 4=SIDH
{ lcddata1('*');lcddata1('0');lcddata1('4');lcddata1('0');}
if( ii1==0 & di1==5 )
// PAL - 5=PAL
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==1 & di1==0 )
// ii= 1
= SIDH // SID = AHM
{ lcddata1('*');lcddata1('1');lcddata1('2');lcddata1('0');}
if( ii1==1 & di1==1 )
// SID = KALOL
{ lcddata1('*');lcddata1('0');lcddata1('9');lcddata1('0');}
if( ii1==1 & di1==2 )
// SID = MEH
{ lcddata1('*');lcddata1('0');lcddata1('5');lcddata1('0');}
if( ii1==1 & di1==3 )
// SID = UNJ
{ lcddata1('*');lcddata1('0');lcddata1('2');lcddata1('0');}
if( ii1==1 & di1==4 )
// SID = SIDH
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==1 & di1==5 )
// SID = PAL
{ lcddata1('*');lcddata1('0');lcddata1('4');lcddata1('0');}
if( ii1==2 & di1==0 )

// ii= 2

= UNJ

// UNJ = AHM

{ lcddata1('*');lcddata1('1');lcddata1('0');lcddata1('0');}
if( ii1==2 & di1==1 )
// UNJ = KALOL
{ lcddata1('*');lcddata1('0');lcddata1('7');lcddata1('0');}
if( ii1==2 & di1==2 )
// UNJ = MEH
{ lcddata1('*');lcddata1('0');lcddata1('3');lcddata1('0');}
if( ii1==2 & di1==3 )
// UNJ = UNJ
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==2 & di1==4 )
// UNJ = SIDH
{ lcddata1('*');lcddata1('0');lcddata1('2');lcddata1('0');}
if( ii1==2 & di1==5 )
// UNJ = PAL
{ lcddata1('*');lcddata1('0');lcddata1('6');lcddata1('0');}
if( ii1==3 & di1==0 )
// ii= 3
= MEH
// MEH = AHM
{ lcddata1('*');lcddata1('0');lcddata1('7');lcddata1('0');}
if( ii1==3 & di1==1 )
// MEH = KALOL
{ lcddata1('*');lcddata1('0');lcddata1('4');lcddata1('0');}
if( ii1==3 & di1==2 )
// MEH = MEH
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==3 & di1==3 )
// MEH = UNJ
{ lcddata1('*');lcddata1('0');lcddata1('3');lcddata1('0');}
if( ii1==3 & di1==4 )
// MEH = SIDH
{ lcddata1('*');lcddata1('0');lcddata1('5');lcddata1('0');}
if( ii1==3 & di1==5 )
// MEH = PAL
{ lcddata1('*');lcddata1('0');lcddata1('9');lcddata1('0');}
if( ii1==4 & di1==0 )
// ii= 4
= KALOL // KALOL = AHM
{ lcddata1('*');lcddata1('0');lcddata1('3');lcddata1('0');}
if( ii1==4 & di1==1 )
// KALOL = KALOL
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==4 & di1==2 )
// KALOL = MEH
{ lcddata1('*');lcddata1('0');lcddata1('4');lcddata1('0');}
if( ii1==4 & di1==3 )
// KALOL = UNJ
{ lcddata1('*');lcddata1('0');lcddata1('7');lcddata1('0');}
if( ii1==4 & di1==4 )
// KALOL = SIDH
{ lcddata1('*');lcddata1('0');lcddata1('9');lcddata1('0');}
if( ii1==4 & di1==5 )
// KALOL = PAL
{ lcddata1('*');lcddata1('1');lcddata1('3');lcddata1('0');}
if( ii1==5 & di1==0 )
// ii= 5
= AHM
// AHM = AHM
{ lcddata1('*');lcddata1('0');lcddata1('0');lcddata1('0');}
if( ii1==5 & di1==1 )
// AHM = KALOL
{ lcddata1('*');lcddata1('0');lcddata1('3');lcddata1('0');}
if( ii1==5 & di1==2 )
// AHM = MEH
{ lcddata1('*');lcddata1('0');lcddata1('7');lcddata1('0');}
if( ii1==5 & di1==3 )
// AHM = UNJ
{ lcddata1('*');lcddata1('1');lcddata1('0');lcddata1('0');}
if( ii1==5 & di1==4 )
// AHM = SIDH
{ lcddata1('*');lcddata1('1');lcddata1('2');lcddata1('0');}
if( ii1==5 & di1==5 )
// AHM = PAL
{ lcddata1('*');lcddata1('1');lcddata1('6');lcddata1('0');}
}
void Callfunction(void)
{
unsigned char *Ptr;
ClearArray(); // my
Delay40mSec();
SerialSendStr("ATD+"); Delay40mSec();
SerialSendChar('9');Delay40mSec();SerialSendChar('1');Delay40mSec();
for(s1=0;s1<10;s1++)

{ SerialSendChar(storespeech[s1]+48); }
writelcdstring("Call in Progress",0xC0);
}
//******************************************************************//
//************* COMMAND WORD FOR LCD ******************************//
void writelcdcw(unsigned char dat)
{
unsigned char i,temp;
temp = dat;
LCDDATA = temp;
// Data Port D0-D7 // P0
for(i = 0; i < 0x02; i++);
RS=0;
RW=0;
EN=1;
EN=0;
DelayMs(100);

//EN=LOW

}
//*********************************************************************//
//*************** TO WRITE DATA INTO LCD ******************************//
void writelcddata(unsigned char addr, unsigned char dat)
{
unsigned char temp,i;
writelcdcw(addr);
temp = dat;
LCDDATA = temp;
// Data Port D0-D7 // P0
//BCKL=1;
RS=1;
RW=0;
EN=1;
for(i = 0; i < 0x02; i++);
EN=0;
//EN=LOW
//BCKL=1;
DelayMs(100);
}
void initialize(void)
{
LCDDATA = 0x00;
P0 = 0x00;
lcdcmd(0x01);
lcdcmd(0x38);
lcdcmd(0x0E);
lcdcmd(0x06);

// Make Output Port


// Make Output Port
// LCD Initialising // Clear LCD

lcdcmd(0x80);
// LCD 1st line
// -=-=- Intialise Serial Port -=-=-=
//Sets up MCU to use 9600 bps @ 11.059 MHz Crystal
SCON = 0x52; // 8-bit UART mode
TMOD = 0x20; // timer 1 mode 2 auto reload
TH1= 0xfd; // 9600 8-n-1
TR1 = 1; // run timer1
}
unsigned char GsmInit(void)
{

unsigned char *Ptr;


ClearArray();
Delay30mSec();
SerialSendStr("AT+IPR=9600");
RecvGsmData(25);

//Clr array of String


//Baud Rate Setting

ClearArray();
Delay30mSec();
Delay30mSec();

//Clr array of String

SerialSendStr("AT+CMGF=1");

//Select Message format = 1 = Te

xt mode
SerialEnter();
RecvGsmData(25);
ClearArray();
Delay30mSec();
Delay30mSec();

//Clr array of String

SerialSendStr("AT");
SerialEnter();

//Check SimCard

TimeCount =0 ;
SetBit(TR0);
while(1)

//Wait for Modem Ready t

o Send
{
if(RI)
{
Ptr = strstr(String,"OK");
//CMP Commands
if(strncmp(Ptr,"OK",2))
{
Delay1Sec();
break;
}
else
{
break;
}
}
}
ClearArray();
Delay30mSec();
Delay30mSec(); */
ClearArray();
SerialSendStr("AT+CPIN?");
SerialEnter();
Ptr = strstr(String,"READY");
if(strncmp(Ptr,"READY",5))
{
LcdLine1("
INSERT
LcdLine2("
SIM CARD
Delay1Sec();
DEVICE1 =0;

//Clr array of String


//Check SimCard
//CMP Commands

");
");

return(ERROR);
}
return(OK);
}
/*---------------------------------------------------*/
/*
Receving String Commands from Modem
*/
/*---------------------------------------------------*/
void RecvGsmData(unsigned char CharTme)
{
char Ch=0;
while(TimeCount < CharTme)
//Timeout Check
{
if(RI)
//Receiving of M
odem Datas
String[Ch++] = SerialRecvChar();
}
}
3.7 Flow Chart:
Fig 3.7 Flow Chart
3.8 Technical Poster:
Fig 3.8 Technical poster
3.9 Hardware photo:
Fig 3.9.1 Hardwa
re
Fig 3.9.2 Hardware

Fig 3.9.3 Hardware

Chapter 4

Summary of the Project

4.1 Summary of the Result:


> The implementation of GSM with vacant seat is useful as communication link for
the passengers to know about the upcoming bus and the availability of seat in t

hat particular bus to increase the quality of journey.


4.2 Advantages:
> Update of vacant seat.
> Balance of seat.
> Easily balance transportation.
> Every stand updates data on PC or LCD.
> Cost effective.
> Easy to install.
4.3 APPLICATIONS:> Bus transportation.
> Railway transportation.
4.4 Future Scope:
> Vehicle Tracking & Monitoring System (VTMS) project is planned to offer benefi
ts to provide on time information to the stakeholders that include amongst other
s - KSRTC operating staff, Control Centre Staff, Bus Stand Staff, Commuters. The
system is expected to provide quality real time information on arrival and depa
rture status, handling of incidents and accidents, increase safety of commuters
and staff, reduce operational costs, improve traffic efficiency etc.
> The proposed VTMS project implementation will include core components such as:
Vehicle Tracking System, Real Time Trip Information System, establishing a Cent
ral Control Station at Bangalore and Divisional Control stations at various loca
tions. In addition to the VTMS project, data from other existing or new systems
that will be developed and interfaced to the VTMS so as to provide complete pict
ure of operations, enhanced level of services the commuters and utilization of t
he existing infrastructure for running advertisement campaigns Core technologies
include Geographical Positioning System (GPS) at the core and supporting Inform
ation &Communication Technology infrastructure in terms of Hardware Software and
Monitoring equipment.KSRTC plans to source funds from the Ministry of Road Tran
sport & Highways, (MoRTH) GoI to implement VTMS project, in consistent with the
GoI objectives. The 50% capital cost of the project is expected to be borne by t
he Government of India.
> The overall scope of the implementation will consist of design, development, t
esting, installation, commissioning, training, handholding operations, and manag
ement of facilities for a period of three years by the winning bidder.
> This project is planned to cover 2000 Buses, 52 Information display units at i
dentified Bus stands and one control room. VTMS is divided into the following ma
in components:
> This project envisages the following closely inter-related systems:
> Vehicle Tracking & Monitoring system (VTMS) that incorporates at its core a G
lobal Positing system(GPS) as part of the vehicle mounted unit (VMU) to locate t
he actual coordinates of the vehicle while in transit, including incident and em
ergency management system and
> Passenger Information System (PIS) to provide the estimated time of arrival an
d departure and arrival of buses at various destination and intermediate points
calculated based on the vehicle position at any point in time, and
> Data centre and Operational Control room that will act as a hub to coordinate
and integrate Vehicle Locating and Passenger Information systems.
> Implementation of Crew Allocation system to the trips and schedule. Implement

ation of Advertisement system for display at bus stations

Fig 4.1 Bus Stand


Fig 4.2 VTMS

Fig 4.3 GPS based Automatic Vehicle Tracking & Monitoring


FUTURE ENHANCEMENT:
1
2
3
4
5
6
7

Jurisdiction wise Scheduled trips for the day.


Speed violation.
Driver duty performance daily/weekly/monthly.
Daily out shedding deviation report.
Driver wise improper stopping.
Details of Missed trips.
Reports by Area name (Trip history in area names) Area traveled by a vehicle on
any selected
date and time, sector wise.
8 Reports by Location (Trip history in Map Location) - Selected date and time. T
his givesstatus
of motion, location at that instance and speed of the vehicle.
9 Vehicle Traveled Path Report.
10 Actual Trip Report.
11 Extra Trip Report.
12 Consolidated GPS Analysis Report Operator wise.
13 Vehicle Trip revenue details.
14 Daily Consolidated GPS Analysis Report
Vehicle wise, Vehicle type wise.
15 Vehicle Distance Traveled.
16 Average Speed Report - Depot wise/ Operator wise/ Vehicle wise.
17 Speed Limit Violation Report- Depot wise & Depot / vehicle wise.
18 Periodic Consolidated GPS Analysis Report Depot wise, Division-wise, vehiclewise.
19 Consolidated GPS Analysis Report
Depot wise, Division-wise, all.
20 GPS Daily/Monthly Billing Report for Casual/Chartered contract vehicles (if i
ncluded in
future) Depot wise/Operator wise/vehicle wise.
21 Monthly Consolidated GPS Analysis Report- Depot wise.
22 Security purpose by installing camera in this system
23 Also we will arranged bus schedule when require more bus or less depend on th
is system.
24 in feture also we will convert the our system like in BRTS at ahmedabad.
25 IN future when we install GPS then bus have in accident then easy to get loca
tion and send
location to ambulance center fast service get.
REFRENCES
We also have searched some of the sites such as:
* www.electronicsforyou.com
* www.emtlindia.biz
* www.emtlindia.com
* www.electronicsproject.org
* www.circuiteasy.com
* www.electronicshub.org
* www.collegeproject.com

APPENDIX
PPR Reports
Periodic
Project
Public
Status
-What
I have
Which
Progress
challenge
:Transportation
:update
design
Progress
Reviewed
you
you
suits
thehave
Report
(Freeze)
have
layout
for
Management
made
faced?
: design
PCB
First
inlayout.
theService
PPR
asProject?
-perSingle
UsingorGSMdouble
circuit
change.sided PCB - number of la
yers
-What
PCBsupport
-software
PCB size
youwhich
-need?
howsuitable
to interface
for fast
different
and easy
circuits
layout.PCB- prefer
in single
SMDboard.
or PTH comp
onent
-Which
datasheet
design.of components
literature
you have -referred?
different electronics magazine which contain PCB lay
outs work
Document
Comment
Good
- different
by: Internal
No document
websites
Guide
uploaded
:

Some interfacing
Periodic
Project
Public
Status
Interfacing
What
Progress
challenge
:Transportation
:Submitted
Progress
ofyou
different
you
ishave
Report
(Freeze)
have
newManagement
made
faced?
for
: Second
component
in so
me
theService
PPR
how
Project?
as
perinterface
to
Using
requirement.
GSM them with my controller is ch
allenge
What
Basic
Which
Search
Document
support
interfacing
literature
infor
:internet
Nome.
you
document
need?
you
concept
andhave
refer
uploaded
of some
referred?
everyreference
component.books.

Hard to
Periodic
Project
Public
Status
programming
What
Progress
challenge
:Transportation
:Submitted
implement
Progress
ofyou
theyour
you
Report
have
(Freeze)
project
have
Management
made
actual
faced?
: Third
inconcept
theService
PPRProject?
in programming
Using GSM when you are not fa-miler w
ithlanguage
What
Basic
cWhich
Document
programming
support
concept
literature
: No
reference
you
inlanguage.
document
need?book
programming
you
have
uploaded
referred?
language.

Periodic
Project
Public
Status
Troubleshooting
It
What
If
issupport
error
Progress
challenge
difficult
:Transportation
:generate
Progress
Submitted
you
you
you
ofneed?
to
Report
have
in
(Freeze)
any
have
solve
any
Management
made
error
faced?
: Forth
the
part
inproblem
inofthe
project.
PPRProject?
Service
project
onceiUsing
the
needproject
GSM
to troubleshoot
gets completed.
from start to en

Which literature
d.
search
Document
in:internet
No document
you have
uploaded
referred?

Periodic
Project
Public
Status
What
Progress
:Transportation
:Submitted
has
Progress
been
youcompleted
Report
have
(Freeze)
Management
made
: 80%.
First
in the
WeService
PPRcan
Project?
made
Using
a hardware
GSM
of our project and we can
What
In
dothis
working
challenge
project
in you
software
we faced
have faced?
side
lotsand
of problem
project because
report. it s new innovation. Interfacing
between micro controller 8051 and other equipment (LCD, keypad, GSM). Also we ca
nDocument
What
We
Which
Micro-controller8051,
faced
need
support
literature
challenge
support
: Noyou
document
inneed?
you
insoftware
software
have
programing
uploaded
referred?
side
side.
our
C, GSM.
project because it s tough for us.

Periodic
Project
Public
Status
What
Progress
:Transportation
:Reviewed
has
Progress
been
youcompleted
Report
(Freeze)
have
Management
made
: 80%.
Second
in the
WeService
PPR
Project?
can
made
Using
a hardware
GSM
of our project and we can
What
In
dothis
working
challenge
project
in you
software
we faced
have faced?
side
lotsand
of problem
project because
report. it s new innovation. Interfacing
between micro controller 8051 and other equipment (LCD, keypad, GSM). Also we ca
nGood
What
We
Which
Micro-controller8051,
Document
Comment
faced
need
support
work
literature
challenge
support
by: Internal
Noyou
document
inneed?
you
insoftware
Guide
software
have
programing
uploaded
:referred?
side
side.
our
C, GSM.
project because it s tough for us.

We still
Periodic
Project
Public
Status
What
Progress
:Transportation
:working
Progress
Reviewed
youinhave
Report
(Freeze)
theManagement
made
software
: Third
in theside.
PPRProject?
Service
Also
Using
we search
GSM
the future innovation in t
his project and try to install in this project and make it best and reliable for
iWhat
the
facechallenge
people.
the challenge
I you
makehave
myinproject
faced? report
project
find the
completed.
new innovation in project also in we fa
ceneed
iWhat
Which
datasheet
Document
Comment
Good
some
support
work
literature
every
difficulty
by
:ofInternal
Nocomponent,
you
support
document
need?
you
inGuide
tosoftware
have
uploaded
make
micro-controller,
:referred?
myside.
project best.
programming of c.

We still
Periodic
Project
Public
Status
What
Progress
:Transportation
:working
Progress
Submitted
youinhave
Report
(Freeze)
theManagement
made
software
: Forth
in theside.
PPRProject?
Service
Also
Using
we search
GSM
the future innovation in t
his project and try to install in this project and make it best and reliable for
iWhat
the
facechallenge
people.
the challenge
i you
makehave
myinproject
faced? report
project
find the
completed.
new innovation
Our project
in project
is 100%also
completed.
in we fa
ceneed
iWhat
Which
datasheet
Document
some
support
literature
every
difficulty
:ofNocomponent,
you
support
document
need?
you
inhave
tosoftware
uploaded
make
micro-controller,
referred?
myside.
project best.
programming of c.

Periodic
Project
Public
Status
What
Progress
:Transportation
:Submitted
has
Progress
been
youcompleted
Report
have
(Freeze)
Management
made
: 70%.
First
in the
WeService
PPRcan
Project?
made
Using
a hardware
GSM
of our project and we can
What
In
dothis
working
challenge
project
in you
software
we faced
have faced?
side.
lots of problem because it s new innovation. Interfacing
between micro controller 8051 and other equipment (LCD, keypad, GSM). Also we ca
nDocument
What
We
Which
Micro-controller8051.
faced
need
support
literature
challenge
support
: Noyou
document
inneed?
you
insoftware
software
have
programing
uploaded
referred?
side
side.
our
C. project. Because it s tough for us.

We still
Periodic
Project
Public
Status
What
Progress
:Transportation
:working
Progress
Reviewed
youinhave
Report
(Freeze)
theManagement
made
software
: Third
in theside.
PPRProject?
Service
Also
Using
we search
GSM
the future innovation in t
his project and try to install in this project and make it best and reliable for
IWhat
the
facechallenge
people.
the challenge
you have
in project
faced? find the new innovation in project also in we fa
ceneed
IWhat
Which
datasheet
Document
Comment
Good
some
support
work
literature
every
difficulty
by
:ofInternal
Nocomponent,
you
support
document
need?
you
inGuide
tosoftware
have
uploaded
make
micro-controller,
:referred?
myside
project best.
programming of c.

Finally
Periodic
Project
Public
Status
What
Progress
:Transportation
:Submitted
complete
Progress
youprogramming
Report
have
(Freeze)
Management
made
: Forth
inandthealso
PPRProject?
Service
we can
UsingdoGSM
load this program in IC and we c
an need
What
We
Which
programming
Document
implement
can
challenge
support
literature
face
support
: Nocchallenge
indocument
you
you
real.
in
need?
you
have
programming
have
inuploaded
faced?
programming
referred?
side toside.
improvement for our project.

I haveProgress
Periodic
Project
Public
Status
What
:Transportation
done
:Submitted
Progress
- changes
you have
Report
(Freeze)
Management
component
made
: First
in the
value
PPRProject?
Service
andUsing
make companies
GSM
as per guidance - chang
esFor
*What
inchallenge
circuit Designing
Circuit
design
you have
as Protocols
per changeare
faced?
in newer
prototype
ideaofforproject
us so,I have few difficulti
es like - find particular value component - what is supply of voltage - which di
splay should be used ** For Simulation I have - which simuator will suite to my
project design - which one has ide as well simulation - is that simuator simulat
e need
IWhat
as support
like
to support
realyou need?
for - finding best component values that can get in market eas
ily - simulation software list for so i can chose my best one - which is best wa
y have
IWhich
to toliterature
follow
design-circuit
datasheet
you have of
referred?
components - electronic magazine that gives circuit
ideas and simulation - magazines related to component advertise , so can choose
Document
best
: No document uploaded

Forhave
Periodic
Project
Public
IStatus
What
Circuit
Progress
challenge
:Transportation
done
:Submitted
Progress
- changes
Designing
you
youhave
Report
(Freeze)
have
Management
component
Protocols
made
faced?
: Second
in the
value
are
Service
PPR
Project?
newer
andUsing
make for
idea
GSM us so,asI have
companies
per guidance
few difficultie
s like - find particular value component - what is supply of voltage - which dis
play
IWhat
needsupport
should
to support
beyouused
need?
for - finding best component values that can get in market eas
Which
Iily
haveliterature
follow - datasheet
you have of
referred?
components - electronic magazine that gives circuit
Document
ideas and: No
simulation
document uploaded

Periodic
Project
Public
Status
-What
Which
electronic
Document
replace
finding
change
Progress
challenge
support
literature
:Transportation
::in
Progress
Submitted
components
accurate
component
No
circuit
you
you
document
youyou
need?
Report
have
(Freeze)
have
components
asdealer
with
have
Management
made
per
uploaded
faced?
:referred?
high
Third
components
inisaccurate
websites
thenot
PPRProject?
Service
easy
change
components
Using GSM

I haveProgress
Periodic
Project
Public
Status
What
:Transportation
done
:Submitted
Progress
- changes
you have
Report
(Freeze)
Management
component
made
: Forth
in the
value
PPRProject?
Service
andUsing
make companies
GSM
as per guidance - chang
es inCircuit
What
For
challenge
circuitDesigning
design
you have
asProtocols
per change
faced?
areinnewer
prototype
idea for
of us
project
so, I have few difficultie
s like - find particular value component - what is supply of voltage - which dis

play should be used ** For Simulation I have - which simulator will suite to my
project design - which one has ide as well simulation - is that simulator simula
teneed
IWhat
assupport
like
to support
real
you need?
for - finding best component values that can get in market eas
ily - simulation software list for so i can chose my best one - which is best wa
y have
IWhich
to toliterature
follow
design-circuit
datasheet
you have of
referred?
components - electronic magazine that gives circuit
ideas and simulation - magazines related to component advertise , so can choose
Document
best
: No document uploaded

BMC REPORT
THE BUSINESS MODEL CANVAS
By:Jatin Patel
07)
Harmit Jani
Deep Patel
5)
Hiren Mistry

(1202931110
(120293111013)
(12029311101
(120293111054)

PROF. Alpesh D. Dobariya


(B.E. E&C)
A Project submitted to
Gujarat Technological University
In Fulfillment of the Requirement for
The Degree of Bachelor of Engineering
In Electronics & communication
April,2015
LALJIBHAI CHATURBHAI INSTITUTE OF TECHNOLOGYAT & PO: BHANDU TA: VISNAGAR DIST: M
EHSANA
ACKNOWLEDGEMENT
The completion of any project brings with it a sense of satisfaction, but it is
never complete without thanking those people who made it possible and whose cons
tant support has crowned our efforts with success. One cannot even imagine the p
ower of the force that guides us all and neither can we succeed without acknowle
dging it. We would also like to thank our guide, Mr. Dinesh Patel and Prof. A.D.
Dobariya Department of Electronics and Communication for his expert guidance, e
ncouragement and valuable suggestions at every step. We also would like to thank
all the staff members of LCIT for providing us with the required facilities and
support towards the completion of the project. We are extremely happy to acknow
ledge and express our sincere gratitude to our parents for their constant suppor
t and encouragement and last but not the least, friends and well-wishers for the
ir help and cooperation and solutions to problems during the course of the proje
ct.
With Sincere Regards
Jatin Patel (120293111007)
Harmit Jani (120293111013)

Deep Patel (120293111015)


Hiren Mistry (120293111054)

TITLE PAGE
ACKNOWLEDGEMENT
TABLE OF CONTENTS
The Business Canvas Model
Chapter: 1 Key Partners
1.1 Private Transport
1.2 Public Transport
1.3 Railway Transport
Chapter: 2 Key Activities
2.1 E-mails
2.2 Usage Fee
2.3 Self-Service
Chapter: 3 Value Proposition
3.1 Reliable Transport
3.2 Satisfied Travelling
3.3 Accessibility
3.4 Telephony
3.5 Product feature segment
Chapter: 4 Customer Relationships
4.1 Attractive
4.2 Good Service
Chapter: 5 Customer Segment
5.1 GSRTC, BRTC, AMTS, VMTS
5.2 Private Transport
Chapter: 6 Key Resources
6.1 Human
6.2 Financial
6.3 Time
Chapter: 7 Channels
7.1 E-mail
7.2 Telephone
7.3 Internet
Chapter: 8 Cost Structure
8.1 Fixed cost
8.2 Variable cost
Chapter: 9 Revenue Stream
9.1 Real time market
9.2 Usage tee
9.3 Product feature segment
The Business Canvas Model
The Business Canvas model contains different sections.
These are as follow:
1. Key Partners
2. Key Activities
3. Value Propositions
4. Customer Relationship
5. Customer Segment
6. Key Resources
7. Channels
8. Cost Structure
9. Revenue Stream

Chapter 1: Key Partners


1.1 Private Transport: In a private transport for the good and reliable service
also customer has been satisfied through this project if we used in private tran
sport(customer know exactly where his bus reach etc)
1.2 Public Transport: In a public transport it s a very important innovation in tr
ansport side. In GSRTC if we used this project then government service being goo
d. People easily get when bus come and how many seat are available Also next bus
when came.
1.10 Railway Transport: this system already used in railway transport but not to
know in that system display how much seat are available or where is train now.
Chapter 2: Key Activities
2.1 E-mails: we are giving this information also way to E-mail through.
2.2 Usage Fee: Here we have implemented the prior designed layout on PCB and the
n implemented/integrated the software in hardware.
2.3 Self-Service: In a self-service people can do also buy the ticket online.

Chapter 3: Value Proposition


3.1 Satisfied Travelling: this project through people got satisfied 100% because
people know everything like a when bus came how many seat are available in this
bus when next bus came. When we reach the destination.
3.2 Reliable Transport: This system through people save his time. Also cinear ci
tizen for more reliable becuse they know which bus are empty and which bus came
full so they are choose empty bus and they can travel easy.
3.3 Accessibility: its access to anywhere to any time.
3.6 Product feature segment: we can install GPS and know the bus exactly where a
nd Also programming through we can call the ambulance police station and fire st
ation and give to information about that place when happen any accident.
3.4 Telephony: we can call through also giving information about the bus locatio
n or etc.

Chapter 4: Customer Relationship


4.1 Attractive: it is highly efficient as it depends on GSM.
4.2 Good Service: it s a very good service for the those people who do some time t
ravelling more than regular people.

Chapter 5: Customer Segment


5.1 GSRTC, BRTC, AMTS, VMTS: we can used this project in every transport system.
5.2 Private Transport: Also we can used this project in private transport side.

Chapter 6: Key Resources


6.1 Human: It involves physical dedication of all team members.
6.2 Financial: Financial assets are required.
6.3 Time: this project through we can save more time and got better management t
ransport service.

Chapter 7: Channels

7.1 E-mail: Here to interconnect the microcontroller with GSM modem we use the s
erial RS-232 communication.
7.2 Telephone: Here we get the notices on the notice board via air medium.
7.3 Internet: for the bus tracking and wireless massage send for used internet.

Chapter 8: Cost Structure


8.1 Fixed cost: For the designed model it support fixed cost.
8.2 Variable cost: For the advent technology it support the variable cost.

Chapter 9: Revenue Stream


9.1 Product feature segment: This project is about the advertisement in Bus tran
sportation, railway stations.
Picture of Business Model Canvas:

PDE FORMS

fGIC Patent Drafting Exercise

Team ID:

20808

GTU Innovation Council


Patent Drafting Exercise (PDE)

FORM
(FOR
Application
(39
&Filing
THE
CBR
APPLICATION
1.
ID
Mobile
Address
1Nationality
2Email
Patel
mail.com
Maheshbhai
pateldeep184@g
m8690425144
Dasharathbhai
pjatin1@gmail.co
439727816447
Jani
@gmail.com
Bhaskarbhai
harmit.jani1992
8511061192
Indian
Mistry
gmail.com
Dipakbhai
hirenmistry125@
9737700125
GTU
HPJDAName
mount
eep
atin
atel
armit
irenkumar
Applicant(s)
OFOFFICE
PATENTS
No:
1 No.
1970)
Date:
of
FeeFOR
USEpaid:
ACT
No:
RULES,
ONLY)
1970
:GRANT
2003OF PATENT
2. Inventor(s):

3. Title of Invention/Project:
ID
Mobile
Address
1Nationality
2Email
Patel
gmail.com
Maheshbhai
pateldeep184@
8690425144
om
Dasharathbhai
pjatin1@gmail.c
39727816447
Bhaskarbhai
harmit.jani1992
48511061192
Dipakbhai
hirenmistry125
9737700125
GTU
Indian
@gmail.com
HJDName
eep No.Mistry
atin
armit
irenkumar
Jani
Public Transportation Management Service Using GSM
4. Address for correspondence of applicant/authorized patent agent in india
Name:

Harmit Bhaskarbhai Jani

Address:
Electronics & Communication Engineering <br/>Laljibhai Chaturbha
i Institute Of Technology, Bhandu <br/>
Mobile: 8511061192
Email ID:

harmit.jani1992@gmail.com

5.
Application
Country
Filing
Name
Title
6.
N/A
Priority
Particulars
ofofDate
the
the
particulars
No.
Applicant
for
Invention
filingofpatent
the application(S)
co-operation treaty
field in(pct)
convention
nationalcountry
phase Applicati
on
International
7.
Original(First)
Date
N/A
Particulars
of filing
forfiling
application
ofApplication
filing
Original
date
divisional
number
as
(first)
Number
alloted
application
application
by the receiving office
8. Particulars for filing patent of addition
Original(First)
Date
N/A
of filing ofApplication
Original (first)
Number application
* DECLARATIONS:
Declaration by the inventor(s)
I/We, the above named inventor(s) is/are true & first inventor(s) for this inven
tion and declare that the applicant(s).
herein is/are my/our assignee or legal representative. Date : 24 - April - 2015
Name

Signature & Date

1 Deep Maheshbhai Patel


2 Jatin Dasharathbhai Patel
3 Harmit Bhaskarbhai Jani
4 Hirenkumar Dipakbhai Mistry
(ii) Declaration by the applicant(s) in the convention country
I/We, the applicant (s) in the convention country declare that the applicant(s)
herein is/are my/our assignee or legal representative.applicant(s)
(iii) Declaration by the applicant(s)
I/We, the applicant(s) hereby declare(s) that:I am/We in possession of the above mentioned invention.
The provisional/complete specification relating to the invention is filed with t
his aplication.
The invention as disclosed in the spcification uses the biological material from
India and the necessary permission from the competent authority shall be submit
ted by me/us before the grant of patent to me/us.
There is no lawful ground of objection to the grant of the patent to me/us.
I am/we are the assignee or the legal representative of true & first inventors.
The application or each of the application,particulars of each are given in the
para 5 was the first applicatin in the convention country/countries in respect o
f my/our invention.
The application or each of the application,particulars of each are given in the
para 5 was the first applicatin in the convention country/countries in respect o
f my/our invention.
I/we claim the priority from the above mentioned applications(s) filed in the co
nvention country/countries & state that no application for protection in respect
of invention had been made in a convention country before that date by me/us or
by any person
My/Our application in india is based on international application under Patent C
ooperation Treaty (PCT) as mentioned in para 6
The application is divided out of my/our application(s) particulars of which are
given in para 7 and pray that this application may be treated as deemed to have
been filed on ___________under section 16 of the Act.
The said invention is an improvement in or modification of the invention particu
lars of ehivh are given in para 8.
10. Following are the attachments with the application:
(a) Provisional specification/Complete specification
(b)

Complete specification(In confirmation with the international appl

ication) / as amended befo


applicable(2
(IPEA),as
Authority
Examination
(c)
claims.....
pages...
(In
international
the
Preliminary
Drawings
confirmation
intern
Examination
copies),No.of
application)/as
withAuthority(IPEA),as
the amended applicable(2
before
copies),No.of sheets....
(d) Priority documents
(e) Translations of priority documents/specification/international search report
s
(f) Statement and undertaking on Form 3
(g) Power of Authority
(h) Declaration of inventorship on Form 5
(i) Sequence listing in electronic Form
(j) ........................................ Fees Rs.XXX in Cash /Cheque/B
ank Draft bearin No.XXX Date: XXX o
Bank.
I/We hereby declare that to the best of my /our knowledge, information and belie
f the fact and mtters stated herein are correct and I/We request that a patent m
ay be granted to me/us for the said invention.
Dated this 24 day of April , 2015

Name

Signature & Date

1 Deep Maheshbhai Patel


2 Jatin Dasharathbhai Patel
3 Harmit Bhaskarbhai Jani
4 Hirenkumar Dipakbhai Mistry
GIC Patent Drafting Exercise

FORM 2
THE PATENTS ACT, 1970
(39 OF 1970)

Team ID:

20808

&
THE PATENTS RULES, 2003 PROVISIONAL SPECIFICATION

1. Title of the project/invention : Public Transportation Management Service us


ing GSM for vacant sea
2. Applicant(s) :
Deep Maheshbhai Patel , ( Indian )
Address :GTU
Jatin Dasharathbhai Patel , ( Indian )
Address :GTU
Harmit Bhaskarbhai Jani , ( Indian )
Address :GTU
Hirenkumar Dipakbhai Mistry , ( Indian )
Address :GTU

3. Preamble to the description :


The following specification describes the invention.
* Description :
a. Field of Application / Project / Invention :
Public Transportation, Private transportation
b. Prior Art / Background of the Invention / References :
updated vacant seat
c. Summary of the Invention/Project :
Now a days public transportation is very unbalanced. some he bus is goingvery ov
er full and some the bus is empty. So using this project we can thetransportatio
n.
1 Objects of the Invention/Project :
People , conductor
1 Drawing(s) :

20808_1_20808_1_Publication
f. Description of the Invention

P89v51RD2 microcontroller is interfaced serially to a GSM Modem.


The hardware interfaces to microcontroller are LCD display GSM modem a
nd Bi directionalvisitor
voltagelevels.
counter.
232
for
andmicrocontroller,A
is
converting
protocol
used
serial
for
The
TTLWhen
communication
design
voltage
theserial
request
usesdriver
levels
between
byRSinto
userICis
RSmodems
sent
232to the number at the modem, the
system automaticallysends a return reply to that mobile indicating.
data.counter,
Microcontroller:-A
CPU
memory,various
or
tightly interrupt
coupled
I/O
Microcontroller,
interfaces
withcontroller
such as consists
serial port,
of parallel
a powerful
port timer
acquisition interfaces:-Analog to Digital converter, Digital to Analog converter
, integrated
onto a single silicon chip. If a system is developed with a microprocessor, the
designer has to go forexternal memory such as RAM, ROM, EPROM and peripherals. B
ut controller is provided allthese facilities on a single chip.
B.GSM:It
has become the world s fastest growing mobile communication standard.
and
forseamless
It secure
allows connectivity between networks on a global scale. Digital en
coding
forvoice
access
transmission
avery
.provide
is
forperson-to
standard
While
becoming
iscommunication,
(TDMA)
efficient
used
GSM
person
methods
the communication.
data and
rate/information
time division content
multiple ratio
In Bus module:
This Bus module is every time count how many passenger is present in
this bus and this data
will
isautomatically
vacant
bedisplay
Bus station
thetransportation.
BUS
Station
seat
onmodule:
LCD
data
Module
sendPCis
Or
to passenger
so
installed
the bus can
station
at take
bus decision
module
terminals
using
.So
from
thatGSMwhere
s way
module.
wethecanSo
bus
manage
depart.
will
of
GSM
amodemIt connected
consist to a PC. At the time of entrance of a bus in
to the terminal
willupdate
data
in PC. a
g. Examples

Bus transportation, Railway transportation.


h. Unique Features of the Project
Vacant seat and Ticket.
3 Date & Signature :
Date : 7 - May - 2015
Jani and
Deep
Jatin
Patel
Sign
Harmit
Hirenkumar
Mistry
Maheshbhai
Dasharathbhai
Bhaskarbhai
Date
Dipakbhai
(vi) Abstract of the project / invention :
now a days vehical transportation need transport road safety, we have design gsm

based system
GIC Patent Drafting Exercise

Team ID:

20808

FORM 3
THE PATENTS ACT, 1970
(39 OF 1970)
&
THE PATENTS RULES, 2003
STATEMENT AND UNDERTAKING UNDER SECTION 8

1. Declaration :
I/We,

Deep Maheshbhai Patel ,

Jatin Dasharathbhai Patel ,


Harmit Bhaskarbhai Jani ,
Hirenkumar Dipakbhai Mistry ,
2. Name, Address and Nationality of the joint Applicant :
Deep Maheshbhai Patel ( Indian )
Address : GTU
Jatin Dasharathbhai Patel ( Indian )
Address : GTU
Harmit Bhaskarbhai Jani ( Indian )
Address : GTU
Hirenkumar Dipakbhai Mistry ( Indian )
Address : GTU
Here by declare:
* that I/We have not made any application for the same/substantially the same in
vention outside India.
* that the right in the application(s) has/have been assigned to,
Country
Name
Status
Date
N/A
Grant
Publication
Number
Application
ofofthethe
(iii) that I/We undertake that up to the date of grant of patent by the Controll
er , I/We would keep him inform in writing the details regarding corresponding a

pplication(s) for patents filed outside India within 3 months from the date of f
iling of such application.
Dated this 7 day of May , 2015.
3. Signature of Applicants :
Sign and Date

Sign and Date

Deep Maheshbhai Patel

Sign and Date

Jatin Dasharathbhai Patel

Sign and Date

Harmit Bhaskarbhai Jani Hirenkumar Dipakbhai


Mistry
To
The Controller of Patent
The Patent Office,
0
123

Вам также может понравиться