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.

logic chip?

Status
Not open for further replies.

zhaniko93

New Member
hello. I have such a situation:
I have 4 free microcontroller (pic) pins and want to drive 10 Leds so:
if this binary number (4 digit which is output from micro) is:
1 (0001) then turn L1 on
2 (0010) then turn L1 and L2 on
3 (0011) then turn L1, L2 and L3 on
4 (0100) then turn L1, L2 L3 and L4 on
5 (0101) then turn L1, L2 L3, L4 and L5 on
.....................................
10 (1010) then turn L1, L2 L3, L4 , L5, L6, L7, L8, L9 and L10 on

I cand find the appropriate 7400 chip... can any1 help me?
 
I dont think there is one. If I were doing this, I would use serial in, parallel out shift registers (two of them to get 10 bits). That only requires to two pins on the PIC, DataIn and Clock...
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top