Presentation on theme: "Group 5 – Maria Bozzi, Brian Surber, Sifat Syed and Can Gurkan."— Presentation transcript:
Group 5 – Maria Bozzi, Brian Surber, Sifat Syed and Can Gurkan
How Does it Work? It works with three sensors: the sight, the touch and the hearing It activates different lights or sounds an alarm if it sees or hears us, or if we touch it. The green light activates when these three sensors are off and when they don’t receive any input. The yellow light activates when one of these three sensors is stimulated. The red light means that two of three sensors are activated. The alarm rings when all of the three sensors are on.
How Did We Work? We started to do the design of the circuit and we found the solution thanks to the Boolean algebra. 000 001 010 011 100 101 110 111 0 1 2 3 4 5 6 7 TRUTH TABLE
How does the truth table works? 32168421 Now we sum the numbers that bring us to our solution, for example if we need the 0 we don’t need any of these numbers and in the Boolean algebra we write 000, if we need for example the 4 we need the third column and nothing else so we write 100, if we need the 13 we sum the fourth, the third, and the first column and we get to the 13 and in the Boolean algebra we write 1101…
How can we apply the truth table to our circuit? Our truth table works only with two numbers, the one and the zero and in our circuits we need only the first three columns so we use the letter A, B, C. The zero corresponds to a normal A, B and C, and the one corresponds to the A ̅, B ̅, C ̅. 000 001 010 011 100 101 110 111 ABC AB C̅C̅ A B̅B̅ C A B̅B̅ C̅C̅ A̅A̅ BC A̅A̅ B C̅C̅ A̅A̅ B̅B̅ C A̅A̅ B̅B̅ C̅C̅
How can we apply the truth table to our circuit? Now that we know the correspondence between the numbers and the letters we can build our circuit, but HOW? There are two important gates in the circuits that we have to consider firstly, the AND gate and the OR gate. An AND gate corresponds to a (*) An OR gate corresponds to a (+) Our ABC, or ABC ̅ corresponds to do A * B * C. So this means that between our three numbers there will be and gates. But what these letters – numbers represent?
How can we apply the truth table to our circuit? A,B and C represents our three sensors in our circuit. The one is representing the sensor that is ON, the 0 represents that the sensor is OFF and the bar on the letter represent that we have to use the invertor. So we can copy our truth table to understand the sensors and how they can work. 000 001 010 011 100 101 110 111 A̅A̅ B̅B̅ C̅C̅ ĀB̄C ĀBC̄ ĀBC AB̄C̄ AB̄C ABC̄ ABC
How can we apply the truth table to our circuit? So in conclusion we can tell that the first row corresponds to our green light, the second, the third and the fifth to our yellow light, the fourth, the sixth and the seventh to our red light and the last one to our alarm. So we put our and gates between the letters and or gates between the blocks of letter that we use for a LED and the invertors in the sensor of the bar.
Design of our circuit –yellow LED We have to put into the letters that represent the 001, the 010, and the 100 And gate Invertor YELLOW LED Or gate Battery Switches
Design of our circuit – red LED And gate Invertor RED LED Or gate Battery Switches We have to put the letters that represent the 011, the 101, and the 110
Here we put also the alarm and the green LED and we simplified the yellow one For the alarm we need the ABC, that is the 111 and for the green LED the ĀB̄C̄ that is the 000 We said to our circuit put the yellow light when the other lights are off