CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-13-2011, 08:14 AM
 
Join Date: Jan 2011
Location: USA
Posts: 7
jon_cnc is on a distinguished road
CNC Machine advice

I'm thinking about building my first CNC machine (a small one, about 3ftx3ftx1ft, for home/hobby woodworking use) and I think I understand how the system works. I plan for the machine to be a moving gantry using a Ryobi laminate trimmer as the cutting tool. The gantry is moved by two steppers (one for each x-axis), one for the y-, and one for the z-, with each motor attached to a 1/2-10 acme screw. I still have a few questions related to some aspects of the build, however. They are:

1. I plan to drive the machine using an arduino uno and 4 easydriver stepper motor drives (both from sparkfun.com).
- Can the arduino be programmed to treat two boards identically to drive the x-axis steppers the same way? If so, is this a programming thing or a wiring one?

2. I'm thinking about using the STP-MTR-23079 stepper motor from automation direct (STP-MTR-23079 Products). This stepper is way more powerful than what the easydriver can handle.
- Is this motor overkill or is it not strong enough?
- Will this motor (or steppers in general) be damaged by the undervoltage and undercurrent supplied by the easydriver or will performance decreases be unbearable?
- Can the easydriver outputs be connected to transistors so that a proper voltage supply can be connected to the 4 lead wires and not through the driver itself?

3. I selected a 32vdc 10A power supply (http://probotix.com/manuals/LPSK-3210.pdf) to power all of the motors.
- Can this be connected to each board/transistor (see #2 above) in parallel so that the currents added up will be around the supply's rated current?

4. For software, I am a little unsure. I don't really have the budget for an expensive program like Mach3, so I thought I could use some opensource G-code generator and Arduino g-code interpreter.
- Is PyCam paired with the RepRap arduino g-code interpreter (Arduino GCode Interpreter - RepRapWiki) a good idea?

Thanks in advance for you help!
Reply With Quote

  #2   Ban this user!
Old 01-13-2011, 02:58 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,238
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by jon_cnc View Post

1. I plan to drive the machine using an arduino uno and 4 easydriver stepper motor drives (both from sparkfun.com).
- Can the arduino be programmed to treat two boards identically to drive the x-axis steppers the same way? If so, is this a programming thing or a wiring one?
The easiest way to do that would be to drive both X-axis easydriver boards from the same arduino output port pin (by wiring both of the driver inputs to the same pin). You should be able to do that without overloading the port pin. If you wanted to, you could drive them from separate port pins, which would require programming to accomplish, however I don't see any real advantage to doing that.

Some people may advise driving two identical stepper motors in parallel from the same driver. I'm not certain whether or not the easydriver board's ratings will permit that, though.
Reply With Quote

  #3   Ban this user!
Old 01-13-2011, 03:11 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,238
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by jon_cnc View Post
3. I selected a 32vdc 10A power supply (http://probotix.com/manuals/LPSK-3210.pdf) to power all of the motors.
- Can this be connected to each board/transistor (see #2 above) in parallel so that the currents added up will be around the supply's rated current?
That is normally the way that CNC router stepper motors are connected to the motor power supply. In practice, not all of the motors are driven simultaneously at full current, so it may be possible to get away with a power supply with a maximum current rating a bit lower than the sum of all motor currents.

I would note, however, that each of the easydriver boards derives its on-board logic power supply from the motor power supply voltage, and I believe that a 32-volt supply exceeds the max input voltage rating of the board by a couple of volts.
Reply With Quote

  #4   Ban this user!
Old 01-13-2011, 04:16 PM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

I'm using Arduino and EasyDrivers
you can feed the logic power without having to use the motor power as I recall

If you need software I have a PC based CNCdriver that squirts gcode at the arduino and a sketch that implements gcode...
Reply With Quote

  #5   Ban this user!
Old 01-18-2011, 10:56 PM
 
Join Date: Sep 2010
Location: USA
Posts: 73
dkirtley is on a distinguished road

doorknob:

The current version (v4.2) doesn't supply logic off the motor current. I don't know about the older ones. I was playing with mine on a little lathe and running the steppers with 12V and the logic with 5V.

mmcp-42:

Which g-code interpreter you using? I am planning to run one with an Arduino Mega so I can play with my little LCD and other stuff as well.
__________________
My uncensored views and CNC Router planning: http://reinventingcnc.blogspot.com/
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-19-2011, 03:30 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,238
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by dkirtley View Post
doorknob:

The current version (v4.2) doesn't supply logic off the motor current. I don't know about the older ones. I was playing with mine on a little lathe and running the steppers with 12V and the logic with 5V.

The schematic for version 4.3 is shown at http://www.sparkfun.com/datasheets/R...Driver_v43.pdf

That schematic shows power input to the board at JP1. Coming off of JP1 (pin 2) is V+, which is the motor supply voltage. Also coming off of JP1 pin 2 is the input to voltage regulator IC2. The output of IC2 is Vcc, which is the power supplied to the logic.

There is a normally-shorted on-board jumper, SJ1, between the output of IC2 and the point from where Vcc is taken off for the rest of the board. The legend for SJ1 states, "Cut to use your own Vcc source from JP4".

So, according to the schematic, if you wish to supply Vcc independently of V+, you must cut the SJ1 trace on the circuit board, ignoring IC2 and bringing Vcc in from a separate source (pin 1 of JP4).

It is possible, however, that the SparkFun board layout does not follow the schematic exactly.
Reply With Quote

  #7   Ban this user!
Old 01-19-2011, 03:32 AM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

Originally Posted by dkirtley View Post
...
mmcp-42:

Which g-code interpreter you using? I am planning to run one with an Arduino Mega so I can play with my little LCD and other stuff as well.
I wrote it myself (ok I ripped off various code-fragments and use lots of sticky tape!)
The combination of CNCdriver (in the PC) and Arduino sketch seems to work ok
No reason why it shouldn't work on a Mega

If you're interested I'll post links to the two pieces of code

It is aimed at PCB milling so the PC on-screen "virtual mill" is 2D
You will need to configure the sketch to fit
a) your stepper "steps per inch"
b) what is connected to which pin

It does support:
a) 3 steppers
b) limit switches on all 3 axes
c) reasonable subset of gcode

