Data with ignition off

Inquiry and support for Freematics products
Post Reply
nawaz
Posts: 11
Joined: Thu Apr 23, 2015 11:21 pm

Data with ignition off

Post by nawaz »

I have been experimenting with the data logger for the last few days.

It seems that the logger continues to log PID data when the vehicle is switched off and I end up with a huge file. It might be vehicle dependent but it seems that even with ignition off the ECU in my vehicle keeps responding to requests on the OBD port. I can probably check that the vehicle is switched off by looking at engine rpm over few minutes and then putting the protocol processor to sleep. However, I am not sure how to detect that the vehicle is switched back on for another journey, wake up the protocol processor and start logging again?

Any thoughts?
stanley
Site Admin
Posts: 1026
Joined: Sat Mar 01, 2014 3:15 am

Re: Data with ignition off

Post by stanley »

Your car's ECU might be still reponding to PID request even if iginition is off. This is not the case for most cars and this causes the logger to continue logging data. You can tweak the code by adding a check for RPM and let the logger stop logging.
nawaz
Posts: 11
Joined: Thu Apr 23, 2015 11:21 pm

Re: Data with ignition off

Post by nawaz »

Yes stopping is relatively easy. But is there is a way to know that the vehicle has started up again in this case?
stanley
Site Admin
Posts: 1026
Joined: Sat Mar 01, 2014 3:15 am

Re: Data with ignition off

Post by stanley »

Just check RPM regularly.
Post Reply