Iād like to try to make stuff to see how my car moves on the map in real-time.
So I would appreciate if you guys share with you ideas on what tools needed.
At least Asset Tracker is what I will need.
@askar, ODB2 stands for āOn Board Diagnosticsā version 2 and it allows you to get data from a carās computer. The Asset Tracker kit includes an Electron and a GPS module for tracking ANY asset, not just a car. However, do remember that with the Electron, sending data in real-time to āsee how my car moves on the mapā will chew up data on you SIM plan, just like google maps uses your phone planās data.
That's not entirely true, is it? Google maps has to load all the maps, which is what's eating up your data. Assuming you're not using the electron data plan to display anything, the only thing that it has to transmit are the GPS coordinates. Going from the ~20000 messages mentioned in the Kickstarter, you should be able to get a reasonable resolution.
Assuming you drive 4 hours every day, you should be able to update the coordinates every 30 seconds. That might be a bit too optimistic since I didn't account for data size and whatnot, but simply took the 20000 messages estimate.
Depending on what the use case is, you could perhaps toggle the 'live display', and save it to an SD cards for times when you don't need a live view.
@Moors7 is correct about the maps but the transmission of GPS coordinates still applies. You will need to decide what āreal timeā means to you. The question I have to ask is, if the Electron is sending out GPS coordinates in real time, where are they being displayed?
I guess that you can start by applying an algorithm that incorporates a minimum movement requirement, and if the coordinates havenāt changed enough, skip sending for X number of normal sends.
So for example, if you have not moved 100 meters, donāt send until (a) you move more than 100 meters, or (b) every 10th measurement even if you have not moved. That would cut down transmissions considerably if accounting for traffic lights, traffic jams, urban driving. And would start to account for parking, where you still want to know the position of the vehicle so power needs to be āonā all the time. You could incorporate a further backoff time so when not moving, it just sends a heartbeat measurement every 15 minutes to tell you that the system has not been removed.
Simply put, yes. Obtain the GPS coordinates, and transfer those to wherever it need to be. That receiving end will then be able to display the data any way you see fit, without having to use the SIM data, which is limited. Since that data is limited, you donāt want to send out data every second for example, since youāll blow through your data rather quickly.
The methods described by @awake should help limit data usage considerably.
Really there are two completely separate pieces to this puzzle, and they are COMPLETELY separate.
The first is to write software for the device that sends data at the required rate via a cellular connection. That is all that the Particle hardware and software should be involved in. The device figures out where it is, and sends it to a server upon request or on a particular predetermined schedule.
The second piece of the puzzle is much more complex. It is receiving, storing and displaying the data. A database of some sort is needed to store the data, and a method to choose and display the data is required. Google has extensive APIs that allow you to do that, but it will take extensive HTML, Android or IOS app programming to do that. But there are commercial Apps and programs that you can buy.
Yes, thatās about the minimum you need: An electron, a GPS sensor, and a power source (thereās a battery included). If youāre planning on a permanent placement in a car, you might want to look for options to hook it up to the car battery in some way.
I also wonder there should be already available solutions for GPS tracking out there, so whatās the good in creating on my own, except I play with particle products as a hobby in this particular case?
Iām not sure itās be even cheaper with particle products.
Asset Tracker kit costs $119, I think you can find ready solution for this amountā¦
You get to do anything you like with it. You can program your own logic, make maps the way you want it. Integrate it with other services. It'd be an IoT tracker, whereas the commercial ones I've seen were pretty 'dumb'. You have to text them, and then they'll respond with GPS coordinates, and things like that.
If you go with the Particle route, you're in full control of everything, which may, or may not, be desirable. You can customize everything to your pleasing.
This site has a list of some of the things you can read from your car, which might be interesting.
You get to do anything you like with it. You can program your own logic, make maps the way you want it. Integrate it with other services. It'd be an IoT tracker, whereas the commercial ones I've seen were pretty 'dumb'. You have to text them, and then they'll respond with GPS coordinates.
Just received my Asset Tracker package in the mail and wish to place this in my car and do exactly what you're describing, test and be done with it. Any idea what needs to be done? I'm not a programmer just wanted to have this because Spark Electron does quite the sales pitch on their Kickstarter page.