I HAVE A BUG!!! But I dont know why.
TC
Posts: 1,019
Hello all,
My 3D printer project is coming along real nice, but I have a bug and I dont know why. I am trying to add A PWM controlled fan to it. But when I add the start for the PWM my display goes nuts. There are 2 pictures I have added, one is with
The other picture is when the comment is removed. Other than the display not showing what it should be everything works. I can turn on, and off the fan and adjust the speed from the host software.
Thanks for any input
TC
My 3D printer project is coming along real nice, but I have a bug and I dont know why. I am trying to add A PWM controlled fan to it. But when I add the start for the PWM my display goes nuts. There are 2 pictures I have added, one is with
PWM.start(15)Commented out.
The other picture is when the comment is removed. Other than the display not showing what it should be everything works. I can turn on, and off the fan and adjust the speed from the host software.
Thanks for any input
TC
Comments
No it does not. Did not think of that. Dose that mean i have noise being injected back into the prop?
I wonder if changing the frequency of your PWM might help? Perhaps you are hitting some sort of resonant frequency that is amping up the motor noise in your other circuits.
-Phil
I tryed that, it works but I have no speed control.
I am using a ULN2003 to drive a small PC computer fan. I am using a breadboard so the ground is tied to the prop. bt the 12V comes from a 2A power brick, that also powers my 5V, and 3.3V DC-DC converters.
-Phil
The ULN2003 would be at the end of the line. I am going to try giving it its own ground path, and see if that helps.
-Phil
I'm just curious - what sort of fan motor is this? I would think that for most fan motors, only the duty cycle would affect the speed.
It is a standard PC computer fan. if I raise the frequency, I get a squeel from the fan. if i lower the frequency the fan hits top speed at around 50%.