AllskyTeam / allsky-modules

User modules for allsky
MIT License
18 stars 17 forks source link

Idea: Add PWM cycle to dew-heater module #41

Open Alex-developer opened 8 months ago

Alex-developer commented 8 months ago

Discussed in https://github.com/AllskyTeam/allsky-modules/discussions/29

Originally posted by **lordwimsey** November 2, 2023 Hi, first of all, thank you very much for programming and maintaining all these modules! I just "finished" my first allsky-camera build and went for a dew heater right away. I used 6x 10 Ohm 1W resistors in series, so 60 Ohm together. With 12V supplied that would result in 200mA current (I = U/R) and therefore a power of 2.4W (P = U*I). However, trying that out, I found the resistors got quite hot to the touch. Whether that is too hot, I can't tell- I have no experience. That gave me the idea to have a load quotient or something (excuse my english...) that can switch on and off the heater in some PWM manner to reduce the effective heating output as an option in the settings. You could try to go with a percentage of the max. and see if it suffices. That way, we could save power and unnecessary hot environment for the camera. Thanks for all of this and best regards, Peter By the way, the module documentation I found lacks some of the generated variables that I found in the Overlay Editor.