In this article I want to touch on the topic of how to assemble a system to control the location of a car with minimal cost. We will use the Orange pi Zero microcontroller as the main controller. The cost of this device on Aliexpress from 9 USD.
Also, to get the coordinates, you need a USB GPS / GLonass module, in our case I used the VK-172 GMOUSE USB model at a price of 6 USD, but other modules can also be connected.
To send coordinates to the server, you need a GSM modem of any operator. I recommend using the tariff from MTS "Smart Device", the cost of which is 800 rubles per year. Also, you will need a micro SD memory card with a minimum memory capacity of 8 GB. and a step-down power supply module for a car from 15-12 volts to 5, with a micro USB connector.
Next, we assemble and configure the equipment.
If you have an old-generation GSM modem, you must transfer it to "only modem" mode. On the Internet you can find a lot of information on how to do this. If you have an LTE / 4G modem, then most likely you will not have to do this.
We connect the GPS module and the GSM modem to the USB connectors of the microcontroller.
Download the firmware if you have a GSM modem here , if you have an LTE / 4G modem, then here .
We write the downloaded image to the memory card using any program, such as Rufus or Win32 Disk Imager.
We insert the SD card into the microcontroller.
We connect your microcontroller to a computer or router via a local network.
We connect power to the microcontroller.
The Orange pi address on the network is 192.168.2.119. If the network settings of your local computer are different from 192.168.2. * / 255.255.255.0, then you need to register the IP and mask.
Next, open the browser and enter 192.168.2.119. On the settings page, you must enter the device ID obtained during registration on the geo.bg-c.ru portal.
Click the βSaveβ button and on the new page click the βReloadβ button. We are waiting for the device to reboot.
This completes the setup. Download the monitoring program βWhere is your carβ on your phone and track the location of your vehicle.