so he switched to a mechanical tilt sensor. An IR LED on the ceiling and a phototransistor on the floor of the box work together to detect the presence of mail. [Bob]’s homebrew mailbox has a ...