Getting Started: Your First Arduino LED Project
Build a visual sequence that blinks the built-in LED on your Arduino Uno R3, 20 times.
Looking for one task, such as Wi-Fi, the phone app or sharing? How to Use ArduinoStudio has short steps for each one.
Prerequisites
- An Arduino Uno R3 and a USB data cable. For other models, check the supported boards and firmware guide.
- Chrome or Edge (or a Chromebook) — the browser talks to your board directly, nothing to install. On Firefox/Safari, use the Bridge fallback.
- A free account at app.arduinostudio.com — or try it first with no account on the live demo
Rather describe it than build it? Type “Blink the LED on pin 13 every second” into the AI Builder on an empty project, review the plan, and apply it. This guide builds the same project by hand, so you know what every block does.
Watch how (2 min): Start your first projectWatch how (2 min): Build logic with blocks and press PlayThe same project, narrated.
What We’re Building
A sequence that turns the built-in LED (pin 13) on for 1 second, then off for 1 second, repeated 20 times. The sequence looks like this:
Loop (20 repeats)
└─ Standard LED → pin 13, ON
└─ Wait → 1000ms
└─ Standard LED → pin 13, OFF
└─ Wait → 1000msStep-by-Step
20. Click Save.| Setting | Value | Why |
|---|---|---|
| Digital pin | 13 | Pin 13 has a built-in LED — no wiring needed |
| Off/On | On | Turn the LED on |
| Brightness | 100% | Leave it. Pin 13 isn’t a PWM (~) pin on an Uno, so the panel greys Brightness out and the LED runs at full brightness |
| Mode | static | Nothing to change: Mode shows “Coming soon” and stays at static. The Wait blocks do the timing |
1000 ms. This keeps the LED on for 1 second.13 and Off/On to Off. Click Save. This turns the LED off.1000 ms. This pauses 1 second before the loop repeats.Your Sequence Should Look Like
| # | Component | Settings |
|---|---|---|
| 1 | Loop | Times: 20 |
| 2 | ↳ Standard LED | Pin: 13, On |
| 3 | ↳ Wait | 1000ms |
| 4 | ↳ Standard LED | Pin: 13, Off |
| 5 | ↳ Wait | 1000ms |
What Just Happened?
When you pressed Play, ArduinoStudio sent commands from your browser to the Arduino over USB using Web Serial and Firmata. The Loop ran 20 times: LED on, wait 1 second, LED off, wait 1 second. After the initial firmware setup, changing your visual sequence does not require uploading a new sketch. On Firefox and Safari, the Bridge relays the commands.
If the LED does not blink
- Check that both LED blocks use pin
13, with the first set to On and the second to Off. - Make sure the sequence is ticked under Choose Sequences, or click the blue play bubble at the start of the sequence to run just that one. If only the Virtual Board changes, check that the physical board is connected in USB direct mode.
- Try a USB data cable and close other programs using the same serial port, such as the Arduino IDE’s Serial Monitor. On Windows, a Nano or Uno clone with a CH340 chip needs the WCH driver installed once before it appears in the port list.
- If the port is unavailable on a managed computer, ask your administrator to check serial-device permissions.
Next Steps
- Try a Servo — Add a Servo component to move a motor arm
- Add a sensor — Use a Photoresistor or Button to make interactive sequences
- Use Check — Put a Check right after a sensor block. In the simulator and over USB direct, when the Check fails that pass stops there; through the Bridge, the input block waits until the Check is true. Either way, the blocks after it run only when the condition is true
- See the wiring — Click 2 Wiring to see the circuit on a breadboard, build it wire by wire, and check your real board with EyeBuild. See the Wiring guide
- Build a control panel — Click 3 App to add buttons and sliders that run your sequences. See the App Builder guide
- Read the code — Click Arduino code in the toolbar to see this project as an Arduino sketch, and change the
delay(1000);lines to watch the Wait blocks follow. See Dev mode - Share your project — Make it public and share the link. It starts running as soon as it opens
- Watch the rest — The video tutorials go on from here: Loops and Checks, the App, Wiring, USB, ESP32 Wi-Fi, the phone app, the AI, the code and sharing. In the app, the ? buttons open the same videos
Build a smart room on an ESP32 in the live demo, in the preview with no board, account or install: open the demo