Arduino block coding, online and on a real board
Build a project from blocks in the browser, run it in the simulator, then run the same blocks on an Arduino over USB. The Arduino code is one click away.
The short answer
ArduinoStudio is block coding for Arduino in the browser. Each block is a part or a step: an LED, a Servo, a Button, a Wait, a Loop, a Check. Press Play and the simulator runs them; plug in a board and the same blocks drive its pins over USB. Dev mode shows the Arduino code they make.
Works today
- Hardware blocks on a real board over USB, nothing installed: Standard LED, Servo, Button, Photoresistor, Switch and Potentiometer.
- Wait, Loop, Check and Message blocks for timing, repeats, decisions and text.
- The simulator, with a Virtual Board, for every project.
- Dev mode: the Arduino sketch, editable both ways and downloadable as .ino.
- The AI Builder, which places the blocks from a description.
Not yet
- Running these on a real board without the Bridge desktop app: RGB LED, DC motor, Relay, Piezo buzzer, Proximity sensor, Thermometer, Barometer, Accelerometer, IMU and Compass.
- On a real board, even with the Bridge: ESC, IR motion sensor, Joystick, Hygrometer and Gyro.
- Loops and Checks typed as code. Add them on the canvas.
- Editing on a phone. The editor needs a screen at least 768 pixels wide.
Blocks are the real parts
There are 21 hardware blocks, each named after a part you can buy: Standard LED, Servo, Button, Potentiometer and more. Its settings are the part's pins and values, not abstract variables.
The order you see is the order it runs
A sequence runs left to right, one block at a time. While Play runs, the active block lights up, so a wrong order or a long Wait is easy to spot.
Nothing to install
The editor runs in the browser. In Chrome or Edge, or on a Chromebook, a real board connects over USB through Web Serial with no download.
Your first block program
You need
- A laptop or desktop with a screen at least 768 pixels wide
- A free ArduinoStudio account
Optional parts
- An Arduino Uno and a USB data cable, to run it on a real board
- 1
Start an empty project
Sign in with a free account and click + New Project. Under the AI box, choose to build it by hand and add a block.
- 2
Add an LED block
Click + on the sequence, open LED in the Components tab and pick Standard. Set Digital pin to 13 and Off/On to On.
- 3
Add a Wait
Click + again, pick Wait from Actions and set Time to 500 ms. The LED stays lit for half a second.
- 4
Turn it off and wait again
Add a second Standard LED on pin 13 with Off/On set to Off, then a second 500 ms Wait. Four blocks make one blink.
- 5
Press Play
With no board connected, the simulator runs the sequence and the Virtual Board shows pin 13 switching. Put the four blocks inside a Loop to repeat them.
- 6
Open the code
Click Arduino code in the toolbar. Each block is a line of the sketch, such as digitalWrite(13, HIGH); for the LED and delay(500); for the Wait.
How the blocks work
A sequence is one row of blocks, run from left to right. Click + at the end of a sequence: the Components tab has the parts (LED, Servo, Button and more), and the Actions tab has Loop, Wait and Check. A new block joins the chain right after the block whose + you clicked.
- Wait pauses for the time you set, in milliseconds.
- Loop repeats the blocks after it. Set how many times, then close the repeated part with a second Loop whose Type is End. Without an End, the loop repeats to the end of the sequence.
- Check reads the input block before it, such as a button or a light sensor, and decides whether the sequence goes on. When the Check fails, that pass stops. In a sequence set to repeat until Stop, the next pass checks again, which is how a project waits for a button press.
- Message shows a line of text, such as "Got it!" in a reaction game.
A project can hold several sequences, and Play runs them side by side. Every sequence card starts with a blue play bubble: click it to run that sequence alone, and click it again to stop.
No code, but the code is there
Block coding does not have to hide the code. Click Arduino code in the editor toolbar to open Dev mode: the C++ sketch your blocks make, regenerated on every change. It is made by fixed rules, not by AI, so the same project always gives the same sketch. Select a block and its lines light up; click a line and its block is selected.
On your own projects it works the other way too. Change a pin or a delay in the code and the block follows. Type a new line such as delay(500); and a Wait appears, or digitalWrite(13, HIGH); and an LED appears. Delete a block's lines and the block is removed. Blocks you can add by typing a line: Standard LED, Servo, DC motor, Relay and Piezo buzzer, plus Wait and Message. Loops and Checks are still added on the canvas.
When you outgrow the blocks, Download .ino saves the sketch for the Arduino IDE, so nothing you learned here is locked in.
Blocks for real parts
The editor has 21 hardware blocks, plus Wait, Loop, Check and Message. Where a block runs depends on the connection. This table comes from the same list as the components docs.
| Block | Simulator | USB direct | Bridge |
|---|---|---|---|
| Standard LED | Works | Works | Works |
| Servo | Works | Works | Works |
| Button | Works | Works | Limited |
| Photoresistor | Works | Works | Works |
| RGB LED | Works | Not yet | Works |
| DC motor | Limited | Not yet | Works |
| Relay | Not yet | Not yet | Limited |
| Piezo buzzer | Not yet | Not yet | Works |
| ESC | Limited | Not yet | Not working yet |
| Switch | Works | Works | Limited |
| Potentiometer | Works | Works | Works |
| Proximity sensor | Limited | Not yet | Works |
| IR motion sensor | Limited | Not yet | Not working yet |
| Joystick | Not yet | Not yet | Not working yet |
| Thermometer | Not yet | Not yet | Works |
| Hygrometer | Not yet | Not yet | Not working yet |
| Barometer | Not yet | Not yet | Limited |
| Accelerometer | Not yet | Not yet | Works |
| Gyro | Not yet | Not yet | Not working yet |
| IMU | Not yet | Not yet | Limited |
| Compass | Not yet | Not yet | Limited |
USB direct means Chrome, Edge or a Chromebook with nothing installed. The Bridge is a small desktop app for Firefox, Safari and the blocks that run on a real board only through it. The components page has a note for every cell.
Three stages: Logic, Wiring and App
Every project has three stages, shown in the stage bar at the top of the editor. Logic holds the blocks. Wiring draws the circuit those blocks need on a breadboard, for the Arduino Uno, Mega 2560, Nano and ESP32 DevKit, and flags problems such as two parts on one pin. App is a control panel you design: buttons that run your sequences, sliders that set a PWM pin and indicators that light up from a pin.
The three are one project, not three copies. Drag a wire to another pin in Wiring and the block's pin setting in Logic changes with it.
Let the AI place the blocks
Not sure which blocks a project needs? Describe it in plain words, such as a button that toggles an LED, and the AI Builder plans the blocks and their settings. You read the plan first, and nothing changes until you click Apply changes. What you get is ordinary blocks, so you can still change every one by hand. How the AI Builder works.
Block coding for kids and classes
Blocks make the logic visible, which is why they suit a first Arduino lesson: change a Wait, press Play again and compare. For lesson ideas and classroom setup, see teaching kids Arduino with visual blocks. Younger learners have the separate CHIPS classroom, with guided lessons and class codes.

