Area 04
Digital logic
1, 0 and di decisions inside every computer
Digital logic na di language of computers. Simple gates wey dey answer yes or no fit combine make devices wey dey count, remember and decide.
Wetin you go learn
- Wetin be binary signals: 1 and 0, on and off
- How AND, OR and NOT gates dey work
- How to read and build truth table
- How gates dey combine make circuits wey dey count and remember
Example experiments
-
Use two switches and one AND gate make light wey need both buttons.
-
Build circuit wey go on lamp wen any one of two doors open.
-
Join gates togeda to add two binary numbers.
Tins wey you fit build
-
Lock wey get secret combination
-
Binary counter
-
Simple controller for traffic light
Dis examples dey show di kind work wey dey dis area. Di lessons wey dem go publish fit different.
Try one small model
Dis small models dey run right here for your browser, and dem go still work witout internet once di page don load. Na teaching models wey dem simplify, no be di MEKALUMI simulation engine.
Logic gate
Switch di inputs on and off, then choose one gate. Di lamp go show di output.
- Output
- Lamp dey off (0)
AND: di lamp go light only wen A and B both na 1.
| A | B | Output |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Logic gates dey follow exact rules, so dis model dey behave like real digital logic.
Wetin di simulation simplify
- For most lessons, signals dey switch immediately, but real chips need small time.
- Dem dey usually leave out electrical details like power use and noise.
Every simulation dey simplify reality. To sabi how e dey do am na part of learning engineering.
How e connect to school subjects
Maths (binary numbers), computer science, electronics
Connection to oda areas
Digital logic dey connect circuits wit automation, programming and robotics.
E good make you know
Every computer and phone get billions of tiny switches inside wey dey work like logic gates.