I'm trying to use cansniffer and candump to read the CAN bus data in my car with a Raspberry Pi and the PiCAN 2 board, but I have run into a weird issue I can't explain.
I've located the CAN-H and CAN-L wires in the car. I stripped part of the wires and used wires with an alligator clips on both ends to clamp to the stripped part. On the PiCAN board I attached wires to the CAN-H and CAN-L ports, each wire is stripped at the end, and also connected with alligator clamps.
I only see data from candump / cansniffer when I take off one of the clamps and 'rub' the wire against the clamp. Which seems really weird, and I have never experienced anything like this. Are there some tips that I can try?
I have tried using just wires, different wire gauge, but the problem stays.