Robotics Lab

Robotics Lab: Explore Boards in 3D

Explore eight boards from Arduino, Espressif and Raspberry Pi. Use Robotics Lab to inspect components in 3D, assemble a board or wire a working circuit.

Building the board…

01Workbench

Robotics Lab circuit workbench

Wire sensors, motors and displays to a board, then press Run to simulate the circuit. Start with a guided Robotics Lab mission or build your own circuit in Free Build.

  • Guided circuit missions

    Step-by-step builds — blink an LED, read a sensor, drive a motor.

  • Pin-to-pin wiring

    Click two pins to connect them. Robotics Lab checks the connections before power-up.

  • Full-screen workbench

    Press Full screen to give the Robotics Lab workbench the whole display.

02Lesson

Robotics Lab: Raspberry Pi Pico Lesson and Pinout

Select a board in Robotics Lab to see its specifications, pin functions and component guide.

Board overview

Robotics Lab board guide · Raspberry Pi · 2021

A tiny, very cheap board built around the RP2040 — the first microcontroller chip Raspberry Pi designed in-house. You program it in MicroPython or C/C++: plug it into USB and it shows up like an ordinary flash drive. A great pick for learning and for building small robots.

Clock
133 MHz
Flash
2 MB
RAM
264 KB
GPIO pins
26
Logic level
3.3 V
Price
≈ $4

Specs

Compare the electrical specs with other Robotics Lab boards. See the hardware references.

Microcontroller
RP2040, dual-core Arm Cortex-M0+
Clock speed
up to 133 MHz
Flash memory
2 MB (separate QSPI chip)
RAM
264 KB
GPIO pins
26 (GP0–GP22, GP26–GP28)
Analog inputs
3 × 12-bit ADC + temperature sensor
PWM
16 channels
Interfaces
2 × UART, 2 × SPI, 2 × I2C, USB 1.1, PIO
Logic level
3.3 V (not 5 V tolerant!)
Power
5 V over USB or 1.8–5.5 V on VSYS
Size
51 × 21 mm, 1 mm thick PCB
Languages
MicroPython, C/C++, Arduino

What’s on the board

12 parts match the numbered labels in Robotics Lab. Click one and the camera flies to it.

Strengths and pitfalls

Use these trade-offs when choosing a board in Robotics Lab.

Strengths

  • Very low price for two cores and 264 KB of RAM
  • No programmer needed: hold BOOTSEL, plug in USB and drag a .uf2 file onto the drive
  • MicroPython out of the box: write code and see the result straight away
  • PIO blocks: build your own precise protocols for addressable LEDs, encoders and servos

Watch out

  • 3.3 V logic. A 5 V signal (from an Arduino Uno or an HC-SR04 sensor, for example) can burn an input — use a voltage divider or a level shifter.
  • A single pin supplies only a few milliamps (4 mA by default, 12 mA at most). Power motors, servos and LED strips separately and switch them through a driver or a transistor.
  • Draw no more than ≈300 mA from 3V3(OUT). Do not feed VSYS while USB is plugged in unless you add a protection diode.
  • Headers are not soldered and there is no reset button: you will need a soldering iron and, if you want one, your own button between RUN and GND.

Pins

Learn which pins to use on the Robotics Lab workbench.

Power

VBUS is 5 V from USB. VSYS is the main power input (1.8–5.5 V): connect batteries here. 3V3(OUT) gives a ready 3.3 V for sensors. Ground (GND) pads are the square ones — there are eight of them.

Digital pins

GP0–GP22 and GP26–GP28 are 3.3 V inputs and outputs. Any of them can output PWM and trigger an interrupt. UART, I2C and SPI can be assigned to several different groups of pins.

Analog inputs

GP26, GP27 and GP28 are ADC inputs (ADC0–ADC2): they measure a voltage from 0 to 3.3 V with 12-bit resolution. ADC_VREF and AGND are the reference and ground for precise measurements.

Special pins

RUN is reset (short it to GND). 3V3_EN switches the regulator off. GP25 is not brought out to a pad — the on-board LED sits on it.

Numbering

On the top only pins 1, 2 and 39 are marked — all the names are printed on the underside. Pin 1 (GP0) is to the left of the USB connector when you hold the board with the connector pointing up.

