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 03-17-2011, 09:14 AM
 
Join Date: Dec 2005
Location: canada
Posts: 28
AndyL is on a distinguished road
DIY Home buildable controller

G'day all,

Perhaps some colaboration will drive me to a better more universal design... Throwing this together in kicad anyway - perhaps others will want to build it too...

Tired of LPT ports... An Arduino has enough power to run a CNC, software exists thanks to the reprap project, grbl and arduinocnc. Who needs a legacy PC with an LPT port?

Yes there's this new grblshield out, which is good, but - a bit pricey and it misses that major component that grbl can handle - the SDcard reader. I dunno about you guys, but I'd rather plug a memory card into my CNC than a PC/laptop... I've seen my workshop

Basically here's the goal, User buildable - put it together on a breadboard - test it by cutting your PCB with the breadboard circuit. Then be able to assemble it into an easy plug in shield (think about those PC isa/pci/??/ cards - simple plug in component). No fancy unobtainable components, no surface mount components. something anyone with a soldering iron can put together...

Still eyeballing H bridges, L293 was the obvious choice, until I started to realize, there's 500 manufacturers offering them, and a L293D isn't an L293D... They vary from batch to batch manufacturer to manufacturer... TI's SN754410 looks better - backwards compatible with the L293, but 2amp capacity and still stackable. Still cheap - 3$ each at digikey

I think most of us use 4 wire steppers? But it is possible to breakout for up to 8 leads - should I just run the 8 leads out - little more reading required to hook up, but more universal in the end... Then the question becomes connector - plug style? Pin headers? jumper style pinouts? or the screw terminal scenario?

Still hunting out the SD card socket, that's turning into a challenge, haven't found one that isn't a surface mount component so far... But I have a few ideas for that one... it's not a radically hard problem to solve.

I'll post up some design files here in the next day or two as things get a little more sorted out... Google will help you find Kicad - basically eagle but free and open source.
Reply With Quote

  #2   Ban this user!
Old 03-17-2011, 10:55 AM
jsheerin's Avatar  
Join Date: Aug 2008
Location: US
Posts: 1,132
jsheerin is on a distinguished road

Nothing really to add, but how do you envision this working? How would you zero out your machine, set up work offsets, etc. with just an arduino as a controller? I can see how you would do it with a 3d printer - you're always building something on the same surface within the same limits. But on a router, a lot of the time you have to setup work in different places and you have different length tools in the spindle. It just seems like it would be tough to do without a screen to get information from. Having said that, I think Gecko is working on a controller that does the same kind of thing. I can see it being useful in a production environment where you were going to make a given part over and over so the setup time was worth it and you had a tool changer with all your tools preset.
__________________
CNC mill build thread: http://www.cnczone.com/forums/vertical_mill_lathe_project_log/110305-gantry_mill.html
Reply With Quote

  #3   Ban this user!
Old 03-17-2011, 11:50 AM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

I'm in!

looking for bipolar at least 2A 65V

I already have a gcode interpreter running on UNO with EasyDrivers
so any STEP/DIR driver would be a piece of cake

more power to your elbow, sir!
Reply With Quote

  #4   Ban this user!
Old 03-17-2011, 12:21 PM
 
Join Date: Dec 2006
Location: US
Posts: 10
techrat is on a distinguished road

Regarding the type of control that arduino type controllers provide; In my experience they are typically either drip fed G-Code Serially over usb or read G Code from a memory card. In either case, to address the issue of homing, offsets etc, this will typically need to be managed by the "Host" software that is generating the G-Code.

There are absolutely other ways to address this but if it were to work the way that I am used to for 3D printers, the offsets (Work & Tool) would need to affect a change in the G-Code being interpreted in order to have an effect on the workpiece.

I am very interested in this topic and look forward to seeing where this goes.
Reply With Quote

  #5   Ban this user!
Old 03-17-2011, 06:20 PM
 
Join Date: Dec 2005
Location: canada
Posts: 28
AndyL is on a distinguished road

65v will be a problem, I'll poke around a bit, but most DIP package h bridges max out at 48v... The SN754410 is a 36v max, L298 Could be easier to heatsink - and is up to 48v - but could only handle a 4wire...

Hadn't thought much about homing; 99.99% of the time, I'm coming out off the limit switches in the corner As mentioned above, tool length and offsets best adjusted when generating gcode - thats what I've taught myself anyway. Adding some digital buttons or a keypad to jog - that's fairly simple to handle.

I really prefer the SD card solution, might turn into a micro SD in practice; as it seems the easiest way to add it... Every micro SD I've bought came with the fullsize adapter; adapter makes a perfect card slot, just solder some wires to it... Why order a specialty part from china when we have them lying around?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-18-2011, 02:19 AM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

I've been finding the same problem with the 65v requirement, so will probably settle for something lower
My steppers would need 65v 2.1A series or 33v 4.2A parallel

