Send Analog Sensor Values with I2C

Hi,

I am working on a project where I read the analog values of 32 hall sensors. Currently i am using 4 Multiplexers (CD4051) to use 4 analog inputs of the arduino. This approach works fine.
Now I am thinking if i can use a bus system to read the analog values to reduce the cables of the system and make it easier to expand the project with more sensors.
I have never worked with I2C so my question is: is there a IC block to buy, which works as a I2C slave and convert an analog value into a I2C bitstream? Or is this maybe more complicated than I think it is?

Thanks for your help!

Maybe :wink:

For such a device the controller has to read analog values from the Hall sensors and transmit the values (on demand) to another I2C node. Such hardware is found on even the smallest ATTiny chips, no special problem so far. Some more pins may be required for a configurable I2C slave address.

My experience with the 8 bit ATmega chips: they have poor I2C slave hardware, dunno whether some ATtiny are better equipped?

How long are those I2C cables going to be ?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.