Bus Tracking Using BoltIoT

2,513

26

22

Introduction: Bus Tracking Using BoltIoT

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components Used :

1) Bolt Unit

2)Gps Receiver & Antenna

3)Arduino UNO

4)3 Battery's(4v)

5) Jumper Wires.

6)Switch

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.

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.

Step 4: GPS Receiver

GPS receivers use a constellation of satellites and ground stations to compute position and time almost anywhere on earth.

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

MORE ABOUT GPS.

Step 5: Connecting GPS to Arduino UNO

We will connect the Arduino and GPS using jumper wires

the receiver has 6 pins we will connect

GPS receiver - Arduino UNO

1)GND pin - GND

2)RX pin - 2 pin

3)TX pin - 3 pin

4)3.3v - 3.3v pin

SIM28ML

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.

Step 7: Connecting Arduino Uno With Bolt Device

BOLT UNIT - Arduino UNO

1)5v pin - 5v

2)GND - GND pin

3) TX pin - 0 pin

4) RX pin - 1 pin

Bolt Starting Serial communication with Arduino UNO

using the link

http://cloud.boltiot.com/remote/YourapiKey/serialBegin?baud=9600&deviceName=BOLTxxxxxx

YourapiKey ---- give your device API key, You can get it from "Developer Console"

deviceName = give your device name, You can get it from "BOLTIOT app" in Google store or app store

keep baud rate to 9600.

Step 8: Creating App for Tracking

Go to MIT app inventor WEBSITE

Then sign in with your Google account.

Then "START NEW PROJECT "

give name and drag and drop the components in screen 1

You can see the components in the image and we can change their properties

after go to "blocks" and connect the blocks as shown in the above image.

In BUTTON1 block give the URL "http://cloud.boltiot.com/remote/YourapiKey/serialRead?till=10&deviceName=BOLTxxxxxx

YourapiKey ---- give your device API key, You can get it from "Developer Console"
deviceName = give your device name, You can get it from "BOLTIOT app" in Google store or app store.

In SCREEN1 block give the URL "https://rl.se/gprmc"

Invention Challenge 2017

Participated in the
Invention Challenge 2017

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    22 Discussions

    0
    surekmr007
    surekmr007

    7 months ago

    Can I get any papers based on this project

    0
    sdlive
    sdlive

    Question 10 months ago on Step 6

    I was going through your code snippet ,

    if (Serial.available() > 0) {
    // get incoming String
    inString = Serial.readString(); //Read input string from bolt
    Serial.print(inString); //Send same string back to bolt


    In the above code, where are you sending the inString Value to BoltIOT??

    I am bit confused, can you please help

    0
    anu chowdary
    anu chowdary

    2 years ago

    great job mounika

    0
    Mane bhuvana
    Mane bhuvana

    Reply 2 years ago

    thank you

    0
    revathi30
    revathi30

    2 years ago

    nice thought

    0
    Mane bhuvana
    Mane bhuvana

    Reply 2 years ago

    thank you

    0
    Mane bhuvana
    Mane bhuvana

    Reply 2 years ago

    thank you

    0
    sarath502
    sarath502

    2 years ago

    great idea mounika

    0
    Mane bhuvana
    Mane bhuvana

    Reply 2 years ago

    thank you

    0
    Mane bhuvana
    Mane bhuvana

    Reply 2 years ago

    thank u so much

    0
    priyanka naidu
    priyanka naidu

    2 years ago

    so much of time is wasting while standing near bus stop u got a great idea....

    0
    Monika mane
    Monika mane

    Reply 2 years ago

    Thank you

    0
    sandhya naidu
    sandhya naidu

    2 years ago

    Right now in this busy running environment,the buses had played crucial role so its fantastic and helpful idea.........

    0
    Monika mane
    Monika mane

    Reply 2 years ago

    Thank you

    0
    prasanna15
    prasanna15

    2 years ago

    very very good thougt mounika,it is very helpfull to us thank u

    0
    Monika mane
    Monika mane

    Reply 2 years ago

    Thank you so much

    0
    Swansong
    Swansong

    2 years ago

    The busses here tend to run late, that would be pretty helpful :)

    0
    Monika mane
    Monika mane

    Reply 2 years ago

    Thank you