TL;DR
I want to track freight trucks through GPS and have the data sent over wifi to a server, once they come in for the night.
Am I doing it right? Is there a better way?
Hello, everyone.
I am a Arduino newbie, as I have only just ordered a couple of UNO's from the store to get started on. Now, I've done some research and consider myself slightly above "clueless" in terms of electrical knowledge, as well as programming knowledge. My idea is to create a passive GPS tracker that would be fixed on each of a fleet of freight trucks. These are smaller trucks - International 4900 series -. They come and go every day from the same loading docks. I set up the wifi here and have access to the router and server.
The process would go as follows:
Each arduino would be one of the ARDUINO UNO WIFI REV2 versions, attached with a
https://www.amazon.com/gp/product/B075DD5746/ref=ox_sc_act_title_1?smid=A1N6DLY3NQK2VM&psc=1
(It is a "MakerFocus GPS Module 51 Microcontroller Ublox GPS Compatible NEO-6M STM32 Arduino Navigation Satellite Positioning GT-U7")
Along with an SD card module and a 9v battery. The GPS would need to ping location ideally every 1 minute or so and write to a text file.
What follows is that the Arduino would save these as logs on the sd card, organized by day. When the truck comes into the docking bay, the Arduino would connect to the WLAN, and dump the file for the day onto the waiting server machine.
I am reading a lot about setting up the code for the Arduino that reads the GPS module, parses it and records the data in a text file (csv maybe?) and with some work, it can be made to do what I want, I think.
It gets a little complicated from there and I'm sure the software side of it will take some work to get to a robust enough state to present these lat/long markers through the Google Maps API.
I am curious to know if you, as experts, see any glaring flaws with the flow of this process or know of an easier way to go about this process of passively tracking the fleet of trucks.
What I want for the idea is to create a solution whereby a manager could open a Map that shows where the truck was at, at which times of the day, given that the truck has come in.
Thank you very much for getting through all of that.