logo elektroda
logo elektroda
X
logo elektroda

USB Cable Colors - Identifying Positive (+) and Negative (-) for A4 Mouse Cable DIY Lamp Project

shadow1578 81985 17
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 9434255
    shadow1578
    Level 10  
    Hello. I don't know if I positioned the topic correctly, but well.

    I have a USB cable from the A4 mouse something like that (I don't know the model because I already threw it away). Well, I want to make a USB lamp, but I have a problem with the cables inside the USB. There are small cables of such colors: blue, green copper, green - copper and blue - copper. Which of them is + and which is -?
  • ADVERTISEMENT
  • #2 9434279
    ajpier
    Level 36  
    Measure yourself with a meter.
    USB Cable Colors - Identifying Positive (+) and Negative (-) for A4 Mouse Cable DIY Lamp Project
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #5 9434532
    shadow1578
    Level 10  
    Only I don't have any gauge or other miracles. And the Usb type is A. I don't know much about electronics and I just want to make a laptop lamp to illuminate the keyboard in the evening ...
  • #6 9434630
    Elektronik9
    Level 30  
    You can buy such a lamp ready, for example on the Allegro. The USB has a 5V power supply and has a current efficiency of 500mA from what I remember.
  • ADVERTISEMENT
  • #7 9434645
    lekto
    Level 35  
    it has a minimum of 500mA, I was pulling over 1A but that depends on the motherboard.
  • #8 9434675
    Elektronik9
    Level 30  
    1A to FireWire (IEEE 1394) nominally had. No. USB has a separate power supply so it's true, it depends on the mobo. But 500mA will run smoothly from USB.
  • #9 9434967
    shadow1578
    Level 10  
    So about these cables: where can + and where - be?
  • #10 9435029
    MarekPPN
    Level 35  
    You have 4 wires in the USB cable:
    - live red is +,
    - black vein is -,
    - the rest is transfer.

    USB 2.0 500mA, USB 3.0 900mA. Both 5V.
  • #11 9435089
    shadow1578
    Level 10  
    Well, but he writes that I have 5 veins: blue, green, green - copper, blue - copper and copper. Well, my question is: Which is + and which is -.
  • #12 9435096
    Elektronik9
    Level 30  
    Some USB connectors (mini-USB, etc.) have 5 pins (including wires). Four perform the primary function (power supply, ground and 2 differential signal cables), and the fifth is largely unused.
  • #14 9435161
    MarekPPN
    Level 35  
    Since you do not have a meter, you will not check it.
  • #15 9435163
    jankolo
    Rest in Peace
    shadow1578 wrote:
    Only I don't have any gauge or other miracles.

    Then buy it, borrow it or go to someone who has such a miracle.

    shadow1578 wrote:
    I do not know anything about electronics and I just want to make a laptop lamp to illuminate the keyboard in the evening ...

    I repeat the suggestion above: go to someone who has a gauge and an idea of what he will be doing. I warn you: you will damage your equipment. By the way: can you solder?
  • #16 9435271
    shadow1578
    Level 10  
    jankolo wrote:
    I warn you: you will damage your equipment.


    By the way: what should I damage myself? I only work on the cable.

    jankolo wrote:
    By the way: can you solder?


    Yes I can.
  • Helpful post
    #17 9435689
    wlw_wl
    Level 38  
    Take the LED, solder a 1k? resistor to it and connect it to two cables in various combinations, when it lights up, you found + and -
  • #18 9435939
    jankolo
    Rest in Peace
    All the necessary answers have already been given. I close the topic.

Topic summary

The discussion revolves around identifying the positive (+) and negative (-) wires in a USB cable from an A4 mouse for a DIY lamp project. The user is uncertain about the color coding of the wires, which include blue, green, copper, and variations thereof. Responses suggest using a multimeter for accurate identification, but alternatives are provided for those without tools, such as connecting an LED with a resistor to test combinations until the correct polarity is found. The standard color coding for USB cables is mentioned, with red typically representing + and black representing -. However, the user notes the presence of five wires, leading to confusion about their functions. The conversation emphasizes caution to avoid damaging equipment during the DIY process.
Summary generated by the language model.
ADVERTISEMENT