Bus Tracking Using Boltiot: Step 1: Components Used

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

instructables

Bus Tracking Using BoltIoT

by Monika mane

Every day I have to call my friends to know about the status of my college bus.Where is it? When I know that the
bus is near to my stop then I will go to my stop.

After learning about the BoltIoT I got an idea that if my mobile app has the option to know where my bus, By that I
started doing this project.

https://youtu.be/IW1Tr77yjp8

Step 1: Components Used :

1) Bolt Unit 4)3 Battery's(4v)

2)Gps Receiver & Antenna 5) Jumper Wires.

3)Arduino UNO 6)Switch

Bus Tracking Using BoltIoT: Page 1


2 1

1. Bolt IoT Unit 1. Battery


2. Switch
3. Arduino UNo

Bus Tracking Using BoltIoT: Page 2


Step 2: Bolt Unit

Bolt unit is an electronic device which has an integrated ESP8266 Wifi chip.It helps to connect to the internet and
we can control or get the info from sensors. It works on a 5v power supply.

It can communicate to other microcontrollers using UART communication.

Bus Tracking Using BoltIoT: Page 3


Step 3: Arduino UNO and Battery Cnnection

Here we connect 4v battery in Series and from the +ve wire we will connect to the switch and from the other end of
the switch we will connect it to the "+ve" terminal of the Arduino UNO

And from -ve sign of the battery we will directly connect it to the Arduino -ve terminal.

Then we can supply the power using a switch.

Bus Tracking Using BoltIoT: Page 4


2
1

1. -ve

2. +ve

Bus Tracking Using BoltIoT: Page 5


Step 4: GPS Receiver

GPS receivers use a constellation of satellites and the 12 visible satellites is to transmit information back
ground stations to compute position and time almost to earth over radio frequency (ranging from 1.1 to 1.5
anywhere on earth. GHz). With this information and some math, a
ground-based receiver or GPS module can calculate
At any given time, there are at least 24 active its position and time.
satellites orbiting over 12,000 miles above the earth.
The positions of the satellites are constructed in a MORE ABOUT GPS.
way that the sky above your location will always
contain at most 12 satellites. The primary purpose of

Bus Tracking Using BoltIoT: Page 6


Step 5: Connecting GPS to Arduino UNO

We will connect the Arduino and GPS using jumper 2)RX pin - 2 pin
wires
3)TX pin - 3 pin
the receiver has 6 pins we will connect
4)3.3v - 3.3v pin
GPS receiver - Arduino UNO
SIM28ML
1)GND pin - GND

Bus Tracking Using BoltIoT: Page 7


Step 6: Programming Arduino UNO

From the GPS receiver, we will get all the GPS info in NMEA sentence.We will receive up to 19 sentences from
the receiver but we need only 2 sentences because they are sufficient for Tracking and knowing the position.

They are $GPGGA, $GPRMC

$GPGGA - Global Positioning System Fix Data

$GPRMC - Recommended minimum specific GPS/Transit data

TO know more about NMEA sentence CLICK HERE

For that we will program arduino to take only this 2 sentances and the reciver will communicate with 9600 baud rate.

Add the below zip file in the arduino ide software

After that open INO file and uplode it to arduino using arduino ide software.

Bus Tracking Using BoltIoT: Page 8


Download (https://cdn.instructables.com/ORIG/FXB/QIWD/J4G53VVA/FXBQIWDJ4G53VVA.zip)
http://www.instructables.com/ORIG/FXB/QIWD/J4G53VVA/FXBQIWDJ4G53VVA.zip

(https://cdn.instructables.com/ORIG/FXB/QIWD/J4G53VVA/FXBQIWDJ4G53VVA.zip)
Download (https://cdn.instructables.com/ORIG/FEY/FNZX/J4G53W4Z/FEYFNZXJ4G53W4Z.ino)
http://www.instructables.com/ORIG/FEY/FNZX/J4G53W4Z/FEYFNZXJ4G53W4Z.ino

(https://cdn.instructables.com/ORIG/FEY/FNZX/J4G53W4Z/FEYFNZXJ4G53W4Z.ino)

Step 7: Connecting Arduino Uno With Bolt Device

BOLT UNIT - Arduino UNO http://cloud.boltiot.com/remote/YourapiKey/serialBegi


n?baud=9600&deviceName=BOLTxxxxxx
1)5v pin - 5v
YourapiKey ---- give your device API key, You can
2)GND - GND pin get it from "Developer Console"

3) TX pin - 0 pin deviceName = give your device name, You can get it
from "BOLTIOT app" in Google store or app store
4) RX pin - 1 pin
keep baud rate to 9600.
Bolt Starting Serial communication with Arduino UNO

using the link

Bus Tracking Using BoltIoT: Page 9


Step 8: Creating App for Tracking

Go to MIT app inventor WEBSITE in the above image.

Then sign in with your Google account. In BUTTON1 block give the URL
"http://cloud.boltiot.com/remote/YourapiKey/serialRea
Then "START NEW PROJECT " d?till=10&deviceName=BOLTxxxxxx

give name and drag and drop the components in YourapiKey ---- give your device API key, You can
screen 1 get it from "Developer Console"
deviceName = give your device name, You can get it
You can see the components in the image and we from "BOLTIOT app" in Google store or app store.
can change their properties
In SCREEN1 block give the URL "https://rl.se/gprmc"
after go to "blocks" and connect the blocks as shown

Bus Tracking Using BoltIoT: Page 10


Bus Tracking Using BoltIoT: Page 11

You might also like