Quote Originally Posted by PICante View Post
Actually that was even worse, the motor shaft just shatters back and forth makes no full turns
I expected all of the above...

Does this mean lots of harmonics and “dirt”, I do not have access to a scope where I am right now or I would have performed a ECG on it!
Basically, yes, FREQOUT is a bit ugly.

I think the problem in your code is here (and other places that look a lot like it):
Code:
DI = 1 : pause 500
for a = 0 to 200 : ST = 1 : pause 2 : ST = 0 : next a
Reading thru the code out loud:
- Step On
- Wait 2ms
- Step Off
- NO WAITing for 2ms
Repeat...

So basically what you end up with is a nice long 'go ahead and step' pulse, with practically no wait between pulses.

That might help you out. I don't know. I'm guessing here. Couldn't find the datasheet for that '5804 chip and didn't feel like doing any hard searching for it either