O'Reilly logo

C Programming for Arduino by Julien Bayle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multiplexing with a CD4051 multiplexer/demultiplexer

We are going to explore a technique called multiplexing . This is a major subchapter because we are going to learn how to make our real-life project more concrete, more real.

We often have many constraints in the real world. One can be the number of Arduinos available. This constraint can also come from having a computer that has only one USB port. Yes, this happens in real life, and I would be lying if I said you can have every connector you want, whenever you want, within the budget you want.

Imagine that you have to plug more than eight sensors to you Arduino's analog input. How would you do it?

We will learn to multiplex signals.

Multiplexing concepts

Multiplexing is quite common in the telecommunications ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required