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 05-01-2010, 02:57 PM
 
Join Date: Feb 2009
Location: Finland
Posts: 4
mmstw is on a distinguished road
Aluminum profile desktop machine

Hi,

I've attached a couple of pictures of my desktop mill project inspired by a project by DevilMaster. The machine was designed/sketched using Blender. The frame is made of 45x90 mm (and some 45x45 mm) aluminum profile. X, Y, and Z stages use THK and NSK linear guides and trapezoidal lead screws with 3 mm pitch. The steppers are NEMA 23 size with 180 Ncm holding torque, coupled to the lead screws with pulleys and belts.

The electronics consist of a switched-mode power supply providing power to three A3977 based stepper motor drivers. There's a solid state relay for spindle (Kress 1050FME-1) control. The whole system is controlled by a Microchip PIC18F8680 based board with a graphical touch screen lcd. The code is read off a normal usb memory stick so that no computer is needed. The microcontroller does rotation/scaling of coordinates if needed. The rotation is calculated based on user-defined horizontal/vertical reference or two reference points. This I did mainly make it easier to drill circuit boards using this thing. This way I don't have to pay that much attention to how I mount the circuit board on the table. There's also a probe for touching off a conductive surface for getting the Z axis depth and/or X/Y references right.

Here's an out-of-focus video of a test running some code and drawing with a badly mounted pen:

Attached Thumbnails
Click image for larger version

Name:	4568914298_1c8809b364_o.jpg‎
Views:	236
Size:	51.2 KB
ID:	106183   Click image for larger version

Name:	4568277017_26ddf729f9_o.jpg‎
Views:	188
Size:	47.3 KB
ID:	106184   Click image for larger version

Name:	4568820256_6605407308_b.jpg‎
Views:	353
Size:	381.7 KB
ID:	106185   Click image for larger version

Name:	4568182593_e3b39f90dd_b.jpg‎
Views:	303
Size:	399.4 KB
ID:	106186  

Click image for larger version

Name:	4568184911_1a7eda1e6d_b.jpg‎
Views:	201
Size:	428.9 KB
ID:	106187   Click image for larger version

Name:	4568822804_4dda8e1ab7_b.jpg‎
Views:	200
Size:	410.4 KB
ID:	106188  
Reply With Quote

  #2   Ban this user!
Old 05-01-2010, 03:52 PM
Jesse B's Avatar  
Join Date: Aug 2009
Location: Canada
Posts: 392
Jesse B is on a distinguished road

Very nice looking machine! What kind of precision do you figure you're getting?
Reply With Quote

  #3   Ban this user!
Old 05-02-2010, 01:22 PM
 
Join Date: Feb 2009
Location: Finland
Posts: 4
mmstw is on a distinguished road

Originally Posted by Jesse B View Post
Very nice looking machine! What kind of precision do you figure you're getting?
Thanks. I haven't measured much yet. I guess precision depends mostly on the backlash in the polyacetal nuts and linear slide tolerances. So far it *feels* ok, but maybe measurements will show otherwise. As far as accuracy is concerned, I don't know how accurate my trapezoidal screws are. Moreover, tramming the axes is a bit nasty especially due to the way I decided to attach the X axis extrusion to the vertical extrusions. I think that getting down to 0.1 mm or so would already be very good.
Reply With Quote

  #4   Ban this user!
Old 05-05-2010, 07:09 PM
litris's Avatar  
Join Date: Feb 2006
Location: Spain
Posts: 14
litris is on a distinguished road

The whole system is controlled by a Microchip PIC18F8680 based board with a graphical touch screen lcd. The code is read off a normal usb memory stick so that no computer is needed
Please information schematics and Hex for pic?

Saludos.
Reply With Quote

  #5   Ban this user!
Old 05-05-2010, 07:20 PM
Jesse B's Avatar  
Join Date: Aug 2009
Location: Canada
Posts: 392
Jesse B is on a distinguished road

Wow, missed that line. I'd love to see some information on that if you're willing to share it. You at least need some pictures and maybe a video
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-06-2010, 02:36 AM
Kipper's Avatar  
Join Date: Jul 2006
Location: England
Age: 47
Posts: 1,059
Kipper is on a distinguished road

Originally Posted by mmstw View Post
Hi,

I've attached a couple of pictures of my desktop mill project inspired by a project by DevilMaster. The machine was designed/sketched using Blender. The frame is made of 45x90 mm (and some 45x45 mm) aluminum profile. X, Y, and Z stages use THK and NSK linear guides and trapezoidal lead screws with 3 mm pitch. The steppers are NEMA 23 size with 180 Ncm holding torque, coupled to the lead screws with pulleys and belts.

The electronics consist of a switched-mode power supply providing power to three A3977 based stepper motor drivers. There's a solid state relay for spindle (Kress 1050FME-1) control. The whole system is controlled by a Microchip PIC18F8680 based board with a graphical touch screen lcd. The code is read off a normal usb memory stick so that no computer is needed. The microcontroller does rotation/scaling of coordinates if needed. The rotation is calculated based on user-defined horizontal/vertical reference or two reference points. This I did mainly make it easier to drill circuit boards using this thing. This way I don't have to pay that much attention to how I mount the circuit board on the table. There's also a probe for touching off a conductive surface for getting the Z axis depth and/or X/Y references right.

