I want to create a lightbox that only turns on when you are around 80cm away from it. It will stay on as long as you are in front of it, but as soon as you move further than 80cm away, it turns off. I was considering using this sensor IR distance sensor includes cable (20cm-150cm) [GP2Y0A02YK] : ID 1031 : $15.95 : Adafruit Industries, Unique & fun DIY electronics and kits . I'd like to attach this an arduino board that then would interpret feedback from the sensor and toggle the lights accordingly.
Any ideas or suggestions on what arduino boards to use? And general or specific advice? Anyone attempt something like this before (of course you did, please share!)?