I programmed a $7 ESP32-S3 board to block all computer's web ads - and it took just minutes ...
This code uses the libgpiod library and time stamped events to measure the length of the echo pulse. See https://github.com/HankB/GPIOD_Debian_Raspberry_Pi/blob/main ...