Is your project related to Asset Tracker?

Continuing the discussion from Electron Ideas Contest, Y'all!:

Hi! I'm personally interested on this. At the store I see Asset Tracker - is that what can be used here?

What does exactly OBD2 reader do? It seems this is something to connect with car...

1 Like

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.

Anything else?

@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. :smile:

1 Like

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.

1 Like

@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?

2 Likes

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.

4 Likes

Still canā€™t get how data SIM will be used in google mapā€¦

Canā€™t I just obtain the information about coordinates and use that information in the application that will use an internet from different source?

Thanks.

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.

1 Like

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.

1 Like

This topic contains code for interacting with a GPS sensor, as well as an HTML demo with Google maps, showing those coordinates. Might be helpful :smile:

3 Likes

Can you please list up some popular ones?

(Though I'm more interested to learn and write by myself...)

Just to confirm, no matter what way I go with, Electron (or the whole Asset Tracker?) is what I'll need anyway, correct?

I mean the GPS sensor.

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.

1 Like

Yes, I'm planning to place permanently. The option you mean they're not sold in the store, as I understand...

Correct. Youā€™ll need a couple of different items. Mostly something to get your carā€™s voltage down to 5v. I would suggest a Car USB adapter.

1 Like

Here I posted internet traffic related post Is it possible to use a pocket wifi with Photon?

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ā€¦

What data would I want to take from a car's computer for asset tracking?

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.

2 Likes

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.