need help about using another CAN ID than 0x12 #147
Replies: 2 comments 1 reply
-
I checked Sandeep's API: Maybe these sketches will work: TRANSMIT #include <CAN.h> RECEIVE #include <CAN.h> |
Beta Was this translation helpful? Give feedback.
-
Hello. I'd like to make a "cruise control" (tempomat) for my Lada Kalina2 car (Itelma M74 CAN controller), where are 500 kbps CAN network inside. My idea is connecting my ESP32 WROOM 32/32E/D1Mini (ESP32 Dev module) onto the +12V-CANL-CANH-GND wires of MMC car media center or combined speedometer, to get some informations from ECU, maybe control speed of car, disable IMMO, etc., using only CAN network.
már kész az áramkör ESP32WR32ECAN_TJA1050_MCP2515_test.pdf
Lada Kalina2 CAN sketch sample.txt
I have 3 similar ESP32 dev modules, now 32 and 32E are the transmitter/receiver in testing mode, the goal of this project is to make a sketch for the D1 mini, which contains ESP32 WROOM chip inside.
My problem: I wrote a sample sketch, based on Sandeep's work, universal one, I set transmitter or receiver functions using shorts in DI pins. Now I can send "hello" from ESP32E to ESP32, but if I modify 0x12 ID, transmission stops...
Please inform me, what do I do wrong? How can I modify ID's, For example 0xAF1, 0xAF8, 0xB41, 0x7E8, etc.
Beta Was this translation helpful? Give feedback.
All reactions