Page 1 of 1

CANbus OBS enquire

Posted: Sun Nov 24, 2024 3:40 pm
by tcm1986
Hi All,

I'm new to CANbus programming. I will want to compile into PIC and use in onboard vehicle.
I will be geting the signal from the vehicle OBD unit
Few simple question to start off with.
How can i get the information on the signal light status (on/off)
Getting the brake light signal
and also on current engine RPM.

The vehicle using is based on Mercedes commerical vehicle

I'm using flowcode 9 and 10.
if there's sample will be great.

Thanks in advance.

Re: CANbus OBS enquire

Posted: Sun Nov 24, 2024 8:40 pm
by WingNut
I'm no expert on OBD but I'd suggest that each manufacturer has their own codes. Can bus is the mechanism between the OBD port and the ECU. So dont expect the same responses between different manufacturers. If you search online you should be able to find lists from different car manufacturers

Re: CANbus OBS enquire

Posted: Mon Nov 25, 2024 12:46 am
by chipfryer27
Hi

I'm certainly no expert and as WingNut suggests above, many manufacturers do indeed use specific codes unique to themselves. However there are standard and unique codes and these are helpfully identified by a 1 or 0. 0 = standard / 1= manufacturer specific.

I find this link to be quite helpful in explaining the general concept https://www.calamp.com/blog/obd2-codes/

Regards

Re: CANbus OBS enquire

Posted: Mon Nov 25, 2024 4:33 pm
by tcm1986
Hi WingNut and Chipfryer27,

Thanks for your respond.
I have look through the link in clamp, i found out the OBD mainly is giving error code.
However i will need is to take reading, isit possible to read current onboard data like is the signal light on, the rpm currently at and so.

Will need to use the signal from the CANbus to make a control panel on different thing in the vehicle.