Ping sensor and LED lightbox

A strange asymmetry there.

The Arduino is capable of distinguishing 1023 different voltage levels. Using PWM to vary the brightness of an LED, can YOU distinguish 1023 levels? Can you tell the difference between 118 and 119?