Do you think that you have what it takes to build an incredible LED sensor? Then, are you dare to accept this challenge to create this intelligent LED sensor?
Before you’re getting into this project, you should have some basic knowledge of 12C master/slave communications, where it is needed when you’re starting to work on a larger arrays.
When you refer to the above picture, you’ll see six ICs that have been well arranged from left to right, which as:
Power Supply 7805
It is a regulated 5-volt power supply with some filter caps, buffering caps and a power-on LED. The 7805 is the ideal integrated circuit for this project.
It is a PIC16F876A and the slave microcontroller. It can scan its row in the array with blistering speed, which can be reached 500 uSec per pixel in the array.
The second slave microcontroller and its main function is scanning the top row of LEDs.
It is the third microcontroller and the main master roll. It is polling the slaves every 100msec for an update and feeds the data to the host PC.
The digital clock generator and it’s programmed to generate any clock frequency you want.
MAX233 is uses in this project because it requires no external capacitor for its voltage doubler circuit, where it can save up more board space!
You have to remember one thing that each slave is normally runs in an infinite loop, where it sampling the LED sensors as fast as it can and storing their values in a memory buffer.