Salvage USB Gear From Discarded Laptops

21,774

214

14

Introduction: Salvage USB Gear From Discarded Laptops

About: I'm a prototype developer, and I make VERY SERIOUS videos about making stuff! Every Monday, I show you a new project, teach you some fun facts, or pull back the curtain of product development.

Walk around on any bulk-pickup day and you'll see lots of laptops free for the taking. What you might not see is that many of their peripherals are connected internally with USB, and are totally compatible with your PC's, RasPi's, and other SBC's.

If you know what to look for, you can salvage lots of Bluetooth modules, WiFi cards, cell modems, and more, as good as you can buy at an electronics store, and totally gratis! It's also a chance to take the electronics to a recycling center so that lead and lithium stay out of the dump.

I'll demonstrate by salvaging a USB webcam from an old HP laptop and setting it up on my Mac.

Step 1: Equip Yourself, and Salvage Something!

You won't need much for this Instructable - it's pretty straightforward.

  • A fairly recent discarded laptop. Derp! As long as the laptop was made in the last seven or eight years, its accessories should be about as good as you can buy. The accessory market doesn't change much.
  • A decent screwdriver set. I like my iFixit toolkit. Make sure you have Torx Security bits, since they turn so many types of "proprietary" screws.
  • A soldering iron. Not too hot - these wires are quite fine.
  • Wire strippers. The adjustable kind are best, since these wires are REALLY fine. My 30-gauge stripper was too big to strip this webcam's wires.
  • Adafruit USB male shell or salvaged male USB plug.
  • Hot glue if you're using a USB shell, like I did
  • Heatshrink if you're using a salvaged male plug.

Now for the fun part, crack open the case and get to that motherboard. There are way too many screws on a motherboard, and many of them are hidden under labels and rubber feet.

Find an accessory that's internally connected with USB. Look for wire harnesses that have multiples of four or five wires, one each black, white, green, and red. The fifth wire, if it's there, doesn't usually have insulation.

A laptop's internal USB accessories are usually socketed near each other, or near external USB ports. USB signals don't travel very far on circuit boards.

Carefully remove the accessory, taking care to keep its wires intact. If the accessory is attached to the case with double-stick tape, be careful not to bend the circuit board while removing it.

Why would they bother color-coding accessories inside a device? The same modules are often repackaged and sold as consumer products. That's why they're so easy to repurpose!

When you're done salvaging, throw out the plastic and metal parts of the frame and bring the unsalvaged electronics to a recycling center. Don't throw electronics in the garbage or single-stream recycling! There's a lot of precious, toxic and conflict metals in there!

Step 2: Mount a USB Port

Tin the USB Shell pins by holding a hot soldering iron against them for a second or two and applying a drop of solder.

Cut the header plug off the USB accessory and carefully strip its wires about 1/8". Be careful not to accidentally cut off some wire strands!

Twist each wire and coat it with a drop of solder.

One at a time, press a wire into the corresponding pin and touch with a hot soldering iron to press them into the pin. Allow generous time to cool. Use my picture above as a guide to which pins connect to which wires.

Use a dab of hot glue to stick the USB Shell to one side of its enclosure.

Skip ahead to the next step and test the device.

When you're certain it works, fill the enclosure with hot glue all the way to the end and press on the other half of the enclosure. The hot glue provides strain relief so the tiny wires are less likely to break or get pulled loose.

I used an Adafruit USB Shell because I don't have good luck splicing tiny little wires like these. If you're feeling extra-thrifty, salvage a male USB plug and splice each wire to its matching color. Put heatshrink on each wire, and extra shrink over the joint. These little wires aren't designed to be jostled and will easily break off.

Step 3: Find Drivers and Test

Many devices like card readers will work perfectly without drivers, and many can use 'universal' drivers available online or built into the OS. This webcam needed some drivers to work on my Mac.

Now for the moment of truth - connect the device to a USB plug and pray. If you're lucky, it'll "just work" and you can use it immediately in a compatible app. If you're extremely unlucky, and you mixed up wires or the device isn't USB, it could heat up and release the magic smoke. The device is probably ruined, but at least it was free!

