Arduino Programming For Beginners

Tags: Arduino

Learn Arduino Programming step by step, and become more confident to write Arduino programs that rock !

Last updated 2022-01-10 | 4.7

- Create structured and efficient Arduino programs
- C and Arduino programming (+best practices)
- Become more autonomous when programming on Arduino
- and rely less on copying/pasting

What you'll learn

Create structured and efficient Arduino programs
C and Arduino programming (+best practices)
Become more autonomous when programming on Arduino
and rely less on copying/pasting
Write code and practice instead of just sitting and watching
Build a very basic Arduino circuit
Get more confidence for your next Arduino projects

* Requirements

* An Arduino board
* Some basic hardware components (detailed list in the first section) if you plan to program with a real circuit

Description

You want to learn Arduino programming from the beginning ?

You want to write Arduino code that works, and that you can understand ?

You want to really do things by yourself, instead of reading theory and copying/pasting some code ?

Then you are in the right place!

The goal of this course is to give you, step by step, the Arduino programming foundation that you need, along with a ton of practice, so you will be more confident to create much more complex and nice Arduino programs in the future.

You don’t need any special knowledge or programming experience to start this course, I will explain everything in details.

Every line of code that you see in this course will be written in front of you. I will write code, and you will also write code. No copy and paste.

For every important step on this course, you will do a programming activity to practice and get a better understanding.

Along the different activities, I’ll also give you some programming best practices that I’ve learned myself, so you’ll improve much faster than if you were just alone.


Why this course ?

Because I found that it’s hard to find a tutorial or course online that is mainly focused on Arduino programming.

I recognize that plugging out-of-the-box components can be cool, because you feel that you are making complex things, but for real, you are just using easy-to-plug blocks that work by themselves. And now, when you need to make something more complex by yourself, or even a basic thing that has no “fancy” component doing it for you, then at this point, you feel lost, and need to go back to the basics. Or you find some random code from the Internet that you can copy and paste, and hope that this code will just work out of the box.

I personally come from a programming background. So, when I first started to program on Arduino, I quickly noticed how limited most people are, just because they don’t have the required programming basics.

What I found is that most people are limited by the programming side. When you use Arduino, OK this is a hardware board, but the true value you add to your circuit, robot, or anything else, comes from the programming side. You can’t skip that if you want to become an advanced Arduino Maker.

So… Start your learning today and unleash your programming creativity !

Here is an overview of what you will learn through the course:

  • Install the Arduino IDE and upload a program to your Arduino board

  • C programming in the Arduino environment

  • Setup a basic Arduino circuit

  • Use digital and analog pins to control external hardware components

  • Communicate with the outside

  • Store values on your Arduino board

  • Create a multitask program

  • Separate your program into reusable blocks of code

  • … and much more !

Please make sure to read the following. This course is NOT for you if :

  • You want an Arduino course specialized in hardware

  • You just want to quickly plug components, copy and paste some code

  • You are not interested in software development

  • You already have strong basics in Arduino programming

Who this course is for:

  • Beginners who want to learn the Arduino through programming and practising
  • People who are tired of copying/pasting from the Internet because they don’t understand the code
  • Makers who already have a running project, but feel that they lack the programming foundation they need
  • Developers who already have some basic programming experience, and want to dive in Arduino programming

Course content

12 sections • 79 lectures

Welcome ! Preview 02:37

Hardware components used in this course Preview 03:09

How to get the most out of this course Preview 01:31

Intro Preview 00:24

Install the Arduino IDE Preview 02:09

Connect your Arduino board Preview 02:13

Arduino Program Architecture Preview 02:10

Upload Your First Program ! Preview 07:51

First Activity : It's Time to Practice Preview 00:58

First Activity - Solution Preview 01:38

Debug Your Program Preview 06:34

Reset the Arduino Program Without Uploading it Again Preview 03:06

Section Conclusion Preview 00:33

Intro Preview 01:20

Variables Preview 15:11

Variables - Data Types Preview 13:49

Functions Preview 14:16

Scope Preview 07:35

Activity 2 : Write a New Function and Print the Result on the Serial Monitor Preview 02:00

Activity 2 - Solution Preview 08:52

Comments Preview 03:03

Conditions Preview 12:17

Conditional Operators Preview 17:17

Switch Statement Preview 06:25

Activity 3 : Practice on Conditions Preview 03:08

Activity 3 - Solution Preview 09:11

Loops Preview 13:30

Arrays Preview 16:25

Constants Preview 03:14

Activity 4 : Compute the Max Value From an Array of Numbers Preview 01:51

Activity 4 - Solution Preview 07:57

C programming for Arduino - Conclusion Preview 00:40

Intro Preview 02:33

Understand How a Breadboard Works Preview 01:52

Pick the Right Resistors Preview 05:56

Build Your First Small Circuit Preview 05:48

Intro Preview 01:37

Hardware Setup : Add 3 LEDs Preview 05:16

pinMode() function Preview 03:06

digitalWrite() function Preview 01:48

Activity 5 : Blink 4 LEDs for your next Christmas Tree Preview 01:25

Activity 5 - Solution Preview 03:40

Activity 6 - Optimize Your Code With Arrays Preview 02:32

Activity 6 - Solution Preview 12:36

Hardware Setup : Add a Push Button Preview 03:54

digitalRead() function Preview 04:36

Activity 7 : Stop Blinking the LEDs When You Press the Button Preview 01:20

Activity 7 - Solution Preview 02:55

analogWrite() function Preview 05:50

Section Conclusion Preview 00:48

Intro Preview 00:55

Read Data From Serial Preview 07:10

Activity 8 : Let The User Choose Which LED to Power ON Preview 05:57

Activity 8 - Solution Preview 09:55

Use the EEPROM memory Preview 10:54

Activity 9 : Keep the User Choice For The Next Boot Preview 03:20

Activity 9 - Solution Preview 06:37

Section Conclusion Preview 00:30

Intro Preview 02:41

Hardware Setup : Add a Potentiometer Preview 04:15

analogRead() function Preview 03:01

Activity 10 : Choose Which LED to Power ON With The Potentiometer Preview 00:53

Activity 10 - Solution Preview 09:40

Use an Analog Pin as a Digital Pin Preview 01:29

Section Conclusion Preview 00:34

Intro Preview 02:44

Get the Current Time with millis() Preview 03:45

Blink a LED Without delay() Preview 07:38

Blink 2 LEDs With a Different Blink Rate Preview 05:23

Activity 11 : Blink 4 LEDS With 4 Different Rates, Using Arrays and Functions Preview 01:26

Activity 11 - Solution Preview 12:51

micros() and delayMicroseconds() functions Preview 03:32

Activity 12 : Create a Complete Multitask Program ! Preview 02:02

Activity 12 - Solution Preview 22:50

Section Conclusion Preview 00:58

Write Object Oriented Code with Arduino Preview 10:37

Bonus Lecture Preview 01:45