Project brief · after lesson 1: Combining gates
A school store room needs an alarm. It should sound when the door is open or the window is open, but only when the key switch is off.
Design the alarm using AND, OR and NOT gates. Test it on every combination of the three inputs, and explain why the computer inside it works with only on and off.
Steps along the way
Tick each one when it is done.
- Your plan says in words when the alarm should sound, row by row.
- Your gates match the plan, and you can say what each gate outputs for any inputs.
- Every row of the truth table has been tested, and any that failed have been fixed.
- Your explanation links the gates to on and off states.
Hand in
- A diagram of your alarm built from gates, with each input and the output labelled.
- A complete truth table for your alarm, with one row for each combination of the three inputs.
- Evidence that you tested it, such as screenshots from a logic simulator or a hand trace of each row.
- A paragraph explaining why the alarm, and computers in general, use two states, on and off, and what the gates do with them.
Show that you can
Your work and your explanation should show each of these.
Why binary — circuits and logic gates
- Explains that binary maps to the two reliable states of electronic components
- Demonstrates the output of AND and OR gates for given inputs
- Connects logic gates to why digital systems are built on binary
Make it yours
- Add a fourth input, such as a test button that always sounds the alarm.
- Build the same alarm using only one kind of gate.
- Add a memory so the alarm keeps sounding after the door is closed.