hi, in one of the project i need to use #3d #printer board (Arduino based) to control multiple #stepper #motor .
Board: https://robu.in/product/1-4-mks-gen-l-v1-0-mega2560-r3-ramps-3d-printer-controller-board/?gclid=EAIaIQobChMI_cK4m4Ct8AIVguR3Ch1InANJEAQYAiABEgL_GvD_BwE
can i control the stepper motor with simple stepper sketch instead of using gcode as an input?
i just need to turn on stepper motor on digital pin high/limit switch on board it self and rotate it for "x" steps and stop and wait for signal again.
#CNC shield and Arduino Uno work fine but need to use 3d printer board for specific requirement.
can i program the #motherboard with Arduino IDE with simple code? please help me, a very big thank in advance.
Yes you can. You will need to find out which Mega pins go to the various functions. Use the AccelSepper library to control the steppers.
1 Like
@groundFungus thanks for the prompt and positive response, if you know any relevant #tutorial /#instructalbe /#video then please share, I tried to google it but couldn't find relevant.
once again thanks....
I found a page that has the stepper pins.
Here is a drawing of the board with Mega pin numbers.
1 Like
RAMPS 1.4 Wiki list of what Arduino MEGA pins go to what stepper driver functions:
https://reprap.org/wiki/RAMPS_1.4#Pins
From that, you can write a sketch to drive the steppers and read the limit switch inputs.
1 Like
system
Closed
August 31, 2021, 3:05pm
6
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.