Analog Multiplexer Demultiplexer MC14051B Basic Introduciton

YouTube tutorial:
Analog multiplexer allows you to pass data from few pins into one.
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.

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Be the First to Share


    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    5 Discussions

    Michal Choma

    2 years ago

    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.


    2 years ago

    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.