# Dear Grandma, This year I am in a class called Digital Electronics.

I just recently finished the “Majority Vote project.” I as tas!ed ith "uilding a machine that ill gi#e “pass” or “fail” of a decision "ased on four #otes\$ % for president, V for #ice president, & for secretary, and T for treasurer. It needed to pass if a majority '( or more #otes of “yes”) as the case, or in the case of a tie, if the president #oted yes, it also needed to pass. *irst, I constructed a truth ta"le, hich sho s all the possi"le outcomes ith, in this case, a + for a yes #ote, and a , for a no #ote. Generally in electronics, + means on and , means off. -fter I listed the possi"le outcomes, I analy.ed the ta"le and mar!ed each of the scenarios that ould produce a passing #ote. I then rote each of the cases in a logic e/pression. This consists of the letters representing the officers, i.e. %V&T is a yes #ote for all the officers. 0hen you see %, or not %, it means that the #ote of the president as a no. 1sing the logic e/pression, I proceeded to construct an electric circuit that or!ed for our #oting constraints. The idea ould "e that each officer #otes and the components in the circuit ould ta!e the electric pulses coming from the #otes, depending yes or no, and gi#e an output of pass or fail "ased on the scenario. To do this, I used -2D, 34, and In#erter gates. -n -2D gate has t o inputs that must "e satisfied in order for an output to "e gi#en. -n 34 gate has t o inputs, or hich at least one must "e satisfied in order for there to "e an output. -n In#erter ta!es the input #alue and flips it to "e the opposite, so if the input as +, the output ould "e ,. 3nce I had dra n up my circuit, I created a #irtual model of it on the computer. This allo s me to simulate outcomes. My circuit contained 56 -2D gates, 7 34 gates, and 6 In#erter gates. 8a#ing many gates li!e this ma!es the circuit large and confusing, as ell as costly to produce in real life. I used a nifty mathematical resource called 9oolean alge"ra, hich consists of se#eral la s and theorems, to simplify my logic e/pression. The e/pression had : terms in it to "egin ith, "ut once I had simplified it, there ere only 6 terms. I dre up a simplified circuit, and modeled it on the computer. This circuit only had ; -2D gates, ( 34 gates, and + in#erter gate. This as a great impro#ement. -fter I had made a digital #ersion of my circuit, it as time to "uild a real life prototype ith a "read"oard, hich is a "oard that you can use to easily insert and replace electrical components in order to ma!e a temporary circuit for testing. I <uic!ly ired up my circuit and tested all of the inputs that should produce a passing output. I as successful on the first try. Then I proudly got my picture made ith my circuit and added the picture to my portfolio of or! for the class. I=m really enjoying this class. >an=t ait to see you o#er Than!sgi#ing "rea!? @our grandson, -l