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 08-24-2007, 07:44 AM
 
Join Date: Jul 2005
Location: USA
Posts: 59
rodzilla is on a distinguished road
Voltage question

I have a PC with a parallel port that is outputting 3.3vdv and i am using a DB25 Interface card between my pc and my drives nothing special just maps pins to wire blocks. Now my question is how can i alter this board to take the 3.3vdc and make it 5vdc without having to buy a breakout board. Being very new to this stuff i don't know how to do this i have read about stuf like pullup resistors and pulldown resistors. and is there a schematic i could use to get this done Please any help is greatly appreciated.
Reply With Quote

  #2   Ban this user!
Old 08-25-2007, 06:20 PM
 
Join Date: Dec 2003
Location: UK
Posts: 218
UKRobotics is on a distinguished road

The simplest bet would be to buy an opto isolator parrallel port board. You can pick them up on ebay sometimes for not much money.

If you want to go the DIY route you will need to buy your own opto isolator chips and build a PCB to support them.

Basically each pin from the parrallel port goes through the opto isolator (which is several pairs of LED's and phototransistors in a chip and the output is amplified to 5v.

Somthing along those lines anyway.
__________________
Dom
http://www.ukrobotics.com/projects
Reply With Quote

  #3  
Old 08-25-2007, 06:34 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

Use 74ACT logic for level-shifting. Unless you are an electronics type person or are very young, I'd suggest forget that and buy a breakout board.

Mariss
Reply With Quote

  #4   Ban this user!
Old 08-25-2007, 06:39 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,877
Torchhead is on a distinguished road

Most opto's are not rated for anything close to high speed. Using microstepping drives you will find common optos fall down at a few kilohertz.

Better to just buffer and use a 5 V chip that will take the 3 volt low level signals and transition them to 5 volts at clean up the signals in the process.

Look at the 74HCT541 chips. 8 wide driver chip. About .50 or less.
Reply With Quote

  #5   Ban this user!
Old 08-25-2007, 06:41 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Are you sure you need more than 3.3V for your drivers?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-26-2007, 01:37 AM
 
Join Date: Dec 2003
Location: UK
Posts: 218
UKRobotics is on a distinguished road

I'm supprised the pc is outputting 3.3v at all. I was under the impressions that only laptops did that and desktops kicked out 5v
__________________
Dom
http://www.ukrobotics.com/projects
Reply With Quote

  #7   Ban this user!
Old 08-26-2007, 12:50 PM
 
Join Date: May 2006
Location: USA
Posts: 37
sswitaj is on a distinguished road

You have a TTL device driving your parallel port.

There are two basic "families" of 5v logic devices, TTL (also called bipolar) and CMOS.

Because of the way TTL parts are built, it's common for them to not pull "all the way up" to the +5v supply rail. In fact, a TTL logic 1 (a "high") is defined as anything above about 2.4 volts, so what you're seeing out of your parallel port is typical. TTL devices are also not especially good at sourcing current, for instance, for driving an LED connected to ground. You can get only a few milliamps at logic 1.

TTL devices are much better at pulling down to logic 0, which is typically less than .3 volts, and they'll sink much more current, typically 20 or 30mA without complaining (for instance, an LED connected to +5v).

For this reason, many interface signals (like stepper drivers) are structured around getting an active "0" instead of an active "1".

CMOS devices use a different type of transistor, and typically have output levels of .3v and 4.7 v or better, and their structure is such that they pull low or high equally well.

This usually isn't much of an issue, since, in practice, most logic families are interoperable, except for very old (4000 series) CMOS.

If you're coming out of your parallel port to some device that needs a logic 1 that's closer to +5v or a little more current drive, there are two things you can do.

First, you can use a pullup resistor. This is a resistor, typically 510 ohms or so, that goes from the output signal to the +5V rail. When the output goes to 1, the resistor sources additional current to help pull the signal high. (When the output goes to 0, the resistor adds an additional 10mA load, but TTL can sink a lot of current, and this isn't a problem)

Second, you can buffer the signal through a CMOS device, like a 74ACT541. This is an 8-bit buffer that accepts TTL level inputs and provides a 40mA output.

Sadly, there is no +5V pin available on the parallel port (an annoyingly stupid feature, if you ask me) so you'll have to provide that externally.
Reply With Quote

  #8   Ban this user!
Old 08-26-2007, 12:51 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

A lot of PC's only put out 3.X volts for a HI. The LPT port spec is IEEE-1284 and actually states a 2.4V minimum for a logic HI. That was one of the reasons I asked if there was truely a need for a 5V output.
__________________
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
Pulse Voltage Question southernexplore General Electronics Discussion 8 03-07-2006 09:42 PM
Another Ametek Question-What Voltage? mwp Servo Motors and Drives 4 03-21-2005 07:53 AM
Picstep board voltage question dberndt Stepper Motors and Drives 1 01-15-2005 10:34 PM
Gecko Voltage Question ninewgt Gecko Drives 10 08-01-2004 01:31 PM
Question of Voltage vs. Torque/Speed ullbergm General Electronics Discussion 6 07-28-2003 01:36 PM




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