OpenRepeater / MODULE_TxFan

This in OpenRepeater module that allows control of a cooling fan or other device via a GPIO pin. It follows the PTT activity or comes on after a delay.
0 stars 0 forks source link

Introduce hysterisis into timer Module PTT trigger #1

Open jcacioppo59 opened 4 years ago

jcacioppo59 commented 4 years ago

Is it possible to have possible a fixed or variable hysterisis in the amount of PTT required to start, or reset the Fan timer module? In this way, shorter transmissions... less that 20 seconds for instance would not trigger the fan, but longer than 20 seconds would, with every transmission after the initial fan start would reset the fan run timer.

abcrawford commented 4 years ago

@jcacioppo59 - Good requests to keep in mind as we expand the module. I will probably rely on Dan to tackle the SVXLink side of this. I am currently up to my ears in other aspects of ORP improvement.

jcacioppo59 commented 4 years ago

Thank you Dan, With the help of, actually with Dan doing all the thinking He/we were able to modify the ModuleTxFan to include a 20 second hard coded "hysterisis" that would allow shorter transmissions of less than 20 seconds not to trigger the fan timer. After a 20 second transmission the fan timer would run for the programed time with all subsequent transmissions regardless of length resetting the fan timer. This is a "rough" version but workable. Thank you Dan again for all your help not only in this timer, but in helping me to greatly increase my understanding of coding, and remind me of how we "Hams" work together to solve problems.

ModuleTxFan config.txt ModuleTxFan Tcl.txt