Hover over a pin in the Robotics Lab viewer to see its name and function.

  • Power
  • Ground
  • Digital
  • Analog
  • Buses: UART, I²C, SPI
  • Control: RESET, EN, BOOT
  • Not connected

First code

Try the Robotics Lab starter example on your physical board.

First program: blink the LED (MicroPython) Python
from machine import Pin   # access to the pinsimport time               # delaysled = Pin(25, Pin.OUT)    # on-board LED on GP25, set as an outputwhile True:               # repeat forever    led.toggle()          # flip it: on <-> off    time.sleep(0.5)       # wait half a second

Where it shines

Use the Robotics Lab workbench to plan the wiring for a project.

  1. Line-following robot: two motors through a driver and sensors on the analog inputs GP26–GP28
  2. Remote control or macro keypad: the Pico can pretend to be a USB keyboard or gamepad
  3. Driving a strip of addressable LEDs with PIO
  4. Weather station with an I2C sensor and a small display
  5. Servo controller for a robot arm or a walking robot (16 PWM channels)

Board background

See how this hardware fits into the Robotics Lab board collection.

The name RP2040 is a code: RP for Raspberry Pi, 2 for two cores, 0 for the Cortex-M0+ core type, 4 for the amount of RAM and 0 for no built-in flash memory.

The Pico launched in January 2021 for 4 dollars — cheaper than a cup of coffee. The board itself is marked "© 2020".

Edges with half-holes are called castellations — they look like the battlements on top of a castle wall.

Practice with this board

Try the same board in these Robotics Lab activities.

Sources

Manufacturer and hardware project documentation.

03Quiz & assembly

Robotics Lab: Component Quiz and Soldering

Use the 3D models in Robotics Lab to identify components, place them on the board and practice soldering. Both exercises work with all eight boards.

Quiz · about a minute

Identify components on a 3D board

Robotics Lab names a part for you to find on the model. Rotate the board, zoom in and flip it over, just like the real thing.

  1. 1

    Read the question. “Find the microcontroller — the brain of the board.”

  2. 2

    Click the part. Not sure? Take a hint, or skip and see the answer.

  3. 3

    See your score. Only first-try answers without a hint count.

Assembly · a few minutes

Assemble and solder a board

Open the Robotics Lab assembly kit to take the board apart into a tray of components. Put every chip, connector and header back where it belongs and solder it down.

  1. 1

    Pick a part from the tray. Chips, connectors, headers, buttons.

  2. 2

    Place it on its footprint. The pads on the bare board show where it goes.

  3. 3

    Solder it in. When the last joint is done, the board is whole again.

04Compare

Robotics Lab: Compare All Eight Boards

Compare processors, memory, pins and logic voltage to choose a board for your project. Select a row to open that board in Robotics Lab.

Robotics Lab lists typical street prices, which vary by seller. “Logic” is the voltage of the I/O pins — never feed 5 V into a 3.3 V board.

Robotics Lab FAQ

What can I do in Robotics Lab?

Rotate eight 3D circuit boards, inspect their pins and components, practice assembling and soldering a board, and wire virtual circuits in the browser.

Which boards can I explore in Robotics Lab?

The lab includes the Arduino Uno R3, Arduino Nano, Arduino Mega 2560 R3, ESP32 DevKit V1, NodeMCU, Raspberry Pi Pico, STM32 Blue Pill and Raspberry Pi 4 Model B.

Does Robotics Lab require a physical board or an account?

The virtual lab runs without an account or physical hardware. The 3D viewer and simulator need JavaScript and WebGL 2. Board specifications and lessons are readable without starting the viewer.

How do I get started with circuit simulation?

Open the circuit workbench and choose the first LED mission. Follow its wiring steps, press Run and watch the LED blink. Free Build lets you choose and connect your own components.

How does Robotics Lab score the component quiz?

A correct first answer without a hint earns one point. A correct answer after a retry or hint still lets you complete the question. Your best score is saved in this browser.

Can I use Robotics Lab wiring on real hardware?

Use the simulator to practice and understand the connections. Before wiring a physical board, check the manufacturer’s documentation for its pinout, voltage limits and power requirements.