Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:40 18 Apr 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Stepper Project

     Page 2 of 2    
Author Message
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 269
Posted: 08:08am 17 Apr 2026
Copy link to clipboard 
Print this post

G'day Brian,
Are you running PicoMite V6.02.01 on the RP2350 board? there where a few changes to the Stepper commands from V6.02.00 to V6.02.01 that might be causing what you are seeing.

Also STEPPER INIT got a few more options.

Regards, Lyle.
 
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 269
Posted: 08:46am 17 Apr 2026
Copy link to clipboard 
Print this post

G'day Brian,
This is a cut down version of the test program for my coil winding machine, this definitely works on PicoMite RP2350B V6.02.01 Maybe try running this and see if you get some motion and add the rest from there.


' prog to test stepper functions

Option default integer

SetTick 200,Show_Pos

Stepper init
Stepper axis x,gp0,gp1,,,200,400,50,5
Stepper axis y,gp2,gp3,,,400,600,100,5
Stepper position home
Stepper run
Stepper gc g1 x100 y80 f500
Stepper gc g0 x0 y0

Do
 Pause 100
Loop Until Peek(stepper active)=0 ' wait until motion complete

Pause 250 ' wait for final position update
Stepper close

End

Sub Show_Pos
 Print @(100,100),"X-POS= " Str$(Peek(stepper x),-4,4)
 Print @(100,120),"Y-POS= " Str$(Peek(stepper y),-4,4)
End Sub


> option list
PicoMite MMBasic RP2350B V6.02.01
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION PICO OFF
OPTION CPUSPEED (KHz) 200000
>


Also note that the stepper system works in the background, I found this very confusing at the beginning, the motors can be running while you are sitting at the command prompt.

Regards, Lyle.
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026