-->
Page 1 of 2

Port Extender

PostPosted: Fri May 11, 2018 9:55 am
by sprinkfitter
Can you use a MCP28017 as both a digital and analog port extender?

Thank You

Re: Port Extender

PostPosted: Fri May 11, 2018 1:06 pm
by martinayotte
I presume you mean MCP23017 ...
MCP23017 is a GPIO extender, so digital only !

Re: Port Extender

PostPosted: Fri May 11, 2018 2:11 pm
by sprinkfitter
Thank You. what do they make for i2c for additional analog pin.? Can that be done?

Re: Port Extender

PostPosted: Fri May 11, 2018 4:42 pm
by btidey
Lots of different ADC converters with i2c available. Choice depends on how many inputs, precision and sampling rate.

For example one popular unit is ADS1115 which gives 4 channels 16 bit precision and sample rates up to 860/sec