An overview of digital electronics, including binary number system, logic gates, and the basics of digital circuit design.
Introduction to Digital Electronics
Key concepts, building blocks, and practical considerations
| Decimal | Binary | Hexadecimal |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 2 | 10 | 2 |
| 3 | 11 | 3 |
| 4 | 100 | 4 |
| … | … | … |
| 15 | 1111 | F |
| 16 | 10000 | 10 |
| Symbol | Voltage Range (Typical, 5 V TTL) | Logic State |
|---|---|---|
| 0 | 0 V – 0.8 V | LOW (Logic 0) |
| 1 | 2 V – 5 V | HIGH (Logic 1) |
Note: CMOS families use a wider range (0 V – VDD) and have lower static power consumption.
| Gate | Symbol | Boolean Expression | Truth Table |
|---|---|---|---|
| AND | ![]() |
Y = A·B | 0·0=0, 0·1=0, 1·0=0, 1·1=1 |
| OR | ![]() |
Y = A+B | 0+0=0, 0+1=1, 1+0=1, 1+1=1 |
| NOT (Inverter) | ![]() |
Y = ¬A | 0→1, 1→0 |
| NAND | ![]() |
Y = ¬(A·B) | Complement of AND |
| NOR | ![]() |
Y = ¬(A+B) | Complement of OR |
| XOR | ![]() |
Y = A⊕B |