Printing
These models print without supports. There are multiple possible print orientations, I have printed them in the stl orientation. The perpendicular layer orientation between the pivot and cam mount files help with friction to secure the position in the y axis (or so I would like to believe).
For the mount parts I use 2 walls and 15-20% infill. For the pins you may need to slow down the first layer, I use 3 walls and 20% infill (does not really matter that much).
The fit should be tight between pins and mount parts but you shouldn't need tools (vice,clamps etc) to put them together. If it feels too tight it will probably twist and, eventually, shear the pin.
The size of these works in my printer but if you encounter problems scale the pins in x and y in increments of 2 percent. If too loose you can also shim the pins in the designed slot to avoid printing more.
With my settings all parts take about an hour and 10 grams of fillament to print.
Bill of Materials
- Laptop webcam
- * Usb cable (if salvaging your own webcam)
- Twist ties / cable ties to secure the camera module
- The camera mount parts
- ** 1 x M4 bolt and nut for the y axis, 1 x M5 bolt and ptfe tape for the x axis
OR - The xPin and yPin printed parts
- ** 1 x M4 bolt and nut for the y axis, 1 x M5 bolt and ptfe tape for the x axis
Tools
- ** Screw driver and ptfe tape (if using bolts)
- * Soldering iron, solder and flux (if salvaging your own webcam)
Cameras and Wiring
These cameras are widely available, inexpensive to source, compact and easy to use since are basically USB 2 devices (at least the ones I have come across). You can find them in most online stores from china by searching “laptop camera module”, “camera module pcb usb” or similar. However reusing one from an old laptop would be the cheapest (and imo the most satisfying) option.
If you buy yours, some come with a usb connector but there are some notes on wiring them below. I am not an expert, i just tinker so take most/all with a grain of salt and cross reference. There are many posts and videos online outling this specifically.
First of the connector may be labeled on the board so check for that first, secondly you may find wiring diagrams if you google the part number of the webcam. If none of those apply investigation is in order.
Depending on the webcam module I have found that there may be from 4 to 8 wires in the connector. The USB interface of the camera uses 2 data wires and 2 for power. There may be a second ground that is a shield ground (ie wired to the metal of the usb connector). If there are more than 5 wires your camera probably also has a microphone on it.
(The microphones I have come across are analog (so not usb) and they use 2 or 3 wires, one for signal, one for ground and maybe a third for bias. I will ignore the mic wiring. )
The 4 wires making up the USB are basically all that is necessary. Of those the 2 power lines are the critical ones. Once you figure those to out you can safely try the two combination of the data lines untill your webcam is detected.
To figure out the usb for the camera some possibly helpful tips:
- the data pin wires may be twisted together in the original wiring
- the ground pins will have continuity with one side of any capacitor on the board or any big areas of pad that are visible
- leds on the board should be connected (maybe through a resistor) to the positive voltage line
- any chips on the board with writing on them could have available datasheets online that could help.
Be aware that if your camera module is 3.3v instead of 5 you would need to use a linear/switching regulator (or other means) to step down the 5v off of the USB. The camera could work with 5v but and flash chips or other parts on the module may get excessively hot and reduce the lifespan.
Putting it together
There is not much to construction. If you use bolts as your pins I use teflon with the M5 in the original files, you could reduce the diameter and rely on friction easily enough I just dialed the printed version in for my printer.
Dimensions
The camera mount holes are 3.5mm in diameter and spaced on a 9.8x29mm rectangle.
The mount holes for the base are 3mm in diameter and spaced on a 11x25mm rectangle.
Total maximum footprint of the mount (allowing for swivel in every direction) without a camera module should be 41x34x40 mm (xyz with x per(allowing for swivel in every direction)pendicular to the a large dimension of the base mount rectangle and y facing out of the mounting holes)
Tags
Model Source
