Hello,
I used PWM with PIC16F877A to control a geared DC motor. MikroC was used for programming. I used an ULN2003 IC to drive the motor. Whenever I connect a LED or checked using the voltmeter, my program is working properly. However, as I connect the DC motor the motor produces an audible noise and attempting to rotate(but it doesn't rotate). The noise is high when the duty cycle is low. I used capacitors(0.1uF,1uF,47uF,etc) in parallel with the motor. When the capacitor value is high, the problem is partially ok. But still produces the noise slightly. However, if capacitors are used my timing would be different!
Kan anybody help me with this???
PS: I've checked all the supply voltages and pin connections, they are ok. I've changed ICs and checked. I'm pretty sure about the firmware as well.
PS: One of my motors was damaged running on this condition!!(now itz actual rpm is less than that I bought it newly!!) . Now i'm testing with a cheap motor.