I’m trying to build a table that lights up certain areas based on if something is resting on the table. I’ve decided that the top of the table with be translucent glass/plexiglass, and underneath that will be the circuitry.
Objects will be sensed by using an infrared LED and an infrared detector. Changes in the resistance of the infrared detector will correspond to different levels of infrared light; more light means that an object is bouncing light from the IR LED back to the detector.
The table will consist of “pixel modules”. Each module will consist of a single ATMega328P, driving 4 pixels. Each pixel contains 4 single color LEDs, 1 IR emitter, and 1 IR detector.
I was hoping someone could take a quick look at the schematic I made up [attached], and provide some let me know if I’m on the right track. Suggestions on the power supply considerations for the 328P’s and the LEDS (separate power for each?) would be appreciated. Thanks!