i am making a 2d pen plotter like this " DIY Arduino Writing/ Drawing Machine - 2D Pen Plotter - YouTube ",
i am using cnc shield v3 and arduino uno r3 , drv8825 stepper motor driver , NEMA 17 17HD34008-22B motors x2 . i uploaded grbl v9 to the uno and ugs detected the board and it shows the board is idle , when i try to move the motors using jogger or try to move the servo using console commands , it dosent work , when i press the button on cnc shield , in ugs it shows everything is ok as in picture
Sender programs don't care if your motors are moving or not.
They may say they are moving when there is a problem.
What that problem is could be one of many.
No power to the drivers.
Bad motor connections.
Blown drivers or incorrectly set drivers.
Bad or incorrect GRBL setting's.
regarding the 3 jumper caps that are to be put below the drivers, I soldered them from below the board as I didn’t have jumper caps
I uploaded grbl v9 to it ,
ugs is the latest version, I haven’t changed any settings in ugs , please tell me if I should adjust any settings in ugs as per my motors NEMA 17 17HD34008-22B stepper motor 3D printer CNC
, I haven’t adjusted the drv8825 drivers as I don’t have multimeter but i will get to it soon, and I don’t think current adjustment on the drv8825 is an issue cuz when I tried to move the servo motor using commands in ugs console, it dosent move, don’t you think the servo should move at least ? or it is becuz of the drivers .
I bought a second Arduino uno and cnc shield again to see if anything changes but no success.
You have build a project and then it does not work. But no experienced Arduino user does that.
When building a project, do it step by step and check everything on its own. Check if the voltages and currents are okay, then try a stepper motor, then try the communication, and so on. That is what Ballscrewbob is telling you in post #2. You have to know if there is power and if you can turn the motors.
Can you try the AccelStepper library and set it in the STEP and DIRECTION mode ? Then try if you can write a small sketch to turn a stepper motor.
I know this will take time but we are no magicians We can not pinpoint the problem when there can be dozens of causes for the problem.
In the Arduino IDE 2.1.1 is the "Library Manager" icon in the left bar. It looks like a bunch of books.
Install the "AccelStepper" by Mike McCauley.
Then look in the menu for examples for that Library.
You have to change it for DIRECTION and STEP. The main page for the AccelStepper is here: http://www.airspayce.com/mikem/arduino/AccelStepper/
i soldered them from below the board and im sure it have not done any damage to other components .i live in kuwait , its the worst worst country for hobbyists trust me , the only thing this country is good for is vape and other nonsense .
okay leave that , just now i followed this youtube video Nema 17 Stepper Motor with Arduino CNC Sheild V3 (A4988 Driver) | 100% Working Arduino Code - YouTube and i successfull got to test both the motors using a4988 drivers , but drv8825dosent work , may be the code is diffrent for drv8825 , but apart from that i confirmed both my motors are fine and the wiring in fine too .
okay so i have used drv8825 this time along with this code , for all the drivers the motor first spins a little then stops and makes a small humming sound , i m using 12 1a psu for this , i will try with the 2 amp psu and see if anything changes
It does not matter which driver you use.
Too low a voltage and current will still be an issue.
More so without a DMM to set the drivers correctly.
My preferred voltage is 24 or 36 volt with at least 5 amps (prefer 10 or more amps)
Until you sort out some of the basics there will not be too much help we can give apart from single instance motor sketches etc.
okay guys finally after trying everything , i tried to just turn the little cross on the drivers and it works the motor does work and im very happy . i just need a multimetre to make further adjustments nothing else.
There will be dips and peaks in the current drawn and if you have two peaks at the same time you will probably find that something goes wrong.
It could be something such as a skipped step which may ruin your projects.
Or it could result in an electronics failure.
I do understand your excitement in wanting to finish this as soon as possible but don't let that overshadow your aim. Step back and ensure you fix the things that everyone tells you about.
That will mean you have a project that is reliable.
alright , but in the youtube video the person have used 12 volts 2 amps psu and he showed it just worked fine , and the problem is i dont have higher amps psu available so