Page 1 of 1

Sending OBD data

Posted: Thu Jan 24, 2019 7:31 am
by sighting
I am trying to send OBD data to the Hub but it won't work.

Does anyone have an example for me to send OBD data?
I am looking to send 4 additional OBD fields to the hub only.

Thank you and happy new year.

Re: Sending OBD data

Posted: Sun Jan 27, 2019 8:35 am
by ivanovitch.slv
I have been using the freematics one+. In telelogger.ino just change thhe obdData vector for what your PID targets. The list below is that one I used

ID_POLLING_INFO obdData[]= {
{PID_SPEED, 1},
{PID_ETHANOL_FUEL, 1},
{PID_RPM, 1},
{PID_THROTTLE, 1},
{PID_ENGINE_LOAD, 1},
{PID_SHORT_TERM_FUEL_TRIM_1, 1},
{PID_LONG_TERM_FUEL_TRIM_1, 1},
{PID_INTAKE_MAP, 1},
{PID_MAF_FLOW, 1},
{PID_FUEL_LEVEL, 1},
{PID_CATALYST_TEMP_B1S1, 1},
{PID_CATALYST_TEMP_B2S1, 1},
{PID_CATALYST_TEMP_B1S2, 1},
{PID_CATALYST_TEMP_B2S2, 1},
{PID_ETHANOL_FUEL, 1},
{PID_CONTROL_MODULE_VOLTAGE, 1},
{PID_RELATIVE_THROTTLE_POS, 1},
{PID_ABSOLUTE_ENGINE_LOAD, 1},
{PID_AIR_FUEL_EQUIV_RATIO, 1},
{PID_AMBIENT_TEMP, 1},
{PID_ABSOLUTE_THROTTLE_POS_B, 1},
{PID_ACC_PEDAL_POS_D, 1},
{PID_ACC_PEDAL_POS_E, 1},
{PID_COMMANDED_THROTTLE_ACTUATOR, 1},
{PID_TIMING_ADVANCE, 1},
{PID_COOLANT_TEMP, 1},
{PID_INTAKE_TEMP, 1},
};

Re: Sending OBD data

Posted: Fri Apr 26, 2019 2:58 am
by gab696
Hi,
I also would retrieve obd values in freematics hub.
I've added pid_engine_oil_temp, recompiled .ino but it's not working for me.
I would collect the charts data of oil_temp and coolant temp. Is it possible ?
thanks !