Stepper Motor Control with Joystick Extruder Controller

0 comments

Stepper Motor Control with Joystick Extruder Controller

we performed the control of the stepper motor in the forward and backward directions along the x axis with the joystick

comment

1.Hello cihankarahasan
Just tried your project, was looking for a system to move the stepper to which ever position I needed, worked first time. Thank you very much for sharing your knowledge. 

2.I seem to be having problems. When the joystick is not being touched at all the motor will rotate counter clockwise. The only way to change how its moving is to push the joystick the opposite way. I am new to Arduino and cannot find out how to fix the code for this

3.i am also getting this issue.

Not touching the joystick and it will turn clockwise untill i hold the stick in the opposite direction slightly. Other times it does not stop turning no matter what i do. I don't see anything in the code to cause this.

I was wondering if there was a solution for this.

EDIT

After spending a few min testing and problem solving i found a solution to the auto turning with no joystick input.

I changed these 2 lines "if(x<500)" and "else if(x > 500 && x < 550)" to
"if(x<475)" and "else if(x > 475 && x < 550)"

It seems my thumb stick was not sitting exactly between 500 and 550. Changing these values resolved my auto turning issue.

Thank you for the great project and detailed video.

Cloudray Stepper Motor Series has set the standard for quality, reliability, and durability in stepping motors. The precision of our Torque Power motors is matched only by the dependability of their performance. All Torque Power motors are bi-directional and totally enclosed with permanently lubricated ball bearings for long-lasting, smooth operation.

 

Cloudray stepper motor series are widely used in medical instruments, robotics, 3D printers, extruders, laser cutters, engraving machine, textile equipment, packaging machinery, CNC machines, etc. 

Leave a comment

All blog comments are checked prior to publishing
You have successfully subscribed!