DIY-Flow-Bench
DIY-Flow-Bench copied to clipboard
[FEATURE REQUEST] Swirl Meter
Following on from discussion #131 - Official Swirl Meter Thread and the push for getting RC9 completed, I have brought forwards the completion of the swirl meter code.
RC9 is a feature lock release for V2. It follows the philosophy that if it is already in the GUI, then it must work. 'No broken features'
As the swirl code was added some time back along with the GUI tile, then it follows that this needs to work.
The bulk of the code is already done, it just needs to be tested. I do already have the hardware outlined in the discussion above, so hopefully the commissioning of the code is relatively trivial.
Branch 227-_FEATURE_REQUEST_Swirl_Meter created!
Possibilty to utilise PCNT Pulse counter...
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/pcnt.html#_CPPv416pcnt_unit_configPK13pcnt_config_t
Or to hack UART to act as non-blocking pulse counter...
https://forums.electricimp.com/t/best-way-to-count-pulses-why-is-pulse-counter-blocking/6279/5