SlideShare a Scribd company logo
1 of 12
Types of Encoders and Decoders with Truth
Tables
The encoders and decoders play an essential role in
digital electronics projects; encoders & decoders are used to convert data from one form to another form. These are
frequently used in communication system such as telecommunication, networking, etc..to transfer data from one end
to the other end. Similarly, in the digital domain, for easy trans mission of data, it is often encrypted or placed within
codes,and then transmitted.At the receiver, the coded data is decrypted or gathered from the code and is processed
in order to be displayed or given to the load accordingly.
Types of Encoders and Decoders
An encoder is an electronic device used to convert an analogue signal to a digital signal such as a BCD code. It has a
number of input lines, but only one of the inputs is activated at a given time and produces an N -bit output code that
depends on the activated input. The encoders and decoders are used in many electronics projects to compress the
multiple number of inputs into smaller number of outputs. The encoder allows 2 power N inputs and generates N-
number of outputs. For example, in 4-2 encoder, if we give 4 inputs it produces only 2 outputs.
Encoder
Truth Table Of The Encoder
The decoders and encoders are designed with logic gate such as an OR-gate.There are different types of encoders
and decoders like 4 , 8, and 16 encoders and the truth table of encoder depends upon a particular encoder chosen by
the user.Here, a 4-bitencoder is being explained along with the truth table. The four-bit encoder allows onlyfour
inputs such as A0, A1, A2, A3 and generates the two outputs F0, F1, as shown in below diagram.
Simple Encoder
Encoder Truth Table
Priority Encoder
A normal encoder has a number of input lines amongst which only one of which is activated at a given time while a
priority encoder has more than one input,which is activated based on priority. Which means that,the priority encoders
are used to control interruptrequests byacting according to the highestpriorityrequest? Iftwo or more inputs are equal
to one – at the same time, the input having the highest priority will be preferred to take. Internal hardware will check
this condition and priority, which is set.
Priority Encoder
Multiplexer
The multiplexers and demultiplexers are digitalelectronic devices that are usedto control applications.A multiplexer is
a device that allows multiple input signals and produces a single output signal. For example, sometimes we need to
produce a single outputfrom multiple inputlines.Electronic multiplexer can be considered as a multiple inputand single
output lines.In this case,the multiplexer used selects the inputline to be sentto the output. The digital code is applied
to the selected inputs to generate respective output. The digital code is applied to the selected inputs to generate
respective outputA common application ofmultiplexing occurs when several embedded system devices share a single
transmission line or bus line while communicating with the device. Each device in succession has a brieftime to send
and receive the data. This is the special advantage of using this MUX.
Multiplexer
Introduction Of Decoder
The decoder is an electronic device that is used to convert digital signal to an analogue signal. It allows single input
line and produces multiple output lines. The decoders are used in many communication projects that are used to
communicate between two devices.The decoder allows N- inputs and generates 2 power N-numbers ofoutputs.For
example, if we give 2 inputs that will produce 4 outputs by using 4 by 2 decoder.
Decoder
Truth Table Of The Decoder
The encoders and decoders are designed with logic gates such as AND gate. There are different types of decoders
like 4, 8, and 16 decoders and the truth table of decoder depends upon a particular decoder chosen by the user. The
subsequentdescription is abouta 4-bitdecoder and its truth table. The four bit decoder allows only four outputs such
as A0, A1, A2, A3 and generates two outputs F0, F1, as shown in the below diagram.
Decoder Circuit
Decoder Truth T
2-to-4 line Decoder
In this type of encoders and decoders,decoders contain two inputs A0,A1, and four outputs represented byD0, D1,
D2, and D3. As you can see in the truth table – for each inputcombination,one outputline is activated.
2-to-4 Decoder
In this example,you can notice that, each output of the decoder is actually a minterm,resulting from a certain inputs
combination,thatis:
 D0 =A1 A0, ( minterm m0) which corresponds to input00
 D1 =A1 A0, ( minterm m1) which corresponds to input01
 D2 =A1 A0, ( minterm m2) which corresponds to input10
 D3 =A1 A0, ( minterm m3) which corresponds to input11
