Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PC controlled of/off LED

Status
Not open for further replies.
Here's the easiest way (I think): :D

Make a matrix (24 by 24 = 576 LEDs). Then, say LED #10 should be turned ON. If it's located on "input" 2 and "output" 5, then make "input" 2 High and "output" 5 Low. Keep other "outputs" high and other inputs "low".

You'll need to use 6 8-bit multiplexers (3 for "input" and 3 for "output"). Their addresses will be controlled to the PC parallel Port, so you'll need:
3 outputs for address selection on "inputs"
3 outputs for address selection on "outputs"
2 outputs for chip selection on "input" (1 out of 3 chips should be selected)
2 outputs for chip selection on "output"

After that, you can connect (in parallel) the corresponding address selection pins on 3 "input" and "output" multiplexers. The chip selection will tell to multiplexers which one the PC is controlling.

The LEDs should have their + connected to "input" multiplexers and - to "output" multiplexers. The Input of each multiplexer should be tied to Vcc.

Good Luck,
TI|CP
 

Attachments

  • temp_859.gif
    temp_859.gif
    3.5 KB · Views: 368
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top