These tutorials might provide one choice using ultrasonic:
Otherwise I.R. beam (optical) break, such as a TV remote signal, or the radar RCWL-0516 Microwave (radio) Radar Sensor come to mind.
© Espruino, powered by microcosm.
Report a problem