Driver for the DHT22 sensor

From aquarium-doc
Revision as of 08:59, 5 June 2022 by Uwe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Aquarium control contains its own driver for the DHT22 sensor.

The driver implements an interrupt call via the pigpio library. This interrupt code only stores the level changes of the related GPIO.

The transmission from the sensor is being checked and the ambient temperature and humidity are being calculated.

Aquarium control implements a thread which acquires a value every minute.

Interrupt code, transmission check and value calculation as well as the thread are implemented in the following component: Ambient/Dht22.c