Free 3D Arduino course · 16 lessons · the fastest way to learn Arduino in a browser
Everything on this page is also in the 16 written lesson guides. The 3D board above is the practice; the text below is the reference — the part to keep once you have started to learn Arduino.
What is an Arduino Uno?
The Arduino Uno R3 is a microcontroller board built around an 8-bit ATmega328P running at 16 MHz with 5 V logic. It exposes 20 input/output pins: 14 digital pins (D0–D13, six of which also do PWM on D3, D5, D6, D9, D10 and D11) and 6 analog inputs (A0–A5, 10-bit, reading 0–1023 across 0–5 V). Alongside them are 5 V, 3.3 V, VIN, two GND pins and RESET. A sketch — the Arduino name for a program — is stored in 32 KB of flash, runs with 2 KB of SRAM and can keep 1 KB of EEPROM between power cycles. It is also the board you learn Arduino on in every lesson here, which is why the pin numbers below never change.
Those numbers explain most beginners' first surprises. A digital pin is comfortable sourcing or sinking about 20 mA, which is enough for an LED with a 220 Ω resistor but not for a motor that pulls 200 mA or more. An analog input does not read volts: analogRead() returns a count from 0 to 1023, so on a 5 V Uno one count is 4.88 mV. PWM is not an analog voltage either — analogWrite(128) switches a pin high for roughly half of a 490 Hz period, which is why an LED dims smoothly while a motor needs a driver rather than a direct pin. Learn Arduino repeats these three limits in the lesson where each first bites, because they cause most failed first builds.
The board is powered over USB-B or through a barrel jack rated for a recommended 7–12 V, and the on-board regulator supplies the 5 V and 3.3 V rails. Lesson 1 walks the pinout one header at a time and also covers what changes on the newer Uno R4: that board replaces the 8-bit AVR with a 32-bit Renesas RA4M1 at 48 MHz and 256 KB of flash, while keeping the Uno shield footprint. Every lesson on Learn Arduino targets the R3, because it is still the board most starter kits ship with and the one the 3D model reproduces pin for pin. That is a deliberate limit: Learn Arduino would rather you learn Arduino on the board you already own than on a spec sheet for a newer one.
You do not need to memorise any of this before you learn Arduino. Each of the 16 lessons introduces only the pins it uses, shows them in a wiring table, and then runs the sketch against that exact table. The specification numbers are repeated where they matter — the HC-SR04's ÷ 58 conversion, the TMP36's 10 mV per °C, the 28BYJ-48's 2048 half-steps — so the fact you need is always next to the circuit that uses it — the thing people who learn Arduino from scattered tutorials rarely get.
What an Arduino Uno starter kit needs
If you only want to learn Arduino in the browser, the answer is nothing: the Learn Arduino simulator supplies the board and every part below. If you plan to rebuild the circuits on a bench, this is the complete parts list behind the 16 lessons, with the quantity and the reason each component is there. Rows are ordered by the lesson that first uses them, and the same values appear in the wiring tables on the individual lesson pages. Nothing on that list has to be bought before you learn Arduino.
| Qty | Part | Used in | What it is for |
|---|---|---|---|
| 1 | Arduino Uno R3 (ATmega328P, 16 MHz, 5 V) | Every lesson | The board all 16 sketches target; 14 digital pins, 6 analog inputs, 32 KB flash. |
| 1 | Half-size breadboard (400 tie points) | Lessons 2–16 | Lets you move a jumper without soldering; the centre gap splits each row in two. |
| 10 | 220 Ω resistors | LED, RGB LED, traffic light | Limits a red LED to roughly 14 mA at 5 V so a pin stays under its 20 mA recommendation. |
| 4 | 5 mm LEDs (red, yellow, green, blue) | LED blink, RGB LED, final project | The first output you control; the long leg is the anode and goes toward the pin. |
| 1 | Common-cathode RGB LED | RGB LED | Three diodes in one package, each needing its own 220 Ω resistor and a PWM pin. |
| 2 | Tactile push buttons | Push button, piano | A momentary switch between a pin and 5 V or ground; the piano lesson uses eight. |
| 3 | 10 kΩ resistors | Push button, LDR, FSR | Pull-down or the fixed half of a voltage divider; INPUT_PULLUP can replace one of them. |
| 1 | 10 kΩ potentiometer | Potentiometer | A three-terminal divider whose wiper feeds A0 a value from 0 to 1023. |
| 1 | Light-dependent resistor (LDR) | Light sensor | Falls from about 1 MΩ in darkness to 10–20 kΩ in daylight. |
| 1 | HC-SR04 ultrasonic sensor | Ultrasonic sensor, final project | Trig and Echo pins; distance in cm = echo time in µs ÷ 58. |
| 1 | Piezo buzzer | Buzzer, piano | tone(pin, hertz) sets the pitch; a passive buzzer plays any frequency you send. |
| 1 | TMP36 temperature sensor | Temperature sensor | Outputs 750 mV at 25 °C and changes 10 mV per °C. |
| 1 | SG90 servo motor | Servo motor | Holds a 0–180° angle from a 50 Hz signal with a 1–2 ms pulse. |
| 1 | 28BYJ-48 stepper + ULN2003 driver | Stepper motor | 2048 half-steps per revolution (64 steps × a 32:1 gearbox); never wire it straight to a pin. |
| 1 | TIP120 transistor + 1N4007 diode | DC motor | Switches the 200 mA or more a motor draws; the diode catches the coil's flyback. |
| 1 | Capacitive soil moisture sensor | Soil moisture sensor | Analog output falls as water content rises; resistive probes corrode within weeks. |
| 1 | FSR 402 force-sensitive resistor | Force sensor | Drops from over 1 MΩ untouched to a few hundred ohms under firm pressure. |
| 1 | USB-B cable + 7–12 V supply (optional) | Every lesson | The simulator needs neither; a real Uno draws power from USB for most of these circuits. |
Two items on that list are easy to skip and worth keeping, and both are parts Learn Arduino explains twice. The 220 Ω resistor is not decoration: a red LED drops about 2 V, so without it a 5 V pin would push far more than the recommended 20 mA through both the LED and the pin's driver. The 1N4007 diode across a DC motor is the same story in reverse — when the coil switches off it generates a voltage spike, and the diode gives that current somewhere to go instead of through the transistor.
Everything else is optional in the sense that the browser version needs none of it. If you want to learn Arduino on a real bench, a clone Uno R3 costs roughly 20–25 USD and a kit containing the sensors, motors and jumper wires another 15–20 USD. Buy the capacitive soil moisture sensor rather than the cheaper resistive probe if you plan to leave it in soil: the resistive type corrodes within a few weeks, while the capacitive one measures the dielectric change and keeps working. None of it is needed to learn Arduino here; all of it is needed to rebuild the 16 circuits on a bench.
How to learn Arduino coding on your own
Most people who want to learn Arduino programming expect the code to be the hard part. It is not. A sketch is C++ with the sharp edges filed off: two required functions, setup() and loop(), plus a handful of calls that are one line each. You can learn Arduino coding in the same order the board itself is laid out — output, then input, then measurement — instead of starting with a language course you will not use for months. That order is how Learn Arduino sequences all 16 lessons.
A sketch has two required functions. setup() runs once at power-on and is where pinMode() and Serial.begin() go. loop() runs again and again forever, and it holds the behaviour: digitalWrite(), analogWrite(), delay(), analogRead(). Everything else is a variable, an if, or a library call. Across Learn Arduino you meet about a dozen core functions; the Arduino language reference lists them all, and the lesson where each first appears explains the arguments it takes. You can learn Arduino without ever writing a class, which is why the C++ part stays small here.
The fastest way to learn Arduino code is to read code you can run. Each of the 16 lessons ends with a sketch of 20–60 lines, a table that explains every line, and a 3D circuit that executes it — so when a value looks wrong you can change one number and watch the serial monitor answer. On Learn Arduino the sketch and the wiring table always use the same pin numbers, which is the detail that makes a copied sketch work on the first try.
Libraries arrive late on purpose. Only two lessons need one: Servo for the SG90 and AccelStepper for the 28BYJ-48, both installed from the IDE's Library Manager. Until then you write the logic yourself, which is how you learn Arduino timing, thresholds and calibration rather than how to call somebody else's function. Classes and templates are visible in library source but never required in your own sketch. Reaching for a library before you can read the loop is the most common way to stop learning Arduino halfway.
A workable routine: 20 minutes per lesson, one lesson per day, and change one value before moving on — the pace most people who learn Arduino keep for about two weeks. If you want a longer answer, the six-step guide to learn Arduino lays out the order, the time budget and what to skip. If paper suits you better than a screen, the six beginner books compared on Learn Arduino list page counts, companion code and which lessons each one pairs with.
What an Arduino Uno course should teach you first
Learn Arduino here as one continuous build, not 16 unrelated tricks. Each lesson adds one idea and reuses the pins and functions from the ones before it, so by lesson 16 the traffic-light project is assembled from pieces you have already wired separately. The three groups below are the same order you get in the curriculum rail above and on the course index — the order Learn Arduino expects you to follow.
1. Pins, outputs and inputs (lessons 1–5)
You start with Arduino Uno Pinout so every later wiring table has a name you recognise. Then Blink an LED on Arduino introduces digitalWrite() and delay() on D13, Arduino Push Button adds INPUT_PULLUP and the 10 kΩ pull-down, Arduino Potentiometer reads a 10 kΩ potentiometer on A0 and maps 0–1023 to a useful range, and Arduino RGB LED puts three 220 Ω resistors on PWM pins. After five lessons — the first hour of Learn Arduino — you can set a pin high or low, read a pin, read a voltage and vary an output. Those four operations are what almost every Arduino project is made of, and they are the test of whether you want to learn Arduino further.
2. Sensors and sound (lessons 6–11)
The middle group turns those four operations into measurements. Arduino Light Sensor builds a voltage divider with an LDR, Arduino Ultrasonic Sensor times an echo with pulseIn() and divides the microseconds by 58, and Arduino Buzzer generates a frequency with tone(). Build an Arduino Piano with Eight Buttons scales the button lesson to eight INPUT_PULLUP inputs and an array of notes, Control a DC Motor with Arduino and a Transistor explains why a 200 mA motor needs a TIP120 transistor and a flyback diode, and Arduino Temperature Sensor converts the TMP36's 750 mV offset and 10 mV per °C slope into degrees. Six lessons, six different ways an analog world becomes a number the sketch can use — and the point where most people who learn Arduino stop copying and start measuring.
3. Motors and a full project (lessons 12–16)
Now the output side gets physical. Arduino Servo Motor commands a 0–180° angle with the Servo library and a 1–2 ms pulse, Arduino Stepper Motor counts the 2048 half-steps of a 28BYJ-48 through a ULN2003 driver, Arduino Soil Moisture Sensor with an OLED Display calibrates a capacitive soil probe against dry and wet readings, and Arduino Force Sensor (FSR 402) puts an FSR 402 in a 10 kΩ divider to measure pressure. Arduino Uno Projects then combines the HC-SR04 with a red-yellow-green traffic light: distance decides the state, a threshold decides when to switch, and the whole thing is a circuit you have already built twice in smaller pieces. It is where Learn Arduino stops teaching parts and starts teaching a project.
Each lesson page carries its own wiring table, the full sketch, a specification table, common mistakes, sources and three links to related lessons. The typical page runs 1,200–1,400 words, so it can be read without the 3D board at all — that is deliberate, because a reference you can quote is more useful than a demo you have to replay. That is also why Learn Arduino publishes both halves: the simulator to get the pin map right, the written guide to keep.
Why wire it in the browser first
The 3D board shows the physical Uno and breadboard so you can see which row a jumper lands in, runs the sketch with animated current flow and a schematic overlay, and prints Serial.println() output to a serial monitor as the code executes. Drag pans, Q and E rotate, the wheel zooms and Space runs or stops it. All 16 circuits use the same wiring tables the simulator uses, so the picture and the page never disagree about a pin — which is exactly what makes Learn Arduino usable before a board arrives. Every circuit you learn Arduino with on screen is the same circuit printed in the guide, pin for pin, and most readers spend their first week learning Arduino here.
Its limits are just as instructive: an ideal 5 V supply and perfect connections mean analogRead() returns a clean 0–1023 instead of jittering by one or two counts, and a simulated HC-SR04 echo arrives cleanly where a real sensor has a 2 cm blind zone. A reversed LED or missing common ground is a mistake the simulator will happily accept, because the circuit is described in software rather than measured. So every Learn Arduino lesson ends the same way: take the wiring table to a real Uno R3, copy the unchanged sketch into Arduino IDE 2.x at 115200 baud, and calibrate. Use the browser to get the pin map right in ten minutes; use the bench to learn what the datasheet could not tell you.
If you want the long version of that argument — what the 3D board simulates exactly, what it cannot, and how to move from it to hardware — read the Learn Arduino online simulator guide. It also explains why people who learn Arduino online first tend to spend less time debugging a breadboard and more time reading the datasheet, and what to buy when you stop learning Arduino online and start wiring the bench.
Learn Arduino in your first ten minutes
You do not need a board, an account or an install to learn Arduino here: the 3D model above is already wired to lesson 1. Four steps put a working circuit in front of you — and because every step maps to a written page, the ten minutes also tell you whether you want to learn Arduino with hardware next.
- Drag the mouse to pan the 3D board and press Q and E to rotate it, so you can see which breadboard row each jumper lands in.
- Press Space to run the sketch you learn Arduino with first: lesson 2 blinks the LED on D13 and prints to the serial monitor.
- Open the Pinout tab and click a pin to read its job — 14 digital, 6 analog, 6 PWM, and the two pins reserved for USB serial.
- Read the matching written guide, then change one number in the sketch and run it again. Learning Arduino is mostly this loop.
Ten minutes is enough to judge the whole course. If the pin map already makes sense, buy an Uno R3 clone for about 20–25 USD and start learning Arduino on the bench; if it does not, repeat the first two lessons here — they are free and take about 25 minutes together.
Where to go next on Learn Arduino
- Learn Arduino online simulator — what the browser board does, what it does not, and how to start in ten minutes.
- Best book to learn Arduino — six beginner books by page count, code and which lessons they pair with.
- Is it hard to learn Arduino? — the honest answer, with the five things that actually stop beginners.
- How to learn Arduino — a six-step path and a 20-minute-a-day plan.
Frequently asked questions
Do I need to buy an Arduino board to take this course?
No. All 16 lessons run in the browser on a 3D Arduino Uno R3, including the wiring, the sketch and the serial monitor, so you can learn Arduino without spending anything. Lessons 1 and 2 are free. If you want hardware later, an Uno R3 clone and a basic starter kit together run about 25 to 40 USD, and every lesson page lists the exact parts and pin numbers you would need. That is the cheapest order to learn Arduino in: read the free lessons first, then buy the board only if you still want to.
Arduino Uno or Arduino Nano — which should a beginner buy?
Buy the Uno R3 first. It has 14 digital pins, 6 analog inputs, a 5 V regulator, a barrel jack and a USB-B socket, and its ATmega328P is a removable DIP chip. The Nano uses the same 8-bit ATmega328P at 16 MHz with 32 KB of flash, but it is roughly 45 × 18 mm, has no barrel jack and needs a mini-USB or USB-C cable depending on the revision. Both run at 5 V logic, so the circuits in these 16 lessons work on either board — buy whichever board your first kit ships with and learn Arduino on it.
Do I need to know C++ before starting?
No. The first sketch is about nine lines long and uses four functions: pinMode(), digitalWrite(), delay() and setup()/loop(). Across all 16 lessons you meet roughly a dozen core calls — analogRead(), analogWrite(), map(), tone(), pulseIn(), Serial.begin() and constrain() among them — and each one is explained where it first appears. Classes and C++ syntax only show up when a lesson loads a library such as Servo, and even then you write one line to attach the object. That is why most people can learn Arduino coding without a C++ course first.
Is Arduino hard to learn?
No. It is one of the gentlest ways into embedded programming: lesson 1 (the pin map) and lesson 2 (blink) take about 25 minutes together, and the whole 16-lesson course is 4 to 5 hours. What makes it feel hard is rarely the code. It is wiring a jumper into the wrong row, powering a 200 mA motor from a pin rated for 20 mA, or guessing what a library does — and this course shows all three on purpose, so you meet them with a working example next to the mistake.
How long does it take to learn Arduino?
To wire and run all 16 circuits here: about 4 to 5 hours, or a little over two weeks at one 10–20 minute lesson a day. To design your own project without following a lesson: most beginners need 20 to 30 hours of practice, because that is when timing, sensor calibration and debugging on real hardware start to matter. Lessons 1–5 cover pins and basic I/O, lessons 6–11 add sensors and sound, and lessons 12–16 add motors and a complete project.
Is the 3D simulator the same as a real Arduino board?
No, and the differences are specific. The simulator assumes an ideal 5 V supply, an exact 16 MHz clock and perfect connections, so an analog input returns a clean 0–1023 value where a real board commonly jitters by one or two counts. It also has no contact resistance, no breadboard wiring mistakes and no sensor noise: a real HC-SR04 has a blind zone of about 2 cm and a usable range near 2–400 cm, while a real LDR drifts with the light in the room. Treat the simulator as the place to learn Arduino pin by pin, then calibrate the numbers on your own hardware.
What is the best book to learn Arduino?
If you want one book, Getting Started with Arduino (4th edition, 288 pages) is the shortest read from a board that ships with the Uno, and Programming Arduino (3rd edition, 176 pages) is the one to buy if code is the part you find hard. Arduino Workshop (432 pages, 65 projects) and Exploring Arduino (512 pages) are the two best structured courses in print. The /arduino-books/ page compares six beginner books by page count, companion code and which lessons they pair with here.
Can kids learn Arduino?
Yes, with an adult on the power. The 3D board needs no tools and no soldering, lessons 1 and 2 are free and take about 25 minutes together, and the piano and traffic-light lessons are the two that hold attention longest. Children from roughly 10 years up can follow the wiring tables; keep the real 5 V work supervised and let them make their first mistakes in the simulator, which is how most families learn Arduino together.
Should I learn Arduino or Raspberry Pi first?
Learn Arduino first if you want to read sensors and drive motors. An Uno is a microcontroller: one loop, 5 V pins, no operating system, and a sketch that runs the moment power arrives. A Raspberry Pi is a full Linux computer with 3.3 V GPIO — excellent for cameras, screens and networking, but it takes tens of seconds to boot and its pins cannot supply the current a motor needs. Most people who learn Arduino later add a Pi for the network side; the reverse path is less common.
What can I build after I learn Arduino?
Lesson 16 already is a project: an HC-SR04 measures distance and a red-yellow-green light changes state at a threshold you choose. Swap the LED for a buzzer and it is a parking sensor; swap it for the SG90 and it is a pointer; add the soil probe and it is a plant alarm. The 16 circuits on Learn Arduino are deliberately the parts that appear in most beginner projects, so after roughly 5 hours you can recombine them instead of starting from a tutorial.
Can I upload the sketch from a lesson straight into a real Arduino?
Yes. Every sketch on these pages is normal Arduino C++ with no simulator-only API: copy it into Arduino IDE 2.x, choose Arduino Uno and the right serial port, and press Upload. Sketches that print to the serial monitor use 115200 baud, and only two lessons need an extra library — Servo for the SG90 and AccelStepper for the 28BYJ-48 — both installable from the IDE's Library Manager. The wiring table above each sketch gives the same pin numbers the simulator uses, so what you learn Arduino with on screen matches the bench.
Whichever route you take, the first step on Learn Arduino is the same: lesson 1, the Arduino Uno pinout, or open the full 16-lesson index. What the Arduino simulator does and does not reproduce is on its own page. About this course explains how the wiring tables are checked and who maintains the site. Every page is static HTML: no account, no JavaScript and no download is required to read it — the only thing you need to learn Arduino here is a browser.