TUTORIALS Project simulation
Simulate your Pi Pico projects with Wokwi
Claiming he’s saving resources, Les Pounder simulates an electronics project because he is too lazy to get up and build it for real.
WOK WI
OUR EXPERT
Les Pounder is associate editor at Tom’s Hardware and a freelance maker for hire. He blogs about his projects at http://bigl.es.
YOU NEED
> Pi Pico or Pico W
> A half-size breadboard
> A 100 ohm resistor (brownblack-browngold)
> 3x M2M jumper wires
> A push-button
> Code: https://github.com/lesp/
LXF319 Simulating-Circuitswith-Wokwi/archive/refs/heads/main. zip
Sometimes we want to test electronics projects without having access to the technology. We’re on a train, waiting at the airport, or in the classroom, sharing a kit. For these occasions, we need a simulator and we have a great one with Wokwi.
Wokwi is a free, online circuit simulator where we can create projects for the Raspberry Pi Pico, STM32, Arduino and ESP32. The simulator provides an environment to build a simulated circuit and write the code to control it.
In this tutorial, we will create an example circuit for the Raspberry Pi Pico and write some MicroPython code to control it.
We’ll then port the code to a real Raspberry Pi Pico and show the same circuit running on real hardware.
Open a browser and go to https://wokwi.com. Click on the Pi Pico icon, scroll down to the Starter Template and select MicroPython. Do not select Pi Pico or Pi Pico W, because these run Arduino code examples.