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 > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-03-2006, 11:24 PM
 
Join Date: Jul 2005
Location: USA
Posts: 64
kochevnik is on a distinguished road
YAFGWT - Yet Another Bleeping Gecko Wiring Thread

Why ? Because I just spent 3 hours trying to wire my Gecko 212 the same way as indicated on the various diagrams found here and on the gecko websites - and none of them worked.

It's absolutely BEYOND me why a company with such good products does such a TERRIBLE job of providing BASIC wiring information !!! 95 + percent of users must wire to a parallel port.

Anyways, most of the wiring for the 212 is pretty straightforward - Power on 1 & 2 , stepper motor windings on 3,4,5,6 - nothing on 7, Direction on 8, Step on 9 - Current Resistor on 11 & 12. Not hard to hook any of these up. Use a meter to check which windings are paired with which, and the various resistor values (close enough are printed right on the Gecko cover and covered here on this board several times in depth).

The BIG mystery is where you get +5 Volts, and what to do with #10 on the Gecko (labelled: COMMON).

If you have a newer PC, then maybe the diagrams here work - (but they sure didn't work on my setup), if you have an old PC (mine's an old Dell Pentium something) ALL that you need to do is connect a wire from the #10 slot on the Gecko to pin 18 (or 19-25, they're all ground pins) on the parallel port (you'll need a breakout board to make this simple).

That's it - that's all she wrote. No other wires, no 5V power supply or connecting to game or USB ports, no jumper setting nothing. One damn wire.

My guess is because older PC's deliver 5V on Step and Dir pins from the parallel port, no major contortions are required to get the Gecko to behave.

Now try to find the info about that one little bitty wire anywhere in the Gecko documentation, or for that matter on any of the diagrams on this site. Ha ! I say again Ha !

Anyways, needed to blow off steam and perhaps help someone else in the same situation. Hook that wire up and she sings like a bird.

BTW: nice board, the G212. I also recommend that if you need a cheap simple parallel port breakout, go on ebay and search for user 'carolbrent' - Hubbard CNC Store. they have several different types - I bought one male and one female for $ 25 total and this allowed me to wire 2 of my motors to my Arcsin board (which has a dead Z axis) and the other to the G212. Piece of Pie
Reply With Quote

  #2   Ban this user!
Old 10-04-2006, 08:58 PM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

Sadly, if you don't have a USB, getting 5v with decent current capacity from an 'old' parallel port can be a daunting task without cracking into the case and using a 5v lead from the P/S.

Some guys have used pin 17 (I think) as a 5v source from LPT but it is NOT reliable - some LPT IC's don't have enough OOMPH to drive much more than an LED let alone a Gecko or the 5v you need for all the external stuff. Some have OR'd the output pins together via diodes to a buss but that's not going to give a solid 5v source with decent current.

Sadly, you might have to resort to a wall plug. We looked long and hard for a 5V source for a BTR we were building and couldn't find a way to do it w/o using a wall plug.

We found a cheap 9v one from Digikey and then added a LM2940T5 to give us a nice robust 5vdc source good for about an amp.
Reply With Quote

  #3   Ban this user!
Old 10-09-2006, 01:11 PM
 
Join Date: May 2004
Location: United States
Posts: 104
jkeyser14 is on a distinguished road

Easy questions with easy answers...

Common is also known as ground. And you can't get a +5v supply from the parrallel port, because none of the pins are always +5v, and you can't pull a lot of current through the parallel port.

A good way to get around this is to use your computer's power supply. Take one of the unused power connectors and hook it up to the geckos. Your red wires on the PC's power supply is +5v, black is ground.
__________________
-John
http://www.engineeringhobbyist.com
Reply With Quote

  #4   Ban this user!
Old 10-09-2006, 01:50 PM
 
Join Date: Jul 2005
Location: USA
Posts: 64
kochevnik is on a distinguished road

Originally Posted by jkeyser14 View Post
Easy questions with easy answers...
Maybe I didn't make myself clear enough - using an external +5V supply as indicated in several of the diagrams on this site - DIDN'T WORK. Maybe the +5V MUST come from the computer (as keyser14 posts ?)

Very confusing anyways.
Reply With Quote

  #5  
