Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrd0ll4r/dht-to-i2c-expander
A project that uses an ATmega8 to translate I2C to 16 DHT22 sensors.
https://github.com/mrd0ll4r/dht-to-i2c-expander
Last synced: 2 months ago
JSON representation
A project that uses an ATmega8 to translate I2C to 16 DHT22 sensors.
- Host: GitHub
- URL: https://github.com/mrd0ll4r/dht-to-i2c-expander
- Owner: mrd0ll4r
- License: mit
- Created: 2021-07-24T08:43:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T13:25:02.000Z (about 2 years ago)
- Last Synced: 2024-04-14T22:51:12.127Z (8 months ago)
- Language: C
- Size: 29.3 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dht-to-i2c-expander
A project that uses an ATmega8 to translate I2C to 16 DHT22 sensors.We have many DHT22 sensors and didn't want to/couldn't connect them all to a Raspberry Pi due to lack of pins and lack of a robust implementation (we bitbanged it from userspace, which was meh).
We therefore created a small breakout board with an ATmega8(L) on it to read the sensors and make readings available via I2C.
Readouts are triggered via I2C by the bus master through setting bit `0x01` in the status register at `0x00`.Most of this stuff, including the resulting format and whatnot, is explained in `main.c`, so check that out.
## License
MIT, but would be nice if you would link back here.