Dec-25-2017, 03:21 AM
You need something like this: https://python-forum.io/Thread-Relay-swi...6#pid31756
Temperature has the behavior, that it's changing slowly the value.
With the wrong implementation you can destroy the relay. In the case when it's switching on-off in a very short time, the whole time, at some point the relay will stop working. I know from real life a case, where a company implemented the temperature control with a relay to control a heater for Plastic (high power consumption). They tried really to implement PWM with a relay :-D The whole building burned.
A much better approach is, to control your small fan with a PWM module, called H-Bridge. You can drive your fan faster, when the temperature is higher and slower, when it's getting colder. I'm using this for our radar systems to control the DC-Drive: https://photos.app.goo.gl/iZ2KqBI3jrMnCP2c2
You can buy it here for example: https://www.sparkfun.com/products/9457
But you'll find it in other shops also.
Temperature has the behavior, that it's changing slowly the value.
With the wrong implementation you can destroy the relay. In the case when it's switching on-off in a very short time, the whole time, at some point the relay will stop working. I know from real life a case, where a company implemented the temperature control with a relay to control a heater for Plastic (high power consumption). They tried really to implement PWM with a relay :-D The whole building burned.
A much better approach is, to control your small fan with a PWM module, called H-Bridge. You can drive your fan faster, when the temperature is higher and slower, when it's getting colder. I'm using this for our radar systems to control the DC-Drive: https://photos.app.goo.gl/iZ2KqBI3jrMnCP2c2
You can buy it here for example: https://www.sparkfun.com/products/9457
But you'll find it in other shops also.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!