Learn Arduino

Loading

Learn Arduino

Discover · Grasp · Create

An interactive 3D Arduino you wire in the browser

Basics
0/16

Try it yourself

Serial monitor Stopped

Lessons

  1. 1. Arduino Uno Pinout
  2. 2. Blink an LED on Arduino
  3. 3. Arduino Push Button
  4. 4. Arduino Potentiometer
  5. 5. Arduino RGB LED
  6. 6. Arduino Light Sensor
  7. 7. Arduino Ultrasonic Sensor
  8. 8. Arduino Buzzer
  9. 9. Build an Arduino Piano with Eight Buttons
  10. 10. Control a DC Motor with Arduino and a Transistor
  11. 11. Arduino Temperature Sensor
  12. 12. Arduino Servo Motor
  13. 13. Arduino Stepper Motor
  14. 14. Arduino Soil Moisture Sensor with an OLED Display
  15. 15. Arduino Force Sensor (FSR 402)
  16. 16. Arduino Uno Projects
16 Browser-Based Circuit Projects

Learn Arduino by Building Circuits on a 3D Uno

Learn Arduino through a browser-based 3D Uno R3 lab: connect components, edit C++ sketches, and watch the Serial Monitor respond as each circuit runs. Start with two free lessons, then unlock all 16 for a one-time $4.90 payment.

Practice circuits before setting up a workbench

Learn Arduino puts a 3D Uno R3, breadboard, and sketch editor in one workspace. Connect a component, run the code, and follow the current path and pin state; the circuit layouts use standard board connections that you can recreate on physical hardware.

Grow from a simple output to a complete build

Learn Arduino moves from first principles to complete builds. Practice digital input and output, buttons, analog readings, distance sensing, motor control, and a sensor-driven traffic-light project, with each new component introduced in context.

Board connections and electrical limits

Inside the ATmega328P

Review the Uno R3's 8-bit AVR at 16 MHz, 5 V logic, 32 KB of flash, 2 KB of SRAM, and 1 KB of EEPROM.

Digital signals and PWM control

Use D0–D13 for digital input and output; PWM is available on D3, D5, D6, D9, D10, and D11. Keep each pin within its safe current limit.

Reading analog inputs

Read A0–A5 with the 10-bit ADC, which maps a 0–5 V range to values from 0 to 1023.

Power rails and serial data

Power the board over USB-B or its 7–12 V barrel jack; inspect the 5 V and 3.3 V rails and serial output at 115200 baud.

Learn Arduino: from the first pin to a full project

1. Signals, controls, and outputs (Lessons 1–5)

Begin with the Uno pinout, then switch D13 in LED Blink. Continue by reading a button, varying an input with a potentiometer, and blending colors with an RGB LED.

2. Sensors, audio, and movement (Lessons 6–16)

Compare light readings from an LDR with distance measurements from an HC-SR04. Add sound with a buzzer or button piano, control DC, servo, and stepper motors, then combine the ideas in Smart Traffic Lights.

Parts to recreate the projects on a real board

Parts referenced by the 16 lessons; none are needed to use the browser simulator
CountPartIntroducedWhat it does
1Uno R3 (ATmega328P)Opening lessonThe 5 V controller exposes 14 digital lines and six analog inputs.
1400-contact solderless boardLED exerciseLets components share rows while its center channel separates the two sides.
10220 Ω current limitersLED exerciseProtects the output pin by reducing current through each LED.
45 mm indicators and one RGB LEDLED exerciseShows on/off states and mixed-color PWM brightness.
310 kΩ parts and a potentiometerButton and analog lessonsSets a defined input level or varies voltage for analog measurement.
1HC-SR04, TMP36, LDR, FSR 402Sensor projectsReads distance, temperature, ambient light, and applied pressure.
1SG90, 28BYJ-48, and DC motorMotion projectsDemonstrates servo angles, ULN2003 stepping, and TIP120 switching with a 1N4007 diode.

Moving a virtual circuit onto physical hardware

Match connections and stay within current limits

Each Learn Arduino circuit follows the Uno R3 pin map. A 220 Ω resistor limits LED current; a DC motor needs a TIP120 transistor and a 1N4007 flyback diode. The simulator makes those current paths visible so you can check the wiring before building the circuit on a real breadboard.

Adjust for real sensors and power supplies

The browser model uses a stable 5 V supply and repeatable sensor timing. A physical setup may show ADC variation, an HC-SR04 has a short blind zone, and an LDR responds to room light. Use the virtual board to check pin choices and sketch flow, then tune sensor thresholds against your own components over serial at 115200 baud.

Start with Learn Arduino in ten minutes

No account or physical kit is needed for the first lesson. Pan around the 3D board, use Q and E to rotate, and press Space to run a sketch. The Pinout tab shows the 14 digital pins, six PWM outputs, and six analog inputs; the next lesson lets you blink the built-in LED and change its timing.

