Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

Author Topic: Closed Loop high frequency PWM PC Fan Controller  (Read 8921 times)

0 Members and 1 Guest are viewing this topic.

oachalon

  • Newbie
  • *
  • Posts: 2
Closed Loop high frequency PWM PC Fan Controller
« on: March 19, 2017, 23:18:33 PM »
Hi,

Has anyone tried using the Closed Loop High Freqyency PWM PC Fan Controller located at:

http://pcbheaven.com/circuitpages/Closed_Loop_Fan_Controller/

I downloaded the assembly language, but i cannot get it to work at all.  The program will build and i can program to the PIC, but when i try to run it, nothing works.  I dont get any PWM signals out of the PIC at all.   

I am wondering if anyone has tested this to see if this does actually work.

Thanks,
« Last Edit: March 20, 2017, 03:24:36 AM by oachalon »

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: Closed Loop high frequency PWM PC Fan Controller
« Reply #1 on: April 07, 2017, 11:24:07 AM »
Do you have experience in PIC programming?

oachalon

  • Newbie
  • *
  • Posts: 2
Re: Closed Loop high frequency PWM PC Fan Controller
« Reply #2 on: April 14, 2017, 05:55:48 AM »
Hi,

My skills are introductory.  I understand what you are trying to provide, and i built your circuit exactly, but nothing worked.

Do you by chance have a version that works with a PIC16F series? 

In the Init you are clearing the interrupt, but i dont actually see your interrupt routine and i dont see any RETFIE when you leave the interrupt.  Its difficult for me to see exactly what is going on. 

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: Closed Loop high frequency PWM PC Fan Controller
« Reply #3 on: April 20, 2017, 08:29:22 AM »
I do not use interrupts, that is why you see no RETFIE.
When compiling, do you get any error messages?
Also, make sure that the configuration word is active:
__config _BOR_ON & _IOSCFS_8MHZ & _CP_OFF & _MCLRE_ON & _PWRTE_OFF & _WDT_OFF & _INTOSCIO

Or let MPLAB set the configuration as per the above line.