trouble with controlling vibromotors: weird pulse

jubenini

New Member
We have a 18X board and we are trying to do a pulse width modulation of some vibration motors by bit-banging outputs 0 to 5. We need to control each motor individually, so we can't just use output 3 and the built-in pwmout command. To determine how long each motor should be on takes a certain fixed amount of time every few cycles, during which we can't continue the bit-banging. As a result, the motors pulse. Is there anything we can do to make a smoother PWM without using more microcontrollers? Thanks.
 

kevrus

New Member
I know its a longshot, but I dont suppose overclocking the picaxe to reduce the time taken for the other code to process would work.
 

jubenini

New Member
If you feel really carefully, you can still tell that its there, but overclocking helped a lot. Thanks!
 
Top