1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Electronics Macro’s PWM Fan control (56K Beware)

Discussion in 'Modding' started by Bluebark, 20 Jan 2004.

  1. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    I have a problem and could use some advice…We all remember I am an electronics idiot. :blush: I asked Macro if I could use his PWM circuit for Gothic and he said it was for the world to use…so I got the parts and put it on my proto-board. The thing works but I can not get the fan to change RPMs. :eyebrow: I replaced the thermistor with a 10K vari (red arrow) and the blue arrow is also a 10K vari. Everything is per Macro’s specs…What the **** did I do wrong? How would I troubleshoot this?
    [​IMG]
     
  2. macroman

    macroman The One

    Joined:
    3 Sep 2001
    Posts:
    1,859
    Likes Received:
    9
    Apart from the obvious check the circuit, one reason for the circuit not working could well be the breadboard you are using. During the development I found the chip to be influenced by board layout probably due to stray capacitance. The type board you are using is notorious for having considerable capacitance. You can try bunching the components closer together but I would recommend building it on a small piece of stripboard to test it. :)
     
  3. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    I found just touching multimeter probes to the fan leads made the full-speed do-dah initiate. Very sensitive.

    [​IMG]

    Lot cheaper :D
     
  4. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    I will remove this from the proto-board and build it on a board. I have some of those cheap radio shack boards. Cpemma where did that schem come from? Unfortunately, I have all the part to build 5 of Macro’s circuits…but if I can’t (in my limited capacity) get this working I may need it. Does it use a thermistor?...back to the lab… :rolleyes:

    Thanks guys…again! :thumb:
     
  5. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    It's a 0-100% range pot driven variation of this thermal one. I guarantee the thermal version works. Above needs a few smoothing/decoupling caps, same as thermal version.
     
  6. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    Nice site... :cooldude:
     
  7. macroman

    macroman The One

    Joined:
    3 Sep 2001
    Posts:
    1,859
    Likes Received:
    9
    Yeah he's always pimping it ;)
     
  8. '99

    '99 What's a Dremel?

    Joined:
    5 Jan 2004
    Posts:
    30
    Likes Received:
    0
    Hey cpemma, been round you're site and looking at you're different circuits... nad was wondering if you could make something simular to this: http://forums.bit-tech.net/showthread.php?t=34194
    I'm not that good at electronics (or english for that matter :( ), so if you could come up with something like that.... it would be great :D
     
  9. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    Push-button fan control isn't hard, the complex bit is getting a circuit that remembers the last setting after you've rebooted. That probably involves RAM and a nasty PIC beasty. :sigh:

    :idea: VSB
     
  10. TheAnimus

    TheAnimus Banned

    Joined:
    25 Dec 2003
    Posts:
    3,214
    Likes Received:
    8
    Don't be silly cpemma there is no need to resort to a MCU when it would only make the whole thing in ONE chip, and a hell of a lot easyer.

    Parrallel EEPROM is the awnser. Using standard up/^down counters, save the value into the EEPROM after each change, And query the EEPROM, for each speed setting ! simps!
     
  11. DarkReaper

    DarkReaper Alignment: Sarcastic Good

    Joined:
    9 Jan 2004
    Posts:
    1,751
    Likes Received:
    0
    Bluebark, what resistors are you using?

    I'm planning to make the circuit but the Rapid codes for the resistors have expired or something and so I don't know what tolerance or power rating I need
     
  12. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    The ones I got from Mouser were 2W 5%...Mouser shipped me five extra MIC502 if anyone needs one.
     
  13. DarkReaper

    DarkReaper Alignment: Sarcastic Good

    Joined:
    9 Jan 2004
    Posts:
    1,751
    Likes Received:
    0
    You jammy git... Cheers for the res info though

    I think there were some people looking for MICs here


    [edit] Hell, I'd take two or three myself depending on how much postage to Northern Ireland was [/edit]
     
  14. DarkReaper

    DarkReaper Alignment: Sarcastic Good

    Joined:
    9 Jan 2004
    Posts:
    1,751
    Likes Received:
    0
    Revise that - have you any MIC52BNs still handy? Rapid have discontinued them without updating their online catalogue... *******s... so anyway I need a few of the chips myself
     
  15. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    Drop me an email...rstoeckel@momsys.com
     
  16. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    There's no need for anything over 0.25W, except maybe for the one to the transistor base, 0.5W better there. 10% are fine.

    But Maplin's 0.6W 1% metal film do for nearly everything you're likely to build, same spec as the Rapid codes in the article. :)
     
    Last edited: 22 Jan 2004
  17. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    When I looked up Macro's PN#'s they were both 2W so that’s what I got.

    I build the circuit on a small board and it does nothing... :wallbash: Tomorrow I will trace the lines and post a pic of what I built and you guys can tell me what an idiot I am...'cause I just don't see anything wrong...save the fan not turning... :miffed:
     
  18. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    Not in my paper catalogue. All are TruOhm MF60 0.6W 1% metal film resistors. Page 474 on the pdf file.

    R1 10k 62-2146
    R2 15k 62-2154
    R4 270R 62-2070
     
    Last edited: 22 Jan 2004
  19. Bluebark

    Bluebark What's a Dremel?

    Joined:
    1 Sep 2003
    Posts:
    628
    Likes Received:
    1
    I finally got Macro’s fan circuit up and running…and I took you’re advice Cpemma and went with smaller wattage resistors.
    [​IMG]

    I had to replace the 10K var. resistor with a 20K one because the 10K res. did not bring the fan speed low enough for me. As you can see, I have the thermistor removed and jumped to represent a thermistor at full throttle. But I’m only getting 6.7V (about) out of the circuit.

    If I replace R1 (15K) with something smaller will that boost the voltage to the fan? Also, I intend on putting the var. resistor on another board. Will this have an impact on the circuit?
    [​IMG]
     
  20. cpemma

    cpemma Ecky thump

    Joined:
    27 Nov 2001
    Posts:
    12,328
    Likes Received:
    55
    With a 20k pot and 15k resistor the pin #1 input will range from (100*15/35) = 42.8% up to 100% of supply. From the datasheet, 30% = zero PWM duty cycle, 70% = 100% duty cycle, so you should be getting around 6v minimum and a shade over 11v max. when the pot's half-wound.

    I used resistors as below for a pot version, gives about 42.8%-71.4% voltage input, so your's is similar and should give the most useful speed range (IMNSHO). ;)

    [​IMG]

    If it don't work, you've messed up somewhere. :sigh:
     

Share This Page