CAN translate messages

Hi, new to the forum and very new to arduino. I would appreciate if someone could guide me into this project. I need to build an Arduino to send a specific code through a vehicle CAN network when a specific button is pressed on a car. I think I will need a Arduino (Uno or Nano) and a CAN BUS shield (MCP2515). Is that right? Thanks in advance.

Arduino + CAN overview (not a product recommendation)

https://www.seeedstudio.com/blog/2019/11/27/introduction-to-can-bus-and-how-to-use-it-with-arduino/

Just a disclaimer:
Messing with your vehicle using CAN to inject messages "may" be restricted by laws or regulations in some areas and may have legal consequences.
--- just saying, you are on your own

Thank a lot. I will read it.

Not really. You need specific knowledge of the CAN bus devices. Which device will handle Your injected message and what action is that supposed to start?
It sounds like hazard to even try, unless the car is permanently jacked up.

Hi and thanks for the answers. I'm just need a specific command to be send to the radio when a certain button is pressed. Very simple. I could identify the Canbus ID and the bytes, here they are:

When I press the button it sends this codes the exact byte in parenthesis):

1E8 8 05 40 (BF) 22 46 5A 6E 82

I need Arduino to send this:

21F 3 (08) 00 00

Thanks

Okey. You know how to listen, track, CAN buss messages. Then You are able to check up an Arduino and its CAN buss interface, what code it is sending. After that, connecting the project to the car ought to work.

Do some search (Google) for "Arduino + CAN buss". Soory I can't advice You for the CAN buss components. I have used Arduino UNO ver 3 for the lot of my projects...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.