Every topic starts at New. Sign in and your practice counts.
Digital electronic circuits deal with the situation having only two 'states': ON or OFF, TRUE or FALSE, HIGH or LOW, and YES or NO etc. For example, consider a circuit as shown in figure 18.17.
There are only two possible positions to flip a light switch i.e., ON or OFF (It's of no concern to you that there could be 110 volts, 120 volts or 220 volts i.e., fluctuating analog "signal", running
This figure is being prepared.
| TABLE 18.1 SWITCHING | |
|---|---|
| Switch (Input) | Lamp (Output) |
| Open | OFF |
| Closed | ON |
through the electrical wiring connected to the light switch).
We call state of switch as input and state of current or lamp as output. When the switch is open no current passes through the circuit and lamp is OFF. In other words, when input is 0 output is also 0. When the switch is closed current passes through the circuit and lamp is ON . In other words, when input is 1 output is also 1 . The possible combinations of input and output states of this circuit are shown in Table 18.1.
Like this ON/OFF switching, the same logic used to build the digital electronic circuits inside your laptop computer, GPS device and smart-phone. The two states can be best operated mathematically if the states are numerically represented by binary digits 1 and 0 , also known as Boolean variables. English alphabets (A, B, C, etc.) are used to represent the Boolean variables. Boolean algebra is a formal way of describing logical operations. It is based on three basic logical operators such as: AND, OR and NOT.
The Analogue-to-Digital Converter (ADC) enables microprocessor-controlled circuits, like Arduinos and Raspberry Pi, to connect with the real world. In reality, analogue signals vary continuously and come from different sources and sensors that can detect sound, light, temperature, or movement. Many digital systems engage with their surroundings by measuring these analogue signals from transducers.
So it is necessary to have an electronic circuit which can convert the continuously changing analogue signals to discrete digital signals, such circuits are known as Analogue-to-Digital Converters. Whereas Digital-to-Analogue Converter (DAC) allow to convert discrete digital signal to analogue signals.
Analogue signals can be continuous and provide an infinite number of different voltage values. On the other hand, digital circuits work with binary signal which have only two discrete states, a logic " 1 " (HIGH) or a logic " 0 " (LOW). Each digit in binary ( 0 or 1 ) is called a bit, which is an abbreviation of binary digit.
Electronic devices are built from digital logic circuits. Logic gates are the main building blocks of all digital logic circuits. These circuits can act as switches and convert incoming voltage into binary electrical pulses of high (or 1 ) and low (or 0 ). Digital electronic circuits use to implement binary/logical operations are known as logic gates.
Logic gates can have one or more inputs but only one output. Electronic devices are usually made from large assemblies of logic gates, often packed in integrated circuits. Common logic gates are AND, OR, NAND, NOR and NOT. Set of inputs and outputs of a logic system in binary form is called truth table.