{496} CD4051 8 Channel Analog Multiplexer / Demultiplexer - Explained Multiplexer Analog Switch

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back to my channel in this video we will discuss cd4051 it is cbos eight channel analog multiplexer d multiplexer how this ic is working we will discuss in detail first of all we will see what is the multiplexer and demultiplexer because this ic can do the both jobs multiplexer that is the function when we have many inputs we have many channels we have we receive many inputs and our device can select any one of input and provides to the single output and this output will proceed to any other component any other microcontroller computer any device for further function in very simple way multiplexer is a device which can select any one input from many inputs and it will pro provide two single outputs of that configuration and if we say demultiplexer so demultiplexer have a opposite function it can distribute a single signal to the selected channel that are outputs here we in multiplexer we select one input from any of the channel from many inputs and we provide to that channel if we select this slider to this point so we will pick this signal and we will receive here if we select this channel this selector will shift this slider in that time we will take the signal but here the signal will distributed it it may be any digital analog any signal and just we have to select the output point at which channel at which output we have to distribute we have to deliver this signal so it is demux function distribution of a signal from single input to any one of the output channel in multiplexing we receive signal and demultiplexing we transmit signals to any one of the channel friends if you have not subscribed my channel i will request please subscribe it and if the video is good for you hit the like button let's start let's start and we will check its function by applying different logic addresses because this ic receives logic addresses that are control line and it have eight channels it will connect which channel we want to connect to the output side like here this time i selected 0 0 0 so 3 inputs are 0 and output is channel 0 now channel 1 4 volt if i will select channel number 2 it will give 4.6 volt how this is working and how it is useful channel number 3 channel number 7 channel number five if we see its equivalent diagram these are different channels if you remember a rotary switch this ic works as a rotary switch it connects any signal to the output when we select some addresses from here normally it is used with microcontrollers with different plc's to select some channels to make measurement are to drive something when we load this signal to any channel so that means that is demultiplexing we are writing some signal to any channel and when we read back some signal we select channel and we read back information from that channel it is called multiplexing when we are using some microcontroller some programmable logic control and we command to read some pins for example we have one two three four five six seven eight eight pins and we want to read the data on these pins what is the voltage level either it is adc analog to digital converter whatsoever so we select a channel we cannot use a rotary switch with microcontroller we can say it is a digitally controlled rotary switch this switch is moving its slider depending on the address so address is octal code because it have three pins one two three these are the channel select pins from the microcontroller then it will select a0 b0 c0 like it is mentioned in the truth table inhibit pin that is control pin that is mentioned here if inhibit pin is connected to ground at that time it will connect to measure the output the measure the pin if it is high at that time it will open the channel it will open the common pin from the slider it does not have any physical slider but it works as a rotary switch as a slider when we discuss 4051 inhibit pen 0 channel a0 channel b0 c0 that is equal to decimal address 0 so it is channel number 0 so channel number 0 will loaded at the output pin we have different pins pin 1 that is io channel that is io channel four and number two that is six number channel pin four that is seven number channel pin five that is five number channel here we have zero one 2 3 and these are the select addresses here for the test purpose i connected 330 ohm resistors from positive to pin number 15 then to pin number 14 then to pin number 13 then to pin number 12. like it is shown here i made a voltage divider network i connected it between the positive 5 volt and i connected resistor and i applied voltage to the different channels i mentioned the channel number channel 2 channel 1 channel 0 channel 3 4 6 7 5 you can connect with a sequence connect a resistor to first pin number 13 that is channel number 0 because pin number 13 channel 0 and the next pin number 14 that is channel number one then you can connect two three but to make a simple circuit i applied a different voltage level at these pins for example our first pin that is channel number two pin number 15 that will approximately 4.6 volts pin number 14 channel number one these are the pin numbers and this is the channel number it will 4 volt 3.5 volt so 0 when we say 0 that means channel 0 if we want to read the output from channel 0 that is pin number 13 we will select 0 0 0 at 3 pins pin number eight nine and ten if these three pins are logic level zero zero zero that means pin number thirteen will connect it to the output pin number three is i o in out [Music] common out common in now we are reading the voltage from these pins because we applied voltage to these pins and we will select one by one these pins and we will take the voltage at pin number three first we will check the voltage level at different pins for example pin number 15 pin number 15 is 4.6 volts after the first resistor then we have 14 that is 4 volt channel number 1 then we have 13 that is 3.5 volts channel number 0 then 2.9 that is channel 3 and channel 3 is at pin number 12. in this sequence for testing purpose we must consider the channel names channel 0 1 2 3 4 5 6 7 so we will correlate the pin numbers with the channels because in truth table we are not considering the pin number we are considering the channel name which channel will connect it to the output pin number one that is channel number four it have 2.4 volt pin number two that is channel number six it has 1.8 volt as i mentioned here then channel number seven have 1.3 volts 1.3 volt and the last channel that is 761 millivolt 0.7 volt which i mentioned here i have this logic pattern switch this time a b c ten nine eight three pins are zero level so at that time according to this truth table channel 0 will be connected to the outputs where is the channel 0 channel 0 is pin number 13 so we will receive 3.5 volt at pin number three as per logic address when the a b c are zero channel number one will be selected we applied a voltage level of three point five volt to plane number thirteen channel zero spin number thirteen thirteen 1450 so we have 3.5 volt and the same 3.5 volt will available at pin number three so pin number three will connect it to the microcontroller when the microcontroller will set send command that read voltage from pin number 13 or channel channel 0 so it will ah give a command 0 0 0 volts to 3 pins at that time it will select the voltage which are present at that pin this time we have 3.5 volt with this voltage divider here 3.5 volt so we are receiving 3.5 volt at pin number 3. that is here 3.5 3.5 volt so if we select 1 now nine eight zero nine zero pin number ten that is four volt so zero zero one as per truth table zero 0 1 that means channel 1 will load it to output pin where is the channel 1 channel 1 is pin number 14 so pin number 14 have 4 volt so pin number 14 have four volts the same four volts will reach at pin number three now we will change the logic levels this time zero zero one i will select the channel number 2 0 1 0 this binary is equal to decimal number 2. so we selected the channel number two channel number two have 4.6 volts so we have 4.6 volt at output pin 0 1 0 channel 2 0 1 1 so 0 1 two point nine volts channel number three it is two point nine volt now we are reading the voltage from pin number twelve four four is one zero zero 1 0 0 we are reading 2.4 volts so channel 4 is 2.4 volts because our this voltage divider is giving for 2.4 volt here because 330 ohm resistor i collected on each node 1 0 0 channel number 4 1 0 1 it is 761 millivolts it is channel number five four plus one five physically how this code is working here five volt we consider it it is one then zero b is zero it is six eight two millivolt that is considered as zero and c that is four point two volts one zero one it is equal to five so five that means channel number five will be connected to the output fin what is the voltage level at that pin we will receive at the output when one zero one here when the microcontroller will generate code one zero one four plus one five so channel number five will be connected to the input pin of the microcontroller then number six for six the binary is four to zero we have 1.8 volt to read 1.8 volts we selected channel number six so channel six have one point eight volt so channel six is pin number two now pin number two is connected to pin number three when we select this pin now i collect one one one so in that case channel number seven will connect it to the pin number three where is the channel number seven channel number seven is four so the voltage present at pin number four will connect it to pin number three we have 1.3 volts now for example this time microcontroller wants to verify the voltage at channel number three this time it is my rank channel number seven 1.3 volts if you if the processor a microcontroller requires to read the voltage from channel number three so channel number three have code one one [Applause] so i change the code one one this bit is zero so we received 2.9 volts so this one this one is 2.9 now if the processor want to read the voltage from channel number five whereas the channel number five that is here so channel number five one zero one one zero one one zero one this is high low high point seven volts 0.7 volt here in this method multiplexing we read back the voltage from the pins it is reading back the voltage from these pins this time we are giving input because we connected the voltage divider network to the pins and we are reading work the voltage we are making jumpers between the common pin that is pin number three pin number three with different pins channel zero one two three four five seven these are eight channels eight to one multiplexer we can use this function to different projects we can say we can generate a voltage control oscillator we can generate different voltage level where we need to provide some reference we can use this ic this ic is widely used in digital electronics especially when we use an automation when we use in multiplexing and demultiplexing a to d converter and d to a converter for example the processor want to measure voltage from different points we cannot connect microcontroller to all pins we have because microcontroller have unlimited pins you can say it is 16 pin so we cannot connect 16 pins directly to the microcontroller at that time just only using three address lines these control lines and one reading pin that is this pin number three we can connect to the microcontroller and microcontroller easily can read back these channels so we can integrate for signal gating for factory automation from tv sets in appliances in audio circuits it is also used and programmable logic circuits and sensors with sensors we can use it when the system needs to read back some information from any channel from any pin just only changing the code here this ic will shift pin 3 with pin 15 3 with 14 3 with 13 3 with 12 3 with one three with six three with seven three with five three with four three with five any anytime we need to disconnect the signal just only this inhibit pin will pulled up so this ic will stop its function friends i hope so this video is informative if it is informative hit the like button if you have any question kindly let me know in the comment box thanks for watching assalamu alaikum
Info
Channel: Haseeb Electronics
Views: 8,186
Rating: undefined out of 5
Keywords: CD4051, 8 Channel Analog Multiplexer, 8 channel demultiplexer, what is multiplexer and demultiplexer, what is multiplexer, multiplexer explained, demultiplexer explained, Multiplexer Analog Switch, digital electronics, 74HC4051, CD4052, CD4053, how cd4051 works, cd4052 workout, cd4053be circuit diagram, cd4051 application note, cd4051 practical circuit, cd4051 multiplexer, cd4051 circuit, cd4051be, haseeb electronics, how multiplexers work, how multiplexer and demultiplexer works
Id: OO1WkcH7HRM
Channel Id: undefined
Length: 18min 51sec (1131 seconds)
Published: Sun Nov 14 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.