Measure distance with ultrasound (not a laser), show it on a small screen and beep under 20 cm, in a 3D-printed case that runs on two 18650 cells.
Free. Make an account and you come straight back to start it.
Safety: It runs on two bare 18650 Li-ion cells (up to 8.4 V). A short circuit can start a fire: never let red and black touch, and charge the cells out of the case, in a Li-ion charger, while you are there.
Your Arduino measures distance with the ultrasonic sensor and prints it in cm.
Unplug USB. Each wire goes straight from the sensor to the Uno: no breadboard.
Check: You have four female-to-male jumpers.
Safety: Unplug USB before you change any wire.
1457 us -> 25.4 cm