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 > CNC Wood Router Project Log


CNC Wood Router Project Log Post your CNC machine building log here only.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #37   Ban this user!
Old 04-22-2005, 08:01 AM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

Hello all. It's been a few months since any update to this project so here's a pic of the new control box. I will be taking more pictures of the remainder in the next couple of days.

I started with an old PC mini-tower case. It looked the right size and certainly larger than the previous one I had but it got crowded in there very quickly. Take a look at the picture below and follow the numbers for a description of the parts:

1. Stepper drives from Applied Motion, 3 of them side by side. I run these at 36V.

2. Case fan PWM switch. This plugs to the microcontroller (#5) and there's another one by the drives to switch the spindle fan as well. The MOSFETs can switch up to 60V@4A. Both circuits are optoisolated.

3. Case fan, 12V from an old Compaq server. The spindle fan is the same model as well.

4. USB, PS/2 and RJ45 connectors salvaged from this same PC. The front panel (on a separate pic) show these connectors

5. Microcontroller. This is an Atmel Mega8 chip running at 16Mhz. It controls the speed of the fans using temperature feedback from a couple of 1-Wire DS1822 sensors. The temperature threshold of when the fan start spinning is programmable. The speed of the fan is set according to how far off the threshold is the current temperature. Current temp is read every 15 seconds. The fans, once started, will remain on for at least 3 mins to prevent frequent start/stop conditions while floating around the threshold temp. There's also an alarm output to a front panel LED to warn about over temperature; a buzzer will be added later. This threshold is also programmable. All programming is done via USB port and a terminal program. USB facilities are via SiLabs USB interface chip. This will also serve as the interface to a pendant in the works.

6. Parallel port breakout. The parallel cable is too long now and will be replaced later on

7. A/C outlet, not currently connected. Possibly switched with SCR or relay - still thinking about it. Underneath this plug are the 4 plugs to the axes and spindle. More on this on a separate pic

8. 250 watt PC power supply. Source for 5V and 12V

9. Optoisolator I/F to the spindle controller. This takes the PWM signal from Mach2 to set the spindle controller speed.

10. Minarik spindle motor controller. Spec'd output is 130VDC @ 10 A

11. Linear voltage regulator for 3.3V LED used on spindle. The LED is a 10MM, 35000 MCD white LED.

JR
Attached Thumbnails
Click image for larger version

Name:	CNC1Box.JPG‎
Views:	238
Size:	125.5 KB
ID:	7172  
Reply With Quote

  #38   Ban this user!
Old 04-30-2005, 07:24 AM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

Here's a couple more pics. The first one is the front panel. I didn't have any other material so I used 6061-T6 .125" thick.. a bit too much for panels. It has switches for the main high-voltage DC supply and a switch to power each drive individually. This is handy for those times when you need to push one of the axes by hand. There's also puch-out ports for USB, RJ-45, PS/2 and a couple more switches. The engraving was done with a .0625" ballnose for aluminum.

Since this picture, I've added the front panel USB and PS/2 ports that connect to the microcontroller inside (see above posting). The USB port plugs to the control PC and the PS/2 port (or maybe the RJ-45) will be used to talk to the Mach2/3 pendant I'm building.

The second picture is the back panel. It has Switchcraft 9 pin plugs for all three drives plus a 4th one for the sensors and gadgets on Z. On the Z cable I run the spindle and stepper motor drives. On the X and Y cables I run both the stepper and limit switches. I was anticipating some kind of interaction between the stepper drive and the low-voltage sensors and sure enough, a nice 23Khz pulse showed on the limit switch lines. This spike tripped the limit switch sensor on Mach2, though it didn't register in the "diagnostics" screen since it was such a short and fast pulse. A simple RC, low-pass filter cured it. The original plan was to run the sensors separately from the drive cable but I couldn't justify adding another 9 wire cable, plug and receptacle for just 1 sensor (I ran out of inputs on Mach2).

There's also an A/C outlet to be switched with either SCR or mechanical relay - still thinking about that. Not shown on the pic are all of the ground screws for the shields, etc. Finally, the parallel port connector that runs to the control PC and the EPO switch input.

JR
Attached Thumbnails
Click image for larger version

Name:	FrontPanel.JPG‎
Views:	141
Size:	30.3 KB
ID:	7314   Click image for larger version

Name:	BackPanel.JPG‎
Views:	132
Size:	35.1 KB
ID:	7315  
Reply With Quote

  #39   Ban this user!
Old 04-30-2005, 12:38 PM
 
Join Date: Dec 2003
Location: Canada
Posts: 426
yukonho is on a distinguished road

Great thread.
Any word on that macro for the spindle touch off?
colin
Reply With Quote

  #40   Ban this user!
Old 05-01-2005, 10:03 AM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

Hey Colin,

Here's the macro I'm using. I made this before I even had Mach2 so it's rough and unfinished but it works. Now that I know Mach2 a bit better I can see that it can be made differently but this one works for me. Proceed with caution.

Connect a "probe" to input2 on Mach2 and make sure the spindle/tool is grounded. For a probe, I used a piece of thin copper. Its important you confirm the tool is grounded by touching the probe to it manually. I have ceramic ball bearings and a plastic coupler on my spindle which isolates the tool from ground. This had to be fixed before the macro would worked. Check the "Diagnostics" screen while setting this up.

Cheers,
JR



'******this macro auto zeros Z axis using external trigger
'****** Inch version

'****** JRoque, July 11, 2004


'********************************
'Declarations

Public RunawayZ



'*********Get current environment:



Startfeed = GetDRO (18) 'Get starting feedrate



'********Set new environment:

ZZFeedRate = 10 'Sets Z feedrate
ZZCurrentTool = 255
ZHome = 1.0 'Set Z home to +1.000" off auto-zero
ZProbe = 0.025 'Thickness of probe
ZApproach = 0.01 'Feedrate on Z while moving down, towards the probe
ZRetract = 0.001 'Z feedrate while moving up once it has touched the probe
RunawayZVal = -2 'How far Z will travel down (inches) before the system asks: "Where do you think you're going, Mr?"


'*************************************************************************
'*************************************************************************
'*********************** *********************************
'*********************** MAIN SUB *********************************
'*********************** *********************************
'*************************************************************************
'*************************************************************************


SetCurrentTool(ZZCurrentTool)

Code "F" & ZZFeedRate


Call MoveZ

If RunawayZ = False Then
Call SetDRO (2, ZProbe) 'Make the DRO = to the thickness of the probe
RestoreSub 'Reset the feedrate to prior value
Code "G0Z" & ZHome 'Move Z to it's new "home" position
End If




'*************************************************************************
'*************************************************************************
'*************************************************************************
'*************************************************************************
'Move Z


Sub MoveZ

While IsActive(19) = False '19 means that probe is connected to input2
'18 = Input1
'20 = Input3
'21 = Input4

'Lower Z

CurrentZ = GetDRO( 2 )

'Subtract (ie: move towards probe) ZApproach to current Z position
Code "G0Z" & (CurrentZ - ZAPproach)

'Loop here while Z is moving
While IsMoving()

Wend

'Runaway safety
If CurrentZ <= RunAwayZVal Then
RunawayZ = True
Exit Sub
End If


Wend

'Z has touched probe
Runaway = False
Call Backout

End Sub
'*************************************************************************
'*************************************************************************

Sub Backout

While IsActive(19)


'Slowly backout up until the probe disconnects
CurrentZ2 = GetDRO( 2 )

'Add (ie: move away from probe) the ZRetract value to current Z position
Code "G0Z" & (CurrentZ2 + ZRetract)

'Loop while Z is moving
While IsMoving()
Wend

WEnd

End Sub


'*************************************************************************
'*************************************************************************

Sub RestoreSub

'*********Restore environment
Code "F" & Startfeed

End Sub
Reply With Quote

Sponsored Links
  #41   Ban this user!
Old 05-19-2005, 10:50 AM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

Ok, here's a couple more pics and a link to the full description of my new spindle.

As seen from the log pictures above, I tried a Precise S65 spindle first and had ok results. The spindle is a great machine running at 45K RPM and very low runout. The problem was that it's only 1/2 HP and it was choking on the stuff I wanted to cut. I then moved to a new Porter Cable 7518 but was disappointed with it's performance. It's loud, hot and, at least mine, has .002" runout. The PC is fine for what it was designed for but it didn't work for me in my application.

So, I decided to brew my own. I started by purchasing the best and largest bearings I could afford. I then went shopping for a cylinder where to mount the bearings and ended up with a raw piece of stainless steel. After reading all I could on different tool systems, etc, I decided on a design and started cutting. The project took about 5 or 6 weeks end to end and it ran about $150 in parts.

You can read the details on this project and see how it built up to the finish product. Dimensions and other specs are also there. This is a short video clip showing the runout

Current challenge is adding a set of three wheels to control the machine manually. This has taken longer than I thought mostly due to coding issues on accurately reading the mechanical rotary encoders. More on this later and hopefully more pics on the entire machine as is now.

JR
Attached Thumbnails
Click image for larger version

Name:	Bearing.JPG‎
Views:	118
Size:	42.7 KB
ID:	7703   Click image for larger version

Name:	RawMaterial.JPG‎
Views:	119
Size:	25.6 KB
ID:	7704   Click image for larger version

Name:	Nut.JPG‎
Views:	130
Size:	47.0 KB
ID:	7705   Click image for larger version

Name:	ToolEnd.JPG‎
Views:	128
Size:	34.9 KB
ID:	7706  

Click image for larger version

Name:	CutFrame.JPG‎
Views:	122
Size:	33.3 KB
ID:	7707   Click image for larger version

Name:	MountedSpindle.JPG‎
Views:	499
Size:	39.2 KB
ID:	7708  
Reply With Quote

  #42   Ban this user!
Old 05-19-2005, 11:11 AM
JavaDog's Avatar  
Join Date: Mar 2004
Location: USA
Posts: 847
JavaDog is on a distinguished road

Wow! That is pretty impressive!

SS is supposed to be a real bear to work with. That run-out looks pretty good to me, but what do I know IANAME...
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Check Out My Build-Log: http://www.cnczone.com/forums/showthread.php?t=6452
Reply With Quote

  #43   Ban this user!
Old 05-19-2005, 11:11 AM
DieGuy's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 420
DieGuy is on a distinguished road

Pretty cool, Where did you get the bearings?
Reply With Quote

  #44   Ban this user!
Old 05-19-2005, 12:02 PM
tauscnc's Avatar  
Join Date: Mar 2003
Location: IL
Posts: 302
tauscnc is on a distinguished road

WOW also,

Great work. I have tired many times to make percision parts and it is tough! Great job. What is going to be running it?

taus
__________________
Thanks,
tauseef
www.cuttingedgecnc.com
Reply With Quote

  #45   Ban this user!
Old 05-19-2005, 12:53 PM
 
Join Date: May 2004
Location: United States
Posts: 456
JRoque is on a distinguished road

JavaD, IMHO, SS is one of the best materials to work with. Aside from the hot and stringy 'chips' that I got, it's absolutely predictable and machines great. Of course, I don't know what I'm talking about since the spindle was my second lathe experience ever - but I just love SS.

DieGuy, eBay baby, eBay 8 - ) You can still see the bid on eBay for the next few days. I later contacted the guy and bought two more.

Taus, it took a LOT of patience and help from this forum. Its definitely not perfect and I'm sure luck played a big role (judging by the runout) but it was worth it. Check out the full details on the link above and you'll see I basically kicked, bit and spat it to make it work so I'm not claiming any talent here.

Later,
JR

Oops forgot: It's being turned by a threadmill DC motor. Pretty good so far actually.
Reply With Quote

Sponsored Links
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
Best Mill for 1" thick Aluminum? gtslabs General Metal Working Machines 13 12-31-2003 09:37 PM




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