Despite the bad press that the chinese TB6560 controllers seem to get, I'm quite drawn to it
it's chunky enough to be soldered by those with more thumbs than fingers
and it takes a decent heatsink
I'm sure we can learn from others mistakes and build something that's TB6560 based - and works properly

I looked at prices. single chips work out about £15 each here in the UK, almost cheaper to buy a chinese controller and scavenge it for parts!

as for homing, that would be a doddle to implement
in fact, if I recall correctly,
G92 is "set home",
G28 is "go to origin",
I have already added
M114 "get current position"
so most of the code is already written!

we can always hijack/invent another (unused) G/M code for "homing"
just need a clear(ish) definition of what people expect it to do

I'm very happy to put my code in the public domain as part of the project
Reply With Quote

  #7   Ban this user!
Old 03-18-2011, 03:13 AM
 
Join Date: Apr 2010
Location: Australia
Posts: 226
Ron Dunn is on a distinguished road

There are some comments in this thread:

http://www.cnczone.com/forums/genera..._firmware.html

on my experiences with both microSD and USB mass storage for DIY controllers.

I continue to look for a better options, ideally a board with built-in USB hosting. The Teensy++ Arduino-compatible looked good, but they have had continual supply problems in the time I've watched them. There are a few PIC boards available, but the cost of the development tools makes them a little unattractive, especially when my wife already thinks my CNC is the reason she didn't get diamonds for Christmas!

She is kind-of right. The code I wrote as a PC-free alternative to Mach3 has now cost quite a bit more than the price of a cheap PC and a Mach3 licence. I've got several Arduinos, breadboards, switches, encoders, buttons, resistors, microSD interfaces, USB interfaces, LCDs, miles of wire, a multimeter, a soldering iron and other miscellany; and I'm STILL working my way through the physical design. The code is the easy part!

Ron.
Reply With Quote

  #8   Ban this user!
Old 03-18-2011, 04:41 AM
 
Join Date: Dec 2005
Location: canada
Posts: 28
AndyL is on a distinguished road

Yeah, there's going to be some compromises - always are...

I'm using the freeduino sb - atmel328 so I'm starting with 32k of flash and 2048 of sram; gotta support the local suppliers.

Gotta say was just poking around ... Easy Bluetooth Module (SKU: 30242) - HVW Technologies this has me thinking bad bad thoughts Do you think there's an app for that? Rather than the SD card and a dumb interface - use bluetooth to transfer the gcode; bet we could do some of the more typical cnc setup setting home, jogging - pauses, hard stops etc via a smartphone or other 'smart' BT enabled device...

It's an interesting thought...
Reply With Quote

  #9   Ban this user!
Old 03-18-2011, 07:42 AM
 
Join Date: Jan 2009
Location: USA
Posts: 51
jjobezo is on a distinguished road
Bluetooth module

As long as you're thinking along that route, there are some SD modules available with built in BT. They are used for cameras but they could prove usefull for CNC use.
Reply With Quote

  #10   Ban this user!
Old 03-18-2011, 12:15 PM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

ok, not sure of the protocol here, but here goes anyway
I decided to look at a Toshiba TB6560 based driver
leaning heavily on the "how I fixed my TB6560 controller" thread together with the Toshiba data sheet, here's "one I made earlier"
(or rather threw together with Eagle)

please take a look
very happy to get feedback
if I'm barking up the wrong tree,
or it's not where you wanted to head - I'm sure you'll tell me

so - something to start the ball rolling:

oh and if you want I'm happy to upload the Eagle file(s) too
cheers
Mike

PS always the way
as soon as I uploaded it - found a bug!
bug now squished

Mike
Attached Files
File Type: pdf mmcpixTB6560.pdf‎ (33.2 KB, 92 views)

Last edited by mmcp42; 03-18-2011 at 12:36 PM.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-18-2011, 12:29 PM
Drools's Avatar  
Join Date: Feb 2009
Location: Canada
Posts: 1,053
Drools is on a distinguished road

I would be interested in the Eagle layout for the TB6560, thanks.
Reply With Quote

  #12   Ban this user!
Old 03-18-2011, 12:37 PM
mmcp42's Avatar  
Join Date: Dec 2010
Location: UK
Posts: 219
mmcp42 is on a distinguished road

and here's the Eagle schematic

caveat emptor
it's untested and unproven
Attached Files
File Type: zip mmcpixTB6560.zip‎ (59.4 KB, 52 views)
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
MR-J2 Controller...Teaching Home directions FanucIssues Mazak, Mitsubishi, Mazatrol 1 06-21-2010 08:14 AM
Controller issues, in the home stretch bp092 Gecko Drives 4 03-18-2008 04:41 PM
My first home built Taig controller nosplinters Taig Mills & Lathes 12 03-11-2008 11:52 AM
3 Axis Fanuc controller Loosing home when powered off? FanucIssues Fanuc 10 06-01-2007 04:52 PM
Home built controller Stephen General Electronics Discussion 1 09-22-2004 11:02 PM




All times are GMT -5. The time now is 10:22 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