Here's an out-of-focus video of a test running some code and drawing with a badly mounted pen:




The controller sounds fascinating! Do you do exports?

Machine wise....moving table and precision rails= precision machining....ballscrews and shorter belt runs next time maybe...or some idlers to prevent resonance on the long runs.....Easily better than any of the "Pro" machines on ebay!
__________________
Keith
Reply With Quote

  #7   Ban this user!
Old 05-06-2010, 06:39 AM
 
Join Date: Jul 2007
Location: Canada
Posts: 1,085
rowbare is on a distinguished road

Very nice. What do you use as input to the controller? Does it understand G-Code or some other standard control language?

bob
Reply With Quote

  #8   Ban this user!
Old 05-06-2010, 01:31 PM
 
Join Date: Feb 2009
Location: Finland
Posts: 4
mmstw is on a distinguished road

Originally Posted by rowbare View Post
Very nice. What do you use as input to the controller? Does it understand G-Code or some other standard control language?

bob
I don't think it makes much sense to process G-Code directly with the microcontroller since I'm using a computer to make/write code anyways and I don't intend to include an editor in my controller. Thus, I've written a program that converts G-Code to a binary format which my controller readily interprets. G00/01 commands as well as pause and tool change commands are passed through almost as-is. The converter turns G02/03 commands into several linear moves. What is left for the microcontroller to do is to calculate the coordinate rotation/scaling I mentioned earlier, to execute stepping using the well-known Bresenham's line algorithm with linear acceleration ramps (if we're going fast), do A/D for touchscreen control, read limit switches and the touch probe, and drive the graphical lcd. The firmware is written in assembler, of course. The current version of the firmware buffers data from the usb stick and performs the calculations right before starting a linear interpolation. If rotation is needed, the calculations create slight delays between moves. This will be taken care of later by double buffering.

As the microcontroller I'm using cannot function as an usb host (I think it's possible to do that by bit-banging but that doesn't seem like a very fun thing to do), I'm using a VNC1L by FTDI. The display is a generic KS0108 controller based 128x64 pixel graphical lcd with a resistive touch panel added on top. It's not very big but the UI is finger friendly anyway. For the video below, however, I used a pen. There are still some superfluous readings visible on the screen for debugging purposes. There are also some artifacts coming from clocking bytes into the lcd a bit too fast.

Reply With Quote

  #9   Ban this user!
Old 05-06-2010, 02:32 PM
Jesse B's Avatar  
Join Date: Aug 2009
Location: Canada
Posts: 392
Jesse B is on a distinguished road

That thing is freaking awesome!
Reply With Quote

  #10   Ban this user!
Old 05-06-2010, 05:06 PM
litris's Avatar  
Join Date: Feb 2006
Location: Spain
Posts: 14
litris is on a distinguished road

Very nice!!!

Please more! Schematic Pic.

Saludos.
Reply With Quote

Sponsored Links
  #11  
Old 05-08-2010, 06:11 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,243
RomanLini is on a distinguished road

Impressive machine mmstw! Also impressive firmware, having done the same myself I know it is no easy task doing the full motion control on a PIC 18.

When you are ready to align the machine and want to check your backlash etc I developed a "live backlash" test cut procedure you can see in this thread;
Please help me backlash gurus

My machine is a similar design to yours, moving table fixed gantry and polymer leadnuts etc, I was able to get it quite accurate.
Reply With Quote

  #12   Ban this user!
Old 05-09-2010, 02:30 PM
 
Join Date: Feb 2009
Location: Finland
Posts: 4
mmstw is on a distinguished road

Originally Posted by RomanLini View Post
Impressive machine mmstw! Also impressive firmware, having done the same myself I know it is no easy task doing the full motion control on a PIC 18.

When you are ready to align the machine and want to check your backlash etc I developed a "live backlash" test cut procedure you can see in this thread;
Please help me backlash gurus

My machine is a similar design to yours, moving table fixed gantry and polymer leadnuts etc, I was able to get it quite accurate.
Thanks. And thanks for the tip. After a couple of measurements I'll know whether I should make better leadnuts or if backlash compensation only in software is enough. So far I have noticed similar elasticity as you mentioned in one of your posts. That I checked by pulling on the spindle while having a dial indicator on the spindle bracket. It could be the polyacetal but it could also be the less than perfectly rigid frame/aluminum parts.
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
is there a desktop milling machine like this available? slow_rider Benchtop Machines 5 09-01-2009 04:37 PM
desktop cnc machine dhelfter EBAY ADS 1 08-18-2009 10:11 AM
Newbie- Desktop press & die for aluminum box tikka308 Bending, Forging,Extrusion... 12 12-30-2008 05:25 AM
Aluminum Profile to make Linear Actuator Gene-Yo Linear and Rotary Motion 0 01-06-2007 08:49 AM
Desktop CNC Machine CLaNZeR Product Announcements & Manufacturer News 2 08-04-2005 08:11 PM




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