I got an HTU21D temperature and humidity breakout board from Sparkfun 
(https://www.sparkfun.com/products/12064). Since I'm a novice at 
electronics I'm unsure if I've made an error in connecting the device or 
there is some device driver issue. I connected the breakout to my 
beaglebone black as follows:

+ : Pin 3 (VDD)
-  : Pin 1 (GND)
DA : Pin 20
CL  : Pin 19

The datasheet says 3.8V maximum and since the VDD is 3.3V, I thought no 
logic level converter would be necessary. Running i2cdetect doesn't show 
anything connected. The output is as follows:

# i2cdetect -r -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

I tried to initialize the driver by running:

# echo htu21 0x40 > /sys/class/i2c-adapter/i2c-1/new_device

This is what I see in dmesg:

[215690.914098] i2c i2c-1: new_device: Instantiated device htu21 at 0x40

But there are no directories created under '/sys/bus/i2c/drivers' 
corresponding to this driver.

Rushi

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to