South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #30 on: July 02, 2012, 01:19:22 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 4
Posts: 1133
If you're not living on the Edge, you're taking up too much space!
|
 |
« Reply #31 on: December 07, 2012, 11:56:43 am » |
4 is impressive! With my code I can control 3 at once.
|
|
|
|
|
Logged
|
If you fall... I'll be there for you! -Floor
Skype Brighteyes3333 (262) 696-9619
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #32 on: December 07, 2012, 01:28:14 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #33 on: March 18, 2013, 04:25:00 pm » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #34 on: March 31, 2013, 06:30:40 pm » |
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!
|
|
|
|
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #35 on: April 01, 2013, 11:32:48 am » |
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!
This version of the board has copper on just 1 side. There is also a version that ends with C2 that has copper on both sides. I have a couple pictures on my phone of the boards I made. I drew the resist pattern with a Sharpie and it worked well. I make 2 boards with a minimum of copper removed with the bulk of the board being a ground plane. The other 2 I removed any unneeded copper. Both versions seem to work just fine. Will try to upload the pictures tonight.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #36 on: April 04, 2013, 12:53:03 pm » |
Thanks for info on C2 version of board.
Looking forward to seeing the photos, if you get a chance to post them :-)
|
|
|
|
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #37 on: April 04, 2013, 09:11:48 pm » |
Here's a top view of the assembled board.
The 5 pins across the top are, from right to left, Motor 1, Motor2, Motor Common, Motor 3, Motor 4.
The 7 down the side, from top to bottom, Motor+, Motor-, Logic+, Logic-, Logic Common, Direction, Step.
|
|
|
|
« Last Edit: April 04, 2013, 09:19:40 pm by kf2qd »
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #38 on: April 04, 2013, 09:21:31 pm » |
This one doesn't zoom too well, but it shows the backside, one with minimal copper removed.
|
|
|
|
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #39 on: April 04, 2013, 09:26:12 pm » |
Here are a couple boards I made that have minimal copper left.
|
|
|
|
« Last Edit: April 04, 2013, 09:29:16 pm by kf2qd »
|
Logged
|
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #40 on: April 04, 2013, 09:34:27 pm » |
Here's a couple of board layouts from the copper side. They don't zoom well either.
|
|
|
|
« Last Edit: April 04, 2013, 09:39:32 pm by kf2qd »
|
Logged
|
|
|
|
|
|