| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|||
|
Basic Logic Circuit
Okay, so this is my basic basic logic circuit. It contains one logic gate and all it does is....
If two batterys are plugged in (in the proper places) then it makes the beeper beep... If only one or no batterys are plugged in then the beeper doesnt beep. Now, my question is does this design (picture) look right? I think im missing a transitter somewhere or something like that... design pic: [IMG](URL address blocked: See forum rules)[/IMG][/URL] Thanks, daniel |
|
|||
|
Dude. No homework please. I would love to help, had it not been for your homework. And this problem is so basic, you don't even need us. Read your book, and that should be sufficient.
__________________
Most Common HDD Problems+Solutions*The Useful Freeware Thread*ATI Chips comparison table*Nvidia chips comparison table*Portable Applications*Visit Nilpo.com and ask the Windows Guru. |
|
|||
|
Honestly, This isn't homework (note all the other questions about Microproessors and such)...
I want to learn to make a basic microprocessor and i thought a basic logic gate would be the way to start. now, what parts would be required to build a logic gate that just checks to see if 2 batteries are plugged in and then makes the beeper go off? also, how would I do it? (look, if i can get one logic gate going then 2 shouldn't be hard and so on)... And I know, I hate it when people post homework for others to do on forums, i see people all the time since I'm a C++ programmer and visit C++ forums regulary. - cheers, Daniel |
|
||||
|
Further readings:
link, link, link, link. Also, link - Lessons in Electric Circuits - Volume 3 - DIGI. link - Automating Manufacturing Systems with PLCs - read 2nd and 15th chapter. link - Complete Digital Design: A Comprehensive Guide to Digital Electronics and Computer System Architecture - read 1st chapter. And, of course, be sure to check this, this and this out. A really comprehensive image: here. You really shouldn't miss this, this to practice and experiment, therefore deepening and enhancing your knowledge in the area of 'digital logic'. That would be all in a nutshell. Reading the above links will guarantee you to succeed in your endeavors. First of all, why didn't we helped? Because it sounds like a homework, even if it is not, it may be for someone else and answering questions similar like yours are violating our rules. No homeworks, please. Second, you posted your diagram but it didn't appeared since you are a newcomer. You need at least 5 (five) posts to be able to post url's (and your screenshot contains http:// in it). Third, try to reformulate your question, ask us specific terms and such so that we can help out easily and give you an indirect but helpful advice. Also, fix your diagram issues-- either post more until you reach 5 posts, or edit your posts and remove "http://" prefix, we know that we need to add that tag. Good luck! PS: This book looks very awesome, unfortunately it's very expensive. Anyway, you might want to look into...
__________________
“Greatness, combined with the hint of a 24-carat lifestyle, is within us striving to make it through, craving for attention, and in the end, recognition, leaving a record worthy of biography on forging success stories.” —ME Check out MadHyeNa's Website & Article Index. Visit Nilpo.com - Ask the Windows Guru!™I succeed, conquer, and achieve, therefore I am.™ Last edited by madhyena : March 30th, 2007 at 06:37 AM. |
|
|||
|
You need an AND gate. Period. For the AND gate, from a CMOS perspective you would need 6 transistors. Read more here.
Last edited by tejas : March 31st, 2007 at 05:56 AM. Reason: Erroneous information..corrected now. |
|
|||
|
Cheers, Ive been a C++ programmer for awhile now, and lately ive been thinking... hmmm wats inside that silicon chip on my motherboard... well im slowly learning.
- Cheers, Daniel |
|
|||
|
It all begins with Transistors. They work as voltage controlled switches. Can be programmed to behave almost in any pattern. We covered the discussion here. this thread.
Quote:
Edit: Yes. I just re-read my previous post and realized it was a mistake. 4 transistors is not possible. Sorry about that. Last edited by tejas : March 31st, 2007 at 05:56 AM. |
|
|||
|
I honestly dont get this logic gate thing... I have been looking thro digital logic on play hookey and it shows the picture of an AND gate. But I dont get how the AND gate works. Where are all the transistors?
I've got a basic idea but not perfectly sure. Also if I was going to use 2 1.5volt batteries as my 2 switches (as the A and B) would i be using 1.5v or 3v transistors? - Thanks, Daniel |
|
|||
|
There are a myriad of ways to build a logic gate. The AND gate you are looking at (that is, if this is what you are looking at) is composed of two diodes, instead of transistors. It is as effective as a transistor-based AND, but cheaper to produce and easier to understand.
The gate requires both inputs to be HI (in this case, +5vdc) for the output to be HI. If there is a LO on either or both inputs, then there will be a voltage drop across the resistor and the output will be LO. If you look over here, you will find some transistor-based logic circuit diagrams, such as this one-- a three-input AND ![]() In microcircuits, gate-type transistors are used, such as FETs, instead of the traditional bipolar models demonstrated here.
__________________
Yes, it is very possible, in fact, highly probable, that you are wrong. You would be a better person if you would just admit that. And I would be less annoyed. ![]() "I like doggies....and apparently dinousaurs, mostly because they eat cats!" --Nilpo |
|
|||
|
TBH, I don't have an answer to your question right now, arch. I will look up some more, but I am sure in the mean time D1 will come up with some sure-shot reply. He has worked in electronics far deeper and for far longer than I could even imagine.
![]() My feeling is that NAND as a CMOS devise is just an idea to get your started. And that's a basic block for more complex logic circuits. So, as D1 put it, and as in all circuits at Play-hookey, it is constructed using complimentary transistors. But as a stand-alone component, it is made as shown here. Here's another example of it as IC 7400. I hope it helps answer some of your questions. I will definitely look up more.. ![]() Thanks for bringing that up. I never thought of it.. |