Product brief · MicroPython simulator
The MicroPython
simulator.
A live MicroPython REPL on the chip that drives your circuit.
Run Python on an emulated microcontroller and wire the pins it talks to. Type one line into the REPL or paste a full script into Code and run it against an LED, a sensor or a virtual network.
What runs on the bench
Figure 1 · ESP32-C3-DevKitM-1
Drawn by the bench renderer · not to physical scale
- Python on the virtual air
Use network.WLAN to scan or join Wi-Fi from the C3’s bundled MicroPython image.
- The REPL runs on the MCU
The prompt comes from MicroPython on the emulated RISC-V core. Run a line in Serial or send a program from Code.
- USB-to-UART console
Read Python output in Serial and enter commands at the board’s prompt.
- Pins your script controls
Use machine.Pin and the hardware buses to drive or read devices wired to the bench.
- Boot control
The board drawing includes the BOOT switch. For normal MicroPython use, load the bundled image and press Run.
Selection guide
Table 1 · 15 boards| Radios | Firmware | |||||
|---|---|---|---|---|---|---|
| Board | Core | Wi-Fi | BLE | MicroPython | REPL | Best first project |
| ESP32 | Dual Xtensa LX6 | Official MicroPython image | Wi-Fi: scan & join a network (OLED)Related starter project | |||
| ESP32-C3 | RISC-V, 160 MHz | Official MicroPython image | Ring with a power switch | |||
| ESP32-S2 | Xtensa LX7, 240 MHz | Official MicroPython image | Wi-Fi: scan & join a network (OLED)Related starter project | |||
| ESP32-S3 | Dual Xtensa LX7, 240 MHz | Official MicroPython image | HTTP fetch on the ESP32-S3 (OLED) | |||
| ESP32-C6 | RISC-V, 160 MHz | Official MicroPython image | Stocks over the sandbox internet (LED matrix) | |||
| ESP32-H2 DevKitM-1 | RISC-V, 96 MHz | Official MicroPython image | Bluetooth LE: scan, connect, discoverRelated starter project | |||
| ESP32-C5-DevKitC-1 | RISC-V, 240 MHz | Official MicroPython image | Dual-band Wi-Fi: 5 GHz on the ESP32-C5 | |||
| ESP32-P4-Function-EV-Board | Dual HP RISC-V, 400 MHz | Bundled MicroPython, built for rev3 | ESP32-P4 MicroPython GPIO54 | |||
| Raspberry Pi Pico | RP2040 · Dual Arm Cortex-M0+, 125 MHz | Official MicroPython image | Pi Pico blink | |||
| Raspberry Pi Pico W | RP2040 · Dual Arm Cortex-M0+, 125 MHz | Official MicroPython image | Pico W Wi-Fi weather dashboard (MicroPython) | |||
| Raspberry Pi Pico 2 | RP2350 · Dual Cortex-M33 or dual Hazard3, 150 MHz | Official MicroPython image | Pico 2 I2C weather station | |||
| Raspberry Pi Pico 2 W | RP2350 · Dual Cortex-M33 or dual Hazard3, 150 MHz | Official MicroPython image | Pico W Wi-Fi weather dashboard (MicroPython)Related starter project | |||
| ST Nucleo-F401RE | STM32F401RE · Arm Cortex-M4F, up to 84 MHz | Official MicroPython image | Nucleo-F411RE · MicroPython LED and buttonRelated starter project | |||
| ST Nucleo-F411RE | STM32F411RE · Arm Cortex-M4F | Official MicroPython image | Nucleo-F411RE · MicroPython LED and button | |||
| WeAct Black Pill F411CE | STM32F411CE · Arm Cortex-M4F | Bundled MicroPython, Breadboard TinyUSB build | Black Pill F411CE · MicroPython LED and button | |||
- Supported
- Through the optional C6 radio module
- Not on this board
The firmware picker uses a board-specific image. Many boards run an unchanged official release. The ESP32-P4 rev3 and Black Pill F411CE use builds for their hardware and serial ports. Start with the Pico or C3 for a simple editor and REPL setup, then pick a board with the buses or radio you need.
Functional overview
Use the actual firmware REPL
The Python prompt comes from the MicroPython firmware running on the emulated chip. Open Serial, wait for the prompt and enter a line. Start with print("hello"), then try an import such as machine. If you are debugging a program, Serial shows the board output and accepts input for the active console. On a bench with several programmable boards, pick the board tab first.
Paste a program and add modules
Use Code for a whole script. Run on board sends the program through the REPL; tracebacks point back to lines in the editor. Add extra .py files for a driver or helper and import them from main.py. The code is part of the project, so restarting the simulation runs the saved program again. Use the Serial input for short checks while you develop the script.
Watch pins, buses and peripherals respond
Use machine.Pin for an input or output and machine.ADC for an analog reading. Wire the corresponding pin and observe it on the bench. In the Pico 2 sensor project, the Python code communicates with both a sensor and a display over I²C. Change the sensor setting, then check what arrives on screen or print the reading and watch it in Serial. On other boards, the supported hardware includes PWM, SPI and addressable LEDs.
Wi-Fi and Bluetooth LE from Python
With the right board image, network.WLAN can scan for access points, join a virtual network and open a socket. Start with Pico W or ESP32-C3 Wi-Fi, then look at the association in the packet sniffer. Use the C6 BLE projects to start with advertising and GATT, then follow the separate pairing and reconnection examples. Module availability depends on the image as well as the chip.
Move a script to your own board
Use the same board and a compatible MicroPython image when moving a script off the bench. Copy the Python files and match the GPIO numbers, voltages and bus addresses. From desktop Chrome or Edge, Breadboard can deploy your files to a physical ESP32-C3-DevKitM-1 (4 MB). For a Pico, start with the board-specific UF2 and copy your Python files using your usual tools.
Application examples

