Skip to content

BeagleBone Black using the DHT20 thermometer/humidity sensor

Notifications You must be signed in to change notification settings

guycole/perky-thermometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

perky-thermometer

BeagleBone Black using the DHT20 thermometer/humidity sensor.

Pins

| Header | Pin | Name      | Description |
|--------|-----|-----------|-------------|
| P9     |  1  | DGND      | DHT20 Pin 3 |
| P9     |  4  | VDD_3V3   | DHT20 Pin 1 |
| P9     | 19  | I2C2_SCL  | DHT20 Pin 4 |
| P9     | 20  | I2C2_SDA  | DHT20 Pin 2 |

i2c address = 0x38

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

i2cdump -y 2 0x38 b 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ???????????????? 10: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ???????????????? 20: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ???????????????? 30: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ???????????????? 40: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ???????????????? 50: 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ????????????????

i2cset -y -r 2 0x38 0x71 0x01 i2cget -y 2 0x38 0x71

About

BeagleBone Black using the DHT20 thermometer/humidity sensor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published