Use Dragonframe software to control stepper motors with Arduino and CNC Shield controllers
Вставка
- Опубліковано 11 вер 2024
- I will show you how to connect the parts, install the Arduino sketch and configure Dragonframe software to control a Nema 17 stepper motor.
Links to other videos about pan tilt slider examples that I used along the way:
How to mechatronics:
• DIY Motorized Camera S...
isaac879
• Perfecting My DIY 3-Ax...
Dragonframe to CNC Shield setup:
Biolapse Studios: Different stepper drivers but still helped a lot
• TUTORIAL DRAGONFRAME H...
CNC Shield Parts:
Arduino Uno:smile.amazon.c...
CNC Shield - a4988 drivers:smile.amazon.c...
Jumpers: smile.amazon.c...
CNC Sheild instructions:
www.zyltech.co...
Arduino sketch I used - worked for me without any modifications needed: This is the key to getting Dragonframe working with the CNC Shield
forum.arduino....
Thingiverse CNC Shield Mount:
www.thingivers...
You are the man!!!!!! I’m doing this !! Thank you so much
Thank you for the video, you actually have introduced Dragonframe platform to me, I had no idea, it looks awesome, thank you very much!
Glad it was helpful. Dragonframe is a great application for stop motion.
I built a much simpler motion controller retrofit for my slider. You can substantially increase the performance of your system by replacing the (garbage) A4988 drivers with some TMC2209 from Big Tree Tech. They are pin compatible with the A4988 and will be a simple drop-in replacement. Set them up for 16 microsteps and they will perform further microstepping internally to produce amazingly smooth and near silent operation as compared to the A4988's. It will be the best $27 (for five) you've ever spent!
@swolodkin I appreciate the tip and information. Good to know.
Super helpful, thank you!
Thank you for this tremendously helpful video and files.
I appreciate the feedback and glad you found it helpful
you deserve a subscibe and like, thanks for your videos...
Glad you found them helpful and appreciate the sub & Like
Awesome video, thank you. What power supply are you using? I've been using Emotimo TB3's for my time lapse stuff but want to build my own solutions now!
Here is a link to the power supply I purchased. Might be more current options as I bought it 4 years ago 😀 but I still use it today. www.amazon.com/gp/product/B01EWG6YT8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Seems like a nice software. Is Dragonframe in the same category as grbl?? Is one superior to the other in terms of support/compatibility? Trying to decide which way to go on a few projects. What you've shown here is extremely helpful.
Unfortunately I have not used GRBL but that appears to be similar to G-code used on 3d printers. Not sure if it would give you the ability to program the movements on a timeline like Dragonframe does. Maybe someone else can comment on that.
keep uploading ..
Anything specific you would like to see? Have you checked out my other video: ua-cam.com/video/JF6Z8MyGdZE/v-deo.html
Bedankt voor deze video :-) I am looking at the updated arduino/DFMoco sketch, version 2.1. The pinouts gives me only two per channel, what gives.... the controller needs four pins?
channel 1 PIN 4 step. PIN 5 direction
channel 2 PIN 6 step, PIN 7 direction
channel 3 PIN 8 step, PIN 9 direction
channel 4 PIN 10 step, PIN 11 direction
channel 5 PIN 28 step, PIN 29 direction
channel 6 PIN 30 step, PIN 31 direction
channel 7 PIN 32 step, PIN 33 direction
channel 8 PIN 34 step, PIN 35 direction
Thank you your video was super helpful. I followed every step and works perfectly! In fact I want to set up two more Arduino cards. Can you recommend a power supply to handle all three? With 12 stepper motors total.
Unfortunately I am not sure on the power requirements for that but I am using one power supply to run two controllers and 8 motors. Not sure if a second power supply would be needed or not. Also, I believe Dragonframe only supports 8 stepper motor channels so not sure 12 will work with the software.
@@lapsedtimethank you for responding so quickly. That’s good to know about the 8 motor limit. Thanks!
Hello, Nice project, I cant seem to find the 3dprinter file. /thanks for sharing
Thank you for catching that. I updated the details and here is the thingiverse link for what I used: www.thingiverse.com/thing:825279
you forget chek after select board,select usb port, need select what programmer need use. avr isp or arduino isp or what need use, i has try search many video etc, but not any tell what programmer need use. arduino isp i can upload board blink and working but if try upload GRBL or other big ketch come alltime error stv 500 avr etc something i not undertand errors what need do now. i try build CNC to my son.
Thanks for the video, the only problem is dragonframe don't support gcode you can motion the steeper motor but no can be use a cnc machine. Dragonframe is for animation video movies
That is correct. I am using Dragonframe to control the stepper motors for making stop motion movies. This is not meant to control cnc or 3D printer equipment so gcode will not work.
@lapsedtime I use GRBL costume program on the arduino mega the program is a open source I do few modifications to it to control 6 axis. The original code is in github.com look for GRBL MEGA CODE
@@delbrey1966 appreciate you sharing that. I will have to give it a try.
seems the arduino controller has limited use in dragonframe, only for stop motion, if your want realtime motion you need to go with DMC+ ??
Correct - realtime motion is much more expensive 🤑
what power supply do you recommend or what power supply are you using here?
Here is a link to the power supply I am using: www.amazon.com/gp/product/B01EWG6YT8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Hi, I tried to make one too by using your UA-cam video from Lapsed Time - Use Dragonframe software to control stepper motors with Arduino and CNC shields. I bought the same parts except the drivers. I am using DRV 8825 drivers. After following all the steps in the video, the stepper motor is not responding as it should. It spins in various inexplicable directions and its movements are not smooth. Other arduino codes were also no solution. What could go wrong and do you have a magic solution?
I have not used that particular driver but recommend doing a google search for " DRV8825 drivers arduino sketch". There appear to be some good sites with info and sample sketches you can try. Hope you are able to figure it out.
@@lapsedtime I'm going to try with an A4988 driver.
It works with an A4988 driver and the correct wiring of the stepper motor
@@ivanwillockx8422 Great to hear that worked for you!!
hi can i use 2 different types of stepper motors
Not exactly sure what different types you are referring to but I have used a NEMA 17 along with a NEMA 8 and can control both within the one CNC Shield. The key would be to ensure they are compatible with the a4988 driver and the Arduino sketch.
I just ordered all the things. I have some experience working with a pre built one with audrino straight from dragonframe. So hopefully this build can render me a more inexpensive moco rig. I also was interested in your email or social media for contact help❤
Hi, I followed your video and it did not work for me at all.
I really want to replicate your process and success.
is there an email or social media platform I can reach out to you?