Fig. 2 · ESP32-C3 · MicroPython
Ring with a power switch
Run it in the browser
Fig. 3 · ESP32-C6 · MicroPython
Pocket e-reader (e-ink pages)
Run it in the browser
Fig. 4 · Raspberry Pi Pico 2 · MicroPython
Pico 2 I2C weather station
Run it in the browser
Fig. 5 · ESP32-C6 · MicroPython
Stocks over the sandbox internet (LED matrix)
Run it in the browser38 MicroPython projects
Browse the full example listFollow the examples to see which Python APIs map to each circuit. A first LED exercise needs one I/O pin. The sensor projects show how to pass explicit bus pins and read a changing input. For networking, start with a wireless scan before trying a multi-board HTTP or BLE project.
Start here
Displays
Sensors
Builds & projects
Wi-Fi & internet
- Pico W Wi-Fi weather dashboard (MicroPython)
- Wi-Fi: scan & join a network (OLED)
- Weather over the sandbox internet (OLED)
- Weather over the real internet (Pro)
- Stocks over the sandbox internet (LED matrix)
- WPA2 secure join (OLED)
- Wi-Fi 6 on the ESP32-C6 (OLED)
- Dual-band Wi-Fi: 5 GHz on the ESP32-C5
- HTTP fetch on the ESP32-S3 (OLED)
- Two boards: HTTP server + client
Quick start
Start the right MicroPython image
Open the ring-with-switch example, which comes with MicroPython and a script that streams colors from the C3 to the ring. On a new bench, place a supported board and choose Load MicroPython in the Inspector or Code. Power the board and press Run.
Type at the prompt or paste into Code
Wait for the REPL in Serial. Send a line for an interactive check. To try a program with multiple statements and imports, paste it into Code, then press Run on board.
Check the result on the circuit
Change the sensor or press a button while the script runs. Watch the LED or display and read the serial output. Change one parameter and repeat. Save the project to keep the circuit and script together.
Questions
- Is the MicroPython simulator free, and do I need an account?
- Yes, it is free, and you can use it signed out: the bundled firmware, examples, Code editor, live REPL and simulated circuits. A free account adds cloud sync and share links.
- Which boards can run MicroPython in the browser?
- Supported images cover Pico, Pico W, Pico 2 and Pico 2 W; classic ESP32, ESP32-C3, C5, C6, H2, S2 and S3; P4 rev3; Nucleo-F401RE, Nucleo-F411RE and Black Pill F411CE. The table lists the image for each board.
- Can I paste my own MicroPython code, or use the REPL?
- Both. For a whole script, paste into Code and select Run on board. To test a line or inspect a value interactively, use Serial after the Python prompt appears.
- Can I switch from MicroPython to Arduino on the same board?
- Yes, on boards that support both. Upload a compiled Arduino sketch for the board or compile it in Code. To go back to the Python prompt, select Load MicroPython again. Save a copy of your project before switching if you want to keep both versions.
- Is this the same Python code I can run on a real board?
- Yes, when the board has a compatible MicroPython build and the same pins, libraries and peripherals. Use the physical board’s normal firmware and file-loading steps, or deploy the files with Breadboard on the supported ESP32-C3 board. Check the final wiring and timing on hardware.
- Can I use MicroPython with Wi-Fi and BLE?
- Yes. For example, the ESP32-C6 can run Wi-Fi and Bluetooth LE projects and the Pico W can run Wi-Fi and Bluetooth LE GATT projects. Select the image for the exact board, including W on Pico.
- Can I add my own modules and drivers?
- Yes. Add .py files next to main.py in Code and import them. A pure-Python driver works when the board image includes the modules it imports. Packages that need native host extensions do not run.