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

Not receiving any data.

Open Som4567 opened this issue 4 years ago • 1 comments
trafficstars

Hi

I have made appropriate changes to use 8Mhz crystal but unfortunately, I don't see any data in receiver.

I am not sure what's wrong with my code. Can you please guide me to debug the issue or any ways to figure out the problem.

Just to add: I am using Arduino uno

Som4567 avatar Nov 11 '21 14:11 Som4567

Same here - CanHacker sees the interface, but doesn't receive any data. I'm using a regular Nano V3 Clone with ATMega328P@16MHz 5V.


Never mind - I've replaced quartz oscillator on a CAN board with 16MHz one, and it works.

TzOk83 avatar Jan 07 '22 20:01 TzOk83

My CANHacker 2.0 with Nano Clone and MPC2515 CONNECTS but shows no data received even when I know there is data flowing to H/L pins. I've verified that my components all work by using https://github.com/Seeed-Studio/ Seeed_Arduino_CAN code and libraries to create a mini CAN on a test stand. In other words, using a Arduino Mega with MPC 2515 with a "SEND RANDOM" script to generate CAN data and a Nano Clone with MPC 2515 to "RECEIVE MONITOR," everything works fine. As verified on the serial monitor, all the random data sent by the Mega is received by the NANO and the only connection is the CAN twisted pair between the two MPC 2515's so in my mind that all works. I want to use CANHacker to view vehicle data, so I've installed the script CAN-USB and its associated libraries (to make a sniffer). CANHAcker "connects" to my Nano with no problems, but no matter what I do, it will not "receive" the random data sent from the Mega even though I verify (through serial monitor) that the Mega is still transmitting random CAN data. I've spent hours on this and looked at what I think is every available video on the internet including the very helpful German guy with the Volkswagon and the very helpful British guy who references the German guy. Any help would be much appreciated!

Here are the libraries I'm using for the CANHacker:

autowp/arduino-canhacker autowp/can-usb autowp/arduino-mcp2515

The script I'm using to interface between the Arduino and CANHacker is CAN-USB.

Again, thanks for any assistance in advance.

EJG3 avatar Aug 14 '22 11:08 EJG3