J2534 - Arduino

An Arduino runs a single void loop() .

Across the room, on a breadboard covered in colorful jumper wires, sits an . It costs $25. It runs at 16 MHz. It blinks an LED with cheerful simplicity. j2534 arduino

J2534 devices are sophisticated. They contain high-speed microcontrollers, large buffers, and precise timing circuits. They cost hundreds of dollars. An Arduino runs a single void loop()

Alex realizes the Arduino cannot be a J2534 device. It is too slow, too simple, and lacks the USB stack to emulate a Windows driver. But it can speak the language underneath J2534: raw CAN frames. Serial.print(" Data: ")

if (CAN0.readMsgBuf(&canId, &len, buf) == CAN_OK) { Serial.print("CAN ID: 0x"); Serial.print(canId, HEX); Serial.print(" Data: "); for(int i=0; i<len; i++) { Serial.print(buf[i], HEX); Serial.print(" "); } Serial.println(); } }