PIC USB Programmer


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Theory

    Once connected, all USB devices must identify themselves to the host. This is called “enumeration.” In the identification process, the host determines the power needs of the USB devices and allows or denies the device to increase its load from 100-mA maximum to 500-mA maximum.


    Theory vs. Reality

    USB ports do not limit current. Although the USB spec provides details about how much current a USB port must supply, there are mile-wide limits on how much it might supply. Though the upper limit specifies that the current never exceed 5 A, a wise designer shouldn't rely on that. In any case, a USB port can never be counted on to limit its output current to 500 mA, or any amount near that. In fact, output current from a port often exceeds several amperes since multiport systems (such as PCs) frequently have only one protection device for all ports in the system. The protection device is set above the total power rating of all the ports. Therefore, a 4-port system may supply more than 2 A from one port if the other ports are not loaded. Furthermore, while some PCs use 10% to 20% accurate IC-based protection, others use less accurate polyfuses (fuses that reset themselves) that will not trip until the load is 100% or more above the rating.

    USB ports rarely, if ever, turn off power. The USB spec isn't specific about this, but it's sometimes believed that USB power may be disconnected as a result of failed enumeration, or other software or firmware problems. In actual practice, no USB host shuts off USB power for anything other than an electrical fault (such as a short). Most notebook and mother-board makers are unwilling to pay for fault protection, let alone smart power switching. So no matter what dialog takes place between a USB peripheral and host, 5 V (at either 500 mA or 100 mA, or even maybe 2 A or more) will be available. This is born out by the appearance in the market of USB-powered reading lights, coffee mug warmers, and other items that have no communication capability. They may not be “compliant,” but they function.

    Source:
    http://powerelectronics.com/mag/powe...attery_faster/

    For the pdf version of the article, including diagrams:
    http://powerelectronics.com/ar/Maxim.pdf
    Last edited by Luciano; - 18th March 2005 at 15:15.

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    PICMAN.

    Luciano has already given a good description of USB.

    There is one thing I would like to point out.

    Regardless what type of Laptop you are planning to use,

    it will provide a voltage of 5V at the USB port,
    (no less, no more)

    the only difference will be in current the port can provide.

    minimum usually is about 100mA, standard is about 500mA. Some ports provide even more.

    My experience is the PIC-MCP-USB runs even off a 100mA port.
    Last edited by NavMicroSystems; - 18th March 2005 at 23:39.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    PICMAN's Avatar
    PICMAN Guest


    Did you find this post helpful? Yes | No

    Default

    wow thnx guys, thats what i needed to know, ( and more so i undestand the conecept now ) ty vm

  4. #4
    PIC-User's Avatar
    PIC-User Guest


    Did you find this post helpful? Yes | No

    Smile

    Hi guys, if you are looking for a cheap PIC programmer, you can visit here: http://www.etekronics.com/product_in...a483e51450b518
    This programmer seems a modified version of K149.

  5. #5
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PIC-User
    Hi guys, if you are looking for a cheap PIC programmer, you can visit here: http://www.etekronics.com/product_in...a483e51450b518
    This programmer seems a modified version of K149.
    It uses the USB Port as the power source but works through the serial port of the PC.
    The programmer will work only if the computer has a serial port AND a USB port.
    (The original post was "PIC USB Programmer").

    Luciano

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. USB programmer for PIC
    By amindzo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd September 2008, 14:16
  3. Programmer for USB PIC devices
    By Doormatt in forum USB
    Replies: 1
    Last Post: - 29th August 2006, 11:47
  4. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts