breadboard
simulators
Breadboard · Simulator briefMicroPython · Rev 2026.11breadboard.build/micropython-simulator

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
ESP32-C3-DevKitM-1

Drawn by the bench renderer · not to physical scale

  1. Python on the virtual air

    Use network.WLAN to scan or join Wi-Fi from the C3’s bundled MicroPython image.

  2. 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.

  3. USB-to-UART console

    Read Python output in Serial and enter commands at the board’s prompt.

  4. Pins your script controls

    Use machine.Pin and the hardware buses to drive or read devices wired to the bench.

  5. 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
Table 1. MicroPython selection guide
RadiosFirmware
BoardCoreWi-FiBLEMicroPythonREPLBest first project
ESP32Dual Xtensa LX6Official MicroPython imageWi-Fi: scan & join a network (OLED)Related starter project
ESP32-C3RISC-V, 160 MHzOfficial MicroPython imageRing with a power switch
ESP32-S2Xtensa LX7, 240 MHzOfficial MicroPython imageWi-Fi: scan & join a network (OLED)Related starter project
ESP32-S3Dual Xtensa LX7, 240 MHzOfficial MicroPython imageHTTP fetch on the ESP32-S3 (OLED)
ESP32-C6RISC-V, 160 MHzOfficial MicroPython imageStocks over the sandbox internet (LED matrix)
ESP32-H2 DevKitM-1RISC-V, 96 MHzOfficial MicroPython imageBluetooth LE: scan, connect, discoverRelated starter project
ESP32-C5-DevKitC-1RISC-V, 240 MHzOfficial MicroPython imageDual-band Wi-Fi: 5 GHz on the ESP32-C5
ESP32-P4-Function-EV-BoardDual HP RISC-V, 400 MHzBundled MicroPython, built for rev3ESP32-P4 MicroPython GPIO54
Raspberry Pi PicoRP2040 · Dual Arm Cortex-M0+, 125 MHzOfficial MicroPython imagePi Pico blink
Raspberry Pi Pico WRP2040 · Dual Arm Cortex-M0+, 125 MHzOfficial MicroPython imagePico W Wi-Fi weather dashboard (MicroPython)
Raspberry Pi Pico 2RP2350 · Dual Cortex-M33 or dual Hazard3, 150 MHzOfficial MicroPython imagePico 2 I2C weather station
Raspberry Pi Pico 2 WRP2350 · Dual Cortex-M33 or dual Hazard3, 150 MHzOfficial MicroPython imagePico W Wi-Fi weather dashboard (MicroPython)Related starter project
ST Nucleo-F401RESTM32F401RE · Arm Cortex-M4F, up to 84 MHzOfficial MicroPython imageNucleo-F411RE · MicroPython LED and buttonRelated starter project
ST Nucleo-F411RESTM32F411RE · Arm Cortex-M4FOfficial MicroPython imageNucleo-F411RE · MicroPython LED and button
WeAct Black Pill F411CESTM32F411CE · Arm Cortex-M4FBundled MicroPython, Breadboard TinyUSB buildBlack 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

Ring with a power switch

Fig. 2 · ESP32-C3 · MicroPython

Ring with a power switch

Run it in the browser
Pocket e-reader (e-ink pages)

Fig. 3 · ESP32-C6 · MicroPython

Pocket e-reader (e-ink pages)

Run it in the browser
Pico 2 I2C weather station

Fig. 4 · Raspberry Pi Pico 2 · MicroPython

Pico 2 I2C weather station

Run it in the browser
Stocks over the sandbox internet (LED matrix)

Fig. 5 · ESP32-C6 · MicroPython

Stocks over the sandbox internet (LED matrix)

Run it in the browser

38 MicroPython projects

Browse the full example list

Follow 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.

Quick start

  1. 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.

  2. 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.

  3. 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.
MicroPython simulator · product briefRev 2026.11Page 1 of 1