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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-06-2008, 06:34 AM
 
Join Date: Dec 2004
Location: Greece
Posts: 2
billy is on a distinguished road
Paraller Port Driver - Breakout Port

Hello,

This is my first post on CNCZONE so first of all thanks for all the ideas/photos that the members of CNCZONE are sharing

I have started a CNC project together with a friend, based on a CAMTECH RM25 machine. The machine had NO electronics at all. Only the stepper drivers.

Since the machine arrived the following problems came out:
1) We are located in Greece = shipping from USA is expensive
2) We don't know if the mechanics of the RM25 has any problems = we cannot invest on controller/boards and power supplies, without knowing that it works

So we decided that we should go the DIY way.

Based on ideas around the cnczone, i have created a small parallel port driver - breakout port.

The board is not here to compete the boards from manufactures, it is a cheap solution (well not exactly a solution) which can be etch at home since it is single side (with about 10 jumbers) and with materials found on your/our local electronics shop.

The board has the following characteristics
1) Buffered output/input for the DB25
pins 1,2-9, 14,16,16 are outputs
pins 10,11,12,13,15 are inputs
and all the signals are going to the end of the board through connectors.
2) On board power supply of the 5V, or 5V through a connector

The board is NOT optoisolated, and the question is:
Should the board be optoisolated or you think that if the stepper motor driver is already optoisolated we don't need an extra layer of security ?

What do you think it should be added on the board based on your experience ?

Is something that we will need in the future that we should be aware now ?

The AVR based stepper driver will come in a second post

Thanks in advance,

Bill
Attached Files
File Type: pdf ParallerPortDriver.pdf‎ (121.3 KB, 236 views)
Reply With Quote

  #2   Ban this user!
Old 11-16-2008, 08:58 PM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 560
rokag3 is on a distinguished road

hello,
the stepper drive and the motor can you give some picture?
If you are in athens I have everything to build a power supply from 12V 50A to 180V 20A dc
about controller board you can work directly with the parallele port and a cheap breakboard or even make one just for one axe
Please do not speak to me in greek i am french living in athens for 13 years and i do not understand greek
Reply With Quote

  #3   Ban this user!
Old 11-20-2008, 06:02 AM
 
Join Date: Mar 2007
Location: Canada
Posts: 212
krazatchu is on a distinguished road

I've never seen a BOB with buffers on it, but I haven't really seen that many BOBs...

If the driver's have there own isolation, then you prolly don't need it on the BOB...
However, it's always nice to have some isolation for inputs (limit switches, etc)...

You could also add a charge pump circuit, I think there is one floating around on the MACH3 website... It uses a 4538...

You can find a bunch of examples here: http://pminmo.com/

A common opto-iso would be the HCPL2630...
Careful where you run the supply voltage to... I've seen a few cases where they were used incorrectly such that there was no isolation because of supply voltage sharing...
I think the best implementation is to take the power off a USB connector to power the pc side of the opto isolators...

Ciao!
Reply With Quote

  #4   Ban this user!
Old 11-20-2008, 06:46 AM
 
Join Date: Dec 2004
Location: Greece
Posts: 2
billy is on a distinguished road

Originally Posted by rokag3 View Post
hello,
the stepper drive and the motor can you give some picture?
I will upload them when i am back at home

Originally Posted by rokag3 View Post
If you are in athens I have everything to build a power supply from 12V 50A to 180V 20A dc
about controller board you can work directly with the parallele port and a cheap breakboard or even make one just for one axe
Please do not speak to me in greek i am french living in athens for 13 years and i do not understand greek
Great .

Originally Posted by krazatchu View Post
I've never seen a BOB with buffers on it, but I haven't really seen that many BOBs...

If the driver's have there own isolation, then you prolly don't need it on the BOB...
However, it's always nice to have some isolation for inputs (limit switches, etc)...

You could also add a charge pump circuit, I think there is one floating around on the MACH3 website... It uses a 4538...

You can find a bunch of examples here: http://pminmo.com/

A common opto-iso would be the HCPL2630...
Careful where you run the supply voltage to... I've seen a few cases where they were used incorrectly such that there was no isolation because of supply voltage sharing...
Thanks for the comments krazatchu.

I thought that adding simple 4N26 will do the trick. I will check for the HCPL2630 in my local eletronics shop.

Regarding the isolation on the limit switches.

When you close the switch you want 5V as input or 0 V ? What is the most common ?
I think the best implementation is to take the power off a USB connector to power the pc side of the opto isolators...
Isn't is a bit risky ???
Reply With Quote

  #5   Ban this user!
Old 11-20-2008, 07:02 AM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 560
rokag3 is on a distinguished road

I think the best implementation is to take the power off a USB connector to power the pc side of the opto isolators...

Isn't is a bit risky ???

no but you must not share the ground on the board
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-20-2008, 07:11 AM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 560
rokag3 is on a distinguished road

those steppers are MAE 1.8 DEG .95 ohms /phase 3A/phase
must be driven by a gecko with 75V minimum to have a corect torque at high speed but can be use for test purpose.
despite all controversy i consider servo a much better and cheaper choice
Reply With Quote

  #7   Ban this user!
Old 11-20-2008, 07:12 AM
 
Join Date: Mar 2007
Location: Canada
Posts: 212
krazatchu is on a distinguished road

To add to rokag3's comment...

It's not risky at all, you already have the parallel port connected to the pc...
And where else would you get an isolated supply for the opto's....
Another trafo/psu is a bit inconvenient...

The 4n26 may work, just check the data sheet for the speed... The hcpl 2630 is a bit expensive at a few dollars each...

The USB port can source at least 100ma @ 5vdc perhaps more, you could find that on wikipedia...

Also, very good point about the grounds.... I made that same mistake on a BOB not so long ago... I ended up cutting the ground plane with a knife to break it up...
Not pretty but it worked...
Reply With Quote

  #8   Ban this user!
Old 11-20-2008, 07:27 AM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 560
rokag3 is on a distinguished road

hey bill,
call me i am in team with a very good machinist who is making a retrofit of a lagun mill (1,5 tons) using home made roller screw but unfortunately he do not speak english also your machine despite his price is suffering of insufficient rigidity so making a team might be interisting
we have tig ac/dc plasma mill lathe oscillo servo and due to the ecomomic slowdown time me i work only sat/sunday
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
Disposable pci LPT port or isolated ($) breakout board ? CanSir DIY-CNC Router Table Machines 9 01-03-2009 10:28 AM
Stepper Driver and serial port kylemp Stepper Motors and Drives 1 01-27-2008 07:11 PM
New Port Interface (Breakout) Card Torchhead Product Announcements & Manufacturer News 4 10-27-2006 03:59 PM
Get a Powered Parallel Port Breakout for 10 Bucks Torchhead Product Announcements & Manufacturer News 1 09-06-2006 11:31 PM
Port to Breakout to Drives? LeeWay General Electronics Discussion 3 05-11-2005 08:38 AM




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