ISO 9141-2

Inquiry and support for Freematics products
Sergii
Posts: 2
Joined: Sun Nov 01, 2015 2:38 am

Re: ISO 9141-2

Post by Sergii »

Stanley, I understand, that code doesn't support ISO-9141-1, but does your hardware support ISO-9141-2?
Rathana21
Posts: 1
Joined: Fri May 01, 2020 4:45 am

Re: ISO 9141-2

Post by Rathana21 »

lbroph wrote: Tue Apr 07, 2015 9:46 am I just received my OBD-II adapter for arduino and I am having issues initializing.

Car: 2001 Saab 9-3
Protocol: ISO 9141-2
Arduino: RoboRED (UNO)

I cannot even get the example RPM sketch to work. It doesn't seem to connect to the car. Used oscilloscope to verify arduino is transmitting, downloaded and added libraries successfully.

I can compile and upload the example code to my UNO just fine (no errors). After uploading, Rx light blinks about once/3 seconds if i keep the UNO connected to the computer. Once I disconnect and use other power source (from OBD-II adapter) it doesn't blink anymore, but scope shows it is still transmitting.

****** Does anyone have this same problem or the solution to it??? *******

Below is the example code I tried.


/*************************************************************************
* Sample sketch based on OBD-II library for Arduino
* Distributed under GPL v2.0
* Visit http://freematics.com for more informationRegroupement de prêt immobilier
* (C)2012-2014 Stanley Huang <stanleyhuangyc@gmail.com>
*************************************************************************/

#include <Arduino.h>
#include <Wire.h>
#include <OBD.h>

COBD obd;

void setup()
{
// we'll use the debug LED as output
pinMode(13, OUTPUT);
// start communication with OBD-II UART adapter
obd.begin();
// initiate OBD-II connection until success
while (!obd.init());
}

void loop()
{
int value;
if (obd.read(PID_RPM, value)) {
// RPM is successfully read and its value stored in variable 'value'
// light on LED when RPM exceeds 3000
digitalWrite(13, value > 3000 ? HIGH : LOW);
}
}
Me too I have a little problem on my OBD-II for Arduino
Help will be welcome
Devon
Posts: 1
Joined: Sat Aug 15, 2020 3:35 pm

Re: ISO 9141-2

Post by Devon »

Old cars keep running but
Post by stanley » Sat Apr 18, 2020 12:45 am
J1850 is phasing out so we are not going to add support for it.
Tsk! Seek J1850 VPW support, any better vendors out there?
Post Reply