Giter Site home page Giter Site logo

pisight's People

Contributors

gigawatts avatar htreu avatar maxbbraun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pisight's Issues

Camera Module V2.1

Has anyone used this camera model for their pisight project?

I am going to start mine and I'm wondering if there is any major difference between this one and the one reported in the README

Looking for sources for the m2 and m2.6 screws

Ordering from McMaster-Carr for delivery to Canada ends up being an eye-watering $70. Having a hard time justifying for the 6 screws and 1 o-ring actually required for the build.

Has anyone had luck with another source?

Field of view issues

Hi Max!

Awesome project mate. I've bought a second-hand iSight and I'm in the throes of recreating this setup for myself. One question though: why did you switch down to 720p?

I used Dave's original 1080 setup and I noticed that the field of view was quiet a lot narrower than expected. Is this related? I haven't actually gotten your fork working yet, so I'm yet to compare the pair.

Many thanks.

Sam

Camera only works when MacBook Pro lid is opened

I built a PiSight that works great when the lid of my MacBook Pro is opened. However, as soon as I close the lid, the camera shuts off – just like the internal FaceTime camera. I went into the System Report, and it appears the PiSight and FaceTime camera have the same VendorID (1452). Because of that, I'm wondering if macOS thinks the PiSight is a FaceTime camera, and that's why it behaves like one?

Is it possible to change the VendorID of the camera, so that macOS doesn't (apparently) confuse it with being a FaceTime camera?

Script doesn't work with Raspberry pi zero 2 w

Hey Max. Big fan.

I'm working on this project and can only get my hands on a pi zero 2 w, rather than the original. Unfortunately when I use your script, the camera feed shows up for half a second, and then the camera becomes unresponsive. Unfortunately showmewebcam hasn't yet added support for zero 2 w. I wonder if you have any ideas?

Completed Build

Not sure where to put feedback/comments. Maybe a feedback section in the wiki?

Overview

On balance, this went well. I'd recommend purchasing at least 2x the number of ribbon cables you anticipate since they're extremely easy to puncture when working the excess into the case-area recess. Further, I think V2 of the model could do away with the strut supporting the upper ring on the (looking directly-on) left-hand side. There's enough flex in the print that without it you can easily slip the camera underneath. In terms of camera-module sizing, I found nail clippers work extremely well. I found a pair with a curved blade that allowed me to match the corner of the camera module PCB to the case housing.

Total time (including a re-order of camera module + ribbon cables after breakage) was 4 weeks from inception to completion.

Glamour Shots

IMG_4416
IMG_4417

FDM Printing?

I've bought a used iSight & have the Raspberry pi lying around, but I was curious if anyone has tried to print the enclosure with an FDM printer?
With a 0.2mm nozzle I'd think it would likely be possible, curious as I would prefer that than ordering a resin printed piece.

my Build with own USB Adapter .stl

thank you for this project, I finally finished this project after 4 months ;)

IMG_8632
IMG_8633
even with the LED (sadly not original anymore)

build diary

IMG_8571
printed

IMG_8575
had to slice here, a corner was in the way

IMG_8596
IMG_8597
original LED, somehow I killed it later, so I had to use a very big and "normal" LED that I had to hone down from both sides

IMG_8598
this is where the LED can be stored

IMG_8600
how to store the flex cable

IMG_8601
IMG_8602
IMG_8603
IMG_8605

IMG_8609
IMG_8610
alternative LED with 330 resistor (< you need this)

my used iSight camera had no firewire adapter anymore, so I modeled with blender my own for USB (in my case I used a micro usb to usb-c amazon basics cable, an amazon kindle usb cable worked here also, pretty standard size)

IMG_8626
IMG_8627
mark 1 without the support on both sides

IMG_8628
IMG_8629
mark 2 with supports to stabilize the camera

IMG_8630
done :) thank you for watching

here is the download for .stl and .blend file

pisight_usb_adapter.zip

Gray screen on MacBook 2010

Hi!
First congrats for your great project 👍

I built from scratch step by step PiSight project:

  1. flashed pi os image to my pi zero
  2. enabled camera & serial interfaces from raspi-config
  3. cloned your project and launched your bash script

Results:

  • on my old MacBook 2010 (High Sierra) cam stream shows a "gray" only screen in whereby or other videocall systems (Ms Teams crashes)
  • trying with Parallels in a debian based virtual machine camera stream perfectly works.