The circuit is implemented with AND gates,as shown in the figure. In this circuit, the logic equation for D0 is A1/A0,
and so on. Thus, each output of the decoder will be generated to the input combination.
3-8 DECODERS
This type of decoder contains two inputs: A0, A1, A2; and four outputs represented by D0, D1, D2, D3, D4, D5, D6,
and D7. As you can see in the truth table, for each input combination, one output line is activated. For example, an
input will activate the line A0, A1, A3 as 01 at the input has activated line D1, and so on.
3-to-8 Decoder
In this example, you can notice that, each output of the decoder is actually a minterm,resulting from a certain inputs
combination, that is;
 D0 =A2 A1 A0, ( minterm m0) which corresponds to input 000
 D1 = A2 A1 A0, ( minterm m1) which corresponds to input001
 D2 = A2 A1 A0, ( minterm m2) which corresponds to input010
 D3 = A2 A1 A0, ( minterm m3) which corresponds to input011
 D4 = A2 A1 A0, ( minterm m0) which corresponds to input100
 D5 = A2 A1 A0, ( minterm m1) which corresponds to input101
 D6 = A2 A1 A0, ( minterm m2) which corresponds to input110
 D7 = A2 A1 A0, ( minterm m3) which corresponds to input111
The circuitis implementedwith AND gates,as shown in the figure.In this circuit, the logic equation for D0 is A2/A1/A0/,
and so on. Thus, each output of the decoder will be generated to the input combination.
Decoder Design with NAND Gates
Some decoders are constructed with NAND rather than AND gates. In this case,all decoder outputs will be 1’s except
the one correspondingto the inputcode which will be 0.2-to-4 line decoder with an enable inputconstructed with NAND
gates.The circuit operates with complemented outputs and enables inputE’,which is also complemented to ma tch the
outputs of the decoder NAND gate. The decoder enabled when E’ is equal to zero. As represented by the truth table,
only one output can be equal to zero at any given time, all other outputs being equal to one. The outputs represent
minterm selected bythe inputs A1 and A0. The circuit is disabled when E’ is equal to one, regardless ofthe values of
the other two inputs. If the circuit is disabled, then none of the outputs are equal to zero.
Applications Of Decoder And Encoder; by Edgefx kits.com
Speed Synchronization of Multiple Motors in Industries
This system is used to synchronize motor speed by using RFtechnology. This projectis applicable to many industries
like steel plants,paper plants and textile mills,where the motors are used to design s imultaneously.All these motors
used on conveyer are designed to be synchronized.
Speed Synchronization of Multiple Motors in Industries by Edgefxkits.com
In this system, one motor output is given as the reference speed for the other motors to follow sam e speed. The
proposed system consists oftwo blocks:transmitter and receiver blocks,which are built with encoder and decoder. A
particular speed is sentbythe transmitter with the help ofthe decoder.The receiver receives the data and converts the
digital formatto send the receiver system,and maintains same speed as ithas received. Thus,if a particular speed is
set by the transmitter, then other motors run with the same speed by utilizing radio-frequency communication.
War- Field -Flying Robort with a Night Vision Flying Camera
This system with a wireless camera can wirelessly transmit a real-time video with night vision capabilities using RF
technology, which is for remote operation. This kind of robot can be helpful for spying in War fields.
War Field Flying Robort with NJight Vision Flying Cameraby Edgefxkits.com
In the transmitting end push buttons are used;commands are sentto the controller for controlling the movementof the
robot either in forward, backward, left, right, directions. The RF transmitter acts as a RF remote control that has the
advantage of adequate range (up to 200 meters) with proper antenna,while the receiver decodes before feeding it to
another microcontroller to drive DC motors via motor-driver IC for necessarywork. A wireless camera is mounted on
the robotbody for spying purposes,even in complete darkness byusing infrared lighting.The basic schematic diagram
is shown above.
Robotic Vehicle with Metal Detector
The projectis designed to devolpa robotic vehicle that can sense metals ahead ofit on its path similar to sensing land
mines.The robotis controlled bya remote using RFtechnology.At the transmitting end,using push buttons,commands
are sentto the receiver to control the movementofthe roboteither in forward,backward and left or right directions.At
the receiving end,two motors are interfaced to the microcontroller wheretheyare used for the movementofthe vehicle .
The RF transmitter acts as a RF remote control that has the advantage of adequate range (up to 200 meters) with
proper antenna, while the receiver decodes before feeding it to another microcontroller to drive DC motors via motor-
driver IC for necessary work.
Robotic Vehicle with Metal Detector by Edgefxkits.com
The RF transmitter acts as a RF remote control that has the advantage of adequate range (up to 200 meters) with
proper antenna, while the receiver decodes before feeding it to another microcontroller to drive DC motors via motor
driver IC for necessary work.
RF based Home Automation System
The main goal of this projectis to develop a home automation system with an RF- controlled remote.As technologyis
advancing so houses are also getting smarter.Modern houses are graduallyshifting from conventional switches to a
centralized control system, involving RF controlled switches.
RF based Home Automation System by Edgefxkits.com.
Presently, conventional wall switches located in differentparts of the house make itdifficultfor the user to approach
them for operations.Furthermore,itbecomes more & more difficultfor the elderly or physicallyhandicapped people
to do so.Remote controlled home automation system provides a simpler solution with RFtechnology.
Automatic Wireless Health Monitoring System in Hospitals for Patients
In this project,a wireless communication system is designed and developed for remote patientmonitoring.The primary
function of this system is to monitor the temperature ofa patient’s body, and displaythe same to the doctor through RF
communication.Itis a very tedious method.In this proposedsystem,a transmitting module continuouslyreads patient’s
body temperature through a digital temperature sensor; displays it on the LCD screen and sends it to the
microcontroller, which then transmits the encoded serial data over the air by RF (radio frequency) through an RF
module.
Automatic Wireless Health Monitoring System in Hospitals for Patients Block Diagram by Edgefxkits.com
Secret Code Enabled Secure Communication using RF Technology
The project is designed to send secure message by using a secretcode from a computer keyboard connected to the
transmitting unitvia RF technology. The message is retrieved at the receiver end only upon entering the secretcode
used bythe transmitter.Thus,complete secrecyis maintained in this communication process.This projecthas a unique
feature of tagging the messagewith a secret code as selectedbythe sender.The message is then transmitted through
the RF transmitting module. At the receiver end, the signal is received by the RF receiver module. The message is
then retrieved only if the secret code is known to the receiving personnel. In this project, the encoders and decoders
are used to transmitand receive the information. Once the secretcode is entered, then message is displayed on the
receiving unit on the LCD display.
Secret Code Enabled Secure Communication using RF Technology Block Diagram

