Go Down

Topic: 32 channel multiplexer (Read 11216 times) previous topic - next topic

alexandros301

Hi all,
Anyone knows if there's a 32 channel multiplexer? I've seen the CD74HC4067 (http://bildr.org/2011/02/cd74hc4067-arduino/), but I believe there must be a 32 channel one, so you use 5 digital pins instead of 8 (if you want to use to 16 channel ones)..right?

Thanks,
Alexandros

MarkT

I am presuming you mean analog multiplexers? Farnell turns up two Analog Devices chips: ADG732BSUZ and ADG731BSUZ, both TQFP48 surface mount packages.  Good to 5.5V though.
[ I DO NOT respond to personal messages, I WILL delete them unread, use the forum please ]

Grumpy_Mike

Yes but they are one heck of a price, it is cheaper to use multiple smaller ones.

dc42

Here are 2 solutions:

1. Use 2 x 74HC4067 with the ABCD inputs driven from the same 4 Arduino pins, and a separate Arduino pin driving the INHIBIT input of each 74HC4067 (6 Arduino pins in total). Drive the INHIBIT pin of the CD4067 that you want to select LOW and the other one HIGH.

2. If you really want to use only 5 pins rather than 6, connect the ABCD pins as above but connect one INHIBIT input direct to the 5th Arduino pin and the other one to the same pin through an inverter (e.g. 1/6 74HC04).
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

CrossRoads

and the inverter can be as simple as an NPN transistor and 2 resistors.
Arduino output to one74HC4067 INHIBIT, and to 180 ohm resistor, other side to transistor base
transistor emitter to ground
+5 to 5K resistor, other side to transistor collector, same junction goes INHIBIT on the second part.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

zoomkat

Quote
so you use 5 digital pins instead of 8 (if you want to use to 16 channel ones)..right?


As others have said, you should look at sending the same control signals in parallel to two 4067 chips and use the fifth pin in a chip enable setup. Using other types of chips, I've used a multiplex chip to multiplex power to other multiplex chips. Using 8 pins, one might use one 4067 to control power to 16 other 4067 chips.
Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

frankp

#6
May 31, 2018, 04:00 pm Last Edit: May 31, 2018, 04:01 pm by frankp
why not simply connect the same ABCD pins to n multiplexer and connect them to n analog inputs on your arduino.

As you go through the ABCD-combinations, simply read all n analog pins.

Using 4 16-channel multiplexer, you get 64 channels using 4 digital and 4 analog pins.

Please leave a commt in case you know that would / wouldn't work.

Go Up