Designing of 2 to 4 Line Decoder

Posted on

Designing of 2 to 4 Line Decoder – Earlier than going into realities about Encoders and Decoders, allow us to have a concise thought concerning Multiplexing. Frequently we go over purposes the place it’s anticipated to nourish a couple of enter alerts to a solitary load, every directly. This process of selecting one of the enter alerts to be fed to the load is called Multiplexing. The invert of this operation, i.e. the way in which towards nourishing a couple of hundreds from one frequent sign source is known as Demultiplexing. Equally in a digital area, for simplicity of transmission of data, the knowledge is frequently scrambled or set inside codes and afterward, this secured code is transmitted. On the collector, the coded data is decoded or amassed from the code and is dealt with to be proven or given to the load likewise.

2 to 4 Line Decoder
2 to 4 Line Decoder

This task of encrypting the knowledge and unscrambling the knowledge is completed by Encoders and Decoders. So how about we now comprehend what are actually Encoders and Decoders.

What’s a Decoder?

A decoder is a a number of enter, a number of output logic circuit that modifications codes i/ps into coded o/ps, the place each the inputs and outputs are dissimilar as an illustration n-to-2n, and binary coded decimal decoders. Decoding is important in purposes like information multiplexing, memory handle decoding, and 7 phase display. The best instance of decoder circuit could be an AND-gate as a result of when all its inputs are “Excessive.”, the output of this gate is “Excessive” which is named “lively Excessive output”. Instead to AND gate, the NAND gate is related the output might be “Low” (0) solely when all its inputs are “Excessive”. Such o/p is named “lively low output”.


A barely tougher decoder could be the n-to-2n kind binary decoders. These varieties of decoders are combinational circuits that modify binary data from n-coded inputs to a most of 2n unique outputs. In case then-bit coded information has idle bit mixtures, the decoder might have lower than 2n outputs. 2-to-4, 3-to-8 line decoder or 4-to-16 decoder are different examples.

READ  How to Make a Blinking LED using a 555 Timer IC?

The parallel binary quantity is an enter to a decoder, used to discover the prevalence of a selected binary quantity on the enter. The output reveals existence or nonexistence of exact quantity on the decoder enter.

Designing of 2 to 4 Line Decoder Circuit

Related to the multiplexer circuit, the decoder shouldn’t be restricted to a selected handle line, and thus can have greater than two outputs (with two, three, or 4 handle traces). The decoder circuit can decode a 2, 3, or 4-bit binary quantity, or can decode up to 4, 8, or 16 time-multiplexed alerts.

2-to-4-Decoder Circuit
2-to-4-Decoder Circuit

As a decoder, this circuit takes an n-bit binary quantity and generates an output on one of the 2n output traces. It’s due to this fact normally described by the quantity of addressing i/p traces & the quantity of information o/p traces. Typical decoder ICs would possibly embody two 2-4 line circuits, a 3-8 line circuit, or a 4-16 line decoder circuit. One exclusion to the binary character of this circuit is the 4-10 line decoders, which is proposed to alter a Binary Coded Decimal (BCD) enter to a 0-9 vary output.

When you make use of this circuit as a decoder, it’s your decision to insert information latches on the o/ps to hold each sign whereas the others are being conveyed. However, this doesn’t relate when you’re utilizing this circuit as a decoder, then you want only a single lively o/p to equal the enter code.

2 to 4 Line Decoder Fact Desk

On this kind of decoders, decoders have two inputs specifically A0, A1, and 4 outputs denoted by D0, D1, D2, and D3. As you may see within the following fact desk – for each enter mixture, one o/p line is turned on.

READ  8051 Microcontroller Based Ultrasonic Object Detection Circuit
2-to-4-Decoder Truth Table
2-to-4-Decoder Fact Desk

Within the above instance, you may observe that every o/p of the decoder is actually a minterm, ensuing from an assured inputs mixture, that’s:

D0 =A1 A0, ( minterm m0) which corresponds to enter 00 D1 =A1 A0, ( minterm m1) which corresponds to enter 01 D2 =A1 A0, ( minterm m2) which corresponds to enter 10 D3 =A1 A0, ( minterm m3) which corresponds to enter 11

The circuit is implemented with AND gates, as proven within the determine. On this circuit, the logic equation for D0 is A1/A0, and so on. Thus, every output of the decoder might be generated to the enter mixture.

Functions of Decoder

The purposes of decoder contain in the making of various electronic projects.

  • Conflict- Area -Flying Robotic with a Evening Imaginative and prescient Flying Digital camera
  • Robotic Automobile with Steel Detector
  • RF-based Residence Automation System
  • Velocity Synchronization of A number of Motors in Industries
  • Automated Wi-fi Well being Monitoring System in Hospitals for Sufferers
  • Secret Code Enabled Safe Communication utilizing RF Know-how

That is all about decoder, and its purposes in communication-based projects. We consider that you just might need acquired a greater concept of this idea. Moreover, any doubts concerning this text, please give your valuable strategies by commenting on the remark part under.