AlbertoMarziali / bmw_remote_start

BMW Remote start feature with Arduino
Other
39 stars 5 forks source link

Finding CAN codes #3

Open sam632 opened 3 years ago

sam632 commented 3 years ago

Hi, I really like this project. How did you find the CAN codes? I plan to use a similar setup but read the codes of button presses on the M1 and M2 steering wheel buttons (since they have no use in my car) and then control external devices such as an LED strip or an exhaust valve using a relay.

Also, are the airbags on KCAN2 in a BMW? Is there a chance the wrong code or something could set them off or stop them from working?

I have a 2014 M135i (F21) but I imagine it is similar to the F30.

Thanks Sam

1LineAtaTime commented 2 years ago

There are a couple of programs online to find CAN codes with arduino boards (and their respective .ino source codes). Then it's just finding it by trial and error while filtering out the noise. This is one example, but there are some better programs out there. https://www.instructables.com/Hack-your-vehicle-CAN-BUS-with-Arduino-and-Seeed-C/