CAN bus with Arduino Due: Difference between revisions

From openinverter.org wiki
Jump to navigation Jump to search
mNo edit summary
(→‎Configure your Arduino IDE: Add IDE configuration)
Line 8: Line 8:


== Configure your Arduino IDE ==
== Configure your Arduino IDE ==
Download and install the [https://www.arduino.cc/en/Main/Software Arduino IDE] on your computer


''Tools -> Board -> Boards Manager''. Type "due" in the search box and install "Arduino SAM Boards (32-bits ARM Cortex-M3)"


Connect your computer to the the "programming" USB port on the Arduino Due board with a USB cable. The Due has two USB ports and they're used for different purposes. More on that later...
''Tools -> Port.'' Make sure your Arduino board is selected
''File -> Examples -> 01.Basics -> Blink''
''Sketch -> Upload''
Hopefully you have a blinking light on your Arduino board. This means your IDE is working.
== Configure your Due ==
== Configure your Due ==



Revision as of 19:30, 9 November 2020

You can analyse CAN bus traffic using an Arduino Due.

You will need the following:

  • An Arduino Due board
  • One or two SN65HVD230-based CAN transceivers
  • An SPI Micro SD storage module (optional)

Here are the steps:

Configure your Arduino IDE

Download and install the Arduino IDE on your computer

Tools -> Board -> Boards Manager. Type "due" in the search box and install "Arduino SAM Boards (32-bits ARM Cortex-M3)"

Connect your computer to the the "programming" USB port on the Arduino Due board with a USB cable. The Due has two USB ports and they're used for different purposes. More on that later...

Tools -> Port. Make sure your Arduino board is selected

File -> Examples -> 01.Basics -> Blink

Sketch -> Upload

Hopefully you have a blinking light on your Arduino board. This means your IDE is working.

Configure your Due

Get started with SavvyCAN

Start hacking