More Related Content

What's hot

What's hot (20)

encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
Decoder
DecoderDecoder
Decoder
 
Encoders
EncodersEncoders
Encoders
 
The decoder
The decoderThe decoder
The decoder
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
08 decoder
08 decoder08 decoder
08 decoder
 
Encoders
EncodersEncoders
Encoders
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
What is a decoder and 2 to 4 DECODER
What is a decoder and 2 to 4 DECODERWhat is a decoder and 2 to 4 DECODER
What is a decoder and 2 to 4 DECODER
 
Full custom digital ic design of priority encoder
Full custom digital ic design of priority encoderFull custom digital ic design of priority encoder
Full custom digital ic design of priority encoder
 
Decoders
DecodersDecoders
Decoders
 
Decoders
DecodersDecoders
Decoders
 
11111111111
1111111111111111111111
11111111111
 
Decoder for digital electronics
Decoder for digital electronicsDecoder for digital electronics
Decoder for digital electronics
 
encoder & decorder
encoder & decorderencoder & decorder
encoder & decorder
 
encoder
encoder encoder
encoder
 
Decodder presentation by ibrar
Decodder presentation by ibrarDecodder presentation by ibrar
Decodder presentation by ibrar
 
Digital electronices encode decode
Digital electronices encode decodeDigital electronices encode decode
Digital electronices encode decode
 

