This project was initially intended to connect the TV remote control to the distance sensor, so as a kid would get too close to the TV, this would automatically turn off. As a first exercise, I decided to simplify the prototype and create a lighting indicator of proximity, using an IR sensor of short reach (10-80cm). As a person gets closer, the amount of LEDs diminishes.
If having difficulties to watch the video below, go to https://vimeo.com/202300463