Robotics Lab

Robotics Lab: Explore Boards in 3D

Explore eight boards from Arduino, Espressif and Raspberry Pi. Inspect their 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 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 a pin, click another: the bench checks every connection before power-up.

  • Full-screen workbench

    Press Full screen in the workbench toolbar to give the bench the whole display.

02Lesson

Robotics Lab: ESP32 DevKit V1 Lesson and Pinout

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

In short

DOIT · Espressif chip · 2016

A development board built around the ESP-WROOM-32 module: a dual-core processor, Wi-Fi and Bluetooth on a board the size of a finger. You can program it from the Arduino IDE or in MicroPython, and it costs about as much as a couple of sensors. Perfect when your robot needs to talk to a phone or the internet.

Clock
240 MHz
Flash
4 MB
RAM
520 KB
GPIO pins
25
Logic level
3.3 V
Price
≈ $5

Specs

The full data sheet in plain words.

Module
ESP-WROOM-32 (ESP32-D0WDQ6 chip)
Processor
2 × Xtensa LX6 cores, up to 240 MHz
RAM
520 KB
Flash memory
4 MB
Wi-Fi
802.11 b/g/n, 2.4 GHz
Bluetooth
4.2 Classic + BLE
Logic level
3.3 V (inputs are not 5 V tolerant)
Pins
30, of which 25 are GPIO
ADC
12-bit, 15 inputs
DAC
2 × 8-bit (GPIO25, GPIO26)
USB
Micro-USB, CP2102 bridge
Size
51.5 × 28.3 mm

What’s on the board

14 parts, numbered like the labels on the 3D model. Click one and the camera flies to it.

Strengths and pitfalls

Why people love this board — and where beginners usually slip.

Strengths

  • Wi-Fi and Bluetooth are already on board — no extra modules needed
  • Two 240 MHz cores and 520 KB of RAM: tens of times more powerful than an Arduino Uno
  • PWM on almost any pin, 2 DACs, touch inputs, several UART, I²C and SPI buses
  • Works with the Arduino IDE, MicroPython and ESP-IDF

Watch out

  • 3.3 V logic: feed a 5 V signal (for example the ECHO pin of an HC-SR04) only through a voltage divider or a level shifter — otherwise the pin will be damaged.
  • GPIO34, 35, 36 (VP) and 39 (VN) are inputs only and have no internal pull-up or pull-down resistors.
  • ADC2 inputs (D2, D4, D12–D15, D25–D27) cannot be read with analogRead while Wi-Fi is on. Use D32–D35, VP and VN for sensors.
  • Strapping pins D2, D5, D12 and D15 affect start-up: if a sensor pulls D12 high at power-on, the board will not boot.
  • Power motors and servos from a separate supply: a pin can only give about 20–40 mA, and the 3.3 V regulator is busy feeding the Wi-Fi radio.

Pins

The contacts where sensors, motors and power connect.

Power

VIN is the 5 V input (USB 5 V also comes out here). 3V3 is the regulator output for sensors. GND is ground — there are two. Do not feed power into 3V3 and USB at the same time.

Input-only pins

VP (GPIO36), VN (GPIO39), D34 and D35 can only read a signal and have no pull-ups. They are also the best analog inputs: they keep working while Wi-Fi is on.

Analog pins

12-bit ADC: analogRead returns 0…4095. ADC1 (VP, VN, D32–D35) always works, ADC2 only without Wi-Fi. D25 and D26 are true analog outputs (DAC).

Default buses

I²C: SDA = D21, SCL = D22. SPI (VSPI): MOSI = D23, MISO = D19, SCK = D18, SS = D5. UART2: RX2 = GPIO16, TX2 = GPIO17. TX0/RX0 are used by USB.

Strapping pins

D2, D5, D12, D15 (and GPIO0 under the BOOT button) are sampled at power-on to choose the boot mode. You can use them, but external circuits must not pull them at start-up.

Hover over any pin on the 3D board to see its name and function.

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

First code

Copy it, upload it to the board and check that everything works.

First sketch: blink the blue LED Arduino C++
// The built-in blue LED of the DevKit V1 is connected to GPIO2const int LED = 2;void setup() {  Serial.begin(115200);        // serial monitor speed: 115200 baud  pinMode(LED, OUTPUT);        // the pin works as an output}void loop() {  digitalWrite(LED, HIGH);     // LED on (3.3 V on the pin)  Serial.println("Hello from ESP32!");  delay(500);                  // wait half a second  digitalWrite(LED, LOW);      // LED off  delay(500);}

Where it shines

Project ideas this board suits best.

  1. A robot driven from a smartphone over Bluetooth or Wi-Fi
  2. A rover with its own control web page: the board acts as an access point
  3. A weather station that sends data to the internet
  4. Smart home: relays, sensors and notifications on your phone
  5. A wireless remote for a robot using the ESP-NOW protocol

Facts

The ESP32 radio handles both Wi-Fi and Bluetooth through the same antenna — the chip switches between them very quickly.

In deep sleep the ESP32 chip itself draws only about 10 µA and wakes up on a timer. This board draws more, because the power LED and the regulator stay on.

The chip has a built-in Hall sensor: it can feel a magnet held close to the metal shield.

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

We name a part — you find it on the model and click it. 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

The board comes apart into a tray of parts on the bench. 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.

Prices are typical street prices and 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?

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.

Do I need 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 the component quiz score answers?

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 the simulated 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.