These are the variables and logic equations we defined and wrote out in order to plan out our logic circuit
Circuit Lab
This is the logic circuit we designed in circuit lab following the logic circuits written out to the left.
These three switches will serve as the input of the three COVID symptoms, one for cough, one for low blood oxygen, and one for high temprature.
These three not gates will serve as our method of obtaining both true and false variables for B, C, and D.
This is the logic curcuit for the green LED, which only turns on when none of the symptoms are present, hence why all three variables pass through the NOT gates.
This is the logic circuit for the yellow LED, which turns on when only one symptom is present. There are three AND gates present, with each one different variable as true.
This is the logic circuit for the red LED, which turns on when only one symptom is present. There are three AND gates present, with each one having a two different variable as true.
This is the logic circuit for the alarm, which only activates when all three symptoms are present in a person, hence why all three variables do not pass through the NOT gates at the beginning.
This is our timing circuit designed to control the rate at which our flip flip turns on and off. This in turn controls how often our system checks if these symptoms are present in our person, and prevent any unwanted false alarms.