so here's what I want to do. I have a led strip (or more than one idk) and I want to detect an object. as it comes closer, the leds light up in sequence. (kinda like those audio display things) gradually lighting up untill the whole strip is lit up.
what kind of sensor should I use ?
and led s ?and how do I make them light up one at a time ? (say this is the strip : 0-0-0-0-0, I want them to light up like : 1-0-0-0-0, 1-1-0-0-0, 1-1-1-0-0, 1-1-1-1-0, 1-1-1-1-1 as the object gets closer)
Im very new to this stuff. thanks !