+ Reply to Thread
Results 1 to 6 of 6

Thread: Using PIC to control fan speed for PC

  1. #1
    Hopperito Newbie
    Join Date
    Jan 2005
    Location
    Mesa, Arizona
    Posts
    41

    Default Using PIC to control fan speed for PC

    It's been awhile since I have been here. I took a long hiatus to work my business, and my real job. But now I have time for my hobby, so I have a question…

    I have a few PIC microcontrollers that are USB capable, and I want to use one of them to control the fan speed (individually) of the numerous fans in my PC, using software I create. Some fans will have speed reporting, some will not.

    I was hoping that someone here has done this, and can help me pick the right semiconductor device to control the fans, the right mosfet, or whatever, and the way the speed is controlled. Either by voltage level, or something pulse-width modulated.

    I just received my 5lb Mouser catalog and that pushed me to get back into developing with the PIC. I want to do something that I can send a command to my device and increase/decrease the speed of an addressed fan.

    All I want is references to schematics, device reference numbers, et cetera, so I can make this happen.

    Thanks!

    Gary.Hop

    EDIT: For sake of clarification, the fans are 12vdc, don't know the amperage, but I'm sure it can't be that high. They are either similar, or exactly like Panaflo fans. 80mm.
    Hop
    I think, therefore I crash


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,783

    Default

    For a start I would suggest you test the fans to see if you can use PWM to control their speed! - most fans use DC brushless motors, and the internal electronics might not work fed from PWM.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    Hopperito Newbie
    Join Date
    Jan 2005
    Location
    Mesa, Arizona
    Posts
    41

    Default

    Hmm, to test them, I would still need a mosfet or something like it wouldn't I? I doubt if my fingers could move fast enough on a SPST switch to simulate PWM (sorry, a little humor).

    Thanks Nigel for the suggestion though. I was going to use PWM, and I didn't know about the problem with brushless motors. I just need some suggestions for a mosfet(s) that would be good for the job. There are so many to choose from.

    Thanks again!

    Gary
    Hop
    I think, therefore I crash

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,783

    Default

    You could use a MOSFET, or a conventional transistor, and use a 555 to generate the PWM signal - there are various designs like that on the net, for speed control.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    Exo
    Exo is offline
    Exo Newbie
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    1,884

    Default

    Did you try google?

    A simple search turned up with this:
    http://www.bit-tech.net/article/51/
    http://www.nomad.ee/micros/pwm555.html

    and many others.

  6. #6
    Hopperito Newbie
    Join Date
    Jan 2005
    Location
    Mesa, Arizona
    Posts
    41

    Default

    Those are good links. Thank you. I did a google search with the subject line of this thread and found a bunch of others too. I guess I should have googled first, but I like the advice I have gotten here, so I gave it a shot.

    Sucks about the speed reporting made inaffective by using PWM. I'll see if that happens to me. I guess I could shoot an infrared beam through the blades to get the speed if I need to so that's no biggy.

    Thanks for the help!
    Hop
    I think, therefore I crash

+ Reply to Thread

Tags for this Thread