Best Answer Mario Vernari, 01 February 2014 - 06:55 PM
As stated in my previous post, the HC4067 is also suitable.
Sparkfun offers this chip as well, which looks even better than the HC4052:
https://www.sparkfun.../products/10652
From my perspective, being both the chips SMD, they would be a nightmare to sold manually: I'd choose a DIP.
Apart this personal consideration, the comparison is between the HC4067 and the TS3A5017. They both act as a "switch" with a small resistance.
== HC4067
Pros: a single 24-pins chip offers a 16 channels expansion; good price;
Cons: the resistance of the selected route isn't very low (about 70 Ohms);
It needs just one analog and four outputs.
The software would look as follows:
for (int i=0; i<16; i++)
{
a.Write( ... );
b.Write( ... );
c.Write( ... );
d.Write( ... );
}
== TS3A5017
Pros: very low resistance (10 Ohms)
Cons: you need two 16-pins chips; the price is 3x; can't work with voltages greater than 3.3V (that's the same limit of the Netduino, however).
It needs 4 analogs and two outputs.
The software would look as follows:
for (int i=0; i<4; i++)
{
a.Write( ... );
b.Write( ... );
adc0.Read();
adc1.Read();
adc2.Read();
adc3.Read();