Logicraft Studios
Offline Arduino, RP2040 & ESP32 simulator
Starting local backend…
Logicraft Studios LogoLogicraft StudiosSTUDIO
ExamplesEditorAboutGitHub
Logicraft Studios / Examples / [Pi 5] PIR Motion Alarm
[Pi 5] PIR Motion Alarm
SensorsintermediateArduino Uno

[Pi 5] PIR Motion Alarm

Raspberry Pi 5 lights an LED on GPIO17 whenever a PIR motion sensor on GPIO4 detects movement (gpiozero MotionSensor). Start the Pi, Upload, run python3 /home/pi/script.py, then trigger the PIR.

What you'll simulate

  • ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
  • ✓3 interactive components on the canvas
  • ✓Serial Monitor included — see output in real time
← Back to examples