Similar to Types of encoders and decoders with truth tables

Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...IJERA Editor
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEr. Raju Bhardwaj
 
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxSaveraAyub2
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...Arti Parab Academics
 
5.3 Data conversion
5.3 Data conversion5.3 Data conversion
5.3 Data conversionlpapadop
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit GulAhmad16
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and RoboticsNIT Raipur
 
Cell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyCell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyTaufique Sekh
 
Cell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyCell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyTaufique Sekh
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxsatheeshKumar750
 

Similar to Types of encoders and decoders with truth tables (20)

ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
 
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
 
Embedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower BotEmbedded Application : An Autonomous Robot or Line Follower Bot
Embedded Application : An Autonomous Robot or Line Follower Bot
 
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
Mobile controll robot
Mobile controll robotMobile controll robot
Mobile controll robot
 
5.3 Data conversion
5.3 Data conversion5.3 Data conversion
5.3 Data conversion
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
presentation.pptx
presentation.pptxpresentation.pptx
presentation.pptx
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Analog to Digital .pptx
Analog to Digital .pptxAnalog to Digital .pptx
Analog to Digital .pptx
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit
 
11.ppt
11.ppt11.ppt
11.ppt
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
Cell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyCell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF Technology
 
Cell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF TechnologyCell Phone Controlled Home Automation System using DTMF Technology
Cell Phone Controlled Home Automation System using DTMF Technology
 
multiplexer and d-multiplexer
multiplexer and d-multiplexermultiplexer and d-multiplexer
multiplexer and d-multiplexer
 
Embedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptxEmbedded systems optimization memory requirments.pptx
Embedded systems optimization memory requirments.pptx
 

Recently uploaded

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 

