alaamo9:
give me some if you can....its 2 days i'm searching i didn't find any solution...when i used mcp2515.initCAN(CAN_BAUD_500K, CS_PIN) i get some values like rpm and intk air temp but i dont get most of values....can you give me an example of kwp slow protocole code for the can bus shield MCP2515...i want just to get values
did you even understand my first reply? KWP SLOW IS NOT BASED ON CAN PROTOCOL to my knowledge!
KWP SLOW is a serial protocol.
you can try this code (googled it btw!) but again be mindful of the voltage signal level form your car or you'll damage your arduino... you've been warned
#include <SoftwareSerial.h>
SoftwareSerial mySerial(12, 13); // RX, TX
void setup()
{
Serial.begin(115200);
mySerial.begin(10400); //10.4 kbaud
}
void loop()
{
if (mySerial.available()){
Serial.write(mySerial.read());
}
}