Arduino connection with CAN Controller

Hello Everyone,

I am Praveen, doing an project regarding CAN bus system using Arduino UNO. I am finding a difficulty in connecting the 5V arduino to 24V CAN controller. I don’t know how to give 5V input of Arduino to 24V input of CAN controller? Can anyone please help me.

Thanks in advance!

Hi, Welcome to the forum.

Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html

What canbus unit do you have. Can you post a link to data/specs and a picture of the canbus unit.

Can you tell us your electronics, programming, Arduino, hardware experience?

Thanks.. Tom.. :)

Thank you Tom for your reply.

I am using Arduino Mega 2560 and CAN-BUS shield which Implements CAN V2.0B at up to 1 Mb/s. This is the link for the CAN bus I am using in the project

https://www.distrelec.de/en/can-bus-shield-seeed-studio-113030021/p/30069964?q=+300-69-964&page=1&origPos=1&origPageSize=25&simi=97.6&no-cache=true

I am good at programming arduino but lacks hardware experience. The main problem I am facing is connecting arduino to CAN controller which works on 24V, but the operating voltage of arduino is less than 24V.

I felt Connecting DC to DC Converter will solve, but the circuit becomes very bulky and cumbersome. Dont know how to tackle this problem:(

Thanks in advance.

Hi, Ops shield. |500x280 You don't have to worry about connecting your Mega, just plug the shield into the sockets on the mega, it will supply the 5V needed to power the shield electronics.

You need this to read the specs and instructions.

https://www.seeedstudio.com/CAN-BUS-Shield-V1.2-p-2256.html

It includes schematics and library.

Although the system you will be connecting to is 24V, the canbus system is a standard voltage, the 24V of the system does not have to be connected to the shield, just gnd and can-high and can-low.

If you wish to power the Arduino system off the 24V supply, you will need a 24V to 5V DC to DC supply.

Is this a university/school project?

You need to research canbus.

https://www.linkedin.com/pulse/automotive-can-bus-system-explained-kiril-mucevski

This may help.

Tom.. :)