Arduino for CAN bus control and data storage through SD card

Hey guys.

I am new to Arduino and I want some suggestions on selecting the appropriate board.
Could you suggest me some types of Arduino board I may use if I want to have the following functions:

Compulsory:
Control a motor through the CAN bus.
Save the data on a Micro SD card
Power by a battery

Optional:
Have access to the Internet/Bluetooth.

It will be great if all the functions can be achieved on board but it is also acceptable if one or two external modules are used.

Thank you very much.

This sounds like a senior project, yes it can be done. First download the Bosch CAN 2.0 specification and read through it so you know what you are doing when you set up the CAN. Remember CAN will not work unless it has another node that acknowledges the messages. After that Get the Arduino cookbook by Michael Margolis and read it. Also on line there are many videos etc showing the Arduino and how to do what you want. This additional information will go a long way in getting your problem solved. Once you get past this you then need to select your sensors and actuators. At that point you start on the hardware design and write your software.

Hi,
What is the CANBUS motor controller?
What is the application?

Thanks.. Tom... :slight_smile:

gilshultz:
This sounds like a senior project, yes it can be done. First download the Bosch CAN 2.0 specification and read through it so you know what you are doing when you set up the CAN. Remember CAN will not work unless it has another node that acknowledges the messages. After that Get the Arduino cookbook by Michael Margolis and read it. Also on line there are many videos etc showing the Arduino and how to do what you want. This additional information will go a long way in getting your problem solved. Once you get past this you then need to select your sensors and actuators. At that point you start on the hardware design and write your software.

Thanks @gilshultz. I have already achieved most of the functions on Arduino UNO through a CAN bus shield. What I am going to do is to find an advanced Arduino board which has a micro SD port so that I can save the data to the SD. Currently, I find that MKR ZERO is one option and I am still wondering if there are any advanced Arduino board which have both the micro SD port and the Bluetooth/Wifi module.

TomGeorge:
Hi,
What is the CANBUS motor controller?
What is the application?

Thanks.. Tom... :slight_smile:

It means sending the control signal to the motor and reading the motor data, e.g. motor speed, through a CAN bus. This project aims to design an Arduino based controller to control the motor speed in real-time.

hansng:
It means sending the control signal to the motor and reading the motor data, e.g. motor speed, through a CAN bus. This project aims to design an Arduino based controller to control the motor speed in real-time.

Okay so use CAN bus to read the engine parameters, and then control the throttle via a stepper or motor on the throttle, or control a flyby-wire throttle system?
If the vehicle has no flyby-wire I cannot see how you can "command" the ECU via CAN bus to change engine speed.
Even with flyby-wire the ECU is expecting a signal form the throttle pedal sender and its two pots to get throttle position data.
I think you will find you don't need to send anything on the CAN bus just read it, the diagnostic plug gives out a variety data all the time, including engine and vehicle speed.
I can't say it can't be done, but unless you have expert knowledge of ECU and CAN bus operation, I await to see your results.
I can sense a bit of "Autonomous Vehicle" in your project.
Tom.... :slight_smile: