# Black Box project, Help!

Discussion in 'Homework Help' started by Maireny, Nov 22, 2015.

## How can I do it?

0 vote(s)
0.0%

0 vote(s)
0.0%
1. ### Maireny Thread Starter New Member

Nov 22, 2015
4
0
Recently, my professor gave us a project to do in one week, but the thing is, I'm clueless of where I should begin with. I'm not asking you guys to do the project for me, but to give me some ideas of where I can begin, or what components should I use. And I'm not the only one going crazy because of this project, almost the whole class is, because the professor is TERRIBLE! He doesn't know how to explain. So, if any of you have idea of how to start doing this, please share it with me!!

Aug 1, 2013
4,701
1,300
3. ### WBahn Moderator

Mar 31, 2012
18,087
4,917
The first step is to create a truth table showing what each of the outputs should be for each of the possible input signal combinations.

4. ### KeepItSimpleStupid Well-Known Member

Mar 4, 2014
1,284
224
The second is to do the Karnaugh map thingy.

Remember than anything can be built with NAND or NOR gates. It's like DNA.

5. ### WBahn Moderator

Mar 31, 2012
18,087
4,917
Part 1(d) is one of my pet peeves. They tell a student to prove that something is minimized and, in most cases, never explain the metric by which one solution is to be judged more "minimized" than another.

I came to the general conclusion a long time ago that this is mainly due to the incestuous nature of higher education and the fact that so few people that write textbooks have any significant real world experience (to say nothing of the people that teach).

6. ### WBahn Moderator

Mar 31, 2012
18,087
4,917
MOD NOTE: Moved from Project Forum to Homework Help.

7. ### Maireny Thread Starter New Member

Nov 22, 2015
4
0
How do I do that?

8. ### Maireny Thread Starter New Member

Nov 22, 2015
4
0
I think we want us to use only basic gates to build this. I'll try to start by making a truth table and then trying to come up with a ecuation base on the table. Am I in the right path?

9. ### Maireny Thread Starter New Member

Nov 22, 2015
4
0
I already have a pretty clear idea of how to do it thanks to your comment. But I'm still confuse about the output saying if theres an error on the inputs. I've been thinking that I could do it with XNORs to compare the inputs and see if the are equal so in that way I would know if there is more than one high level on the inputs. Am I in the right path?

PD: sorry about my english, I'm a foreign student

10. ### WBahn Moderator

Mar 31, 2012
18,087
4,917
You don't. I did. The note is so that you know that it didn't just magically jump forums and so that any readers that saw it over in the original forum don't mistake it for being a duplicate thread.

11. ### WBahn Moderator

Mar 31, 2012
18,087
4,917
You have four inputs. How are you going to compare the inputs to see if they are equal and, even if you do, how does that tell you that more than one is high?

Could you make a signal that is HI if A and B are both HI?

Could you make a signal that is HI if C and D are both HI?

Could you make a signal that is HI if either of the prior two signals is HI?

Does that give you an idea of how you might proceed? (Hint -- the above isn't complete, just a start)

12. ### AnalogKid Distinguished Member

Aug 1, 2013
4,701
1,300
Think of the error detector as an extra layer of logic wrapped around the operational part. Once you have a circuit that gives the correct outputs, you can add a layer that detects if any of the valid outputs are asserted. So if the valid outputs are A, B, or C, a NOR of A, B, and C will detect if none of them are true - the error state.

ak