xBee carrier and temp & hum sensor

Hi all,
just starting with first steps in electronics with arduino.

XBee carrier board has 2 connectors (one is D5, D6 - so double digital, and other is I2C)
How can you connect Grove - Temperature&Humidity Sensor Pro

can you use i2C port or you need to interface it to analog pins on the rfbee ?

I would appreciate if someone has sample that can be used with rfbee.


Hi, best thing to do is use the code provided at the wiki: http://www.seeedstudio.com/wiki/Grove_-_Temperature_and_Humidity_Sensor_Pro or use a library like: https://github.com/adafruit/DHT-sensor-library

The Grove sensor is a digital sensor that connects to a digital port (no I2C protocol), so you either connect it directly to a digital port or connect it to an analog port and remap it as digital in your code.