Introduction: Analog Multiplexer Demultiplexer MC14051B Basic Introduciton

Picture of 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.

Comments

Michal Choma (author)2017-09-12

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.

LuiM2 (author)2017-08-14

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.

rafaelnfs (author)2016-06-07

I got one CD4051 :) great tuto.

aequanimitas (author)rafaelnfs2016-06-11

thank you :)

DIY Hacks and How Tos (author)2015-11-09

Great electronics tutorial.

About This Instructable

888views

22favorites

License:

More by aequanimitas:Stove / Hot Plate for PCB Toner Transfer.Arduino As Stand Alone. Burn Bootloader.Cheap 2$ Microscope for Hobbyists. Magnifying Eye Jewelry Loupe.
Add instructable to: