An open API service indexing awesome lists of open source software.

https://github.com/guycole/perky-thermometer

BeagleBone Black using the DHT20 thermometer/humidity sensor
https://github.com/guycole/perky-thermometer

beaglebone-black dht20 i2c thermometer

Last synced: about 2 months ago
JSON representation

BeagleBone Black using the DHT20 thermometer/humidity sensor

Awesome Lists containing this project

README

          

# 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