Hi all,
im trying to work with the sparkfun ISL29125 following this guide:
[u]https://learn.sparkfun.com/tutorials/isl29125-rgb-light-sensor-hookup-guide[/u]
when i run the code it never prints "Sensor Initialization Successful\n\r", but if i disconnect/connect the SDA or SCL it prints :
Red: FFFF
Green: FFFF
Blue: FFFF
under any type of light source.
i think there is a problem with the "RGB_sensor.init()", any ideas?
I was having the same problem you were having! I'm sort of noob at this stuff, but I figured it out somehow (hopefully this helps).
I realized that I have an UNO R3 (not an UNO..bleh I'm dumb haha) so my SCL and SDA pins are in a different place (above the AREF on the digital pins side). My UNO R3 board has a 3.3V pin, so I didn't need to add anything like the logic level converter.
Once, I hooked it up correctly, it could communicate with the device and initialize.
I was having the same problem you were having! I'm sort of noob at this stuff, but I figured it out somehow (hopefully this helps).
I realized that I have an UNO R3 (not an UNO..bleh I'm dumb haha) so my SCL and SDA pins are in a different place (above the AREF on the digital pins side). My UNO R3 board has a 3.3V pin, so I didn't need to add anything like the logic level converter.
Once, I hooked it up correctly, it could communicate with the device and initialize.
tapemoose:
I realized that I have an UNO R3 (not an UNO..bleh I'm dumb haha) so my SCL and SDA pins are in a different place (above the AREF on the digital pins side)
Actually, they are not in a different place. The I2C-pins will always be on A4 & A5 - It's just duplicated on some boards for convenience.