Logger: Datarate

Inquiry and support for Freematics products
Post Reply
Gauner
Posts: 19
Joined: Fri May 15, 2020 3:38 am

Logger: Datarate

Post by Gauner »

Hey,

can somebody tell me the approximate data rate that the OBD-II/MEMS/GPS Data Logging Sketch for Freematics ONE produces on the SD card?
I cannot find a configuration for the PIDs to log and the time rate in which it takes a log point.
If I had that, I'd only needed the size of a data point. :-)

I want to estimate the needed size of the sd card and the data volume per month i need for the cellular connection.

Thank You very much.
Gauner
Posts: 19
Joined: Fri May 15, 2020 3:38 am

Re: Logger: Datarate

Post by Gauner »

Ok, I found the setting for the time rate in datalogger/config.h,

Code: Select all

#define MIN_LOOP_TIME 100 /* ms */
and inside datalogger/datalogger.ino I found the PIDs to log:

Code: Select all

PID_POLLING_INFO obdData[]= {
  {PID_SPEED, 1},
  {PID_RPM, 1},
  {PID_THROTTLE, 1},
  {PID_ENGINE_LOAD, 1},
  {PID_FUEL_PRESSURE, 2},
  {PID_TIMING_ADVANCE, 2},
  {PID_COOLANT_TEMP, 3},
  {PID_INTAKE_TEMP, 3},
};
Is that correct?
Still I have no clue, how much data accrues in every loop.
Anybody a hint how to calculate this?
Post Reply