Code Monkey home page Code Monkey logo

asusc201-usb-wifi-from-webcam's Introduction

AsusC201-usb-wifi-from-webcam

Why

  • Add a usb wifi dongle without losing a usb port, or dealing with a dongle plugged in all the time
  • Replace the useless webcam with usb wifi that respects your freedom (ath9k_htc)

Requirements

Instructions

Opened up the c201 following this guide until you have the frame around the lcd removed: https://www.ifixit.com/Guide/Asus+Chromebook+C201+LCD+Screen+Replacement/60771 Unplug and pry out the glued in webcam module.

Peeling away the adhesive, you can see the designers printed the pinout on the module!

Well, sort of.

Using the test pads behind a piece of tape near the connector I found the pinout to be:

  • Pin 1: Black: 3v3
  • Pin 2: Red: D-
  • Pin 3: Brown: D+
  • Pin 4: Orange: GND
  • Pin 5: Purple: GND

and the rest are unconnected.

When I originally did this project, I had used the 3.3v red wire to power the usb dongle. I have since realized this was a bad choice as I believe the dongle was resetting due to a lack of power.

I found a good source of 5v on the usb board, and ran a wire so that it would avoid pushing up the heatsink which still allowing the topcase to be reinstalled correctly and without any buldging.

For pictures of how the 5v wire was ran under the cover look below at antenna upgrade.

So now, I chopped off the webcam connector and soldered Red, Brown, and Orange to a spare usb port and tested it out with a flash drive I don't care about:

It works!

Now to find a place to stuff the guts of the dongle.

The most space can be found under the "heatsink" / keyboard reinforcement right by where the battery wire run. The dongle I bought fit perfectly after taping the wires in a bundle(sorry for the blurry pics, clearer ones below)

Running the webcam cable back along the display cable, soldering it to the wifi dongle, and taping the wire down in places so it won't get pinched by the keycoard/topcase

Once I built the firmware and installed it, it worked perfectly.

Oh, and I left the now even more useless webcam with the chopped off connector plugged into it back where it belongs for safekeeping.

My Asus c201 now can run open source software from the BIOS (libreboot) to the OS (debian or devuan) to the wifi card. And no intel ME to do unknown things! ;)

Antenna Upgrade

When I went in to fix the power issue I also removed the small wifi dongles antennas and soldered on the antenna built into the lcd housing.

The antenna are the two bent metal pieces. I believe the larger one is the the main antenna while the smaller is the secondary.

From the little I know about antenna, there must be a feed or source and a ground. Using a multimeter, I found that the back through-hole connection of each antenna was likely the feed, so I desoldered the other ground connections and trimmed off the rest of the antenna

Now to prep the antenna cables. The cables are just small coax cables, meaning they have a core and a sheath where the core connects to the feed and the sheath connects to ground. This is most apparent on the black cable:

As these cables are very very small and have two layers they are very difficult to strip, so be careful.

It seems that usually the white cable is the main antenna and the black is secondary so I soldered them accordingly.

I had to run a short piece of wire from the ground trace on the usb connector as the leftover ground pads from the antenna were very small and hard to solder to.

As for cable management, its a bit easier than before as the wifi dongle is now thinner without the metal antenna. I ran the 5v power wire along side the batter and battery wires, so that it sits below the heatsink.

With the topcase/keyboard back on it looks just like a stock c201, despite being a little ugly on the inside

If you want a distribution of GNU/Linux that respects your freedom, and is made to support the c201 specifically check out my other project https://github.com/SolidHal/PrawnOS

Firmware build instructions: https://wiki.debian.org/ath9k_htc/open_firmware

Hackaday project with similar webcam: https://hackaday.io/project/3400-toshiba-8071a2gb-webcam-module

asusc201-usb-wifi-from-webcam's People

Contributors

solidhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

asusc201-usb-wifi-from-webcam's Issues

Alternate Cable Coloring

First, appreciate the tutorial!

I am assuming there are different revisions, or at least different cable types used for the Webcam. When taking apart mine, I found seemingly thinner wires with different colors, as well as yellow and green being a twisted pair.

Here is the conversion, as well as some pics for reference:

Pin 1 = Black -> Purple [3.3v]
Pin 2 = Red -> Green [Data -]
Pin 3 = Brown -> Yellow [Data +]
Pin 4 = Orange -> Black [Ground]
Pin 5 = Purple -> White [Ground]
Pin 6 = Yellow -> Brown [No Connect]
Pin 7 = Green -> Red [No Connect]
Pin 8 = Blue -> Grey [No Connect]

20220328_224118

20220328_222808

Question about the antenna

Hello, thanks for your tutorial.
I have a question about the antenna; aren't the antennas the white cable and the black cable? (maybe it's connected to the bluetooth soldered card).
I want to install this usb key into the laptop (that's some ebay atheros wifi key, don't have much money to pay for the 44$ thinkpenguin wifi key):
pic
Would I be able to disconnect the white and black cable, and connect one of the two to this wifi key without using the silver cable?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.