Analog multiplexor (possibly i2c)

Hello! i have almost finished my analog inputs on my last project… i have only one left and i need to attach some potentiometers to do some calibration… I could really use some nice multiplexing. What i’d like is a chip with some analog inputs and possibly an i2c interface so that you can choose which analog pin to read and get a digital reading. Do you know if anything like this exists ?

A couple Mux’s

I did a quick Google for “I2C analog multiplexer” which turned up this Analog ADG792A which might be a pain prototyping because of the surface mount package. There appear to be some others by Maxim, and NXP Philips further down the page. Sparkfun has an easier to solder surface mount mux that also has boards to prototype with listed below it.

Or do it the easy way…

Microchip will happily send you MCP3021 (10 bit) I2C ADC for free. Or the MCP3221 (12 bit).

I have samples of MCP4922, but it’s SPI.

uhm i love free stuff :)but

uhm i love free stuff :slight_smile:

but it appears to only have 1 input, or did i read wrong ? Also, fixed i2c address, and it doesn’t look like it have those bended feet, not the standard good old pins ?

Sadly these normally only have 1 or 2 ADCs per package.

ok… i could live with

ok… i could live with that… but it should be at least breadboard friendly…

i hate non-DIP chip :stuck_out_tongue:

i have already read about
i have already read about the multiplexers, but have never seen them in action. Could you tell me how they work? I mean…how do you get to change the connection with an I2C?

non-I2C multiplexer
David Cook (here he comes again!) wrote an excellent article about a bot that uses multiplexers. He saves on analogue inputs on his micro controller, but pays in digital outputs (three of them) for addressing the inputs on his mulitplexer(s). Very usable info!

i’ve found this one that

i’ve found this one that looks just right:

i’m applying for some free sample :stuck_out_tongue: