A digital camera has an array of sensors that captures light reflected or transmitted onto it. This build is something closer to a reverse camera – a single sensor that makes images on a matrix of LEDs. And we think it’s pretty neat.
We have to admit to being a little confused by [marciot]’s LED matrix scanner when we first stumbled upon it. From the video below we thought that the LEDs in the matrix were being used both to detect incident light and as a display. We’ve seen LEDs used as photodiodes before, so such a contraption could work, but that’s not what’s going on here. A phototransistor is wired to an Arduino Uno and positioned above a 32×32 RGB LED matrix. A scanning routine rasters over the LEDs in the matrix while the sensor watches, and then the program turns on the LEDs that the sensor saw during the scan. Positioned far above the matrix, a large disc of light results, making it look like the phototransistor is beaming light down onto the matrix. The effect is reinforced by placing something between the sensor and the matrix, which casts a virtual shadow. Used close to the LEDs the sensor acts more like a light pen.
It’s a cool effect and it looks like a fun project to throw together. Refresh time could perhaps be a bit snappier, though; maybe an ESP32 could help with that.
[via Arduino Blog]