arduino-OBD2 icon indicating copy to clipboard operation
arduino-OBD2 copied to clipboard

CANReceiver example works but OBD RMP and other codes are not working

Open Zi-x opened this issue 2 years ago • 2 comments

Hi My car is Suzuki produced in 2011. The development board uses esp32-wroom-32, and the can transceiver uses vp230. Some data can be obtained using the CANReceiver program, but all the other sample code does not work. Later, I started to try the OBD2 library, and all the sample programs stopped at OBD2.Begin(), specifically: the serial port output failed several times, and then stopped. If the vehicle is not connected, it always outputs failed. I tried all kinds of possibilities in a few days, but still only the canreceiver program can get some data: QQ图片20220901223409

Zi-x avatar Sep 01 '22 14:09 Zi-x

Now I have changed a can transceiver, and now I use tja1050, which is 3.3V compatible. However, the phenomenon is still similar to that before. For this reason, I tested the voltages of canh and canl, as shown in the figure (it seems that the normal range is - > canh: 3.54v, canl: 1.10v). At the same time, another esp32 has been replaced, but the problem is still as above. Snipaste_2022-09-07_15-54-18 Snipaste_2022-09-07_15-54-40

Zi-x avatar Sep 07 '22 07:09 Zi-x

on file ODB2.cpp change the id 0x7df to 0x7e0 and try

Sheimy avatar Oct 26 '22 19:10 Sheimy