I'm new at multiplexing with arduino (I use arduino from some years), and -as title says- I'd like to learn. I'm trying to build an expandible system with 3 sensors, and I'd like to use a 74hc595b1 to link them, leaving some pins free. My first question is: is It possible? And second, can you kindly link me a simple -but very simple- example about multiplexers in arduino? Thankyou!

  • 1
    What kind of sensors? Also, the 74hc595b1 is a shift register, not a multiplexer. – Majenko Feb 16 '17 at 13:38
  • I have a hc-sr04 sensor and a temperature sensor (I think a P-MOS) – lucad93 Feb 16 '17 at 13:41
  • Neither of those are suitable for using with a shift register – Majenko Feb 16 '17 at 13:42
  • So, how can I do with more sensors? – lucad93 Feb 16 '17 at 13:43
  • 1
    You can use a shift register for that, yes. A multiplexer is a very different thing and is not what you have there. – Majenko Feb 16 '17 at 13:51

For connecting 8 analog devices to an Arduino, using only 3 Arduino pins, look at say a 4051 multiplexer IC: 4051 example

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.