Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Symbols Recap Each logic gate is represented by a different symbol.
Components Logic Gate Output Input 1 Input 2 Output Change Gate Button
Truth Tables We use truth tables to show all the different possible states of a logic circuit. This is partially complete truth table for a NOT gate logic circuit. It shows all the possible inputs. Input Output 1
Activity 1a Create this logic circuit:
Activity 1b Ensure your logic gate is set to be a NOT gate by pressing the A button on the micro:bit. Use your logic circuit to help you complete the truth table for a NOT gate: Input Output 1
Activity 2a Add another switch to your circuit as shown below:
Activity 2b Ensure your logic gate is set to be an AND gate by pressing the A button on the micro:bit. Use your logic circuit to help you complete the truth table for an AND gate: Input 1 Input 2 Output 1
Activity 2c Ensure your logic gate is set to be an OR gate by pressing the A button on the micro:bit. Use your logic circuit to help you complete the truth table for an OR gate: Input 1 Input 2 Output
Activity 3a Add another logic gate to your circuit as shown below:
Activity 3b Ensure logic gate 1 is set to be a NOT gate and logic gate 2 is set to be an AND gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Output
Activity 3c Ensure logic gate 1 is set to be a NOT gate and logic gate 2 is set to be an OR gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Output
Activity 4a Change your logic circuit as shown below:
Activity 4b Ensure logic gate 1 is set to be an AND gate and logic gate 2 is set to be a NOT gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Output
Activity 4c Ensure logic gate 1 is set to be an OR gate and logic gate 2 is set to be a NOT gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Output
Activity 5a Add another switch to your logic circuit as shown below:
Activity 5b Ensure logic gate 1 is set to be an AND gate and logic gate 2 is set to be an OR gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Input 3 Output 1
Activity 5c Ensure logic gate 1 is set to be an OR gate and logic gate 2 is set to be an AND gate. Use your logic circuit to help you complete the truth table for the circuit: Input 1 Input 2 Input 3 Output