PCB Heaven

General Category => Your projects => Topic started by: oachalon on March 19, 2017, 23:18:33 PM

Title: Closed Loop high frequency PWM PC Fan Controller
Post by: oachalon 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,
Title: Re: Closed Loop high frequency PWM PC Fan Controller
Post by: kam on April 07, 2017, 11:24:07 AM
Do you have experience in PIC programming?
Title: Re: Closed Loop high frequency PWM PC Fan Controller
Post by: oachalon 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. 
Title: Re: Closed Loop high frequency PWM PC Fan Controller
Post by: kam 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.