Pi 4 · Pi 5 · Pi Zero 2 W · Arduino Uno · Pi Pico W

The Virtual Hardware Laboratory

Simulate Raspberry Pi, Arduino, and Pico boards — all in your browser. Wire up sensors, motors, and displays. Write Python, MicroPython, or C++. Watch your circuits run without touching real hardware.

Your lab, in the browser

Build a Smart Home Hub — wire PIR motion, DHT22 temperature, and MQTT lighting. No hardware needed.

PiForge
🖥️ Raspberry Pi 4
Running
M
Parts
Projects
+ Add Breadboard
Search parts…
💡Output
Red LED+
Green LED+
Buzzer+
Relay+
Input
🌡️Sensors
DHT22 Temp/Humidity+
PIR Motion Sensor+
HC-SR04 Ultrasonic+
🖥️Displays
🛋️ Living Room🍳 Kitchen🛏️ Bedroom
RASPBERRY PI 4
BCM2711
DHT22
🚶 Motion detected
Living room → GPIO17 HIGH
DHT22
22.4°C
63% RH
Editor
Circuit
Docs
AIAI
# 🏠 Smart Home Hub
import RPi.GPIO as GPIO
import time, json
GPIO.setmode(GPIO.BCM)
# Pins
PIR_PIN = 4
LIGHT = 17
DHT_PIN = 22
GPIO.setup(PIR_PIN, GPIO.IN)
GPIO.setup(LIGHT, GPIO.OUT)
while True:
if GPIO.input(PIR_PIN):
GPIO.output(LIGHT,1)
print("Motion!")
else:
GPIO.output(LIGHT,0)
Console
Pyodide 3.12 ready.
🏠 Smart Home Hub — Online
🌡️ Temp: 22.4°C · 63% RH
🚶 Motion — GPIO4 HIGH
💡 Living room ON
📤 MQTT: home/living_room
5
Boards Supported
22+
Components
3
Languages (Python, MicroPython, C++)
100%
Browser-Native

Everything you need to prototype

From realistic hardware to in-browser Python execution — PiForge gives you a complete electronics lab.

5 Boards Supported

Pi 4, Pi 5, Pi Zero 2 W, Arduino Uno R3, and Pi Pico W — each with accurate pinouts, SoC chips, and ports. Switch instantly.

Smart Wiring

Click-drag bezier wires that auto-color by type. Short-circuit detection warns you before you fry anything.

Python · MicroPython · C++

GPIO Zero and RPi.GPIO via Pyodide for Pi boards. MicroPython for Pico. Arduino C++ sketch format. All in browser.

Real-Time I/O

Set a pin HIGH and the LED glows. Click a button and your code reads the edge. Bidirectional, sub-50ms.

Component Library

LEDs, buttons, sensors, motors, displays, and touchscreens. JSON-based — add your own components.

Programmable Displays

Attach virtual touchscreens via simulated DSI/SPI. Render pygame output and send touch events back.

Collaborate

Share projects with a link. Fork circuits from the community. Real-time multi-user editing coming soon.

Guided Tutorials

Step-by-step lessons from blinking an LED to building a sensor dashboard. Perfect for beginners.

Export Anywhere

Export as PNG, hardware build guide, or share link. Take your virtual prototype to real hardware.

Build a circuit in 60 seconds

1

Choose your board

Pick from Pi 4, Pi 5, Pi Zero 2 W, Arduino Uno, or Pi Pico W. Drop a breadboard and add components from the palette.

2

Wire it up

Shift-click pins to draw wires. They auto-color and snap to connections. Short-circuit warnings keep you safe.

3

Write & run code

Pick Python, MicroPython, or C++. Choose a template or write your own. Hit Play and watch your circuit come alive.

Learn by doing

Guided tutorials for every level

Step-by-step projects that teach you electronics and Python — from your first LED to full sensor dashboards.

Beginner5 min

Blink an LED

Your first circuit — wire an LED to GPIO 17 and make it blink with Python.

Beginner8 min

Button + LED

Read button input and control an LED. Learn digital I/O basics.

Intermediate12 min

Traffic Light

Three LEDs with timed sequences. State machines made visual.

Intermediate15 min

Sensor Dashboard

Read temperature and humidity from a DHT22. Display data in the console.

Go beyond basics

Build real-world projects

From roaming robots to smart home controllers — prototype complete IoT systems before buying a single component.

Robotics

Roaming Robot Chassis

Two DC motors, ultrasonic distance sensor, and a Pi 5. Write Python to navigate obstacles autonomously.

  • DC motor control via H-bridge
  • HC-SR04 distance sensing
  • Autonomous navigation logic
IoT

Smart Home Dashboard

DHT22 temp sensor, PIR motion detector, and a 7-inch touchscreen displaying a live dashboard.

  • Multi-sensor data fusion
  • Touchscreen UI with pygame
  • MQTT event publishing
Creative

LED Matrix Display

8x8 LED matrix driven via SPI. Scroll text, draw patterns, and react to button input.

  • SPI protocol simulation
  • Pixel-level LED control
  • Animation sequencing
IoT

Security Camera System

PIR motion sensor triggers a camera capture and sends an alert. Simulated camera preview included.

  • Motion-triggered capture
  • Simulated camera feed
  • Alert notification system
Science

Weather Station

DHT22 for temp/humidity, BMP280 for pressure. Log data and display trends on an OLED screen.

  • Multi-sensor reading
  • Data logging to console
  • OLED display output
Robotics

Servo Arm Controller

Control multiple servos with a keypad or touchscreen. Build a pick-and-place arm prototype.

  • PWM servo control
  • Keypad input mapping
  • Multi-axis coordination
AI-Powered

AI built into every layer

From generating circuits to debugging code — AI assists you at every step of your build.

Canvas

Circuit Generator

Describe what you want to build and AI wires it up. Say 'roaming robot with ultrasonic sensor' and get a complete circuit.

Editor

Code Assistant

AI writes GPIO Zero code for your circuit. Explains what each line does. Suggests improvements and catches bugs.

Console

Debug Helper

Short circuit? Wrong pin? AI analyzes your wiring and code together, spots the issue, and suggests the fix.

Sidebar

Component Recommender

Not sure which sensor to use? Describe your project and AI suggests the right components from the library.

Tutorials

Tutorial Guide

AI adapts tutorial difficulty to your pace. Stuck on a step? It gives personalized hints without spoiling the answer.

Export

Build Guide Writer

Export your virtual circuit and AI generates a complete shopping list, wiring guide, and assembly instructions for real hardware.

Built for learners and makers

PiForge is built with passion for electronics education. Join thousands of students and hobbyists already building in the browser. Share your projects, ask questions, and help others learn.

18 Ready-to-Run Projects

From blinking LEDs to full robots

Every project includes wiring diagrams, step-by-step tutorials, and complete Python code — ready to run in one click.

🤖Obstacle Avoiding RobotAdvanced
🦾Servo Arm ControllerAdvanced
📡Servo Radar ScannerAdvanced
🚗RC Car DashboardAdvanced
🎵Touchscreen PianoAdvanced
🖥️GPIO DashboardAdvanced
🧠Simon Says GameAdvanced
🌡️Weather StationIntermediate
🔒Security SystemIntermediate
🌿Plant MonitorIntermediate
🌈RGB Color CycleIntermediate
Reaction TimerIntermediate
📡Morse Code BlinkerIntermediate
🌅PWM LED FadeIntermediate
🚦Traffic LightBeginner
🔘Button Toggle LEDBeginner
💡Blink an LEDBeginner
🎵Musical BuzzerIntermediate

Simple, transparent pricing

Start free. Upgrade when you need robotics, advanced sensors, and classroom features.

Free

$0forever
  • 3 Projects
  • LED, Button, Buzzer only
  • 2 Tutorials
  • Community support
Get Started
Most Popular

Pro

$9/ month
  • Unlimited Projects
  • All 15 components
  • Robotics (Servo, Motor, Robot)
  • 18+ Tutorials + auto-tracking
  • Sensor simulation sliders
  • pygame Touchscreen
  • Priority support
Start Free Trial
For Schools

Education

$49/ month
  • Everything in Pro
  • Up to 30 student seats
  • Teacher dashboard
  • Assignment tracking
  • Bulk onboarding
  • Dedicated SLA support
Contact Us

Ready to build?

Start free with 3 projects. Upgrade to Pro for robotics, sensors, and 18+ tutorials.