Introduction
Welcome
What is Arduino?
List of Materials for this Course + Recommendations
Online Simulation – Quick Overview
How to get the most out of this course
Install and Setup Arduino IDE + Tinkercad Simulation
Intro
Install the Arduino IDE on your Computer
Customize your Arduino IDE for Better Readability
Connect your Arduino board and Find it on the Arduino IDE
Simulation – Create a Tinkercad account + How to Get Started
Your First Arduino Project
Intro
Arduino Setup and Loop Functions
Your First Arduino Project: Make an LED Blink
Debug Your Projects with the Serial Monitor
How to Restart your Arduino Program (Different ways)
Simulation – Your First Program + Debug + Restart
Activity 01- Change the LED Blink Rate, and Print a Message when it Turns on/off
Activity 01 – Solution
Create an Arduino circuit
Intro
Understand How a Breadboard Works
Decrypt the Color Code From Resistors
Quick Recommendations on Hardware Manipulation – PLEASE WATCH
Create a Circuit with 1 LED and 1 Resistor
Make your new LED Blink
Programming Basics for Arduino
Intro
Variables
Data Types
Functions
Scope
Conditions
Loops
Arrays
Recap
LEDs – Digital Pins as Output Pins
Intro
How Digital Pins Work as Output Pins
Set a Digital Value – Power on an LED
How Digital Pins Work with Analog Values (PWM)
Set an Analog Value – Change the Brightness of an LED
Activity 02- Make an LED Fade in/out
Activity 02 – Solution
Push Button – Digital Pins as Input Pins
Intro
Add a Push Button to Your Circuit
How Digital Pins Work as Input Pins
Read a Digital Value – Detect When the Button is Pressed
Activity 03 – Power on an LED Only if the Button is Pressed
Activity 03 – Solution
A Nice Additional Tool to Visualize Data on the Arduino IDE – Serial Plotter
Potentiometer – Analog Pins
Intro
Add a Potentiometer to Your Circuit
How Analog Pins Work
Read an Analog Value From the Potentiometer
Activity 04 – Set the LED Brightness with the Potentiometer
Activity 04 – Solution
Extra: Use an Analog Pin as a Digital Pin
Practice More with Arduino Pins
Intro – Arduino Pins Recap
Add 2 More LEDs to Your Circuit
Activity 05 – Create a Small Traffic Light System
Activity 05 – Solution
Activity 06 – Blink 3 LEDs When the Button is not Pressed
Activity 06 – Solution
Activity 07 – Improve The Previous Project with Functions and Arrays
Activity 07 – Solution
Serial Communication – Send and Receive Data
Intro
Send Data with Serial
Receive Data with Serial
Change Serial Baud Rate for Faster Communication
Activity 08 – Set an LED Blink Rate from the Serial Monitor
Activity 08 – Solution
Time Functionalities – Improve Your Programs and Multitask
Intro
Pause the Execution with delay() and delayMicroseconds()
The Problem with delay()
Get the Time with millis() and micros()
Compute the Duration of an Action
The Solution to Avoid Using delay()
Blink Multiple LEDs without delay()
Activity 09 – Re-write the Previous Activity on Serial without delay()
Activity 09 – Solution
Activity 10 – Multitask: Run 3 Actions Simultaneously
Activity 10 – Solution
Debounce the Push Button
Intro
The Bounce Problem – Experiment
The Bounce Problem – Explanation
Debounce the Push Button
Activity 11 – Toggle a Different LED when Pressing on the Button
Activity 11 – Solution
Arduino Interrupts
Intro
What are Interrupts, When to Use Them
Set up an Interrupt in Your Program
Software Debounce Inside an Interrupt
Warnings About Interrupts – When to use/not to use
Activity 12 – Count How Many Times you Press on the Push Button with Interrupts
Activity 12 – Solution
EEPROM – Save Values on the Arduino
Intro
What is EEPROM, When to Use it
Save and Retrieve Values with EEPROM
Activity 13 – Save an LED Max Brightness for the Next Program Run
Activity 13 – Solution
Ultrasonic Sensor – Measure Distances
Intro
Add the Ultrasonic Sensor to Your Circuit
How the Ultrasonic Sensor Works + pulseIn() function
Get the Distance From an Obstacle
Activity 14 – Measure the Duration of the pulseIn() Function
Activity 14 – Solution
Use the Ultrasonic Sensor with Interrupts Instead of pulseIn()
Activity 15 – Power on a Different LED Depending on the Distance From an Obstacl
Activity 15 – Solution
Extra – Improve the Stability of the Ultrasonic Sensor
LCD Screen – Display Text Directly on Your Circuit/Robot
Intro
Add the LCD Screen to Your Circuit
Print Text on the LCD Screen + Tune it with the Potentiometer
Play with the LCD Cursor
Activity 16 – Print Serial Input on LCD Screen
Activity 16 – Solution
Activity 17 – Print Distance From Obstacle on LCD Screen
Activity 17 – Solution
IR Remote Controller – Make Your Projects More Interactive
Intro
Add the IR Receiver to Your Circuit
Install a new Arduino Library with the Arduino IDE
Get Data From the IR Remote Controller (Library v2)
Change Library Version (v3) and Get Data From the IR Remote Controller
Map the Data You Read with the Controller’s Buttons
Use a Switch Structure to Handle IR Commands
Activity 18 – Choose which LED to Power on with the Remote Controller
Activity 18 – Solution (Part A)
Activity 18 – Solution (Part B)
Photoresistor – Measure Luminosity
Intro
Add the Photoresistor to Your Circuit
Read the Luminosity from the Photoresistor
Activity 19 – Power on LEDs if it’s Getting too Dark
Activity 19 – Solution
Activity 20 – Compute the Average Luminosity Over a Period of Time
Activity 20 – Solution
Final project – Interactive Obstacle Detection
Intro – Project Overview and Final Result
Step 1 – Get Distance with Ultrasonic Sensor
Step 2 – Change LED Blink Rate Depending on the Distance
Step 3 – Lock the Application When an Obstacle is Detected
Step 4 – Unlock the App with the Debounced Push Button
Step 5 – LCD Setup and Welcome Message
Step 6 – Print Distance and Warning Message on LCD Screen
Step 7 – Setup IR Remote Controller and Map Buttons
Step 8 – Unlock the App when Pressing on the Play Button
Step 9 – Change and Save (EEPROM) the Distance Unit
Step 10 – Switch Between Different LCD Screens and Reset Settings
Step 11 – Print Luminosity and Adjust the Lighting from the Photoresistor
Simulation – Code with Version 2 of the IR remote Library
Project Conclusion – Going Further
Tips and Best Practices to Create Your Own Arduino Project
Conclusion
What You’ve Learned
What to do next
Bonus Lecture
Welcome
No Attachment Found