See it run
The editor is the real product. This opens the live demo on a working project: no account, nothing to install.
See it run, no account neededRelated guides
- How to use ArduinoStudio, step by step →
- Every block and where it runs →
- Dev mode: the code behind your blocks →
- Blink an LED tutorial →The same first program, on an Uno R3.
- Beginner project ideas →
- Describe a project to the AI →It places the blocks; you review the plan.
- What the simulator runs →
- Teach kids with visual blocks →
Quick answers
Is Arduino block coding free here?
Yes, there is a free plan. It includes the block editor, the simulator, the App builder, the AI Builder and Dev mode, with a limit on the number of projects. The live demo runs a working project with no account. See the pricing page for current limits and prices.
Which browsers work?
The editor runs in the browser. To run blocks on a real board over USB with nothing installed, use Chrome or Edge on a computer, or a Chromebook. Firefox and Safari have no Web Serial, so on those a real board needs the ArduinoStudio Bridge desktop app.
Can I take my blocks to the Arduino IDE?
Yes. Download .ino in Dev mode saves the sketch your blocks make. Open it in the Arduino IDE and upload it like any sketch. A block that does not export yet becomes a // TODO comment with a note, never a guess. Uploading replaces the firmware ArduinoStudio uses, and the setup wizard reinstalls it when you next connect.
Does it need internet?
Yes. The editor loads from the web, and you sign in to save projects. While a project runs on a board, keep the tab open and the USB cable connected, because the browser runs the program.
Which boards does it work with?
The Arduino Uno R3, Nano, Leonardo and Micro get their firmware from the browser. The Mega 2560 and Uno R4 WiFi offer the same install, which is not proven on those boards yet, so keep the Arduino IDE as a fallback. The Uno R4 Minima needs it uploaded once with the Arduino IDE. ESP32 boards (the classic ESP32, ESP32-S2, ESP32-S3 and ESP32-C3) are set up once over USB and then run over Wi-Fi.
What can blocks not do?
A block program can only do what its blocks do: switch and move outputs, wait, repeat, read inputs and decide with a Check. For anything beyond that, such as a library the blocks do not use, download the sketch and keep going in the Arduino IDE.
Last updated 2026-11-28.