Recently uploaded (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 

Types of encoders and decoders with truth tables

  • 1. Types of Encoders and Decoders with Truth Tables The encoders and decoders play an essential role in digital electronics projects; encoders & decoders are used to convert data from one form to another form. These are frequently used in communication system such as telecommunication, networking, etc..to transfer data from one end to the other end. Similarly, in the digital domain, for easy trans mission of data, it is often encrypted or placed within codes,and then transmitted.At the receiver, the coded data is decrypted or gathered from the code and is processed in order to be displayed or given to the load accordingly. Types of Encoders and Decoders An encoder is an electronic device used to convert an analogue signal to a digital signal such as a BCD code. It has a number of input lines, but only one of the inputs is activated at a given time and produces an N -bit output code that depends on the activated input. The encoders and decoders are used in many electronics projects to compress the multiple number of inputs into smaller number of outputs. The encoder allows 2 power N inputs and generates N- number of outputs. For example, in 4-2 encoder, if we give 4 inputs it produces only 2 outputs.
  • 2. Encoder Truth Table Of The Encoder The decoders and encoders are designed with logic gate such as an OR-gate.There are different types of encoders and decoders like 4 , 8, and 16 encoders and the truth table of encoder depends upon a particular encoder chosen by the user.Here, a 4-bitencoder is being explained along with the truth table. The four-bit encoder allows onlyfour inputs such as A0, A1, A2, A3 and generates the two outputs F0, F1, as shown in below diagram. Simple Encoder
  • 3. Encoder Truth Table Priority Encoder A normal encoder has a number of input lines amongst which only one of which is activated at a given time while a priority encoder has more than one input,which is activated based on priority. Which means that,the priority encoders are used to control interruptrequests byacting according to the highestpriorityrequest? Iftwo or more inputs are equal to one – at the same time, the input having the highest priority will be preferred to take. Internal hardware will check this condition and priority, which is set.
  • 4. Priority Encoder Multiplexer The multiplexers and demultiplexers are digitalelectronic devices that are usedto control applications.A multiplexer is a device that allows multiple input signals and produces a single output signal. For example, sometimes we need to produce a single outputfrom multiple inputlines.Electronic multiplexer can be considered as a multiple inputand single output lines.In this case,the multiplexer used selects the inputline to be sentto the output. The digital code is applied to the selected inputs to generate respective output. The digital code is applied to the selected inputs to generate respective outputA common application ofmultiplexing occurs when several embedded system devices share a single transmission line or bus line while communicating with the device. Each device in succession has a brieftime to send and receive the data. This is the special advantage of using this MUX. Multiplexer Introduction Of Decoder The decoder is an electronic device that is used to convert digital signal to an analogue signal. It allows single input line and produces multiple output lines. The decoders are used in many communication projects that are used to communicate between two devices.The decoder allows N- inputs and generates 2 power N-numbers ofoutputs.For example, if we give 2 inputs that will produce 4 outputs by using 4 by 2 decoder.
  • 5. Decoder Truth Table Of The Decoder The encoders and decoders are designed with logic gates such as AND gate. There are different types of decoders like 4, 8, and 16 decoders and the truth table of decoder depends upon a particular decoder chosen by the user. The subsequentdescription is abouta 4-bitdecoder and its truth table. The four bit decoder allows only four outputs such as A0, A1, A2, A3 and generates two outputs F0, F1, as shown in the below diagram. Decoder Circuit
  • 6. Decoder Truth T 2-to-4 line Decoder In this type of encoders and decoders,decoders contain two inputs A0,A1, and four outputs represented byD0, D1, D2, and D3. As you can see in the truth table – for each inputcombination,one outputline is activated. 2-to-4 Decoder In this example,you can notice that, each output of the decoder is actually a minterm,resulting from a certain inputs combination,thatis:  D0 =A1 A0, ( minterm m0) which corresponds to input00  D1 =A1 A0, ( minterm m1) which corresponds to input01
  • 7.  D2 =A1 A0, ( minterm m2) which corresponds to input10  D3 =A1 A0, ( minterm m3) which corresponds to input11 The circuit is implemented with AND gates,as shown in the figure. In this circuit, the logic equation for D0 is A1/A0, and so on. Thus, each output of the decoder will be generated to the input combination. 3-8 DECODERS This type of decoder contains two inputs: A0, A1, A2; and four outputs represented by D0, D1, D2, D3, D4, D5, D6, and D7. As you can see in the truth table, for each input combination, one output line is activated. For example, an input will activate the line A0, A1, A3 as 01 at the input has activated line D1, and so on. 3-to-8 Decoder In this example, you can notice that, each output of the decoder is actually a minterm,resulting from a certain inputs combination, that is;  D0 =A2 A1 A0, ( minterm m0) which corresponds to input 000  D1 = A2 A1 A0, ( minterm m1) which corresponds to input001  D2 = A2 A1 A0, ( minterm m2) which corresponds to input010  D3 = A2 A1 A0, ( minterm m3) which corresponds to input011  D4 = A2 A1 A0, ( minterm m0) which corresponds to input100  D5 = A2 A1 A0, ( minterm m1) which corresponds to input101  D6 = A2 A1 A0, ( minterm m2) which corresponds to input110  D7 = A2 A1 A0, ( minterm m3) which corresponds to input111 The circuitis implementedwith AND gates,as shown in the figure.In this circuit, the logic equation for D0 is A2/A1/A0/, and so on. Thus, each output of the decoder will be generated to the input combination. Decoder Design with NAND Gates Some decoders are constructed with NAND rather than AND gates. In this case,all decoder outputs will be 1’s except the one correspondingto the inputcode which will be 0.2-to-4 line decoder with an enable inputconstructed with NAND gates.The circuit operates with complemented outputs and enables inputE’,which is also complemented to ma tch the outputs of the decoder NAND gate. The decoder enabled when E’ is equal to zero. As represented by the truth table, only one output can be equal to zero at any given time, all other outputs being equal to one. The outputs represent
  • 8. minterm selected bythe inputs A1 and A0. The circuit is disabled when E’ is equal to one, regardless ofthe values of the other two inputs. If the circuit is disabled, then none of the outputs are equal to zero. Applications Of Decoder And Encoder; by Edgefx kits.com Speed Synchronization of Multiple Motors in Industries This system is used to synchronize motor speed by using RFtechnology. This projectis applicable to many industries like steel plants,paper plants and textile mills,where the motors are used to design s imultaneously.All these motors used on conveyer are designed to be synchronized. Speed Synchronization of Multiple Motors in Industries by Edgefxkits.com In this system, one motor output is given as the reference speed for the other motors to follow sam e speed. The proposed system consists oftwo blocks:transmitter and receiver blocks,which are built with encoder and decoder. A particular speed is sentbythe transmitter with the help ofthe decoder.The receiver receives the data and converts the digital formatto send the receiver system,and maintains same speed as ithas received. Thus,if a particular speed is set by the transmitter, then other motors run with the same speed by utilizing radio-frequency communication. War- Field -Flying Robort with a Night Vision Flying Camera This system with a wireless camera can wirelessly transmit a real-time video with night vision capabilities using RF technology, which is for remote operation. This kind of robot can be helpful for spying in War fields.
  • 9. War Field Flying Robort with NJight Vision Flying Cameraby Edgefxkits.com In the transmitting end push buttons are used;commands are sentto the controller for controlling the movementof the robot either in forward, backward, left, right, directions. The RF transmitter acts as a RF remote control that has the advantage of adequate range (up to 200 meters) with proper antenna,while the receiver decodes before feeding it to another microcontroller to drive DC motors via motor-driver IC for necessarywork. A wireless camera is mounted on the robotbody for spying purposes,even in complete darkness byusing infrared lighting.The basic schematic diagram is shown above. Robotic Vehicle with Metal Detector The projectis designed to devolpa robotic vehicle that can sense metals ahead ofit on its path similar to sensing land mines.The robotis controlled bya remote using RFtechnology.At the transmitting end,using push buttons,commands are sentto the receiver to control the movementofthe roboteither in forward,backward and left or right directions.At the receiving end,two motors are interfaced to the microcontroller wheretheyare used for the movementofthe vehicle . The RF transmitter acts as a RF remote control that has the advantage of adequate range (up to 200 meters) with proper antenna, while the receiver decodes before feeding it to another microcontroller to drive DC motors via motor- driver IC for necessary work.
  • 10. Robotic Vehicle with Metal Detector by Edgefxkits.com The RF transmitter acts as a RF remote control that has the advantage of adequate range (up to 200 meters) with proper antenna, while the receiver decodes before feeding it to another microcontroller to drive DC motors via motor driver IC for necessary work. RF based Home Automation System The main goal of this projectis to develop a home automation system with an RF- controlled remote.As technologyis advancing so houses are also getting smarter.Modern houses are graduallyshifting from conventional switches to a centralized control system, involving RF controlled switches. RF based Home Automation System by Edgefxkits.com. Presently, conventional wall switches located in differentparts of the house make itdifficultfor the user to approach them for operations.Furthermore,itbecomes more & more difficultfor the elderly or physicallyhandicapped people to do so.Remote controlled home automation system provides a simpler solution with RFtechnology. Automatic Wireless Health Monitoring System in Hospitals for Patients
  • 11. In this project,a wireless communication system is designed and developed for remote patientmonitoring.The primary function of this system is to monitor the temperature ofa patient’s body, and displaythe same to the doctor through RF communication.Itis a very tedious method.In this proposedsystem,a transmitting module continuouslyreads patient’s body temperature through a digital temperature sensor; displays it on the LCD screen and sends it to the microcontroller, which then transmits the encoded serial data over the air by RF (radio frequency) through an RF module. Automatic Wireless Health Monitoring System in Hospitals for Patients Block Diagram by Edgefxkits.com Secret Code Enabled Secure Communication using RF Technology The project is designed to send secure message by using a secretcode from a computer keyboard connected to the transmitting unitvia RF technology. The message is retrieved at the receiver end only upon entering the secretcode used bythe transmitter.Thus,complete secrecyis maintained in this communication process.This projecthas a unique feature of tagging the messagewith a secret code as selectedbythe sender.The message is then transmitted through the RF transmitting module. At the receiver end, the signal is received by the RF receiver module. The message is then retrieved only if the secret code is known to the receiving personnel. In this project, the encoders and decoders are used to transmitand receive the information. Once the secretcode is entered, then message is displayed on the receiving unit on the LCD display.
  • 12. Secret Code Enabled Secure Communication using RF Technology Block Diagram