Romeo Board with I2C Sensor Problem

userHead arino 2014-05-13 04:04:34 3576 Views2 Replies
Hello hello :)

I have the Romeo v2 controller and a Grove-Base Shield with Grove - Digital Light Sensor as a I2C Connection.
Unfortunately, I don't get a response from the Sensor with the example code on the romeo controller. It seems to me, that the I2C pin mapping is wrong somehow, since on other boards the grove sensor gives a response but it does not on the romeo (Leonardo) controller.
[code]#include <Wire.h>
#include <Digital_Light_TSL2561.h>
void setup()

void loop()
unsigned long Lux;


Serial.print("The Light value is: ");

Did someone experienced similar problems?
2014-05-14 04:03:38 I will try that, thank you :) userHeadPic arino
2014-05-13 13:55:18 Hello,arino
I saw something about the shield on their wiki:
[quote]SeeeduinoV2.21(168p and 328p),Arduino UNO and Duemilanove compatible[/quote]
It only supports these boards. because these IIC interface is A4&A5
But Leonardo IIC interface is D2%D3
[quote]Uno, Ethernet A4 (SDA), A5 (SCL)
Mega2560 20 (SDA), 21 (SCL)
Leonardo 2 (SDA), 3 (SCL)
Due 20 (SDA), 21 (SCL), SDA1, SCL1[/quote]
But I think you could try to connect the Grove - Digital Light Sensor to Romeo directly.
userHeadPic Grey.CC