maxbbraun / pisight

Apple iSight with a Raspberry Pi inside
https://pisight.camera
MIT License
412 stars 20 forks source link

Build and modifications (pivot joint, model optimization for mSLA resin printers) #21

Open jil24 opened 2 years ago

jil24 commented 2 years ago

I initially had built this using the original plans, but found I could not reliably get the camera cable to bend enough to close the case without breaking the cable. Also, the original 3D geometry had extremely tight tolerances (hard to insert the camera board) and was very challenging to print on consumer grade mSLA resin printers like mine due to many unsupported overhangs. I also really wanted that nice pivot joint from the original iSight back. Starting from the original housing model, I modified the plans.

Changes

  1. Changed the Pi board’s position and orientation (slightly tilted) to make more room for cable routing and closing the rear end of the case.
  2. Split the housing into two pieces: the front end that holds the lens cover/cap is now separate and held on with screws. This makes it much easier to install the camera board.
  3. Added a pivoting hinge. This and the board position changes make the built-in micro-USB port inaccessible so i added a separate port to the bottom of the hinge joint and soldered its connections to the USB test pads on the Pi.
  4. Skeletonized much of the housing. It doesn’t need to be particularly strong since it's not handled much. I think this also might make it cheaper to print commercially, but I don’t know.

My Assembly Steps:

  1. Strip iSight for casing and original status LED

  2. Solder connection wires to LED, resistor, and Pi I/O pads #13

  3. Solder connection wires to micro-usb plug and test points on Pi. These connections will be pretty fragile. 31yZd1bcczS _AC_ IMG_6836

  4. Mount board in housing, screw in. Add micro SD card. Bend wires to position LED. Route micro-usb wires and plug down into pivoting connector.

  5. Snap in and screw down pivoting connector into main housing (M2x6mm screws): image image

  6. Mount camera board like in original plans

  7. Mount and screw in the lens cap mounting ring (M2 screws). This is fragile, do not overtighten. If the screw caps protrude too far over to the outside or inside of the ring, sand/file them down to flush. image

  8. Connect up camera board and Pi, gently fold excess cable. You will still need to bend the cable close to the Pi end almost 90 degrees. It’s best to do this while bracing the contacts between pages of a book or something to avoid damaging the contact surfaces, which don’t like bending. Only bend it once if possible and have extra camera cables on hand because I went through 3 camera cables before I got this to work.

  9. Test the camera, make sure everything works.

  10. Slide assembled housing into case. Add lens cap/cover with very gentle wiggling. I was not able to get the rear cover to snap on, so I used double sided foam tape to hold it on.

  11. Plug it in, wiggle the connector onto your choice of stand: image

STL files for the main housing, the lens cap mount, and the pivoting connector are attached. STLs.zip I sourced the micro-usb female plug here: https://www.amazon.com/dp/B01A6M86YI

image

maxbbraun commented 2 years ago

Very cool! Thank you for sharing.