We're excited and proud to launch Thingiverse Apps. Learn More about what this means to you.
This is a fully functional M12 lens mount for PS3Eye cameras.
The PS3Eye camera has become very popular in the multi-touch community for it's fast framerate, low-cost and high hackability. Any time you want need a decent, cheap infrared camera for computer-vision projects, the PS3Eye is a good place to start! For example, I'm using it for eye-tracking in my Eyewriter 2.1 project, and a pair of them are at the heart of the fancy new Duo finger-tracking system!
For a long time, if you wanted to hack a PS3Eye camera you needed to buy all of the parts from suppliers on the web, which gets expensive and tedious pretty quickly.
You still have to buy lenses and filters, but you can save yourself a little bit of cash by printing your own M12 lens mount! This mount is specifically designed for the PS3Eye camera's hole spacing and physical dimensions, but I've included the OpenSCAD file used to generate the mount so you can hack it for other board systems.
There is surprisingly little slop in the thread; it holds the M12 lens really nice and tight
About the OpenSCAD script
I generated the 3D model for the mount using OpenSCAD, and I've tried to make things as parametric as I could. It relies on MCAD's unit's library, as well as aubenc's sweet "Poor man's openscad screw library". Both are included in the downloads for this Thing, but must be put in a sub-folder called "lib".
You can read more about the development process for this part on my blog at: http://jason-webb.info/2013/05/fully-functional-3d-printed-m12-lens-mount-for-ps3eye-camera-hacking/
Print the M12 mount
Download the STL included and slice it up with the following settings in your favorite program:
Attach the mount to your camera board
You will need two #000-120 "Micro Phillips" screws. Ideally you should grab some self-tapping ("boss") screws, but they are hard to source on the web. McMaster-Carr carries a 10 pack of the required screws, part number 92482A147.
I've heard that you can also attach the mount using hot glue, but I can't vouch for this. It sounds like a great, cheap option, but I'm unsure of how long it'd last and whether it would damage the board.
M12 lens mount for PS3Eye camera hacking by jasonwebb is licensed under the Attribution - Non-Commercial - Share Alike license.
So what's this mean?
We're sure jasonwebb would love to see what you've printed - take a photo and share it on Thingiverse as a Make.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. You can also download the Thingiverse Mobile app (available via Google Play and Apple App Store) to take a photo and upload your Make right from the app!