Logicraft Studios
Offline Arduino, RP2040 & ESP32 simulator
Starting local backend…
Logicraft Studios Logo
LogicraftStudio
HW LAB · v2.5
ExamplesEditorAboutGitHub
CORE:CDAC ARIES · RISC-V
ENGINE:SPICE-WASM v2.0
BENCH READY
Logicraft Studios / Examples / ESP32: HC-SR04 Ultrasonic Distance
ESP32: HC-SR04 Ultrasonic Distance
SensorsbeginnerESP32

ESP32: HC-SR04 Ultrasonic Distance

Measure distance with an HC-SR04 sensor on ESP32. TRIG on GPIO18, ECHO on GPIO19.

What you'll simulate

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