|
Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
|
Tachometer pulse counting and RPM sampling for the cooling fan. More...
#include <Arduino.h>

Go to the source code of this file.
Classes | |
| struct | RpmMonitorConfig |
| Configuration for fan tachometer sampling. More... | |
| class | RpmMonitor |
| Measures fan speed from tachometer pulses. More... | |
Variables | |
| constexpr RpmMonitorConfig | kDefaultRpmMonitorConfig |
| Default tachometer settings for the configured cooling fan. | |
Tachometer pulse counting and RPM sampling for the cooling fan.
The RPM monitor converts interrupt-counted tachometer pulses into a sampled speed value. It is intentionally small so the interrupt path only increments a counter while the main loop performs RPM calculation at the configured window.