Analog Multiplexer Demultiplexer MC14051B Basic Introduciton

4.8K236

Intro: Analog Multiplexer Demultiplexer MC14051B Basic Introduciton


YouTube tutorial: https://www.youtube.com/watch?v=Q2WMlluVXmo
Analog multiplexer allows you to pass data from few pins into one.
Multiplexer
So if you have free thermometers and you want to read all of them by single Arduino PIN, but in a different time period, then you could use analog multiplexer.
This allows you to get data from one sensor/thermometer, pass it to Arduino, then change reading PIN and pass data again to the same Arduino port. By using this technique, you can develop one software code which will do similar task to all sensors on a single Arduino port.

Demultiplexing.
This works in a same way, but in oposit direction.
Asume you have one Arduino port which generates PWM signal. You want to blink three LEDs in a different time range. First second you blink one LED, then second and then third one.

5 Comments

hello, I looking for IC which is ADC and multiplexer in one. It is possible to find that? I do on my weatherstation based on esp, and I have problem with internal ADC. I looking for external, but dont know if it helps. Check my channel, if you want, about my esp logger.

Thank you, adding ground to the sensor, makes the reading values more sense, I had it first just connecting to a 3.3 volts for testing and no ground. And the reading of no voltage was erratic. Adding the ground makes the reading of values as 0 volts.

I got one CD4051 :) great tuto.