Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 24th August 2003, 09:35 PM   (permalink)
Default 3 bit binary input to drive 7 LEDs - totally stumped!

The trick is only using NAND gates and I haven't a clue how to go about doing this! Been mulling it over for a while now...suggestions/help!
CNO81 is offline   Reply With Quote
Old 24th August 2003, 09:48 PM   (permalink)
e
Default

you mean make a 3 to 8 decoder with nand gates? I just opened a digital book and saw one made with AND gates. Just draw up the truth table and K-map it.
e is offline   Reply With Quote
Old 24th August 2003, 09:50 PM   (permalink)
Default

Use a 4 to 16 decoder like a CMOS 4515.
pebe is offline   Reply With Quote
Old 25th August 2003, 09:53 AM   (permalink)
Default

1 5
2 4 6
3 7

Thanks for the suggestions, some food for thought! What I was getting at though is if the LEDs are arranged in a dice shape as above and you have an input of 011 (3) and want to light up LEDs 3 4 and 5 how would you go about doing this? Given a 3-8 decoder only changes one output to 1 would I have to be cheeky and simply add inverters onto the other two outputs? To make it easier, it ONLY works when this condition is met, any other input and the lights tay off.
CNO81 is offline   Reply With Quote
Old 25th August 2003, 02:35 PM   (permalink)
Default

Do you mean a digital LED dice circuit ?

You could set up the LEDs like this:


O***O_____O***O .
O*O*O____ O*O*O
O***O_____O***O
.



And use a randum number generator and counters to drive the LEDs.
__________________
Two roads diverged into a woods...i took the one less travelled by. R. Frost.
nettron1000 is offline   Reply With Quote
Old 25th August 2003, 02:40 PM   (permalink)
Default

It doesnt have to be that complicated (im not at that level yet). All I want is an idea of how to make a circuit that IF, for example, 011 was the input then 3 LEDs would light up out of the possible 7, any other input would mean NO LEDs would turn on - for now I don't think the placement is the most important point, im more interested in how to go about implementing the logic gates.
CNO81 is offline   Reply With Quote
Old 25th August 2003, 03:13 PM   (permalink)
Default

You mean something like this ?

http://users.otenet.gr/~athsam/electronic_dice_2.htm

This one uses transistors and diodes to do the conversions but you can replace them with gates.

Theres a challenge for ya.
__________________
Two roads diverged into a woods...i took the one less travelled by. R. Frost.
nettron1000 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 12:12 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.