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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-04-2008, 12:12 PM
oxford's Avatar  
Join Date: Mar 2008
Location: usa
Posts: 158
oxford is on a distinguished road
Post Optical limiting switches

I had searched through CNCZone for building some simple optical switches.
This thread was what started me off:

http://www.cnczone.com/forums/showthread.php?p=422008

I liked IH's and Tpworks designs, but neither would not fit in my machine. I also needed to play around a little to get the electronics right.

I kept tabs on what I did in the hope it will make the process easier for others.

At the center are:

http://search.digikey.com/scripts/Dk...me=QVA11134-ND

I used a .5" thick plastic cutting board for housing. 1/8" x 1" Aluminum bar as a plunger and blade. Springs and epoxy from a local hardware store. Also, (gasp) resistors, wire, and PNP(packet of 15) transistors from Radioshack. Finally, shrink tubing from digikey I had laying around.

First used a table saw to cut 1" squares out of the cutting board. Used nine of the squares but made thirteen so I had some to play with. Also used saw to cut 1/4" x 1/8"x 1" blade/plungers from aluminum.

Used a drill press to drill out a pocket for the electronics with a 1/4" bit.

Drilled small holes for spring and plunger retainer clip. Cut springs to size and attached.

Checked alignment and cut with x-acto knife rectangles for plunging blade.

Put it all together with epoxy.

Disclaimer: I am not an electronic specialist and my design may kill your computer or controller. Try at your own risk:P
Attached Thumbnails
Click image for larger version

Name:	Opticalswitch 001.jpg‎
Views:	95
Size:	86.8 KB
ID:	62563   Click image for larger version

Name:	Opticalswitch 004.jpg‎
Views:	131
Size:	88.7 KB
ID:	62564   Click image for larger version

Name:	Opticalswitch 006.jpg‎
Views:	109
Size:	52.7 KB
ID:	62565   Click image for larger version

Name:	Opticalswitch 008.jpg‎
Views:	98
Size:	35.2 KB
ID:	62566  

Click image for larger version

Name:	Opticalswitch 014.JPG‎
Views:	126
Size:	79.9 KB
ID:	62567   Click image for larger version

Name:	Opticalswitch 016.jpg‎
Views:	125
Size:	42.0 KB
ID:	62568   Click image for larger version

Name:	Opticalswitch 015.jpg‎
Views:	133
Size:	83.4 KB
ID:	62569   Click image for larger version

Name:	Opticalswitch 017.jpg‎
Views:	172
Size:	117.2 KB
ID:	62570  

Reply With Quote

  #2  
Old 07-04-2008, 04:21 PM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road

Nice job.

Could you show some more photos of the finished assembly, top and bottom so we can see the see more assembly details.

Does it activate when the sensor is blocked or unblocked?

Thanks
Reply With Quote

  #3   Ban this user!
Old 07-04-2008, 04:54 PM
oxford's Avatar  
Join Date: Mar 2008
Location: usa
Posts: 158
oxford is on a distinguished road
NC switch

Thanks

The switches are unblocked when they are on/high.

For now, this is the last of the photos I have on hand.
Attached Thumbnails
Click image for larger version

Name:	Opticalswitch 005.jpg‎
Views:	153
Size:	68.0 KB
ID:	62575  
Reply With Quote

  #4  
Old 07-04-2008, 04:59 PM
Mr.Chips's Avatar
Gold Member
 
Join Date: Sep 2003
Location: USA Tucson AZ
Posts: 1,239
Mr.Chips is on a distinguished road
Smile

Originally Posted by oxford View Post
Thanks

The switches are unblocked when they are on/high.

For now, this is the last of the photos I have on hand.
I see, the light sensing module goes up from the bottom.

Thanks for the explination and additional photo.
Reply With Quote

  #5   Ban this user!
Old 07-04-2008, 05:31 PM
 
Join Date: Mar 2007
Location: UK
Age: 60
Posts: 492
Robin Hewitt is on a distinguished road

Presumably the extra transistor is to counteract the hysteresis on the logic input reading it? Would you consider using a comparator next time?

I like opto slots for end detection because, unlike a switch, you can overshoot without destroying them
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-05-2008, 02:11 PM
oxford's Avatar  
Join Date: Mar 2008
Location: usa
Posts: 158
oxford is on a distinguished road
Available parts

I had considered using a comparator.

However, I am more familiar with transistors and had a handful of them stashed in my parts drawer.

Size constraints were the last issue. There would be no way for me to cheaply get some surface mount chips that would fit during my vacation.
Reply With Quote

  #7   Ban this user!