I thought Apple idVendor could have conflicts so I tried to change idVendor from Apple to another (for example TP-Link => 0x200, listed here https://usb-ids.gowdy.us/read/UD/) but with same result: on my Mac PiSight doesn't work.

Could you suggest me what i could check? Maybe some logs?

Anyway thanks again!
Lewix

Post-install image

Hey maxbbraun,

In what's probably a mistake in hindsight, I decided to save $5 on the Zero by not purchasing the Wifi version, forgetting that I lack the adapters to connect a monitor and keyboard to the Pi. This meant I had to jump through some hoops to get the Pi set up which don't seem to have worked...

By any chance, would you (or anybody else!) be able to supply an image of the operating image post-install? I've been unable to get the Pi to show up as a USB device - probably related to me running the installation script in a chroot.

Thanks a bunch!
j-james

Assembly difficulties

Can you share any photos or experiences from your assembly?

Assembly issues:

  1. I can't figure out how to install the camera module in the top of the print, even without the flex attached. It seems like the camera sensor housing is meant to slip through the gap in the ring, but the screw bosses interfere with components on the bottom of the camera board.
  2. Does your "Apple medallion" fit in place at the back? The camera flex appears to block it as it needs an extra bit of room to do a 90 degree bend.

Things that work well:

  1. The RPiZero fits in nicely and the screws hold it neatly in place.
  2. The Front lens assembly fits snugly into the camera ring and the iris actuates nicely.

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

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

Medium paywall?

Nice work in the project!

It's a shame the article pisight.camera points to is behind the Medium paywall. I had to use a Safari Private Window to read it.

New Dell webcam might be a perfect fit for PiSight

Dell just announced a new 4K webcam that is heavily inspired by the original iSight design. The good news is we may be able to fit this camera module inside of an iSight body. The bad news is the casing on the Dell webcam seems to be bigger than that of the iSight...

image

I've never really done any hardware hacks before. Is this a simple case of pulling out the Dell camera module and seeing it if fits inside the iSight tube? If It does I assume we'll need to also need to make sure there's enough room for a 3D printed frame like Max's original design so it fits snug.

Does anyone have any additional advice on how to go about this? I may try and pick one of these webcams up over the weekend and tinker around with it to verify if it fits.

Activity LED using the original iSight LED

Thanks for the excellent project. After getting a build working I've been playing around with adding an LED to show when the camera is active.

Showmewebcam handily switches GPIO 21 to HIGH when the camera is in-use so it's possible to put an LED in the place of the one that would have been on the original iSight.

All that's required is a 330ohm resistor and an LED. As seen in this test run:

IMG_7604

I pulled out the original LED from the iSight and carefully soldered two cables either side of the surface mount LED. I used some shrinkwrap to shield the connections from the case and used shrinkwrap with a hole punched in it to aim to get the light only going up into the small clear plastic diffuser. A small amount of rearwards leakage was fixed with some Aluminum tape on the body.

Here's the end result:

IMG_7605

Camera Module v3 support

The v3 Camera Module that was recently released looks like a potential upgrade opportunity. Has anyone attempted to use it yet?

MacBook Pro not detecting Raspberry Pi Zero W

Thank you so much for making this, I have always wanted to resurrect my iSight Camera!

I have started to order the parts for this project and I am at the point where I can start installing the software. I have both a Raspberry Pi Zero W and a Raspberry Pi Camera Module v2 (and a micro-sd card too). I also have the Anker Micro-USB cord too.

I started the software part of this project by installing Raspbian and followed the installation instructions via SSH over a Micro-USB Ethernet Adapter. I also connected it to my WiFi network too. After I finished all of the installation steps, I plugged it into my 2017 MacBook Pro 15" running MacOS Catalina (10.15.6). My MBP didn't detect it, even in a "System Report".

I have tried troubleshooting by doing the following:

  • Using the Anker Micro-USB cord with an Android Phone and my MBP. It worked.
  • Taking pictures with my Raspberry Pi Zero W over SSH.
  • Trying different Raspberry Pi Zero Ws.
  • Reinstalling the software on my Pis.
  • Different Micro-SD Cards

I am not sure how to proceed as I couldn't find anything online. This is my first Raspberry Pi Project so I am sorry if there is something obvious that I am missing.

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.