The code which is running at the bus stop continuously checks if it is receiving any data from the bus and when this happens, it parses this data to obtain the bus number and the bus stop and functions to display visual information on the LED Matrix and play audio information using the MP3 Shield are called. It then re transmitted to the bus the bus number and the address of the next bus stop it has to go to.
We tested the system using 2 buses and 2 bus stops. The bus stops were around 200 meters apart.
We had the pseudo server and the android server running at one bus stop to which the other bus stop communicated using TCP/IP.
Each bus stop looked like this:
The video for the actual demonstration was also recorded.
No comments:
Post a Comment