Track Your Bus and Reserve a Seat for You BOLT IoT TECHNICHE

Introduction: Track Your Bus and Reserve a Seat for You BOLT IoT TECHNICHE

Here is an intresting project "Bus trackning system" embedded with internet of things .This gives ,the user an opurtunity to track his bus and check seat availabilty.we get the position ofthe bus by gps module (gy gps-6mv.2) in terms of latitude and longitude. This also gives user an opurtunity to locate the bus using google maps. we used proximity sensor and a switch to confirm the passenger sitting in the bus of a particular seat.

Step 1: Setting Up GPS Module

GPS module works by communicating with more than 3 GPS satellites and then it gets the distance from each of them and then it performs some fancy maths and gets the relative location from the GPS satellites. You can easily set the GPS module with some good libraries like tinygps,etc. after getting just make sure that your Softwareserial.h header file is included .and rx and tx pins of GPS are properly connected.then you can see the lattitude and longitude on serial monitor.

Step 2: Materials Which Are Used

Step 3: Transfering Data From Aurduino to BOLT IoT

You can use the softwareserial library to create virtual Rx and Tx pins .Then connect the Rx pins of arduino to Tx pin of Bolt Iot and vice versa.

Make sure that the serail data is transmitting propely from virtual Rx and TX pins.then with html,javascript BOLT IoT module to transmit value to server. and now any one can acess to the server and get the data.

Step 4: Connecting Arduino to BOLT IOT

You can use the softwareserial library to create virtual Rx and Tx pins .Then connect the Rx pins of arduino to Tx pin of Bolt Iot and vice versa.Make sure that the serail data is transmitting propely from virtual Rx and TX pins.

Step 5: PROXIMITY SENSOR

We keep proximity sensor in the facing seat so that it can detect if an obstacle is there infront of it or not.Ans, according to that we will be marking our seats in green or red colour.

Step 6: AND FINALLY!!!!CONNECTING THE DATA FROM PROXIMITY SENSOR TO WEB PAGE.

We have created a html page so the it takes the value from proximity sensor. And thus changes the colours of the seats. We will be doing for 1 seat as a prototype as we only have one proximity sensor. And the people also get to know the real time position of the bus in terms of latitude and longitude(which can later be converted into the place name).

And finally , I here by thank you all the people who took the hardship of reading this and giving their valuable comments.

Step 7: And Here Comes the Entire Code.

for the one without style and which loads faster

Check availability of seat 1 LED_stat GPS_DATA SEND_DATA RECV_DATA

INITIAL DATA

AND THE ONE WITH STYLE AND TAKES TIME FOR THE IMAGES TO LOAD SINCE GPS TAKES CONSIDERABLES AMOUNT OF INTERNET WHICH MAKES IT TOO SLOW