Go Down

Topic: Arduino Stepper Shield (Read 6018 times) previous topic - next topic

Daniel

thanks,

I asked about the license because it seems to be a good policy to ask before helping, just to be sure whatever one contributes to will be open for others :) What you said goes for my stuff as well: help yourself, just keep it open.

D

hungerburg

a google search for "avr gcc stepper motor" found two good links about controlling a stepper motor on the cheap with an atmega on the first result page: http://www.vimms.org/dbfstepper/docu.html http://www.instructables.com/id/Drive-a-Stepper-Motor-with-an-AVR-Microprocessor/

still looking forward to the arduino shield design. Can the existing DC motor shield be used to drive two stepper motors?

peter

Hoeken

Quote
a google search for "avr gcc stepper motor" found two good links about controlling a stepper motor on the cheap with an atmega on the first result page: http://www.vimms.org/dbfstepper/docu.html http://www.instructables.com/id/Drive-a-Stepper-Motor-with-an-AVR-Microprocessor/

still looking forward to the arduino shield design. Can the existing DC motor shield be used to drive two stepper motors?

peter


thanks for the link, but i dont think i'm going to use that.  for two reasons:  

1. i want to harness the sweet toolchain that arduino has developed.  being able to plug the board into a computer and program it in one easy step is a HUGE deal.  moving away from arduino to a custom design means i'd have to essentially re-invent that wheel.  been there, done that.  no thanks.

2. the circuit i am designing uses the L297/L298 combo which means it can handle stepper voltages from 12-36v, meaning you can drive your stepper motors at their optimum performance, as well as making the controls much easier:  from the microcontroller you only need to send pulses when you want a step, and tell it which direction to step.  so easy!

as for the DC motor shield, to the best of my knowledge it can only be used to drive DC motors.  i dont know enough about it to tell you conclusively though.

~Zach

nkcelectronics

Quote

Another price item you might want to check out are the Schottky diodes: you'll need 24 of them, and they are not cheap: count on 50 cents each in small quantities. You have to buy in quantity 500 or 100 to get a good price.

I don't know much about motor drivers, but I think the 293D already includes the diodes.

Daniel

Tony:

the 293D has the diodes, but the L298 doesn't.. which is too bad, because they're eeeexpeeeensive :)

D

Hoeken

Quote
Tony:

the 293D has the diodes, but the L298 doesn't.. which is too bad, because they're eeeexpeeeensive :)

D


true, but the L298 can handle up to 2 amps per coil, vs 1 amp per coil on the 293D.  is there a different chip in the 293 family that can handle higher current?  that would be really cool.

Daniel

yes
"the different chip in the same family" is the L298 :)

Hoeken

#22
Sep 25, 2007, 03:20 am Last Edit: Sep 25, 2007, 03:22 am by Hoeken Reason: 1
just wanted to ping the group and let you know that i finished the first-go of routing this board.  4.5" x 6", which isnt too bad for a big board like this.  its in the subversion repository above, so please check it out and let me know what you think.

https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/users/hoeken/arduino-stepper-controller/

thanks,
Zach

John Craig

#23
Jun 22, 2009, 10:44 pm Last Edit: Jun 22, 2009, 10:46 pm by DigitizeLife Reason: 1
First of all, thank you so much for all the information provided in this post. I'm just getting started in electronics so I'm as green as they come. I appreciate your patience.

I am also currently developing a L297/L298 based motor controller. According to the schematic provided in the L279 Datasheet;

http://www.st.com/stonline/books/pdf/docs/1334.pdf

...the 8 x 2A Fast Diodes can be packaged as a L6210. I've found this part;

https://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&productId=1986060&catalogId=10001&storeId=10001&krypto=CMF4gzkADQxxj3r9%2BdbaPdGAfPQ%2F9w5y5mHx6WVfh4md%2Fp4psayu5P%2BllAkXr9zm&ddkey=https:StoreCatalogDrillDownView

It's reletively cheap and I want to use it for my application.

However, the diagram is for a "Two Phase Bipolar Stepper Motor Control Circuit." My question is, can I use this same circuit in a Four Phase Unipolar application? More specifically, are the motors connected to the L298N in the same configuration, allowing me to use the L6210 for the diode bridge?

If not, can someone please suggest a proper diode to be used in this application? I'm looking at this part;

https://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=177990&

...but I simply don't know if this will work.

Ran Talbott

Just in case you didn't already know,  there's a kit available for a stepper/servo shield.  If your interest is more in doing stuff with the steppers than learning how to design drivers,  that will get you running faster.

I don't have a suggestion for the diode array,  since I've always used the L293D (which has built-in diodes) for small motor driving.  For loads like relays,  I just grab whatever 1N4000-series diode is handy.  Not as convenient when you need several,  of course.

Ran

John Craig

Thank you for the link. I'm looking for documentation on that kit to see what components they are using.

This is a, "Teach a man to fish" kind-of-thing. Unfortunately, I have to learn everything the hard way.

Thanks again for the help!

samroesch

@Hoeken Hey, What is the status of this thing now? I know that you have got the MakerBot going, which looks great- Does it run off this, or did this get somewhat abandoned?

I was thinking about making an open source stepper driver, one that would have a bit better performance than the easydriver (also cheaper if possible). I was looking at allegro all in one chips, as opposed to the L297/L298 combo, but I was having a tough time picking between them.

That said, am I right in thinking that you opted for easydrivers in the end?

Anyway, I'd love to know what the status of this is. Thanks!

samroesch

I've been doing so much stepper driver webbing today, that I've almost lost my mind! After re-browsing quite a bit, I realize that makerbot uses the reprap stepper drivers, presumably, the ones hoeken developed?

Go Up