Watch the electricity flow
Turn on the current view and see it move through every wire. Finally, a reason why that LED is dim.
Try it yourself →Raspberry Pi simulator · runs in your browser
Wire up LEDs, buttons, sensors and motors, program them in real Python, and watch it all run on a virtual Pi. See where the current goes, make mistakes safely, then build it for real.
▶ Try it now, no sign-up Browse the practice problems
Free, for everyone. Nothing to install.
Turn on the current view and see it move through every wire. Finally, a reason why that LED is dim.
Try it yourself →Short a pin and it gets damaged, just like on a real Pi. Fix the wiring, press Run, and it works again.
Break something →Every build becomes a proper schematic. Export the code, a wiring sheet and a shopping list for a real Pi.
From screen to real Pi →For learners
A ready-made circuit to change and run. No account needed.
Open it now →166 problems, from a blinking LED to full gadgets, with tests that tell you what to fix.
Browse problems →Drag parts onto a breadboard, wire them by hand and check your work with meters.
See the Lab →One problem a day for everyone, the same on every device, with a streak to keep.
How it works →For makers
Wrap a few parts and the code that drives them into a component of your own, then add it to any project in one line. How components work
Yes. It simulates a Raspberry Pi 4, Pi 5 or Pi Zero 2 W and 38 parts such as LEDs, buttons, sensors, displays and motors. Your Python runs in the browser against the simulated board.
No. Everything runs in your web browser: no kit to buy, nothing to install, no SD card to flash.
Not to try it. A free account lets you save your work and use every part, the practice problems, the Lab and the daily challenge. Accounts are for ages 13 and up.
The ones you would use on a real Pi: gpiozero, RPi.GPIO, smbus2, spidev, Adafruit DHT, NeoPixel, RPLCD, tm1637 and picamera2. Code you write in PyRasp carries over to real hardware.
Yes. Export gives you the code, a wiring sheet, a shopping list and setup steps. The libraries are the real ones (gpiozero, RPi.GPIO, smbus2 and more), so the same program runs on the hardware.
Yes. Everything here is free, for everyone, with no paid plan. If PyRasp helps you, an optional donation keeps it running.