02-19-2016, 11:54 AM
(This post was last modified: 02-19-2016, 11:56 AM by MichaelMeissner.)
(02-19-2016, 10:13 AM)Liuka Finke Wrote: There is a disconnect in their i2c designs. The normal i2c connection has 4 pins (ground, power, scl, sda) and most of the plugs have 4 pins.
But the ambient light sensor wants to pass a 5th pin (called nInt, which presumably is a pin that goes high when the state changes so that you can attach an interrupt so that you know when their is new data).
They put the nInt pin between ground and sda pins, which means you can't intermix 4 pin and 5 pin i2c connections.
That was the point I made on January 31st in this thread.
Since I wrote that post, the bakerkit is up, they do sell 4 pin i2c cables, 5 pin i2c cables, and a 5 pin to 4 pin conversion cable. So you can intermix the 5 pin i2c devices with the 4 pin i2c devices as long you connect the 5 pin i2c devices to the POT board, and then use the 5 pin to 5 pin conversion cable to attach the 4 pin i2c devices.
Or, you can use the POT multi i2c bus board which has 4 connections for the 5 pin i2c devices (each of the connectors targets a different pin for interrupt), and 6 connectors for the 4 pin i2c devices.
Note, even if the pins lined up, you would not be able to plug a 4 pin cable into a 5 pin slot, since the plugs are shaped to only allow a fixed size plug to be used.