I'm really seeming to struggle with stepper control on a picaxe. I've recently tried to "hack" a scanner and want control over the stepper that controls the motion of the head. Easy enough me thinks. Nope. I scooted around the main board and found the driver IC (PBL 3775 http://www.wobit.com.pl/download/pdf/ulkady_scalone/3775.pdf) which takes two inputs per coil (bipolar, 4 wire stepper), as far as I see - coil polarity and "disable". Thinking this is simple enough I used the full step sequence from
http://www.piclist.com/techref/piclist/jal/DrivingBipolarStepperMotors.htm
to create this on an 08m:
Wired the sucker up as per the code, low and behold the motor is stalled and refuses to budge. I tried a few different pause values to see if that eased it but nope. I'm going to strip this apart and rewire it, but can anyone spot a flaw in the coding coversion from sequence to pins?
http://www.piclist.com/techref/piclist/jal/DrivingBipolarStepperMotors.htm
to create this on an 08m:
Code:
let dirs = %00010111
; %--- P1 - D1 P2 D2
main:
let pins=%00010001
pause 1
let pins=%00000110
pause 1
let pins=%00000001
pause 1
let pins=%00000100
pause 1
goto main