You are correct my eyes are not capable of 2ms delay, it looks like the (ST) LED is constantly lit. However the (DI) LED should be on for the complete duration of the up counting loop which should be visible to the eye.
Adding “ANSEL % = 00000000” cured the problem!
I hooked up the stepper motor and noticed that I need the 2ms delay or more for it to run, 1ms just makes the motor hum without moving. The datasheet for the UCN5804B says minimum step input pulse width is 3.0us which indicates that the motor should be able to run much faster than about 1 rpm?
Is there any solution for this perhaps software mods or some filtering to make the pulses from the 16F88 look more like what the 5804 likes to see?
Thank Guys, for being here!
Bookmarks