I have a problem. He has been trying to communicate via Arduino with my Forester from 98 for a long time. There is no K line or anything else that talks with normal car interfaces. There is a socket that looks like OBD but it is not. In principle, communication works and there are programs that can be connected, I'm talking about connecting with a cable. A regular FTDI cable works. And it's OK. But I wanted to do LCD display parameters.
I have two programs, one works and reads correctly TPS (throttle position or its deflection). In the other, I wanted to display more parameters by switching "screens" and the other one doesn't connect anymore. I don't know what I did wrong. Or what I can do it differently. The first program is a modification already found somewhere on the internet.
Program "ssm_tps_ok is working
but OBD_SSM1_v3 not.
SSM_TPS_OK.ino (3.09 KB)
OBD_SSM1_V3.ino (10.6 KB)