Jaikumar62 wrote: ↑
Mon Jul 02, 2018 12:15 pm
We are using Raspberry Pi to read the data of Acceleration sensors through I2C. And we need to read 2-6 Sensors.To read multiple sensors, we have connected SCLK lines of sensors together and SDA lines together.We are able to detect the devices with addresses 1d and 1e .But, when we try to read data from sensors one sensor is disconnecting(1d) and one senso(1e)r is giving proper data (We have connected 2 sensors).
Is it required to add pull up resistors? and what values we need to use?
Please suggest the possible solution.
The Pi has it's own on-board pull-ups on the main I2C channel IIRC (1k8 I think).
Are the sensors running at 3.3V or, with the I2C signals buffered by level-shifters**, at 5V? (The Pi's GPIO's are not 5V tolerant)
What type of sensors are they? (make, model & maybe, link to specs)
**FWIW, some examples here: http://www.cpmspectrepi.uk/raspberry_pi ... dules.html
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm