Professional Documents
Culture Documents
INTRODUCTION
1.1 Introduction
IoT is a network of physical items and sensors that are linked together. It gives a common
platform for all detectors to send data and allows for the use of a common language. Just put, this
method allows the information to be transferred among multiple devices via the internet. The
internet of things is used in a variety of businesses. It has changed the medical and healthcare
businesses all over the world. It has made information collection for sick persons simple and
precise. The internet of things gives the speed and precision that is required for adequate
healthcare. Healthcare executives have accepted internet of things due to its numerous uses in
real time sick person recognition that does not require a physical examination. As a result, the
possibilities for internet of things in healthcare are endless.
Time and patience are crucial when using public transport. In other terms, a lot of students who
use public transportation waste their time while waiting at bus stations. Nearly every day,
millions of students must commute from their homes to their schools, colleges and universities.
Getting a safe conveyance for students is a crucial concern for parents. Parents ask their
individual institution for their children protection while riding the university bus from university
to their home and from home to the university because crimes against students are on the rise.
Therefore, a university buses GPS tracking system is designed providing facility and safety to
the students. The exact arrival time of the bus can also be known through mobile app. Arduino
nano is the main part of the project because all programming is done in it. University buses GPS
tracking system is an integrated system which is designed specially to facilitate students. The
Internet of Things is a network of interconnected devices that can gather and transmit
information without the need of human involvement across a wireless network. The primary goal
of Internet of Things is to create a system of self-contained appliances that do not require human
involvement to work. During driving a vehicle, this network would monitor the driver’s exact
location and will inform the student. Whenever driver changes the schedule of the bus, the
students are also informed about the new schedule of bus through mobile application.
1
According to a survey, University Buses GPS Tracking system is gaining popularity day by day.
As a result, it is clear that in the business world, the safety and facilitation of students is the
growing industry. University buses GPS tracking system is a cheap method of security system as
compared to others and it is also easy to implement it.
2
There are some improvements that can be added to the university buses to make it more useful.
One such feature is tracking the location of the bus through GPS. It tracks the exact location of
the bus and an alert is sent on the mobile through node mcu. Whenever driver feels the bus will
arrive late at the bus stop due to traffic jam or due to any other reason, then he will press the
delay button and a message is sent to the application through wifi module that bus is late for 5 or
10 minutes. This system is very effective and appropriate for students because they are aware
about the arrival time of the university bus and they have not to wait at the bus stop.
3
important contributing elements that provide facility to the students by reducing their wasted
time. For delivering information to the firebase, Node MCU IoT module is used. Fire alert, late
arrival of the bus, over speeding, bus tracking and all information of the bus can be checked
through the mobile application
1.5 Advantages
This project University Buses GPS tracking system has various benefits including:
It has a straightforward design, durable and inexpensive due to the use of low cost
materials.
Design of IoT based university bus tracking system is very efficient.
It is highly accurate and fully automated.
It provides facility and safety to the students by sending all alerts on the mobile
application.
Used within the worldwide.
It reduces the wasted time of students.
The system is very flexible and economical.
This project offers low prices.
4
1.7 Resource Requirement
Resources required in this project are Arduino nano, Node MCU (esp8266) IoT module, GPS
(Global Positioning System) module, sensors like fire sensor, buzzer for alarm, battery to power
Arduino nano, firebase where all the information of the bus is saved and students can also check
it through mobile app.
1.8 Report Layout
This project’s report has six chapters, the first of which is an introductory chapter that includes
the introduction, problem description, objective, development methodology and social benefits.
The background and characteristics of the entire system are covered in chapter 2, and the block
diagram and software are covered in chapter 3. The fourth chapter explains the components that
are employed for project making. Fifth chapter covers circuit schematics, hardware and software
requirements as well as how they work, and the project’s future scope and conclusion are
explained in the sixth section.
5
CHAPTER 02
LITERATURE REVIEW
2.1 Research Work
In section 2.1 I have written about how I gather all the data and how I use others' research to
make mine one better than others. In section 2.2 I have shown the main objectives of our team
and how we tackle all the difficulties in making the project. In section 2.3 I have shown why we
need this project and what work we can do by using a university bus GPS tracking system in
present or in the future. In section 2.4 I have discussed the literature review in detail. In section
2.5 I have shown how we plan this project as we know that there is nothing we can do if we
don’t plan that thing so planning is the important part. In section 2.6 I have shown the overview
of the system.
6
dependable environment for humans by allowing machines to recognize and understand human
wants and requirements in order to respond appropriately to commands.
From many years, humans have been learning to rely on technology and academics are working
to develop new ways to make human lives more comfortable. Looking at the telecommunication
brook, it is clear that communication used to be done either face to face or via letter or postal
card. People in various civilizations used to play the drum for communication with their society
for purposes like inviting, warning or displaying their celebrations. However, new technologies
have wiped out all of those old conventions and communication is now significantly faster,
easier and complication free through the use of mobile phones.
For the implementation of internet of things, a variety of sensors and technologies are utilized.
WSN (Wireless sensor networks), Radio Frequency Identification (RFID) and Near Field
Communication (NFC) are examples of communication technology that perform or participate a
part in the operation of IoT. For example in the domain of health care, the temperature of a
person’s body may be detected using sensors, and similarly heart rate and blood pressure can be
measured. Another IoT application that is gaining a lot of traction these days is smart homes.
This is because people in these days depend on a lot of electrical devices in their houses like light
bulbs, refrigerators, microwave ovens and fans among other things. While animal tracking is
another valuable application of internet of things, it works by embedding global positioning
detectors in the bodies of animals in such a manner that they can be comfortably followed.
Moreover, there are several internet of things applications that give comfort to people all over the
world by utilizing the internet such as smart transportation, smart agriculture and smart cities.
Every day, the number of internet of things enabled devices grows, owing to the fact that internet
of things provides comfort and ease in human lives and produces better results than humans.
According to reports, the number of internet of things devices will have more than tripled since
2012, with around fifty billion devices collaborating over the internet platform. Figure 2.1
depicts connected devices through the internet of things from 2012 to 2020.
The term university buses GPS tracking system is not new to the public, numerous entrepreneurs
and academics have been working on it for years, steadily improving several aspects to make
driving easier. Nowadays, the world is moving towards the smart automation, and one of the
fastest growing technology is university buses GPS tracking system, which provides a great deal
of ease and comfort to the students all over the world. It now allows students to live a simpler
7
and less complicated existence. The IoT has been critical in the development of a dependable and
accessible university buses GPS tracking system.
8
the precise moment the bus will arrive. Due to the subpar transport network, university students
experience numerous issues. The public transportation system in Pakistan also has to be changed.
In order to improve Pakistan’s existing transportation service system and address these societal
issues. Our goal is to create a network for managing and tracking of buses through GPS. Students
can check the precise location and condition of the bus through this system. All the information
of this real time bus tracking technology is sent to the firebase. Global Positioning System which
is fed into the application and allows information transmission via satellite, was the primary
technology employed to construct this technology. The traditional transportation system is
completely replaced by a real time bus tracking system.
The concept and implementation of an IoT based university buses GPS tracking system using
Arduino nano, Node MCU (esp8266) and GPS (Global Positioning System) is described in this
paper. The architecture is focused on the stand-alone Arduino nano board and mobile
application. This architecture is built to be low-cost and flexible by enabling an automatic bus
system and reducing students wasted time.
9
Global Standard for Mobile (GSM) in mobile phones to report transport area information once
more to the servers. This continuously displays the location of transportation on a map and
evaluates the entry time.
Israt Jahan, Shah Alamgir It is suggested and created that Chittagong University (CU) implement
a real-time bus tracking system to keep track of the teachers' buses and to more effectively
inform the teachers of the buses using an Android application (app). The premise is that CU
lacks a comparable tracking system. Additionally, several drawbacks with the current tracking
systems in use in the universe include the requirement for expensive hardware maintenance in
the GSM/GPRS module and the use of a traditional MySQL database that updates data quickly.
Regarding these restrictions, the created system uses two smartphone applications to send and
receive data using Firebase, an online server with a real-time database updating data in just a few
moments, making the system faster than others.
Bus passenger data gathering technology is a challenge that needs to be tackled right away in the
current construction of city intelligent transportation systems. The use of self-designed multi-
sensor array devices to record the foot type data of passengers boarding and alighting is
examined and proposed as a method of intelligent bus passenger recognition and statistical
algorithms based on motion vector tracking. A motion vector model is created, the best motion
vector solution is chosen using an advance prediction method, a similarity criterion, and a
dynamic search strategy in accordance with the law of human body kinematics, the motion
process of the passengers is tracked dynamically, and finally the direction of their movement is
determined. The results of the real tests demonstrate that this algorithm can accurately and
successfully handle a variety of challenging scenarios.
10
Testing of real time bus tracking system by tracking the location of the bus through GPS.
Demonstration of the final year project
LCD 16*2
RFID Reader
11
CHAPTER 03
SYSTEM MODEL/PROPOSED SYSTEM
3.1 Block Diagram
LCD 16x2
RFID Buzzer
v Reader
Metal
Entry
Detector
Button
Node
Fire
MCU
Sensor
GSM
Data to GPS
Server
IR for
Speed MIT App
Sensor
12
3.2 Working
The system model is shown in figure 3.1. The university buses GPS Tracking system consists of
Arduino nano, Node MCU, buzzer, entry button, exit button, RFID reader, fire detection sensor,
GPS (Global Positioning System), IR sensor for measuring speed of bus, and LCD. Arduino
nano is the brain of this project because all programming is done in it. Arduino is being powered
up with a 9v battery or simply connect it to the laptop through USB cable. At the front of the bus
IR sensor is used for measuring speed of the bus. If bus is going with a very high speed than over
speed alert is sent on the application. Fire sensor in the bus checks the fire and if there is any fire
in the bus and it sends an alert on the application and also displays it on LCD. Buzzer in the bus
also starts beeping alerting the students of the bus about the fire detection. If there is a traffic jam
on road, then the driver of the bus will press the delay button so that students will get alerted
about the arrival of the bus through mobile application. RFID card is used for entry of students in
the bus each student has to scan his/her RFID card for entry in the bus. If the user is registered
for the bus then the door of the bus will open otherwise it will remain closed. Entry and exit
button are also placed in the bus for entry and exit. If someone enters or exit the bus then he/she
will press the enter/exit button. By pressing entry/exit button students are updated about the
available seats in the bus. GPS (Global Positioning System) is also placed in the bus for tracking
it. Students can track the location of the bus through mobile application. Now the university
buses GPS tracking system is ready to use. Node MCU used in this project is a Wi-Fi module
and provides internet facility for arduino. Arduino nano operates at 5V whereas esp8266 operates
at 7.5V which is given by the adaptor. The software used for Arduino nano is arduino IDE which
we will discuss in detail after the working of the project; esp8266 programming is also done in
arduino IDE software by using AT commands.
13
Figure 3. 2: Arduino IDE
14
acknowledges inefficiencies which is a chance to be the broad fight extension to multifaceted
nature. In spite of the fact there stand a couple of type of microcontrollers. Those determination
of microcontroller may have stayed created finished how run of the mill it is fabricated and on its
accessibility.
5V
In Arduino nano voltage regulators are used to supply regulated voltage to atmega328
microcontroller. There are two regulators 5V and 3.3V. The Arduino nano can be powered
up using a 12V adaptor.
GND
Pin of earth.
15
that the genuine mistake/error happened before the flag. The figures that are given below shows
the menu, edit, sketch writing, help and various tools that are used in the Arduino IDE software.
Figure 3. 7: Menu
16
Figure 3. 8: EDIT
17
Figure 3. 11: Void Setup
18
3.3.5 Proteus
Proteus is a software tool mainly used for automation of electronic design and for the production
of printed circuit boards. Proteus is primarily used by electronic design engineers and technicians
to produce schematics and electronic prints. First of all, schematics are designed in proteus ISIS
and then PCB layout is created using proteus ARES.
Start
Check Fire
Detection
19
Send Alert to
If Fire = High Yes LCD and Wifi
Module
No
No
Send to Node
MCU
No
If Entry/Exit
Button Pressed Yes Scan RFID
No
Allow if User
Go to Start Required
20
CHAPTER 04
HARDWARE COMPONENTS
4.1 Component List
Table 4. 1: Components Used In This Project
Sr. No Components
1 Arduino nano(Atmega328)
2 RFID Card Reader
3 Entry & Exit Button
4 Jumper Wires
5 Fire Sensor
6 IR Sensor
7 GPS
8 Buzzer
9 Resistors
10 Capacitors
11 Diodes
12 LED’s
13 Node MCU (ESP8266)
14 LCD 16x2
15 GSM
16 Servo Motor
17 Metal Detector
18 Buck Converter
19 Speed Sensor
21
Figure 4. 1: Arduino Nano
The AT-Mega 328 AVR microcontroller is used in the Arduino nano series. There are 14 pins
total, 6 of which are for PWM and the rest are for digital purposes. It only has eight analogue
pins. There are several uses for different types of pins. The USB to TTL converter on this board
is built-in. We are able to supply 12 volts in its input securely.
22
The power pins of Arduino are as follows:
VIN
The input voltage when using an external source to the Arduino board. It is possible to
supply the voltage through this pin.
5V
In Arduino nano voltage regulators are used to supply regulated voltage to atmega328
microcontroller. There are two regulators 5V and 3.3V. The Arduino nano can be powered
up using a 12V adaptor.
LED
LED in arduino is connected with pin number 13. This LED can be turned ON/OFF by using
the HIGH and LOW commands. The LED remains ON when HIGH and remains OFF when
LOW.
GND
Pin of earth.
Arduino Nano
It has a default serial port on pin0 and pin1. These pins are used for the serial
communication, debugging purposes to check any error in coding and can also be used to
communicate with other devices which make use of serial communication like GSM
module, Bluetooth module and so on. There are thousands of devices which uses serial
communication.
External Interrupts
Pins 2 and 3 can be set up to initiate an interrupt in response to low values, rising or falling
edges, or value changes.
23
4.3 Jumper Wires
Jumper wire is essentially an electrical cable that connects components or any other experimental
circuitry on a breadboard without the need for soldering.
24
Figure 4. 3: GPS Module
25
4.6 GSM Module
To send a warning message to the driver's emergency contact, we employed a GSM module.
Two LEDs, one red and one green, are used in this module to signal network availability. Green
LEDs are used to signal network availability. Red LEDs are used to indicate network failure.
USART protocol is used by the GSM module and microcontroller to communicate. This
modem's AT command initialization makes it capable of sending an alarm message. Here, we've
selected the SIM800L GSM module. A tiny GSM modem called the SIM800L GSM/GPRS
module can be incorporated into many different Internet of Things (IoT) projects. This module
supports the quad-band GSM/GPRS network, so we can use it to do practically whatever a
typical cell phone can do, including send and receive SMS text messages and make or receive
phone calls. GSM module is depicted in Fig. 3.21
26
Figure 4. 6: Node MCU Wi-Fi
This module helps us to convert our circuit advance and make it easy to observe everywhere in
the earth where the internet is available. This one thing is IoT smart system. The IoT can achieve
everything for the advanced type of physical science that doesn’t look like the old registration
gadgets, yet the unit attached to send data online, and the bearings or each. The partner of such
things is the surprisingly wide fluctuations that solve this umbrella; the shapes of “wonderful”
antique machines connect to the Internet, such as refrigerators and light weight bulbs; Partner
web may exist alone in the empowered world such as medical care, transportation, Alexa Style
Advanced Collaborations (ADA), web empowered sensors that regenerate, focus and cultivate
plants.
Data collection is done by gadget collection. Transferring data is often used remotely in wired
organizations to make progress or change strategies. Data is regularly sent over the net to an
27
information community or cloud that has the capability and power of code or the exchange is
more organized over time, before intermediate gadgets collect data.
Information will be handled in server forms or in the cloud, for the most non partners. Within the
example of major gadgets like shut off in modern settings, data transfer from gadgets to overseas
data centers is only more pleasant. It will take more time to complete the cause circle, measure it,
investigate it, and return the titles. In such cases edge processing will gain play, any space that
will combine a suitable edge gadget data, investigate it and style responses, if necessary, will
close the actual distance as well. Accordingly, deferment will be less. Edge gadgets also have an
up stream property which makes the data extra ready.
28
Buck device could be a category of switched mode power offer generally containing a minimum
of two semiconductors (i.e. a diode and a semiconductor, though the latest buck devices usually
replace the diode with 2nd semiconductor utilized for the synchronous rectification) and a
minimum of one storage half, a condenser, electrical device or the each in combination. To
reduce the voltage ripples, filters manufacture from capacitors square measure normally side to
such a converters output and conjointly the input.
29
There are numerous servo motors on the market, and each motor has a unique purpose and use.
The SG90 servo motor is employed in design and fabrication of seed sowing robot. Three wires
are coming out from the servo motor. The description of these wires is shown in figure 4.4.
4.11 Buzzer
The buzzer is a cheap 5V device and can easily be controlled using the raspberry pi. It has three
pins but only two are used. Negative Pin of the buzzer is attached to ground pin and the S pin is
attached to desired PWM pin and by using the analog write function this buzzer can be
controlled. A driver circuit is designed for connection of the buzzer with the digital pin.
30
Figure 4. 12: Buzzer
31
CHAPTER 05
SOFTWARE AND HARDWARE RESULTS
5.1 Simulation Results
The initial step in the analysis of hardware results is the software implementation. In this chapter,
all of the proteus simulations are covered. Numerous components were employed in the proteus
simulation for this project hence each proteus simulation is covered below step by step.
32
columns and 2 rows. LCD has total of 16 pins from which RS, E, D4, D5, D6, D7 are interfaced
with the controller and the other ones are for LCD power and power of backlight in the LCD.
LCD has total of 8 digital data pins but we are using 4-bit data transfer with Arduino Nano to
lessen the complexity of the wiring. Whereas LCD R/W pin should be connected to Ground to
write on the LCD. RS is the register select pin of the LCD to access the internal registers of the
LCD and E is the enable pin to be provided a high to low signal to display the characters on the
LCD. The connection of arduino nano with LCD is shown in figure 5.2.
33
Figure 5. 3: Complete Schematic
34
Figure 5. 4: GPS Module
35
5.2.3 Integration of Arduino Nano with GSM Module
A GSM (Global System for Mobile Communication) is basically used for sending an emergency
alert on mobile. In this project GSM module is used for sending the over speed alert on mobile.
Whenever the bus exceeds the maximum speed an alert is sent on mobile of parents. This module
will alert the parents about the over speed of the bus. The figure given below shows the
integration of arduino nano with GSM module.
36
5.2.4 Metal Detector
Metal detector is also employed in university buses GPS tracking system for safety of students.
Metal detector is employed for detecting metal, like if someone is hiding pistol or any type of
metal in their bag or in pent, then this metal detector will alert the driver of the bus about the
pistol or any metal which is harmful for students. The figure 5.8 shows the metal detector used in
this project.
37
Figure 5. 9: Real Time Clock
The figure given below shows the exact location of the bus through GPS.
38
5.2.6 Complete Hardware
Quality assurance is very important for any product to perform satisfactorily and reliably after
deployment. In order to achieve these goals, each module of the system is tested individually.
The whole system is tested on Proteus to see whether the goals are accomplished or not. The
figure given below shows the complete hardware of the project.
39
CHAPTER 06
CONCLUSION AND FUTURE
RECOMMENDATIONS
6.1 Conclusion
One of the biggest issues that are facing students nowadays is poor transport system. Many
institutions still use outdated, conventional mechanisms for their transportation system.
Unfortunately, many reputable colleges transportation system are manual and poorly organized,
which makes it impossible for students to get to their campuses on time. The exact location and
arrival time of the bus is unknown to the students. Students are also blind about the fact that the
bus may or may not have empty seats.
To solve all these problems we aim to design an IoT based real time bus tracking system that
tracks the location of the university bus in real time. It also organizes the bus management
system. Students can easily access all the details of the driver, including security threats,
schedule of the bus, delay in arrival of bus at the bus stop, over speeding and fire detection
through mobile application. Only those students can enter in the bus that have their registered
RFID card, if they don’t have the registered RFID card the door of the bus will not be opened
and student will not be allowed to enter into the bus. The entry/exit buttons are also placed at the
entry and exit that shows the seat availability of students in the bus. If the seat capacity of the bus
is full then it is also displayed on mobile application. Buzzer in the bus alerts the student when
bus travels in a very high speed or any fire in the bus is detected. Hence an IoT based real time
bus tracking system is designed for the university students in a cost effective, easy and precise
manner.
40
door of the bus. It is possible to change our system by introducing a 3D map, at least for the
prominent locations along the route.
41