Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

The Intelligent LED Sensor

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.

Master (PIC18F252)

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.

Clock (DST1065T-060)

The digital clock generator and it’s programmed to generate any clock frequency you want.

Interface (MAX233)

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.

[..Source link..]

Bookmark the permalink.

Comments are closed.