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 > Commercial CNC Wood Routers > Chinese Machines


Chinese Machines Discuss Chinese machine here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-07-2011, 03:19 PM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road
USB conversion

I've got a China router with YooCNC step/dir driver boards
and I've bought a Usb controller card from Planet CNC which I'm going to wire to the YooCNC driver boards.

I don't have any good documentation on the YooCNC so I'm a bit unsure on how to wire it to the USB controller.
Anyone who have done this?
Or anyone who can help me with this?

Here's how I've wired it:




Thanks
Reply With Quote

  #2   Ban this user!
Old 09-07-2011, 06:14 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,236
doorknob is on a distinguished road
Buy me a Beer?

I do not have either of those boards, however I will see if I can help you get the proper board to board connections.

The Planet CNC connector is supposed to follow the Pminmo 10-pin IDC connector standard described at: DIY Interface Technical Information

My interpretation of the signal labels on the YooCNC driver is that CP+ and CP- are step (clock) pulse inputs to an optoisolator; EN+ and EN- are enable inputs to another optoisolator; and there should probably be two additional inputs, for the Direction signal going to another optoisolator, possibly labeled CW+ and CW- (or maybe labeled DIR+ and DIR-). Can you verify that you have those additional input pins on your driver?

In your diagram it appears that you have the DIR output from the Planet CNC board going to an enable input of the driver instead of going to a direction input. If that is the case, then it will not work properly as wired.

Let me know whether you have located those additional direction signal pins, and if so, I can continue with my recommendation.
Reply With Quote

  #3   Ban this user!
Old 09-08-2011, 12:25 AM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road

There are only 4 wires from the YooCNC and they are labeled CP+ CP- EN+ EN-
There are however 2 soldering points on the board labeled DIR+ DIR- (they are not connected)

On the original controller board the 4 wires are labeled PU+ PU- DIR+ DIR-

DIR+ goes to EN+ on the driver board
DIR- goes to EN-
PU+ goes to CP+ on the driver board
PU- goes to CP-
Reply With Quote

  #4   Ban this user!
Old 09-08-2011, 12:43 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,236
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by Sharx View Post
There are only 4 wires from the YooCNC and they are labeled CP+ CP- EN+ EN-
There are however 2 soldering points on the board labeled DIR+ DIR- (they are not connected)

On the original controller board the 4 wires are labeled PU+ PU- DIR+ DIR-

DIR+ goes to EN+ on the driver board
DIR- goes to EN-
PU+ goes to CP+ on the driver board
PU- goes to CP-
I'm not sure what "the original controller board" is (I don't think that you referenced it above), but from what you state it appears that the markings on the driver inputs may not correspond directly to their actual functions.

So, I can't give any more advice other than to give it a try.

There are some unknowns here - the primary one being whether your USB board's + outputs have sufficient current sourcing capability to drive the optoisolator LED inputs in your driver (which I am guessing are present).

If it is set up like other drivers with which I am familiar, then there are two ways of hooking up your USB controller to the driver.

One way would be like your diagram above, namely, where the controller signals source current which directly turns on the LEDs in the optoisolator inputs.

The other hookup would have you wire a small value pull-up resistor (perhaps using a resistance in the range of a few hundred ohms) between each of the + inputs and the +5 volt power supply terminal, and then hook up the step and direction outputs from your controller to the corresponding - (minus) inputs of the driver. In that case, the LEDs in the driver's optoisolators are turned on by an active-low signal coming from your controller. So if you can't get it working the way that your diagram shows, then you have the option of trying the alternative hookup using the pull-up resistors.
Reply With Quote

  #5   Ban this user!
Old 09-10-2011, 02:46 PM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road

Here's a drawing of how the YooCNC is connected and the markings on the card.
Maybe someone recognize the markings and know where they should connect?

Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-10-2011, 03:22 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 411
john_100 is on a distinguished road

going by the last diagram it looks like the direction inputs ard wrongly labled as enable

