Romeo Board with I2C Sensor Problem

Hello hello :)
I have the Romeo v2 controller and a Grove-Base Shield with Grove - Digital Light Sensor as a I2C Connection.
[url=http://www.dfrobot.com/wiki/index.php/Romeo_V2-All_in_one_Controller_%28R3%29_%28SKU:DFR0225%29]http://www.dfrobot.com/wiki/index.php/Romeo_V2-All_in_one_Controller_%28R3%29_%28SKU:DFR0225%29[/url]
[url=http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor]http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor[/url]
[url=http://www.seeedstudio.com/wiki/Grove_-_Base_Shield_V1.3]http://www.seeedstudio.com/wiki/Grove_-_Base_Shield_V1.3[/url]
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()
{
Wire.begin();
Serial.begin(9600);
TSL2561.init();
}
void loop()
{
unsigned long Lux;
TSL2561.getLux();
Serial.print("The Light value is: ");
Serial.println(TSL2561.calculateLux(0,0,1));
delay(1000);
}[/code]
Did someone experienced similar problems?
I have the Romeo v2 controller and a Grove-Base Shield with Grove - Digital Light Sensor as a I2C Connection.
[url=http://www.dfrobot.com/wiki/index.php/Romeo_V2-All_in_one_Controller_%28R3%29_%28SKU:DFR0225%29]http://www.dfrobot.com/wiki/index.php/Romeo_V2-All_in_one_Controller_%28R3%29_%28SKU:DFR0225%29[/url]
[url=http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor]http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor[/url]
[url=http://www.seeedstudio.com/wiki/Grove_-_Base_Shield_V1.3]http://www.seeedstudio.com/wiki/Grove_-_Base_Shield_V1.3[/url]
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()
{
Wire.begin();
Serial.begin(9600);
TSL2561.init();
}
void loop()
{
unsigned long Lux;
TSL2561.getLux();
Serial.print("The Light value is: ");
Serial.println(TSL2561.calculateLux(0,0,1));
delay(1000);
}[/code]
Did someone experienced similar problems?
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.
Grey.CC
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.
