Arduino RPM Light using OBD2

Hello,

I need help whit my project. I’m trying to make RPM shift light for my Golf MK4 TDI 2003. I used an Arduino Nano and CAN-BUS module (Joy-it SBC-CAN01 CAN vmesnik 1 kos Primerno za: Arduino, Banana Pi, Raspberry Pi, Cubieboard | Conrad.si) to read the data from OBD2 port in my car. My CAN-BUS module has this ON OFF pins and I don’t know what it does, it uses MCP2515.

I tried using this program: GitHub - sandeepmistry/arduino-OBD2: An Arduino library for reading OBD-II data from your car over CAN bus

And it did not work. The program ran but there was no data. I tried it on other cars, and it didn’t work either. (The code was set up for 16.000hz which my board has)

I also looked at wiring the Arduino to w-terminal on the alternator, but it is too hard to reach and I don’t want to disassemble it.

I am using addressable LEDs and a voltage regulator to power the circuit from 12V pins on OBD2.

Your topic has been moved to this forum section as this location is more relevant to the subject

Hi, @marx64
Welcome to the forum.

Please read the post at the start of any forum , entitled “How to use this Forum”.

To add code please click this link;

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Is this you canbus module?
image
Where are the ON/OFF pins?

Thanks… Tom… :grinning: :+1: :coffee: :australia:

Hi,
I think you need to read the datasheet that is linked on that sellers site.

I think that explains it, canbus needs terminations at the ends of this comms cable pairs.
ON/OFF switches the terminal resistor in or out if it is or is not needed.

Tom… :grinning: :+1: :coffee: :australia:


I wired it as seen in the picture. Plus 5V power source (I’m using Arduino Nano).
Thanks for ur answers.

Hi,
In the software provided have you tried to change canbus speed?

Have you connected UNO gnd to vehicle gnd?
Canbus does not use Hi and Lo as balanced lines, each line has distinct levels to indicate things like bus busy etc, you need gnd to reference these levels.

Tom… :grinning: :+1: :coffee: :australia:

I did connect the gnd. I didn’t change the speed I was following this video How to hack your car | Part 1 - The basics of the CAN bus - YouTube