Electronics Projects, PIC16F876 PWM Motor Speed Control article
"ccs c examples, microchip projects, microcontroller projects, pic16f876 projects, " tagged with
CCS PCM compiler pic16f876 microcontroller circuit prepared with software installed on the PIC hex output FETs are driven IRL1004 MOSFET PWM frequency of 10 kHz with the engine. Prepared with eagle pcb circuit and printed circuit board file source software.
The PWM frequency is about 10 kHz and does not make a noise in the motor.The 5 K Ohm potentiometer is connected to ADC input channel 0 and is converted to 1024 (10 bit) value, this value is applied to the PWM control and produces very smooth speed control. The HEXFET type IRL1004 has extremely low on resistance (0.009 Ohm) and requires only logic level drive, in this application it does not get warm even when controlling 1 Amp motor current. according the IRL1004 data sheet it can handle much higher motor current
Source: hans-w.com PIC16F876 PWM Motor Speed Control ccs c Alternative link: pic16f876-pwm-motor-speed-control.rar