If your target OS matches the original OS of the device (if you salvaged from a Windows machine and are installing on a Windows machine) you can usually find drivers on the manufacturer's Web site. Search for the donor laptop's manufacturer, model number, accessory type, and "drivers". For example, searching for "HP 5760 webcam drivers" did return a download. These drivers almost always work on machines with the same OS, made by different manufacturers. Don't download "official" drivers outside the manufacturer's site - they're common bait for scammers and virus writers.

If nothing comes up, you'll need to get creative. Connect the device and use System Information (OSX), Device Manager (Windows), or lsusb (Linux) to identify the device. Many devices have VID's and PID's built in that the OS uses to identify the device, and you can use them as search terms to find drivers.

Sometimes, the VID's and PID's are too esoteric, or the manufacturer was too cheap to buy a pair, and this fails. Time to do it the hard way. Scour the device for marks that can identify the manufacturer or model number.

This USB webcam immediately enumerated on my MacBook Pro and appeared in FaceTime and stuff, but it didn't work. I had to install the Macam universal drivers before I got any video.

You'll often find that the quality of these devices is extremely good, often better than what you can buy in a store. Manufacturers banked on these accessories to get people to buy their computers - and now that the computers are trash, you can get them for free!

Another perk: Because these parts are designed to fit into slim laptops, they're much smaller than store-bought parts, great for tiny Raspberry Pi, BeagleBone, and Galileo projects!

Thanks for reading, and enjoy using yesterday's tech in tomorrow's projects, today!

Green Design Contest

Participated in the
Green Design Contest