Old 07-10-2008, 07:44 PM
Regnar's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 427
Regnar is on a distinguished road

I have been thinking about this for a few hours and want to know if you think this will work out. Pictures are below. Basically I was thinking of the same setup as the IH just with 1 switch and using aluminum or steel depending on what come out nicer. I still don't fully understand how the wiring is setup but I am going to try and have a guy at work help me out. Either way let me know what you think.
Attached Thumbnails
Click image for larger version

Name:	Limit Switch1.jpg‎
Views:	57
Size:	26.6 KB
ID:	62890   Click image for larger version

Name:	Limit Switch2.jpg‎
Views:	62
Size:	29.0 KB
ID:	62891   Click image for larger version

Name:	Limit Switch3.jpg‎
Views:	86
Size:	39.2 KB
ID:	62892   Click image for larger version

Name:	Limit Switch4.jpg‎
Views:	82
Size:	43.6 KB
ID:	62893  

Click image for larger version

Name:	Limit Switch5.jpg‎
Views:	59
Size:	37.8 KB
ID:	62894   Click image for larger version

Name:	Limit Switch6.jpg‎
Views:	58
Size:	35.8 KB
ID:	62895  
Reply With Quote

  #8   Ban this user!
Old 07-10-2008, 08:53 PM
oxford's Avatar  
Join Date: Mar 2008
Location: usa
Posts: 158
oxford is on a distinguished road

I like its shape and simplicity.

The one thing that is confusing for me is the pocket in the middle of the plunger.

It looks too far away from where the optical limiting switch is to trigger it.

The plunger movement when you include the size of the springs may inhibit the switch state from ever switching.

I would turn the middle pocket 90 degrees and have the photo-receptor triggered by the diode until the plunger moves away from its relaxed position.
Reply With Quote

  #9   Ban this user!
Old 07-10-2008, 09:20 PM
Regnar's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 427
Regnar is on a distinguished road

Good point on turning the middle pocket on the plunger 90 degress. I should have thought about that but I think I was just trying to give it as much strength. But your Ideal makes more sense especially if I use a 1/4 inch endmill.

I dont have the springs on hand so I had guess from the mcmasters catalog. Basically its a .5 dia. by .5 tall spring. I dont know if that was inside or outside dia nor do I know the thickness of the wire. I just drew it up guessing for proof of concept. I think as of now I am am going to do it in aluminum for the plunger and delrin for the housing. I still need to ad mounting holes and the cover holes but that will be added in tomorrow. Thanks I will post more pictures tomorrow.

I was wondering if you have the idiots guide for wiring these up? I can do just about anything mechanical but when it comes to electrical I am struggling.
Reply With Quote

  #10   Ban this user!
Old 07-10-2008, 10:00 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

My recollection is that you only need about a 0.035" hole for the emitter/detector pair and the center of the detector is located about 0.103" from the top edge of the optical switch (H22A1). So a 1/16" hole (0.0625") would be adequate and you could drill it 0.100" from the edge of your slide piece. Then your slide doesn't have to move very far to trigger.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-10-2008, 11:16 PM
oxford's Avatar  
Join Date: Mar 2008
Location: usa
Posts: 158
oxford is on a distinguished road

The 1 pin is by the little dot on the optical switch.

This should help:

http://www.fairchildsemi.com/ds/QV/QVA11134.pdf

You can see the 1 pin reference if you look careful at the product photo here:

http://search.digikey.com/scripts/Dk...me=QVA11134-ND

The picture has the pins labeled in the wiring.
Attached Thumbnails
Click image for larger version

Name:	Opticalswitch 016.jpg‎
Views:	59
Size:	45.5 KB
ID:	62901  
Reply With Quote

  #12   Ban this user!
Old 07-10-2008, 11:28 PM
Regnar's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 427
Regnar is on a distinguished road

This might seem like a dumb question but does "out" goto the breakout board or do you hook up the breakout board to the 5volt connection?
Reply With Quote

Reply

Tags
optical, switch




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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- optical switches color code phidab Syil Products 2 05-05-2008 10:10 AM
optical interrupter switches arbus General Electronics Discussion 17 02-07-2008 07:10 AM
optical limit switches woffler Benchtop Machines 7 12-17-2007 05:01 PM
optical limit switches phantomcow2 DIY-CNC Router Table Machines 4 03-05-2006 06:48 AM
Optical Limit/Home/Reference Switches redbaron DIY-CNC Router Table Machines 5 02-06-2004 07:47 PM




All times are GMT -5. The time now is 02:13 PM.





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