Free Essay

Kjeoc

In:

Submitted By Tking1031
Words 534
Pages 3
Dear granny.
As you know, I’m taking the Digital electronics class at my school. We are doing this project where we create a system to calculate majority vote. with the system we used variables to take the place as the president, vice president, secretary, and treasurer. the way we started this was we had to use binary where zero is a no vote, while a one is a yes vote. whenever it would be a tie, the president's vote would be the tie breaker. so if the vice president, and the secretary voted yes, but the president and treasurer voted no, since the president's vote is a no, the majority vote would end with a no vote. we had to create a truth table of every different outcome to make sure everything would check out. then after that we would get all of the ones with a positive outcome, and then write them all out as if it were a math problem. then using this stuff called boolean algebra, we had to make the bigger math problem much simpler so it would fit into the circuit system that we use to simulate how it would look in real life. the simplification was very long and quite difficult. it is very confusing and very difficult to explain. so to simplify it, the example i'm going to give you is very simple compared to what we had to do. so say that the president said no, so in the simplification, it would be not P, or not president. and continuing this same process down the line until you would get them all. say that two terms would be PT and the others would be P and not T, according to boolean you could just write it as P(T+not T) and it would be the same while eliminating a gate, which is what we would use to wire these up. when you would wire them up a + sign is an or gate. which takes two inputs and says if one of these are on and the other is off, it will go through as on. and a X would be an and gate, those will only pass the signal if both inputs are the same. after the simplifying, we had to hand draw the circuit. that is just drawing it as if we were actually wiring the system together. when we would wire it, we would draw gates such as and and or gates along with a power supply, and a ground, with some switches so we could control weather or not the vote would be a yes or no. when the switch for president was not flipped that would mean that the president's vote was counted as a no, but if it were to be flipped, the president’s vote would count as a yes. then the last part of this assignment was this exact letter. we had to create a letter with a minimum word count of 500, explaining how we did everything to prove we understood what we are doing. i understood everything except the boolean algebra simplifications. well Granny, thank you for reading my letter trying to explain my project. Love you

Similar Documents