Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:44 17 Sep 2025 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 motor

Author Message
kermess
Regular Member

Joined: 04/04/2013
Location: Spain
Posts: 45
Posted: 03:33am 05 Mar 2015
Copy link to clipboard 
Print this post

Hi.
Leveraging there are people who dominate control MKII with CFUNCTION
I propose to make a CFUNCTION for controlling stepper motors
for example based on the "typical" 3D printer drivers
as are the A4988, DRV8825, ......
The idea would be a "Function" with parameters as direction, speed,
acceleration, deceleration, enable / disable, number of steps to move the motor, etc ...
a greeting.
It's an idea .....
kermess
 
StoveMan
Regular Member

Joined: 29/03/2013
Location: United States
Posts: 51
Posted: 02:40am 06 Mar 2015
Copy link to clipboard 
Print this post

kermess,
yes! Inline stepper timing is far to slow in any interpreted language implementation.
I have used Terry Weeder's (www.weedtech.com) serial board with the Maxi to do what you are proposing. Perhaps a look at his command set will help.

The real payoff with a stepper function would be coordinated motion. I have tried by fooling with SPEED input parameters but the accuracy is abysmal. Some sort of a low level synch pulse between the cfunction call and pin manipulation?

IE: two steppers want to reach their commanded count at the same TIME; so multiple function calls would need to pile up until all pins would receive an EXECUTE command and start toggling on the same clock cycle.

Wish I was more help with the programming end though... good luck
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 07:38am 06 Mar 2015
Copy link to clipboard 
Print this post

I've been using this with the uMite and serial communications. They also have boards like this with stepper drivers also. I am using 4 of these with the above board to drive some steppers. This setup works very very well and lets the uMite handle other things too.
 
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 2025