I would connect the new driver as in the diagram below

John

PS
very often logic IC's at logic 0 can sink more current

than source when at a logic 1 (as in your first diagram)
Attached Thumbnails
Click image for larger version

Name:	cnc-connections.jpg‎
Views:	59
Size:	41.2 KB
ID:	141687  
Reply With Quote

  #7   Ban this user!
Old 09-10-2011, 04:03 PM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road

Originally Posted by john_100 View Post
going by the last diagram it looks like the direction inputs ard wrongly labled as enable

I would connect the new driver as in the diagram below

John

PS
very often logic IC's at logic 0 can sink more current

than source when at a logic 1 (as in your first diagram)

Don't know it this matter but the YooCNC driver card har it's own power.


Here's acouple of pictures of the driver board and the old controller board (YooCNC)




Reply With Quote

  #8   Ban this user!
Old 09-10-2011, 05:15 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 411
john_100 is on a distinguished road

looking at the photo's

on the yoocnc b.o.b , the pcb tracks for the "A" axis
you can see the pu+ and dir+ connections go to the +5v supply from the
board

taking the white , yellow blue and red wire connecting the yoocbc driver to be
the same wires

I would now expect its the red and yellow wires that are connected to +5V
(you can check this with a multimeter)

the blue the step pulse and white the direction control


if you look closely at the holes marked dir+ and dir-
on driver the you can see two fine track going to the connector

John



PS looking at the stepper driver you have two EL817 opto isolators
and a 6N137

I'd expect the EL817's to for be step and direction (blue & white wires)
and the 6N137 for an enable input
( connect the yellow wire to 0V to disable the drive)

the three resistors R11,R12 and R13 to be all connected to +5V
( red wire)

Last edited by john_100; 09-10-2011 at 06:01 PM.
Reply With Quote

  #9   Ban this user!
Old 09-10-2011, 05:45 PM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road

I get +5V on all four wires.
So I guess I must find my old computer and hook it up to see if the signal on Step and Dir gets low when activated in Mach3 ?
Reply With Quote

  #10   Ban this user!
Old 09-10-2011, 06:20 PM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 411
john_100 is on a distinguished road

I think with in mach3 you can switch between positive and negative going
pulses
(I've not used mach 3 ,I'll have to read the book again !)

either way , look at the direction output
you should see it switch as you change direction

do you have the E-stop pins connected ?

John
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-10-2011, 06:23 PM
 
Join Date: Sep 2005
Location: Norway
Posts: 27
Sharx is on a distinguished road

Step/Dir - blue & white wires
Enable - Yellow wire
+5V - red wire

Just want to make sure I understand you correctly
Reply With Quote

  #12   Ban this user!
Old 09-11-2011, 04:01 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 411
john_100 is on a distinguished road

yes thats what I expect at the driver board

I assume there is another three unused connections on the board

that are hidden from view by the 4 pin connector ( PU+ , PU- and EN + )



on other stepper drivers the drive is disabled when the LED in the opto

isolator is energised ! and is not connected when it's not being used


with the yoocnc bob both terminals are connected to +5v ,
there for the motor is enabled


John
Attached Thumbnails
Click image for larger version

Name:	connections to optoisolators.jpg‎
Views:	64
Size:	63.1 KB
ID:	141741  

Last edited by john_100; 09-11-2011 at 07:49 AM. Reason: add diagram
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
x2 cnc conversion pac1969 Australia, New Zealand Club house 0 10-12-2009 05:32 AM
Need Help With Conversion NSCCstudent Emco Mills 3 10-02-2009 05:41 PM
Need Help!- Conversion Please! kawazuki Solidworks 2 06-25-2009 01:56 PM
servo conversion vs stepper conversion contractdesign Bridgeport and Hardinge Mills 3 07-26-2008 02:54 PM
Has any one done a CNC X1 conversion cweeks Benchtop Machines 4 11-11-2006 10:08 AM




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