Saturday, May 17, 2014

Modifying a Logitech C310 webcam: Part II

In this post, I'm going to go over exactly how to prepare the C310 for use with the Oculus Rift.

This will be mostly picture driven, so if anything's unclear, leave a comment, and I'll try to fix it.

Start with a webcam, a small flathead screwdriver, and a small phillips head screwdriver.

Using the flathead, pry off the front faceplate

That's the microphone... try not to poke it too hard!

There are 3 screws on the front... remove them all

After the screws are removed, continue prying

Gently lift the front plate to reveal the circuitboard

There's the lens that we're interested in!
Removing the screws that hold the circuit board down...

...Make sure you get both!

Gently lift the board out. Be mindful of the wires and their connections.
The back of the board.

Pulling out this plug gives us a bit more slack to work with.

The lens and lens mount

The lens simply unscrews from the mount

That shiny bit is our sensor... don't let it get dusty!

This bit of glue on the lens keeps the camera in focus.

The C310's lens is not a standard size...
Since our new lens doesn't fit, we've got to replace the lens mount! Unscrew the two screws on the back.

The mount is glued down with a tacky glue. It's nervewracking pulling it off, but it's fine. Again, try not to let dust get on the sensor!

The fully exposed sensor.
Yeah, that's not happening.

So I designed and 3D printed my own mount

You can see the difference!

A perfect fit!
And reattached! I hope you saved the screws...

 Do this for both cams, and you're good to go!

Thursday, May 1, 2014

A wrench thrown into the plans...

Yesterday I sat down to test some new code on the Rift, and was met with disaster.

My screen was extremely unresponsive, had many graphical artifacts, and was extremely dim.

Here's a video of the glitches:

Fortunately, I spoke with Oculus Support, and they're going to replace it. Hopefully I can perfect the camera side of things in the meantime.