cancel
Showing results for 
Search instead for 
Did you mean: 

Hi all, I want to read data from several sensors using 1-Wire and I2C. Would it be better to connect all sensors with a similar protocol to one pin or use if possible different pins for each sensor. What are pros and cons for each solution?

mlytvyn
Associate
 
2 REPLIES 2
AvaTar
Lead

Depends on your application, and the timing requirements.

And your sensors, of course. Some have a fixed address, or one or two address pins, so the number of identical sensors (ICs) on one bus is limited. And you will have a hard time getting standard speed devices to work in high speed modes.

Two busses can reduce the update cycle time to about half. Code size increases minimal, assuming identical peripheral blocks. Two additional connections should not have a large impact on the PCB layout.

mlytvyn
Associate

Thanks for the answer, I did not consider the speed issues. What about power consumption?