After the free lessons, one $4.90 payment opens every circuit in Learn Arduino, including the sensor and motor projects and the final smart traffic-light build.

Frequently asked questions

Can I learn Arduino without buying a board?

Yes, for the first stage. The browser lab gives you a 3D Uno R3, a breadboard, a sketch editor and a Serial Monitor, so you can practise pin numbers, wiring and sketch structure before spending anything. What a simulator cannot teach is loose jumper wires, a USB port the IDE does not detect, or a sensor that reads differently in a bright room. Most people move to a real kit once they reach the sensor projects. What a simulator teaches and what it cannot.

Is it hard to learn Arduino with no electronics or coding background?

No. You need two ideas to start: current only flows around a closed loop, and a sketch runs setup() once and then repeats loop(). Lesson 1 is the Uno pinout and lesson 2 blinks an LED; every later lesson adds one component and one programming idea.

Do I need to know C++ before I learn Arduino?

No. Start with setup(), loop(), pinMode() and digitalWrite(). Variables, if statements, analogRead() and the Serial Monitor arrive one at a time as the circuits need them.

Which Arduino board should a beginner buy?

An Uno R3 or a compatible clone. Most tutorials, shields and forum answers assume it, it uses 5 V logic, and its pins can drive an LED through a resistor directly. The newer Uno R4 has the same shape and runs most beginner sketches, but it uses a different chip with lower per-pin current ratings, so check its documentation before copying R3 wiring. A classic Nano uses the same ATmega328P in a breadboard-friendly size.

Should I learn Arduino or Raspberry Pi first?

Start with Arduino if your goal is electronics: buttons, sensors, LEDs and motors. An Arduino runs one sketch with no operating system, starts instantly and keeps precise pin timing. A Raspberry Pi is a small Linux computer, better for cameras, web servers or Python projects that happen to touch hardware.

Why is my Arduino LED not lighting up?

Check in this order: the sketch actually uploaded, the LED's long leg faces the output pin, the LED and resistor are not in the same breadboard row, the resistor is 220 Ω rather than 220 kΩ, pinMode(pin, OUTPUT) is in setup(), and the circuit returns to a GND pin. A dim glow almost always means pinMode() is missing. The full eight-step LED checklist.

What resistor do I need for an LED on a 5 V Arduino?

220 Ω is the usual choice. A red LED drops about 2 V, so (5 V − 2 V) ÷ 220 Ω is roughly 14 mA, bright and well inside the Uno R3's recommended 20 mA per pin. 330 Ω is also fine and a little dimmer. Never connect an LED to a pin without a resistor.

Why does my Arduino button read random values?

The input is floating. With nothing pulling the pin to a defined voltage it picks up noise and flips between HIGH and LOW. Use pinMode(pin, INPUT_PULLUP) and wire the button between the pin and GND (pressed then reads LOW), or add a 10 kΩ pull-down resistor. If one press counts several times, the contacts are bouncing and need a short debounce. Floating inputs, pull-ups and debounce explained.

Can I power a motor straight from an Arduino pin?

No. An output pin is meant for about 20 mA, while even a small DC motor draws hundreds of milliamps and sends voltage spikes back when it stops. Switch the motor with a transistor (lesson 10 uses a TIP120), add a flyback diode such as a 1N4007 across it, and share a common ground between the motor supply and the board.

Will the sample sketches run on a physical Uno?

Yes. The examples use standard Arduino C++ without simulator-only APIs, so you can paste them into Arduino IDE 2.x, select the Uno and its port, and upload them unchanged. Sensor thresholds may need tuning for your own parts.

How long does it take to learn Arduino?

Plan on four to five hours to finish the 16 lessons. Being able to design your own small projects usually takes a few more weeks of building things on real hardware and debugging them with the Serial Monitor.

Does it work on a phone, tablet or Chromebook?

It runs in a modern browser with WebGL, including phone and tablet browsers, where the app switches to a bottom tab bar. Wiring the 3D board is more comfortable on a larger screen with a mouse or trackpad.

What does the $4.90 Learn Arduino pass include?

Lessons 1 and 2 are free with no account. One $4.90 payment, not a subscription, unlocks all 16 lessons, including the sensor and motor projects and the final smart traffic-light build.

Guides for the questions beginners ask most

Can you learn Arduino without a board?

What transfers from a browser simulator to real hardware, what does not, and when to buy a kit.

Arduino LED not lighting up?

Eight checks in the order that finds the fault fastest, from upload to ground.

Why does my Arduino button read random values?

Floating inputs, INPUT_PULLUP, pull-down resistors and debounce.

Virtual Electronics Practice for Uno R3. All 16 written guides Troubleshooting guides Simulator guide Pricing About