Old 10-09-2006, 06:04 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

Originally Posted by kochevnik View Post
Maybe I didn't make myself clear enough - using an external +5V supply as indicated in several of the diagrams on this site - DIDN'T WORK. Maybe the +5V MUST come from the computer (as keyser14 posts ?)

Very confusing anyways.
CONFUSING? NOT REALLY.

Using an external 5 volt supply, AND A VERY BASIC PORT EXTENDER BREAKOUT BOARD, the software settings for the different outputs needs to be set to ACTIVE LOW.

The 5 (+) volts DC is wired directly to pin 10 on all the Gecko's. The 5 volt common (-) goes to pins 18 thru 25 on the breakout board.

With outputs set to active high, you will have 5 volts on both sides of the opto-coupler LED inside the Gecko drive. UNDER THESE CONDITIONS THE LED IS NOT FORWARD BIASED, AND NOTHING HAPPENS. OPEN CIRCUIT.

With outputs set to ACTIVE LOW, when an output goes low (example: step), the current (flows from common side to positive side) flows from the step pin thru the LED in the optocoupler and to the 5 volts on pin 10 of the Gecko and back to the external supply. Magic. It will work.

If you had a breakout board with good decent drivers, that utilized an external supply, you could set the outputs to active high or active low.

Last edited by CJL5585; 10-09-2006 at 06:06 PM. Reason: To add (+) and (-) signs.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-09-2006, 07:28 PM
 
Join Date: Jul 2005
Location: USA
Posts: 64
kochevnik is on a distinguished road

Originally Posted by CJL5585 View Post
CONFUSING? NOT REALLY.

Using an external 5 volt supply, AND A VERY BASIC PORT EXTENDER BREAKOUT BOARD, the software settings for the different outputs needs to be set to ACTIVE LOW.

The 5 (+) volts DC is wired directly to pin 10 on all the Gecko's. The 5 volt common (-) goes to pins 18 thru 25 on the breakout board.

With outputs set to active high, you will have 5 volts on both sides of the opto-coupler LED inside the Gecko drive. UNDER THESE CONDITIONS THE LED IS NOT FORWARD BIASED, AND NOTHING HAPPENS. OPEN CIRCUIT.

With outputs set to ACTIVE LOW, when an output goes low (example: step), the current (flows from common side to positive side) flows from the step pin thru the LED in the optocoupler and to the 5 volts on pin 10 of the Gecko and back to the external supply. Magic. It will work.

If you had a breakout board with good decent drivers, that utilized an external supply, you could set the outputs to active high or active low.
Use a good breakout board.
Did it.

+5V external on pin 10.
Did it.

ground from 5V supply to pin 18
Did it.

set ACTIVE LOW.
Did it.

Guess what - it DID NOT WORK.

I may not be a rocket scientist - but I'm not a moron either. And all the CAPS in the world isn't going to change that one iota.

And interestingly enough, my backup board, an Arcsin, functions perfectly with the same wiring, power supply, motors and software settings.

And incidentally, here is a direct quote from the G212 manual -

If the G212 inputs are driven by a source that has only ground available, such as a PC parallel port, move the 4 jumpers on the
header so that it looks like the COMMON GROUND setting. Connect the input driver ground to TERM 10 on the main connector.
I don't know about you, but the words 'connect the input driver GROUND to TERM 10' to speakers of the English language would seem to indicate to most people that you might want to be connecting a GROUND wire to TERM 10. Unless the word 'ground' has suddenly acquired a new meaning, I'd say the Gecko documentation, in anyone's world, would clearly qualify as VERY confusing, and also quite clearly, contradict your instructions above - not to mention saying absolutely NOTHING about requiring an external 5V source, or how to wire it up. The Gecko instructions suck - how's that for plain English.

And I'm tired of pointing this out again and again so this is the end of this thread for me.
Reply With Quote

  #7  
Old 10-09-2006, 08:49 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Disclaimer

First of all, I am not, nor have I ever been associated with Gecko.

According to Gecko - a common connection can be either + or -.

It is my understanding that the 212 can be configured for pin 10 to be set up as a common +5 volt input or a common ground input.

I have 6 running systems on these type drives.

Good luck with your endeavor.
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





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