Introduction and Requirements
Overview of the course with hardware and software requirements.
Part 1: Arduino Sketch Structure and Flow
Explains the structure of an Arduino program and how program statements are executed. Demonstrates a simple "Hello World" program.
Part 2: Arduino Sketch Main Loop and Calling Functions
How the Arduino main loop works and what it means to call a function.
Part 3: Variables
An introduction to Arduino variables showing the use of integer (int) and floating point (float) variables.
Part 4: Arithmetic Operators
Addition, subtraction, multiplication, division and remainder on an Arduino.
Part 5: Relational Operators
Comparing values in Arduino.
Part 6: Increment Operator and Commenting
How the Arduino increment operator works. Using comments in Arduino sketches.
Part 7: The Arduino for Loop
How the Arduino for loop works. Use the Arduino for loop to loop through code a set number of times.
Part 8: The Arduino while Loop
How to use the Arduino while and do-while loops.
Part 9: The Arduino if Statement
Using the Arduino if statement. How to get keyboard input to the Arduino from the Serial Monitor Window.
Part 10: Making Decisions with if-else
Arduino if-else construct. Switch an LED on and off using the Serial Monitor window.
Part 11: Decisions with if-else-if
Arduino if-else-if and if-else-if-else constructs. Control LED blink rates using if-else-if constructs.
Part 12: Logical Operators
OR, AND and NOT logical operators used in Arduino sketches to control an LED from the Serial Monitor window.
Part 13: Switch & Break
How the switch and break statements work in an Arduino sketch.
Part 14: Conditional Operator
The conditional operator is another decision making construct in Arduino programming.
Part 15: Functions
Learn how to write functions and use them in sketches.
Part 16: Returning a Value from a Function
How to get a value back from a function.
Part 17: Arrays
How to use arrays in Arduino sketches.
Part 18: Strings
The two types of Arduino strings explained.
Part 19: Serial Input
How to get data into an Arduino sketch from the serial port.