Simulation run by the duino4projects.com team on 20 November 2026.
Software: Proteus 9.0 SP2 Professional (Build 40482), Schematic Capture + VSM.
Compiled with arduino-cli 1.6.0, core arduino:avr 1.8.8, LiquidCrystal 1.0.7.
How to open: install Proteus 8.x or 9.x with VSM, open the .pdsprj file, double-click the ATmega328P chip
and check the Program File points to the .hex in this folder (use Browse if the path differs),
Clock Frequency 16MHz, CKSEL fuse "Ext. Clock", CLKDIV8 unprogrammed. Press Play.
Stand-ins: Proteus has no Arduino Uno board part, so a bare ATmega328P at 16 MHz stands in for the Uno
(no USB, bootloader or board circuitry is simulated).
Stand-in for the HC-SR04: a second ATmega328P (U3) runs echo_emulator.ino, which waits for the trigger pulse and holds the echo line high for a fixed width. Echo hex files for 592 (10 cm), 2941 (50 cm) and 5831 (99 cm) microseconds and for no echo are in the emulator folder. The saved project holds the no-echo run; change U3's Program File to test other widths. The real sensor, sound and 5 V levels are not simulated.
This is a simulation, not a test on real hardware.
The screenshots folder holds the screenshots shown on the project page, with the duino4projects.com mark.
