CNC Shield, Arduino UNO, DRV8825 - Tips for success!
Вставка
- Опубліковано 19 сер 2024
- Watch this video before embarking on your DIY CNC adventure using CNC Shield, Arduino UNO, and DRV8825 stepper drivers. In the video I provide a few important tips aimed at saving you some time, money, and frustration!
Resources:
Manufacturer Links:
DRV8825 Driver - www.pololu.com...
CNC Shield - blog.protoneer...
Software:
Arduino IDE - www.arduino.cc...
GRBL - github.com/gne....
Universal GCode Sender - winder.github....
There I was with a can of worms and a can opener - fortunately, I watched your video first. Thanks so much!
his face shows the pain he went through throughout the video. Thanks fr the wise tutorial mate :D
you went through trouble and you help others not to go through the same mistakes.... its a selfless good deed my friend... you are a big big person, wonderfully generous person... highly appreciated and highly respect ! thank you my friend. 🙏
Oh man!, Where were you 3 machines ago?, Thank you for this video!, I hope is shared widely and help everyone having those issues
I like your style. Fast straight forward directly to the point. This is my first foray into this kind of board and I consider myself fortunate to come across this video first
Nice instruction there's a million videos on what to do out there but nobody tells you what not to do and assumes everyone knows. for a beginner like me I want to know what not to do before I even start so thank you.
I tried it my own... You can for sure adjust your current even if you don't have the stepper motor hooked up. You just connect your Arduino to usb (not ide interference needed. Just connect the usb to the board and your pc) then supply power. No need to match the maximum current of your motors... You can use any supply that matches your voltages needs. In my case my stepper motors using 12v and 6 amps supply... The drv8825 is set to limit the current at 1,2 amps. My motors can handle up to 1,3 amps. No smoke appeared. Im going to upload a video of my set up and my cnc after i finish my laser engraver project.
Thanks very much for this, you give the best tips about setting up the drivers that I have found, much appreciated.
Great tips. You saved me some time reordering dead parts again. Thanks.
Im a 100% noob to Arduino's and this is video is one of the most useful that I've seen so far, definitely worth a subscribe and thumbs up. Thank you
Thanks bro! A very informative content. Saved me lots of money, time and hair👍
Your first tip might not be as accurate as you think. The quote from the manufacturer states, that plugging and unplugging motors during power on will damage the board. not when you power on the board without a motor. It's only when you power on the board and then plug in a motor that the board will get damaged. Without a motor the driver can boost up the voltage all it wants, it can go no where seeing there is no motor to conduct the current. Nothing will happen. But when it's on and the voltage is maxxed out and then you attach a motor the full power supply and all it's current might get dumped into the motor and the module will fry itself. Current cannot go where there is no connection.
I breadboard these modules on a regular basis and none of them have broken from just powering them on without a motor.
The second tip, These modules can do about 2 amps max. Nema 17 motors range from 1 to 2 amps max. Nema23 motors have lower coil resistance than Nema17's, Think of an audio amplifier rated for 8 ohm speakers. And then you attatch 4 ohm speakers. It will work, but it will struggle allot more.
The thermal epoxy is a very nice idea tho, and the calibration of the current at the end is also a good idea.
There is the comment i was looking for. I totally agree. Don't know what his first tip is about. He says "It will ramp up power. There is no resistance from the motor, so it fries itself" and that's completely wrong.
Its the complete opposite. If there isn't any motor connected, the resistance at the output is infinite (not zero) and unless the air is highly conductive (😉), the driver shouldnt frie at all.
As you said, the quote from the manufacturer has nothing to do with the topic he is talking about. It only states that you should not remove the motors while being powered. Of course that can damage your driver but that has nothing to do with powering your board without any load.
Whoever is reading this: To set the correct Vref for limiting the current, I strongly advice you to do that without connected motors!! But what we can learn from the video: Dont connect/deconnect your motors while the board and drivers are powered.
Agree. And you should be setting the current limit BEFORE you connect the steppers the first time; so how can you do this if you are not allowed to supply power to the board without the steppers?
@@adammiles5087 You ARE allowed to supply power to the board without steppers. Just don't plug or unplug motors when the board is powered.
So power the board up without steppers plugged in, set the current, power the board off, connect the stepper and power on again.
Sage advice.... thank you on behalf of the community
The warning from the driver manufaturer he showed isnt what he is talking about. The manufacturer said not to connect or disconnect a motor while the driver is powered. He is talking about just plugging the driver in without a motor. So it wasnt the plugging in the driver without a motor that destroyed his driver, it was when he plugged in the motor while the driver was powered.
I've unplugged steppers when the board is powered, but not driving the steppers with no issues. Probably still not a great idea, but not fried a driver yet.
WATCH OUT: in my case the tiny pot on the 8825 had to be turned all the way CCW in order for it to bottom out.
First time I've powered on the board it was all the way clockwise, and the small dvd stepper I've had connected to it got insanely hot in about 5 seconds. It survived somehow, so hurray, but yeah, watch out y'all, measure the pot if you can
Thank you for the tips BTW, helped me make the focken thing work finally
Good to have thoses info. Helps a lot for first timers...
Thank you so much for this video. The plan was to put everything together this weekend. This is going to save me a lot of frustration.
Never had those issues on my setup back in 2019. I always power up without the steppers and never had a fail of stepper drivers. Also, I only setup the current along the way of the setup. Don't have issues with heating also. Just stuck the heatsink with the provided sticky tape.
Glad to hear you run an issue-free setup. One note on driver current and overheating - all too often people complain that their steppers are occasionally 'missing steps' while cutting jobs and this is likely because they are not giving the stepper the full rated amount of power it needs, OR the driver chip hits thermal shutdown due to providing too much power or inadequate cooling, and resets itself. I don't want to deal with any 'missed steps' (and I never do) therefore I fine tune the driver to deliver the maximum rated amount of power that my nema 21's require and this causes the drivers to run very hot, which in my southern US climate is far too hot for proper cooling when using the provided sticky tape solution. As a test, I have run 2 setups side by side, one driver with sticky tape and one with thermal paste, and the taped on heat sink loses the battle every single time as it will hit the thermal shutdown threshold, reset itself, and 'miss steps' while cutting.
@@jtechcustoms Yes that was the consideration I did give priority. The heat. Gave it the most current at which it does not heat up for the most torque. Also ran it at 1/32 microstep which at the time seemed like a good option. I think some have it at 1/16. I did try at 1/16 also without issue. Supposedly have better torque as well.
Anyway, I do have a video of my cnc cutting 3mm cf decks for my rc.
Just surprised there was actually issues with the board. I also use the drv8825 stepper drivers. Glad it went on smooth.
Anyway I do run it with hc05 bluetooth module as well as this was the only issue I did have as it would sometimes disconnect on a long job.
Wish I would have watched this video before I set up my CNC Shield. I watched your build video for setting it up, but missed the critical part about not applying power unless a motor is attached to the shield. Needless to say, I blew not 1, but 3 of 4 capacitors in about 5 seconds. Scared the crap out of me for sure. Thanks for the tips. I am subscribing!
Sorry to hear to popped a few drivers, we've all surely been there! Thanks for the kind words, and for subscribing!
@@joeeisenberg8111 Can we run Big setpper motor(NEMA 23) with cnc shield
plz reply
Thank you, Thank you, Thank you. This is a must read, and as you said has saved me money, but more importantly, mental anguish.
Very clear and precise tips........
Thank you, sir!
I fried 5 of my drv8825 before i watch this.. thanks for the video
Thank you for sharing your knowledge and experience. great advice.
Excellent and useful video. Thanks!
solid tips- good job !
Exactly what i was looking for!! Thanks!
Such a nice tips , we would love to see a complete working cnc with this setup , best of luck
No problems powering the board without a motor plugged. Even the quote from the website says plugging or unplugging the motor while powered. Thats not the same.
That was really helpful .thanks
thank you so much,it's so useful making videos like this till people don't make the sames mistakes
Concise & to the point. i love it: Great video!
Great video thanks. Solid tipfest going on here.
Very clear and useful video. Thanks !
discovered the video just in time. Thank you! I hope it will work
Great tips. Thanks
thank you so much, you've helped me out so much
good one, thx.
Excellent work👍👍👍
At least 3 good tips, thank you! I'm surprised I haven't fried my 8825 yet...
I did the vref adjustment with no stepper attached! Still worked....
Got my first DIY kit. Watched a different video, got my driver orientation wrong, burnt up the first driver within seconds of plugging it in. Luckily my kit came with 4. Should have watched this sooner.
This was really helpful and clear, thank you!
Need more vids like this! Thank you!
So Helpful! Much appreciated!
Thanks a ton, I guess my shield and drivers are fried now 😅, I wish I saw this before
The drivers are fried, luckily the CNC shield protects it - so it's a good thing.
@@kiranshashiny yes!
Thank you so much for making this easier to understand ;-)
Great video Thanks will certainly use these tips.
The multimeter is turned on DCV, but in the video, it's talked about current measuring!
Turning the screw clockwise increase the voltage, so the current.
I watched that in this video:
ua-cam.com/video/OpaUwWouyE0/v-deo.html
Apologies if my explanation confused you in any way, but after watching the video you linked we are both doing the exact same thing. Best of luck in your driver tuning process!
thanks
Do not say it is a waste of time it is an experience a way to learn .........😉
yes, especially if you have fried a few and then learn by those mistakes.
Thanks for this... thermal adhesive, here I come!
how to conncet abort/ resume/ hold/ e-stop buttom
Great Video! Thanks for the tips!
One question, why you checking for ampere when your multimeter is set to check volts?
I have the same question here: When you're using the multimeter you say "power" (measured in Amps) but I think you mean "voltage" (measured in volts) as you have the meter set to the 20v DC setting. Can you please clarify for us?
@@joshtbw Can we run Big setpper motor(NEMA 23) with cnc shield
plz reply
@@sukhjotsingh8386 yes you can! But there is a drawback! This DRV8825 driver won't be ideal if you want to fully utilize the power of nema23!
Technically DRV8825 can give 2.5A per coil but 2A is generally used for safe measures!
He is correct with what he is saying in video. Although could be helpful to mention why measure voltage. The screw pot is increasing current as voltage is increasing. Resistance in coil remains the same. For these drivers Vref x 2 is formula used for ~current. Thus aiming safely lower 1.5A means 0.75V. Hope that helps.
BIG UP !!
2 Fried then this video. Thanks man!
Great, so i'm going to plan my other machine for wood. Thanks
Great Video! I have some Bipolar stepper motors (BJ42D31-02V01) - I can't find any specs online for them. I pulled them from an old 3D printer (which I also dont have the specs for); how can I work out the current rating for it and it's max voltage? Its 1.7" square (NEMA17?). Thanks in advance. I'll be using the CNC shield and Arduino UNO and A4988 Modules.
Super helpful! Thank you!
Спасибо тебе дружище
Thank you again!
thank you very much for your advise!
JTechCustoms, I have a question. Is it okay to supply 12v 5a to CNC Shield v3 for a total of 3 Nema17s with DRV8825?
thank you very much. Helped me a lot.
Hi thanks for the video. It was very helpful (after I blew a driver :)) I have new arduino, cnc shield and new drivers. However as I am turning up the on the pot, my X stepper motor keeps ticking, even after reaching the 50% of its nominated rated current. Any ideas or do I simply ignore this ?
Thanks! The ticking sound is likely a loss of power which indicates the driver is overheating and shutting down. As noted in the video, the measured current should be set to about 50% as the current measured through that pot is measured as Current Limit = VREF × 2, as per the DRV8825 manufacturer website. So, for example, if you have a stepper motor rated for 1 A, you can set the current limit to 1 A by setting the reference voltage on the pot to 0.5 V. I hope this helps, if not, the driver itself may be in bad shape, thus not allowing you to get close to the current limit for the stepper.
This is weird - stepper works fine in one direction but oscillate (shivers) in the other direction. Adjust current doesn't help. Running 2.6ohm 4 wire nema 17 with 12V into cnc shield and simple test code. Only difference is changing digitalWrite (driveDirZ, HIGH) to ....LOW. Delay between step pulse on/off is 30 useconds. Changine this or the loop delay also doesn't help. Anyone's thoughts??????
The coils are crossed. Check the wiring of the stepper coils vs the driver.
Dang dude! You look like these steppers are driving you to tears😅
hello, there seems to be a bad understanding of how these stepper drivers works. what kills them is unplugging or plugging drivers in while powered. it has to do with the fly back voltage that is produced, and the circuitry that takes that energy and feeds it back into the system to the high voltage capacitor. the issues is if the motor coil is charged when being disconnected, with no parallel resistance, voltage can spike to excess of 1000's of volts, which breaks down and damages either internal transistors or damages the glass oxide of the power mosfets. if you leave these not connected when powered on, they will be fine as long as rated for the voltage. yes they will try to ramp up voltage (up to almost max voltage at vmo input) to increase motor current, but no current will flow as long as loop is open. what damages these drivers is being plugged in backwards, being hooked up while high currents set and unplugging from a motor with a charged winding.
Thanks for clarifying! My advice to all was to be sure you have a stepper connected at all times while the driver is powered up, to avoid any potential issue, but I guess it also makes sense that they can be powered on without a stepper connected as long as you do not connect a stepper while the driver is already powered on. So, perhaps the better statement here would be to avoid any stepper related wiring changes while the stepper driver is powered on, agreed?
cyanoacrylate (SuperGlue) is nonconductive and I used the tiniest drop on the DRV8825 chip and set the heat sink on it
Awesome!!, thank you very much!!
too helpful
Thank you, sooo helpful!
My drv8825 starts to heat up and eventually starts smoking, it gets really hot I have put a heatsink on. I will try the thermal liquid paste thing.
you can have the stepper driver in and not have a stepper connected XD why you say that
I am facing a problem the grbl works till I connect cnc shield( v3.00) to power(12v 30 amps) as soon as I connect it to power supply grbl disconnects .
I have tried and checked that grbl works with leds .
I also tried 0.8c ,0.9j,1.1f versions of grbl
Also purchased new shield and drv8825 but still the problem continues pls help.
Nice job! Thank you!!!
Thanks. Good advices.
Good video, thanks 👍🏼
Thank you very much JTechCustoms for the tips. I kindly request some information about the jumper settings on the CNC shield. I have a Nema17 1.7A motor and what should be my jumpper setting? Should I shortcut the middle couple? Also, for the CD/DVD stepper motors, what is the jumper setting on the shield and the current setting on the driver 8825? I would be very glad if you can redirect me to some information source. Thank you.
If you 0 out potentiometer on driver, it will still burn out ? ( after suplaying power with no loud )
How to determine the Vref or Imax of a motor that does not have any data sheet available. I got a few while salvaging some printers and the data sheets are not on Internet !
17PM J034 P2VS, 17PM J801 P3 VS
Thanks so much for this video i am sure its gonna save me a lot of fried parts bless your\ whole soul
Thanks for that info. Now I just have for find a video that shows how to connect a Nema23 8 wire stepper motor
Is the stepper controller actually only using 4 wires off of a 8 wire stepper motor?
I'm using the same thing the adreno board and the CNC Shield
And I'm also needing to make two of the motors on the y-axis
Thank you! Too bad I learned a couple tips before seeing your video.
really helpful
thank you boss
Tip #1, Yes and No! But you have to adjust the vref first, otherwise the motor is toast. Is this a vicious circle?
It's simple really - you set vref to 0, then connect stepper, then power on, then set vref to match what is needed for the connected stepper. By following this procedure you avoid all undesirable issues and you also achieve the best possible outcome for each connected stepper.
Lets say you have a choice between using a 12V 20A or a 24V 10A supply(assume both meet requirements). Are there any pro/cons that you weigh in to decide which to use?
I need to power one large stepper motor and 3 much smaller ones with an arduino, the large stepper motor will need its own board to serve its 4 amps that feeds off PWM pins on the arduino. As for the other 3 motors, I want to drive them with this shield. Is it possible to clip some of the pins on the bottom of the shield to allow some of the PWM pins to go to my larger driver board? or is there some way to get that signal from the shield and send it that way
Great job sir thanks
I watched the video as well as your set up video, both very helpful, Wondering if you could possibly give me some direction. I'm new to this and setting up my first CNC. I was able to upload GRBL and Universal G-code sender. I'm using the Arduino UNO, with the red drivers. 4 axis. The orange light is blinking, the green light is on. I've double checked my motor wiring with an ohms meter. I am running the set up wizzard in the G-code sender program, when I try to move any of my axis motors in the program, I hear a low humming/buzzing noise, but no movement. It's difficult to determine where the noise is from, possibly the transformer/power supply? I doesn't sound like it's the motors. Is it possible that my drivers are burned out? Is it possible to bi-pass the drivers with a jumper just to check the motors? Any suggestions would be very helpful. TIA. Nick
Great video. Do you have to adjust the current in the stepper motor driver? I already have an adjustable DC power supply that allows me to set the proper motor voltage. Is it still necessary? I’m very new to this lol
i want to use dvd stepper motors for a diy ploter with this very configuration (same board and same driver like in your video); what is the Vref for such motors, where to find data sheet
So many questions about this video
First of all when the stepper motor is not connected to the board and the drivers are installed he says there is no resistance between the stepper motor terminals. In reality because the terminals are disconnected there is infinite resistance so whats the point being made here.
Secondly when tuning the drivers, what is being set is the Vref. You can see that the multimeter is set to read voltage but what he says in "You can see the current increasing". No what you see is the reference voltage increasing and the current being allowed into the stepper motor is increasing proportionally. There is a dedicated formula to calculate the Vref depending on the driver's limit resistors and the motor's allowable current which needs to be calculated and the value set accordingly either equal to that or below that, not simply half of what the rated current is as he says in the the video.
@jtechcustoms dude kindly rectify the video
Respectfully I don't think you understand what is going on here. What he is saying is that it is unsafe to power up the driver board WITHOUT having a motor connected. This is because without the motor there is no coil resistance. The driver board sees this as an OPEN circuit which can blow or damage the board. Nothin to do with infinity.
We all know what he means when he talks about vref increasing the current. You cannot possible have a voltage reading when there is no current flowing. Think about it.
There is no fixed amperage for any motor. So you start with the minimum , then test and observe.
I run the same stepper motors at different current settings, depending what its job is. I like high current on my 3D printer Extruder. Much less current on the Z AXIS.
That “half of the current rating” is probably meant only for the DRV8825 which he is using.
Good advice, i like
My stepper motor is making beep sound... What should I do..?
Hi, Great video. Do you know which pins I connect to when installing an external reset button? Thanks.
There is a set of pins named "E-Stop", these are the equivalent of the reset button on Arduino, as per the info provided on the CNC Shield manufacturer site here - blog.protoneer.co.nz/arduino-cnc-shield/.
@@jtechcustoms Great stuff.....cheers
Thank You Sir!
How can I check if my stepper driver is fried?
Is normal PC CPU Thermal paste not suitable?
Thank you very much for the precious advice
that's awsome just one question when I do mesurment between 0 and the pot meter I get 12v instead of 0 or 0.something. do you know any reason this could happen. ? I checked everything and it's all hooked up the correct way