Boolean Algebra is the mathematical foundation of digital circuits. Boolean Algebra specifies the relationship between Boolean variables which is used to design combinational logic circuits using Logic Gates. The truth table shows a logic circuit's output response to all of the input combinations.

## Boolean Algebra

- A Boolean Variable takes the value of either 0 (False) or 1 (True).
- Symbols are used to represent Boolean variables e.g. A, B, C, X, Y, Z
- There are three basic logic operations AND, OR, NOT
- The Boolean Operators are • + ‾
- A + B means A OR B
- A • B means A AND B
- A means NOT A

- Nodes in a circuit are represented by Boolean Variables

- The most practical use of Boolean algebra is to simplify Boolean expressions which means less logic gates are used to implement the combinational logic circuit.
## Logic Gates

- Logic gates are electronic circuits that implement the basic functions of Boolean Algebra. There is a symbol for each gate
- Logic levels (0 or 1) are represented by means of a voltage level.
- High voltage (5V, 3.3V, 2.5 V, etc.) is 1
- Low voltage (0V) is 0

- Logic gates are electronic circuits that implement the basic functions of Boolean Algebra. There is a symbol for each gate
## Truth Table

The Truth Table shows the values of the circuit output for all input values.

Fig 1 is an example of four circuits that are equivalent because their truth tables are identical.

- (a) is a NOT AND circuit
- (b) is a NAND gate which gets its name from its
**N**ot**AND**configuration. It uses a**bubble**to represent a NOT gate at its output - (c) implements the NAND function using OR and NOT gates
- (d) is another way to draw (c) using a
**bubble**to represent a NOT gate at its input

Logic gates are used to implement the following type of digital circuits.

Bank Alarm SystemA bank wants to install an alarm system with 3 movement sensors.

To prevent false alarms produced by a single sensor activation, the alarm will be triggered only when at least two sensors activate simultaneously.

Click button to learn how to use logic gates to implement the solution in minutes!

Thank you for learning from electronics-course.com

We do not have a paywall as our mission is **to provide everyone
from Albania to Zimbabwe, rich or poor, a quality foundational electronics education**.
With advertising revenues falling despite increasing numbers of learners,
we need your help to maintain and improve the course, which takes time, money and hard work.

If everyone who benefits from this course
**gives as little as $2 via Paypal**,
we can continue to achieve our mission. Thanks!