Find a course
Age level: University students (18–25)BeginnerEngineering

Arduino Basics

Wire, code and debug your first microcontroller projects

⏱ 2 h 35 min5 modules · 12 lessons64 practice questionsFinal exam: 20 questions
Included with this course

Your certificate for this course

Finish the 12 lessons (about 2 h 35 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.

  • Your name and this course titlePrinted in classic diploma typography
  • Grade: Pass, Merit or DistinctionOn the gold seal, with your final score
  • Unique ID and QR codeAnyone can verify it in seconds
  • Score report PDFModule-by-module results and exam score
  1. Lessons12 lessons
  2. Final exam20 questions · 70% to pass
  3. CertificatePDF + score report

What you will learn

  • Explain what a microcontroller does and identify the pins and power connections on an Arduino Uno
  • Install the Arduino IDE, upload a sketch and describe how setup() and loop() run
  • Wire LEDs on a breadboard and calculate a safe current-limiting resistor with Ohm's law
  • Read buttons with pull-up resistors, edge detection and debouncing
  • Measure sensors with analogRead, voltage dividers and map(), and control brightness or speed with PWM
  • Choose correct data types and use conditions, loops, arrays and functions without common C++ bugs
  • Debug sketches with the Serial Monitor and run several tasks at once using millis() instead of delay()
  • Drive servos and DC motors safely with drivers and separate power, and plan a complete project with a current budget

About this course

Arduino boards let you build things that sense the world and react to it: a light that turns on at dusk, a plant that waters itself, a robot that steers around obstacles. You don't need an engineering background. You need a board, a few parts and a clear explanation of how the pieces fit together. This free course gives you that explanation in one sitting.

You'll start with what a microcontroller is and tour the Arduino Uno, then install the IDE and upload your first sketch. Next you'll wire LEDs on a breadboard and calculate the right resistor with Ohm's law, read pushbuttons reliably with pull-up resistors and debouncing, and measure sensors with analogRead. You'll dim lights and control power with PWM, and learn the C++ essentials that matter on a small board: data types, conditions, loops, functions and the overflow bugs that catch beginners.

Then you'll learn to debug like a professional with the Serial Monitor and Plotter, and to replace blocking delay() calls with millis() timing so your projects can do several things at once. The last module covers servos, DC motors, transistors, flyback diodes, power supplies, battery life and a planning method that takes a project from idea to a permanent build.

The course is for students and curious beginners aged roughly 14 and up. Every lesson mixes short explanations and real code with calculators, wiring scenarios and find-the-bug exercises. Having a board in front of you helps, but it isn't required to follow along. Pass the final exam to earn a free certificate of completion.

Syllabus

  1. Getting Started with Arduino

    What a microcontroller board is, what is on an Arduino Uno, and how to write and upload your first sketch.

    1. What Is an Arduino?13 min
    2. Install the IDE and Upload Your First Sketch14 min
  2. Digital Outputs and Inputs

    Wire LEDs safely with the right resistor, build circuits on a breadboard, and read buttons reliably with pull-up resistors and debouncing.

    1. LEDs, Resistors and Breadboards15 min
    2. Buttons and Digital Input15 min
  3. Analog Input and PWM Output

    Turn real-world voltages into numbers with analogRead, read sensors such as potentiometers and light sensors, and fake analog output with PWM.

    1. Analog Input and Sensors15 min
    2. PWM: Dimming LEDs and Controlling Power13 min
  4. Programming Your Arduino

    Write clearer sketches with variables, conditions, loops and functions, debug with the Serial Monitor, and replace delay() with millis() timing.

    1. Variables, Decisions, Loops and Functions15 min
    2. The Serial Monitor and Debugging13 min
    3. Timing Without delay(): Using millis()14 min
  5. Motors, Power and Projects

    Move things with servos and motors through the right driver, power your project safely, and plan a complete build from idea to working prototype.

    1. Sound, Distance Sensors and Libraries14 min
    2. Servos, DC Motors and Transistors15 min
    3. Powering and Planning a Complete Project15 min
  6. Final exam and certificate

    20 questions drawn from a pool of 34. Score 70% or more to pass; retakes get a fresh set of questions.

Try a sample question

A student wants a device that checks a soil-moisture sensor every few minutes and switches a small water pump, running for weeks on a battery pack. Which is the better fit?

  1. A laptop running a Python script
  2. A Raspberry Pi running a full operating system
  3. An Arduino-style microcontroller board
  4. A smartphone app
Show the answer

Answer: C. An Arduino-style microcontroller board

Reading one sensor and switching one output is exactly a microcontroller job. An Arduino starts instantly, uses very little power and has no operating system to crash or update. A Raspberry Pi could do it, but it draws far more power and is overkill unless you also need a camera, network server or screen.

Microcontroller
A small computer on a single chip, with processor, memory and input/output pins, that runs one program to control hardware.
Sketch
An Arduino program, written in C++ and uploaded to the board.
IDE
Integrated development environment: the software used to write, compile and upload sketches.
setup()
The sketch function that runs once when the board powers up or resets.
loop()
The sketch function that runs repeatedly for as long as the board has power.
Digital pin
A pin that outputs or reads one of two states, HIGH (about 5 V on the Uno) or LOW (about 0 V).

Frequently asked questions

Do I need to buy an Arduino to take this course?

No. You can follow every lesson, calculator and exercise without hardware. A starter kit with an Uno-compatible board, breadboard, LEDs, resistors, buttons, a potentiometer and a micro servo makes the ideas stick much faster, and online simulators such as Wokwi or Tinkercad Circuits let you try sketches in a browser.

What programming language does Arduino use?

Arduino sketches are written in C++. The Arduino core adds easy functions such as pinMode, digitalWrite and analogRead, and hides the main() function, so beginners can start with just setup() and loop() and learn more C++ as they need it.

Are Arduino clone boards OK for learning?

Yes. Because the design is open source, many companies make compatible boards. They run the same code. Some use a different USB chip (often the CH340) that may need a driver on older computers. Buying official boards supports the project that maintains the software.

Can an Arduino damage my computer?

It is very unlikely. The Uno has a resettable fuse on its USB power line. The real risks are to the board itself: short-circuited pins, more than 5 V on a pin, or reversed external power. Following the wiring rules in this course avoids almost all of them.

What is the difference between Arduino and Raspberry Pi?

An Arduino is a microcontroller board that runs one program with precise timing, starts instantly and uses little power. A Raspberry Pi is a small Linux computer that handles cameras, screens, networking and heavy software. Many projects use both: the Pi for thinking, the Arduino for handling hardware.

Why does my Serial Monitor show strange characters?

Almost always because the baud rate in the Serial Monitor does not match the number in Serial.begin(). Set the dropdown to the same value, such as 9600 or 115200.

Is the certificate an accredited qualification?

No. It is a certificate of completion that shows you finished the lessons and passed the exam. It is a good way to document what you have learned, but it is not an academic or professional credential.

Sources and further reading

Related courses

TeensBeginner

Electronics for Beginners

Circuits, Ohm's law, resistors, LEDs, breadboards and your first microcontroller project

Engineering
1 h 50 min10 lessonsCertificate
Adults & professionalsBeginner

3D Printing Basics

From choosing a printer to slicing, troubleshooting and finishing

Engineering
2 h12 lessonsCertificate
University studentsIntermediate

Electrical Circuits Fundamentals

From Ohm's law to Kirchhoff, Thevenin, transients and AC impedance

Engineering
2 h 50 min12 lessonsCertificate
Adults & professionalsBeginner

How Cars Work

Engines, transmissions, brakes, tires and electric cars explained in plain English

Engineering
2 h 10 min13 lessonsCertificate
TeensBeginner

Introduction to Robotics

Sensors, motors, code and control: how robots sense, think and act

Engineering
1 h 45 min10 lessonsCertificate
University studentsBeginner

Engineering Drawing and CAD Basics

Read and create technical drawings, from orthographic views to 3D models

Engineering
2 h 25 min11 lessonsCertificate