Pages: [1]   Go Down
Author Topic: Arduino Uno with two i2c color sensors  (Read 703 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm having trouble with an Arduino Uno that has two i2c color sensors connected to it. These are the sensors: http://www.sparkfun.com/products/10701
In the hookup the grounds are connected together from both sensors and the SDA and SCL are switched between either of the color sensors by a 74HCT4053N (the color sensors have exactly the same adress and it can't be changed).
The problem is that when either of the sensors are connected with its SDA or SCL straight to the Arduino (so without the 74HCT4053N switch) it works just fine and reads color data, while with the switch suddenly no readings appear in the serial monitor anymore, while only one SDA and SCL are allowed to pass through and it should effectively give the same result as connecting these wires straight to the Arduino. What is wrong here?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8701
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have the schematic?  How are the pull-up resistors wired?  Is the Enable pin pulled low?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: