BirchJD / PiOBDII

ODBII graphic interface on a Raspberry Pi computer, using an ELM327 Bluetooth/USB device. Read and display engine data, OBDII Trouble Codes & Descriptions Using Python. YouTube video: https://www.youtube.com/watch?v=yTRAhubZhsU
263 stars 71 forks source link

Conversion Metric to US Standard #5

Open lacriox opened 5 years ago

lacriox commented 5 years ago

I've done the computations and am displaying "corrected" US standard Speed, RPM, Temp etc, but am having issue with manipulating Text display, to reflect the change. eg 45 MPH displays as 45 km/H and Coolant Temp displays 120 C rather than 120 F ... Can you push me in the right direction please. Also, would like to spin off changes only for these conversions, and additional PID's additions if you wouldn't mind. Coolant Temp -- Result = ((int(Response, 16) - 40)*1.8) + 32 Speed -- Result = int(Response[:2], 16)/1.60934

BirchJD commented 5 years ago

I apologize for the delay in reply. I don't seem to get email notifications. The following files contain the information displayed and how it is formatted:

DATA/PidDescriptionsMode01.txt DATA/PidDescriptionsMode05.txt DATA/PidDescriptionsMode09.txt

lacriox commented 5 years ago

Great, thank you, and no need to apologize at all. I do appreciate the info.