let me know
Reply With Quote

  #8   Ban this user!
Old 01-19-2011, 08:24 AM
 
Join Date: Sep 2010
Location: USA
Posts: 73
dkirtley is on a distinguished road

Cool, I had not even noticed that.

When I got in this morning and looked, since you got my curiosity up. The trace is connected. I don't really know if it makes that much difference then in the long run. I just followed the wiring diagram and sample sketch from the board designer and it just worked, so I didn't spend a lot of time looking into it.

Originally Posted by doorknob View Post
The schematic for version 4.3 is shown at http://www.sparkfun.com/datasheets/R...Driver_v43.pdf

That schematic shows power input to the board at JP1. Coming off of JP1 (pin 2) is V+, which is the motor supply voltage. Also coming off of JP1 pin 2 is the input to voltage regulator IC2. The output of IC2 is Vcc, which is the power supplied to the logic.

There is a normally-shorted on-board jumper, SJ1, between the output of IC2 and the point from where Vcc is taken off for the rest of the board. The legend for SJ1 states, "Cut to use your own Vcc source from JP4".

So, according to the schematic, if you wish to supply Vcc independently of V+, you must cut the SJ1 trace on the circuit board, ignoring IC2 and bringing Vcc in from a separate source (pin 1 of JP4).

It is possible, however, that the SparkFun board layout does not follow the schematic exactly.
__________________
My uncensored views and CNC Router planning: http://reinventingcnc.blogspot.com/
Reply With Quote

  #9   Ban this user!
Old 01-19-2011, 08:30 AM
 
Join Date: Sep 2010
Location: USA
Posts: 73
dkirtley is on a distinguished road

I would love to look at it. Always like to look at interesting code. I plan on making a small scale Arduino based machine as well as my big one for a test bed. I had seen the one that they have from the RepRap project that someone here was using for a cutting machine but they seem to have just posted it at disappeared.

I have been thinking about getting an flash memory reader so I could spool a job but I really don't know if it would be the best of ideas. Long cutting jobs without feedback could be problematic.

Originally Posted by mmcp42 View Post
I wrote it myself (ok I ripped off various code-fragments and use lots of sticky tape!)
The combination of CNCdriver (in the PC) and Arduino sketch seems to work ok
No reason why it shouldn't work on a Mega

If you're interested I'll post links to the two pieces of code

It is aimed at PCB milling so the PC on-screen "virtual mill" is 2D
You will need to configure the sketch to fit
a) your stepper "steps per inch"
b) what is connected to which pin

It does support:
a) 3 steppers
b) limit switches on all 3 axes
c) reasonable subset of gcode

let me know
__________________
My uncensored views and CNC Router planning: http://reinventingcnc.blogspot.com/
Reply With Quote

  #10   Ban this user!
Old 01-24-2011, 04:35 AM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

sorry
missed your reply

you can find the code here:
this bit (CNC driver) sits in the PC and spits gcode at
this bit (Arduino interpreter) that runs in the Arduino

you will need to configure it (_init.pde)

enjoy

btw if you make any changes do let me know so I can keep in step (<- you see what I did there!)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-27-2011, 07:17 PM
 
Join Date: Sep 2010
Location: USA
Posts: 73
dkirtley is on a distinguished road

I finally found this thread again. Lucky that I recognized your avatar pic



Originally Posted by mmcp42 View Post
sorry
missed your reply

you can find the code here:
this bit (CNC driver) sits in the PC and spits gcode at
this bit (Arduino interpreter) that runs in the Arduino

you will need to configure it (_init.pde)

enjoy

btw if you make any changes do let me know so I can keep in step (<- you see what I did there!)
__________________
My uncensored views and CNC Router planning: http://reinventingcnc.blogspot.com/
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie- Advice on what machine to buy... Knas General Metal Working Machines 3 12-03-2010 12:50 AM
Newbie- 3 in 1 Machine advice mngforce General Metal Working Machines 6 08-18-2010 03:23 PM
Need Help!- Looking for advice on a CNC machine devans Want To Buy...Need help! 2 11-09-2009 02:43 PM
CNC Machine Advice Area33 General Metal Working Machines 3 08-20-2009 06:45 PM
machine advice 7602 General Metal Working Machines 4 03-18-2006 12:13 PM




All times are GMT -5. The time now is 02:25 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361