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! > Electronics > Hobbycnc (Products)


Hobbycnc (Products) Discuss Hobbycnc controller boards here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-12-2009, 06:48 AM
MadeInTheShed's Avatar  
Join Date: Jun 2009
Location: Australia
Age: 48
Posts: 55
MadeInTheShed is on a distinguished road
Spindle relay problems

Ive spent the last few evenings trying to set up a relay to control my router and vacumm on/off's.
Here is the set up........

Signal from Hobbycnc board (via lpt1) turns a 5v solid state relay off and on. Works fine.
As this relay cannot deal with the current that the motor and vaccumm draw, I have this 5v relay switching a 12 v supply , works fine.
Connect this 12v to my 30A relay (which will switch the AC to the router) and it will turn on via Mach 3 control, but will not turn off. If I disconnect the relay, it switches off, reconnect it and it stays off, till mach 3 tells it to turn on again.
If I use a meter to measure the voltage, instead of connecting the relay, it works fine - Mach 3 ON, 12v ....... Mach3 OFF 0v.

Any ideas why this is happening?

5v and 12v supplies are being sourced from a spare connector from the Mach3 computer.

Ive included the schematic to try and make it clearer..
Attached Thumbnails
Click image for larger version

Name:	relay Circuit.jpg‎
Views:	165
Size:	129.5 KB
ID:	88612  
Reply With Quote

  #2   Ban this user!
Old 09-12-2009, 08:05 AM
mkc2's Avatar  
Join Date: May 2008
Location: Perth ,Australia
Posts: 135
mkc2 is on a distinguished road

Hi
I did that same thing and had problems,found out i was using the wrong relay.
I also used a 5volt relay on my interface board to switch a 12v relay to turn on 240v router. wanted to keep the 12v relay and 240v away from the interface card so its interferance free.

This is what i ended up doing. made a rough sketch of your drawing sorry !! hope you can understand it.

Michael
Attached Thumbnails
Click image for larger version

Name:	5volt relay.jpg‎
Views:	151
Size:	60.1 KB
ID:	88614  
Reply With Quote

  #3  
Old 09-12-2009, 09:34 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

You are over complicating things, all you need is a 2N7000 and a relay.
There is no point using a SSR if it switches a mechanical relay, you have the isolation via the relay.
Do a search here for 2n7000, there are a few examples.
http://www.cnczone.com/forums/showth...ghlight=2n7000
If you want to use a SSR with AC output to switch a spindle direct use a 2n7000 directly off the port and the SSR would be connected to the drain of the Transistor.
The beauty of the 2N7000 is that it was made for this and it does not load the port up like a bi/polar transistor or Opto.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 09-13-2009, 07:26 AM
MadeInTheShed's Avatar  
Join Date: Jun 2009
Location: Australia
Age: 48
Posts: 55
MadeInTheShed is on a distinguished road

Thanks for your replys. gives me more to work with.
I think I have a ULN2803a somewhere, I will give that a try.
Reply With Quote

  #5  
Old 09-13-2009, 09:48 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

They also work fine, they have the reverse EMF diodes built in.
I should have added that a SSR may required if using a contactor in place of a relay, due to the higher coil current.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-15-2009, 06:40 PM
MadeInTheShed's Avatar  
Join Date: Jun 2009
Location: Australia
Age: 48
Posts: 55
MadeInTheShed is on a distinguished road

Attached is an image of the circuit I am using for the ULN2803A.
Obviously, The pin numbers on the port are different (using pin 1 on the parralell port to pin 1 on the ULN2803a), but the rest of the circuit is identical.
Such a simple circuit, yet its not working!
If I measure V at Pin 1 on Parallel Port, nothing connected, signal sent, I get 4.8V. Connect the ULN2803a as per schematic, and same settings I get 3V.
V at pin 18, is 0.56V whether 0V or 4.8V is present at Pin1.

Any ideas?

Crook Chip maybe?
Attached Thumbnails
Click image for larger version

Name:	ULN2803A.gif‎
Views:	128
Size:	12.0 KB
ID:	88920  
Reply With Quote

  #7  
Old 09-15-2009, 06:50 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

Pin 9 should be common to the parallel port common and VCC common.
If VCC does not originate from the PC but is a separate supply, this is most likely the problem.
ULN2803 is not an isolator.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 09-15-2009, 07:12 PM
MadeInTheShed's Avatar  
Join Date: Jun 2009
Location: Australia
Age: 48
Posts: 55
MadeInTheShed is on a distinguished road

VCC is 12v, from a spare connector out of PC PSU.
I have also tied (with a jumper lead) Pin 9 ULN2803, Pin 25, and VCC common.
Same results.

I have a ULN2003 as well, might chuck that one in and see if I get similar results
Reply With Quote

  #9  
Old 09-15-2009, 07:46 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

If the 12v is originated from the same PC then it is still preferable to connect a common from the spare PC connector to the IC common as well as the 12v+, this avoids the relay current flowing through the port common back through the board.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10   Ban this user!
Old 09-16-2009, 07:30 PM
MadeInTheShed's Avatar  
Join Date: Jun 2009
Location: Australia
Age: 48
Posts: 55
MadeInTheShed is on a distinguished road

Still not sure whats going on here, tried a new ULN2803a, and got similar results except now I get 0v/3v from pin 18 of ULN2803a, when pin 1 is toggled, 12v to pin 10.

Going to chuck this in the bin and try the 2n7000 now. What diode should I use across the coil?

If that doesnt work, I'm going to give up!!
Reply With Quote

Sponsored Links
  #11  
Old 09-16-2009, 08:23 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,542
Al_The_Man is on a distinguished road
Buy me a Beer?

The output pin 18 should be 12v when pin 1 is zero, and if you apply a signal above 3.5v to pin 1, then pin 18 will be close to zero WRT common.
Try a jumper from the 5v PC supply direct to pin 1 to test the zero to 5v input.
The output should switch.
A 1N4005 or similar is sufficient for coil diode.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 09-16-2009, 09:09 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,879
Torchhead is on a distinguished road

The first circuit did not work because an SSR is an AC switch. In side it's basically a Triac (two SCR's) which latch on when the gate goes positive and only turn off if the gate drive is removed AND current to the load passes through zero (every 8ms on a 60HZ wave). DC just locks them on until you remove the DC load.

TOM Caudle
www.CandCNC.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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
spindle relay and other goodies. nosplinters Xylotex 2 03-18-2008 12:44 PM
hyperther 380 relay problems stanglou CNC Plasma and Waterjet Machines 4 06-27-2006 11:08 AM
plasma relay problems stanglou General Electronics Discussion 0 06-23-2006 08:42 PM
Relay Problems Smackre General Electronics Discussion 4 05-29-2006 01:05 PM
Relay for spindle on/off yukonho Xylotex 14 03-30-2004 10:50 PM




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