Thread: Port power

  1. #1

    Port power

    I was just wondering how much amperage these ports use (I already know they use 5V for 1's and crap like that)

    Parallel Port
    Serial Port
    USB 1.x
    USB 2.0

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Let me look in my A+ Cert. book and get back to you tomorrow. I'm sure they have it in there.

  3. #3
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719
    Parallel I believe uses 5V, and Serial uses 3V. I'm not sure. I was trying to make my own IR circuit attached to the parallel port earlier. I was using IBM's specifications. Look online and i'm sure you can find information.

    Bubba: That information may be in your A+ book(I doubt USB is, but Parallel / Serial may be) but it should not be asked on your A+ exam, as it is not Coriolis criteria.
    "What are you after - the vague post of the week award?" - Salem
    IPv6 Ready.
    Travel the world, meet interesting people...kill them.
    Trying to fix or change something, only guaruntees and perpetuates its existence.
    I don't know about angels, but it is fear that gives men wings.
    The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.

    E-Mail Xei

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You are right. And thankfully it wasn't.

  5. #5
    Yes, but how many amps are they pushing?

  6. #6
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    Parallel depends a lot on the technology. It was not at all designed for power, only signaling, so it's designed to drive a very high impedance load. If you can get it to source 2.5 mA @ 2.5 volts (6.25 mW), you're getting a lot out of the port. They can often sink about 20 mA, though.

    Serial ports of the RS232 variety can vary between +5 and +15 for the logical zero state, and -5 to -15 for the logical 1 state (yes, the "1" is negative in voltage). At the receiver's end, you can expect at least 3V under 3kohm load, so 3V @ 1 mA is the minimum that serial is required to provide. That's pushing the limits, though; most serial devices are designed to draw less than 3 mW.

    Older serial devices are more likely to be workhorses. Some very old-school ISA serial cards can provide 10V @ 10 mA, which is more than 30 times the required power. Devices made in the 1970s and 1980s are probably going to be more powerful. The same is not necessarily true of parallel ports; older models often can sink a ton of current but they're often poor at sourcing it because the output driver is essentially an open collector BJT with a weak pullup (10 kohms or so).

    USB, however, WAS designed to power devices in addition to moving data, so it will be guaranteed to be able to source more power than serial or parallel.
    Last edited by Cat; 07-08-2003 at 10:31 PM.

  7. #7
    That means I won't have enough juice from Parallel or Serial. I'm planning on experimenting with various devices. Once I get basic stuff down, I plan on buying some silicon and saudering stuff and making me a simple device. I don't know what yet.

  8. #8
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    If you want to work on various devices, I recommend you pick up a book on embedded systems. Programming and Customizing PICMicro Microcontrollers, by Myke Predko, is a good one. There's a printed circuitboard that comes with the book that will let you use a parallel port to program many PICMicros, including all mentioned in the book. You need to buy and solder components onto the board (components are reasonably cheap, be sure to look at his website for a revised bill of materials).

    I'd also recommend becoming familiar with soldering before you attempt it, and also get a decent soldering iron. A temperature-controlled soldering station that keeps the tip at about 750 F is a good buy; Radio Shack has a decent unit for $50-$65 or so that fits the bill (digital temperature controlled station), but be warned, the only size tip available is too big for really tiny soldering (like surface mount parts). Weller is probably the most well-known brand, but you pay about double for the ability to buy many different sizes and shapes of tips.

    Be warned, if you have poor tools, you're very liable to damage the PCB that comes with the book I mentioned. I am quite experienced at soldering, but I was using a bad iron and ripped a pad clean off the board.

    If you want practice, go to radio shack, pick up an empty PCB with copper pads on one side, and pick up some DIP sockets and a solder sucker and solder wick. Practice putting the sockets on the board and removing them.

    Surface mount soldering is actually quite easy, once you get the hang of it.

    Also, don't go and try to steal port power from the get-go. Just buy an AC adapter or "borrow" one from something else. I have a single 15V/500mA one that I use for most things. You can use 5V regulators to get +5 from anything higher, although be careful you get regulators rated for the work you plan to do. You could just get a decent 6V supply, and regulate that to 5V, which will help you in 90% of cases. EEPROM programming, though, often needs +12V so be forewarned you often need to power with +15.
    Last edited by Cat; 07-08-2003 at 11:09 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM
  4. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM
  5. Port Power (almost finished now)
    By SavesTheDay in forum C Programming
    Replies: 1
    Last Post: 02-16-2002, 01:21 AM