
Using the diagram from the Introduction, the parts are listed and options given for where to source them from.
For the Arduino boards in the project to use the CAn bus shields, the CAN bus shield library must be installed into the Arduino IDE. This lecture shows how to do this.
The wiring diagrams for the connection of the LED and Potentiometer to the Arduino Uno.
The wiring diagrams for the connection of the Push Button and LCD Display to the Arduino Mega.
The CAN bus shields are connected together by the pair of wires, CANH and CANL.
Code is written to blink the LED as well as send the value from the potentiometer to the serial monitor.
The code written in the previous lecture is downloaded into the Arduino Uno and run to test the I/O devices.
Code is written to send text to the LCD display as well as report the status of the push button to the serial monitor.
The code written in the previous lecture is downloaded into the Arduino Mega and run to test the I/O devices.
High Level Design of our CAN bus Network - Part 1
High Level Design of our CAN bus Network - Part 2
Includes, Global variables and the Setup function is coded.
The Loop function is coded in the sketch.
The code is written for the Arduino Mega to implement CAN bus.
The individual Arduino sketches are downloaded into the respective Arduinos and the system is run.
99% of the time, CAN bus will be implemented on embedded systems. That's the plain reality. So if you get a job where you are working with CAN bus, you will mostly likely be programming and troubleshooting this protocol on embedded systems. This course is designed to give you your first taste as to what it is like to program an embedded system in order to create your first very own CAN bus network.
This course uses the Arduino because by far it is the most popular system of it's kind out there. It's very inexpensive, widely available, easy to use and there is tons of support on the web for it. It's why I chose it for this course.
At the end of this course, I hope that you will purchase your own components and build, run and test just as is shown in the lectures. In that way, if you go to a job interview and they ask you go about building a CAN bus network, you will be able to say ... "Sure, let me tell you how I did it!"