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
- Host: GitHub
- URL: https://github.com/guycole/perky-thermometer
- Owner: guycole
- Created: 2022-05-25T05:20:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-04T03:51:57.000Z (over 3 years ago)
- Last Synced: 2025-04-06T17:52:14.697Z (6 months ago)
- Topics: beaglebone-black, dht20, i2c, thermometer
- Homepage:
- Size: 4.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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