Truth table
Schematics
We first used TinkerCAD to make an online layout of the circuit board. By doing this online model first, we were able to test and simulate it multiple times to identify any mistakes before replicating the final design on a real breadboard.
The schematics for the alarm circuit were already provided, so our task was to replicate it on a breadboard in real life. This hands-on activity helped reinforce circuit-building skills and gave us practical experience following technical diagrams.
The timing circuit uses the same logic configuration as the alarm circuit. The only key difference is in the output: the alarm circuit outputs to a speaker, while the timing circuit activates a flip-flop system.
Flip flop: The purpose of the flip flop is that once activated by the timing circuit, — which is triggered when three LEDs light up — it goes back to check the inputs and changes the outputs according to the new input data in case anything has changed.
Unfortunately, the final physical circuit did not work as planned, even though the TinkerCAD model did. However, we successfully tested a second design on a smaller scale with one LED bulb, which lit up when commanded by the switch.
We then replicated that second design on a bigger scale with all three LEDs, and it worked successfully.
After our success in lighting all three LEDs, we connected them to our already working alarm circuit. The last switch that lights up the red LED is also input into the alarm circuit and activates our alarm.
However, in the end, we could not get our flip-flop + timing circuit to work, so our final circuit board only consists of the logic circuit and alarm circuit.