Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #9399

    Is there an extra pin I can use to control a cool-down fan?
    Would anyone have a bit of code to control a cool-down fan?


    Hi Tony,
    Unfortunately no extra pins left. We used everything up on the ATtiny1634R MCU.
    In the past (in the shield form), we did try to use a fan to cool down it does seem unnecessary as the temperature drops way too fast (to cause thermal shock on component). Until today (9 years using the reflow system), I would usually just open the door and let it cool down by itself naturally which is well within the maximum 6 Degree Celsius per second rate.


    Hi..i tried this using pyhthon and it doesn’t provide a switch case function. You can set it up as a dictionary for lookup (associative array), or what most do is just use an “if..elif..else” block to provide the same thing if you don’t have too many cases to deal with.This is part of a Python script I use to show the current CPU temp on a 24 segment bar graph. The temp is displayed on the first 8 bars of the graph and each “if/elif/else” works as a case statement to turn on the correct segment according to the temperature.


    Hi…A 2-pin fan generally has on the end of its wires a male 4-pin Molex connector, but only 2 pins are used. That mates with a power supply connector directly from the PSU. Done that way, it always runs at full speed. Instead, if it is plugged into a third-party fan controller, that unit will supply a voltage that may be reduced (for slower fan speed) by changing the manual setting on the controller – usually, a knob that turns. It also might be possible to get an adapter to allow you to connect such a fan to a mobo 3-pin fan port, thus allowing the mobo to control the fan’s speed (but see comment later on speed monitoring). 2-pin fans have no way to send out a speed signal, so you cannot measure the speed of such a fan.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.