Stepper motor with PICAXE 18

kmp24

New Member
hi
i am at a beginners stage with PICAXE and need urgent help on using an Astrosyn B355 stepper motor with a PICAXE 18.
I have been following advice from different websites, and am still unable to get the stepper motor working. All it does is vibrate.
I dont know whether it is the program or the wire connections.

any help would be appreciated.

thankz
 
It might be easier if you tell us a bit more...
1. Can you draw a diagram of how you currently have it hooked up
2. Can you post your program code
 

bgrabowski

Senior Member
If you are using the code in manual 3 Page 16 beware of the error in the example code.
The line STEP: LET B1 = B1 & 2 should read STEP: LET B1 = B1 & 3.
 

Technical

Technical Support
Staff member
Cut & paste from the archives (just search on the word astrosyn)...

Code:
'Black V+
'White V+
'Yellow Output7
'Red Output6
'Brown Output5
'Orange Output4
 
symbol delay = b0 ' define the variable
 
let delay = 100 ' set delay to 0.1s
 
main: let pins = %10100000 ' first step
   pause delay ' pause for delay
   let pins = %11000000 ' next step
   pause delay ' pause for delay
   let pins = %01010000 ' next step
   pause delay ' pause for delay
   let pins = %00110000 ' next step
   pause delay ' pause for delay
  goto main ' loop forever
 
Last edited:

kmp24

New Member
thanks for all the help, but i discovered my problem.

The astrosyn B355 is a unipolar motor, built to operate as a bipolar, so i just used a bipolar driver circuit. :mad:really wasted time on that

thanks for the help again:D
 
Top