Be the First to Share

    Recommendations

    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge

    14 Comments

    0
    Sugoi1234
    Sugoi1234

    2 years ago

    I had a hp laptop which had a camera and a dual mic on the same chip sort of thing and there were 6 wires and they were so thin . I didn't had any tools so I tried pulling of the plastic of the wires but didn't work so I just burned the plastic and tried all sort of combinations keeping in mind that I can smoke something up I constantly touched the ic on the board to see if it was hot and so I did it the camera works now .
    Too bad it's worse than my integrated laptop camera lol .
    Wondering if I can salvage the mic or possible the audio beats speakers that it had .

    0
    Gelfling6
    Gelfling6

    7 years ago

    Regarding steps on Step 3, same thing can be accomplished under Linux as with Mac-OSX. the LSUSB function ( http://linux.die.net/man/8/lsusb for the entire Man Page) is great for tracking down the device's port, device name/manufacturer, type, class, etc.. ) With the stack I just salvaged, I'm going to be Plenty Busy!

    0
    Gelfling6
    Gelfling6

    7 years ago

    Regarding steps on Step 3, same thing can be accomplished under Linux as with Mac-OSX. the LSUSB function ( http://linux.die.net/man/8/lsusb for the entire Man Page) is great for tracking down the device's port, device name/manufacturer, type, class, etc.. ) With the stack I just salvaged, I'm going to be Plenty Busy!

    0
    Gabse
    Gabse

    8 years ago

    I dit the same a jear ago, but my wabcam worced with 3.9v, so i ad a 3.3v regulator

    temp_75398506.jpg
    0
    Gelfling6
    Gelfling6

    Reply 7 years ago

    As I just mentioned a few times above, I'm running into the fact that a lot of the devices are indeed 3.3V USB.. There was a note out on the net, with the Broadcom BCM92045 BlueTooth modules I scavenged, the main supply voltage is 3.3V, and the wiring diagram I ran across, showed a 3.3V regulator in-line with the +5V from the USB cord... So, I imagine, something like a LT1086-3.3 regulator inline (+5V input, 3.3V output, & GND) would be well in order.

    0
    ironsmiter
    ironsmiter

    8 years ago on Introduction

    dont forget multi-function printers too. many of them use usb for the wifi, card readers, and even found one(newer hp) with a slim-dvd-R using an ide-usb adapter. sure, it was DESIGNED to burn images onto light scribe discs, but once pulled, it turned out to be an ordinary dvd burner.
    if you get REAL lucky, they will even have the usb hub on its oWn circuit board,so you only have to modify one wire harness (hub-to- usb + power).

    0
    Gelfling6
    Gelfling6

    Reply 7 years ago

    I ran into one many months ago like that. The WiFi module was under a panel near the top, under the top cover.. It had BOTH a 5-Pin USB and a 6-pin gang connector.. I never got to really tinker with it, and alas, lost when I had to move, and discard a LOT of stuff. (Insert Unhappy Camper here..) I wonder how much it would've taken to get it talking under Linux?

    0
    SugarCluster
    SugarCluster

    8 years ago on Introduction

    Hey,that webcam looks friendly. Is it from a Samsung Netbook?

    If it is,please give me pinouts. I am stuck with this stringy wires that this thing uses.

    I can't risk getting another one or popping this due to incorrect wiring.

    It uses ViMicro VC0343TLNBA and ST Semiconductor K836P.

    0
    Gelfling6
    Gelfling6

    Reply 7 years ago

    I'm running into similar things in a stack of discarded HP laptops I recently scavenged. Only mine are 2-piece assembly (lens, CCD on a module, connected to a flat ribbon, which goes down to a daughter board mid-point of the case cover, and the daughter board is connected through a 6-8 wire cluster to the motherboard.) Surprisingly, You MIGHT find the camera assembly online.. I just found the broadcom Bluetooth modules I pulled from the HP's, and they appear to be USB, but 3.3V main power. I wouldn't be surprised of the Webcams are too, and simple to decipher..

    0
    zackfreedman
    zackfreedman

    Reply 8 years ago on Introduction

    The webcam is an inanimate object. If I had to anthropomorphize it, I'd say it's actually a bit of a jerk.

    As I said in the Instructable, it's from an HP laptop.
    As I said in the Instructable, it's USB and has the standard USB color coding.
    As I said in the Instructable, you'll need a flux pen and high-quality wire stripper to work with the fine wires.

    0
    Gelfling6
    Gelfling6

    7 years ago

    I just pulled a good 13 HP laptops out of the local scrap yard electronics bin. Various states of disassembly, but Enough parts to put at least one together. I now have about 8 Broadcom BCM92045 Bluetooth modules, (According to several sources, appear to be 3.3V USB, Plus additional pins) 8 Webcams (this is gonna be fun! lens assembly at the end of a "L"-shaped strip, which plugs into a mid-point daughter board, before going to the main board.), and quite a few LCD screens in Top notch shape (a few, however, Soaking Wet. What the hell did they do? leave them out in the rain?).. With CCFL (Cold Cathode Florescent Light, uses a inverter.) back lights (DARN! Was hoping one 15" display was LED backlight. I have friend who's daughter accidentally smashed her screen trying to close it on a pair of ear buds.) (Incidentally, Finding quite a few LCD screens have a generic main Video connector, But the ones which differ, are the LED & CCFL back lighted.. The CCFL all seem to function, but the soaked screens, aren't working right at all.. (not sure they'll dry that easily, may end-up scrapping them.) Also, just recently activated a 17" CCFL backlight panel from out of a smashed iMac.. Minus the physical LCD, the whole backlight is like a Light box the doctors use to review X-Rays. (makes for a great reading light in a bunk bed. Needs a +12V main supply, and +3.3V logic supply to turn on, and maintain brightness. Next step, testing the input side of the inverter transformer, and seeing if I can rig-up a oscillator to feed it.) REguarding the cameras, I'm finding a LOT of small cameras like these have a similar design connector on the 'daughter board' (above mentioned, the middle board between the flat ribbon, and the wiring to the main board. they have a similar snap-fit connector on the 'lens' side.. that mates to the daughter board. I wonder if the camera would work with a Raspberry Pi Camera board in place of the Lens/CCD assembly?

    Well written and very insightful instructable!!!

    0
    efahrenholz
    efahrenholz

    8 years ago

    This is quite insightful. I would be willing to bet many if not most of the internal devices are USB based. Check your USB device list under the device manager in windows for clues. The connections are going to be the primary brick wall; flexible ribbon connectors, fine gauge wires going to molex connectors, etc. If the device has a hard PCB, you should be able to remove the original wiring harness and use an off the shelf USB extension cable. Just remove the female end and solder the wires to the board.

    If you had a 3D printer, you could even take this a step further!