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 12-26-2007, 04:38 PM
 
Join Date: Nov 2004
Location: TR
Posts: 15
graphpix is on a distinguished road
led in circuit

Hi, i have a lpt breakout opto board and you can see the output section of this circuit below. How can i place a led in this circuit to view signal output without reducing the output voltage 5V?

Reply With Quote

  #2   Ban this user!
Old 12-26-2007, 07:07 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

071226-2001 EST USA

graphpix:

A Stanley EFR5366X (DigiKey 404-1090-ND) in series with your 4.7 K resistor will give lots of brightness. If you use a 470 ohm it will be much brighter.

Or a less bright LED in series with the opto input.

In each case the LED is on when current flows into the coupler.

(edit)
What is the load on the output? This will be a major factor on the output voltage. If it is a 2n7000 FET, then there is virtually no load. If it is a 100 ohm resistor to ground, then there won't be much output voltage. If it is 100 ohms to +5, then there is lots of output voltage, but the opto may not be able to pull it down. So it is true if the LED is in series with the 4.7 k resistor, then you might excessively reduce the output and caause a residual glow in the LED. You have to more completely define the circuit.
(end edit)

.
Reply With Quote

  #3   Ban this user!
Old 12-27-2007, 02:28 AM
 
Join Date: Nov 2004
Location: TR
Posts: 15
graphpix is on a distinguished road

(edit)
What is the load on the output? This will be a major factor on the output voltage. If it is a 2n7000 FET, then there is virtually no load. If it is a 100 ohm resistor to ground, then there won't be much output voltage. If it is 100 ohms to +5, then there is lots of output voltage, but the opto may not be able to pull it down. So it is true if the LED is in series with the 4.7 k resistor, then you might excessively reduce the output and caause a residual glow in the LED. You have to more completely define the circuit.
(end edit)

output line directly connected to the simple l297-298 stepper driver board and l297's clock pin (18). driver board schematic below:

Reply With Quote

  #4   Ban this user!
Old 12-27-2007, 08:17 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

071227-0816 EST USA

graphpix:

You need to get a datasheet for your for your IC and study the input characteristics of the inputs you expect to drive. Or experiment.

The Stanley LED I referenced has a drop of about 1.5 V with 1 M series resistance and 5 V source, or about 3.5 microamps current. A dim glow exists.

Assuming your input requires 100 microamps pullup, then a 4.7 K resistor has a drop of 0.47 V, and 470 ohms has 0.047 V. With a series LED you have to add the approximate 1.5 V.

If you use 470 ohms, and put the LED and a 27 K series resistor between the optic output and ground, then the approximate current thru the 470 ohm resistor is (5-1.5)/27,500. or 0.13 MA from the LED path. This is a drop of about 0.06 V from the LED circuit. To this you have to add the drop resulting from the pullup current to your I297. You can make various different asumptions and do your own calculations.

A separate question is whether a darlington opto isolator is fast enough for what you want to do?

.
Reply With Quote

  #5   Ban this user!
Old 12-27-2007, 12:02 PM
 
Join Date: Nov 2004
Location: TR
Posts: 15
graphpix is on a distinguished road

Thanks for detailed info gar;

"A separate question is whether a darlington opto isolator is fast enough for what you want to do?"

I don't know really if it is fast enough or not but i have lot's of this optocouplers and wanted to use them. I'm using 74ls04 for buffering lpt outputs and then connecting opto-couplers. Speed is not important for now, i'm trying to build a simple diy cnc machine, if it works i can spend some money for a professional parallel port opto-isolator board.

thanks for your help again.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-27-2007, 01:25 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

The problem you going to run into is the opto for the step and direction has to be fast unless you plan to write your own cnc software. You may also run into incorrect step problems because of the lack of a low inpedance drive to the l297.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.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
Someone Please Check MY circuit Mr.Chips Xylotex 6 10-21-2006 10:42 AM
Dump circuit Pbrew1 Servo Motors and Drives 1 07-24-2006 11:15 PM
Circuit Help Shanghyd General Electronics Discussion 9 09-16-2005 08:02 AM
Any R/C people using this circuit? Al_The_Man Parts for Radio Control Models 1 03-22-2005 11:48 AM
Circuit needed jimini DIY-CNC Router Table Machines 5 09-04-2003 08:06 PM




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