Go Down

Topic: Arduino chip as Stepper Controller (Read 12 times) previous topic - next topic

kf2qd

I used the Arduino to test my idea and then migrated the code over to the ATtiny2313. A stepper driver takes the problem of controlling the motor away from your main processor - be it an Arduino or a PC running Mach3. The chip is programmed so it has 2 inputs - Step & Direction, and 4 outputs - Pahses 1 - 4. Those outputs drive 4 MOSFETs which are then connected to the 4 phases of the stepper. Very similar to some other stepper controllers that are available - the PIC Stepper is one that I chose to emulate. Instead of the PICStepper I have the AVRStepper...

And by using a stepper driver my Arduino can control 4 steppers instead of just 2. Or I can hook those steppers to my PC and control them using Mach3, or to some other device.

sbright33

4 is impressive!  With my code I can control 3 at once.
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

kf2qd

Distributed processing. And by using the 2313's for controllers they can be placed away from the main arduino meaning things can be mounted more conveniently.

kf2qd

Sort of a bump to the thread.

I have some perforated circuit board material coming - Vectorboard #169P44WEC1 which is copper clad on 1 side with .042 holes spaced every 0.1". Saves having to drill my sample boards. I have generated a board layout using AutoCAD and will be spending the next couple days drawing the resist pattern on the board and then etching it with Radio Shack Ferric Chloride etchant. Have spent that last couple weeks going over the design and that helped me spot an error in the schematic. I sort of had a schematic, but this was a project where the schematic followed the breadboard build and I found out I had drawn it  with the signals to the wrong pins... Oh well, slide them over and the schematic matches the working parts...

Salvaged some terminals and now I just have to get the materials in hand to try it out.

patternp

Is the Vectorboard #169P44WEC1 copper "all continuous," i.e. no precut pads on them?  It's really just a whole plane of copper with holes, and you can still etch on them?

How did it work out for you?

I'm looking for something similar, but there aren't many of these so when I read the product description, I'm not sure it's what I think it is.

Thanks!

Go Up