The application for the UFSM Intracampus Buses BUFSM aims to improve the routine of the people who use it, informing in real time ? its location.
This project is voluntarily developed by UFSM students who use BUFSM daily without any lucrative bond. Totally Open Source. Feel free to contribute. Based on SBU Smart Transit.
Hardware itself is divided into two main parts: location and communication. To satisfy both, the GPS + GSM A7 module, from A-Thinker, was used. An arduino nano also used to control the module via AT commands.
It is intended, in the not too distant future?, Implement communication via Lora, since there is a monthly cost to transmission data such as GSM.
The not far distant future has come. Hoperf's RFM95 module is currently being used along with an Arduino Nano. Due to the instability of the GPS that is present in the A7 module, the Mikroe GPS-Click module is now being used. The schematic can be found here.
The Code embarked on the Arduino Nano commands the GPS module, reading the geographical coordinates of the bus and sending them via Larawan protocol to a Gateway that is connected to TTN. These messages with the coordinates are then replicated for each client with the app open.
To enable communication via Lorawan, the LMIC V1.5 operating system, developed by IBM, is being used. The version used is an adaptation of the Arduino-Lmic code that currently cannot support the Au915 frequency plan, which used by the gateway we currently make communication.
Developed as a web page, follows the concepts of a Progressive Web App. This is characterized by being an accessible page of any browser on any platform, still allowing it to be "installed" on the home screen of a mobile device, acting similar to a native application.