OK I have built 4 picstep boards and a 4 axis interface. I am trying to verify that the pic steps work on their own before hooking up the interface. I cannot get it to work
I currently have a a cable setup to test them as shown in this link
I have it wired as a bipolar. With the enable and dir pins both going permanently to ground and a N.O. switch on the step pin. I have an external +5v supply to the pics and about 30V top the motors. I have tried several of the boards and have the same symptoms on each board. I am using Pic 16f628A i/p chips which I believe should work ....correct?
The symptoms are as follows when programmed with the 20 Mhz codes using the default settings when programming the chips ie. HS oscillator WDT,PWRT and BODEN enabled and everything else disabled
it programs and verifies fine.
When I fire up my power supplies I get a quick vibration from the motors then nothing switch the step seems to do nothing also the motors are not locked in position as I can easily rotate the shaft. As I turn off the 5volt supply I get the same motor vibration. I have also tried pulling the Xtal and caps and programming the 4Mhz codes both have the same symptoms. Just for a laugh I tried programming the pic using ExtClk as the oscillator and this makes the motors go crazy ....randomly vibrating and spinning with the step pin seemingly having no effect on the motors conditions.
Like I say I get the same symptoms on multiple boards so dont think its a problem with the PCB's themselves. Any input would be GREAT....I have been building my machine for 6 months and was REALLY hoping to get it moving under NC control this weekend.