-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KWP Slow init with v1 != v2 #34
Comments
I did it ;-)
The readKWP.ino file modified for arduino one :
TXL didn't help me. Serial Monitor:
With car on but stopped:
|
Hey, Hmm, I've never seen I wonder if the slow part of your initKWP function is somehow just acting as a wakeup signal or something and the end of the KWP init still takes care of the actual initialization 🤔 Regardless, it is working, that's what matters! I'm glad you got it working :) Thanks for reporting the problem you encountered and the resolution. (Edit; I changed the title of this issue to better capture the issue encountered, hopefully others can find your resolution this way!) |
I read this information to initialize odb2 kwp2000 : |
Hi,
I was trying to communicate with ODB2 with my 206 1.1cc auto peugeot which should have the KWB2000 slow protocol.
I built the optoisolated hardware interface and it works properly with perfect signal ascent and descent fronts.
I started testing examples of read_softserial.ino library and modified readerKWP.ino for AltSoftSerial.
The first example with debug enabled has this log :
"
Looping
Before magic 5 baud.
Before setting port.
After setting port.
First read is: 85
read v1: 233
read v2: 143
v1: 233
v2: 143
init_success: 0
"
The problem is that the numbers V1 and V2 are different and initialization fails.
With the second example it fails without log.
I don't understand why V1 values other than V2.
Some suggestions?
The text was updated successfully, but these errors were encountered: