energyi
Posts: 79
Joined: Tue Mar 24, 2015 9:39 pm

Webcam for less than $10 including the Zero W

Sat Oct 13, 2018 10:45 pm

Recently picked up a salvaged laptop usb webcam from ebay for less than $3.20 including shipping. It is shorter than a raspberry pi zero, and has stereo analog microphones wires (not used yet). Luckily, on the back of the webcam board there was an indication for the pinouts.

Using a $5 Rpi Zero W from Microcenter, physically soldered the tiny webcam wires to the Zero: 3 V black to pin 1 on GPIO, ground to pin 6, D+ to PP22 pad next to the microusb and D- to PP23 usb pad. This wasn't easy and I made a mess of the usb pads, but it works!

After having set up a micro sd card to run headless with VNC using a Rpi3 and installing that micro sd in the Zero and booting the Zero, I used this guide to set up the video software: https://tutorials-raspberrypi.com/raspb ... eam-setup/

At video resolution of 1280X720 10 frames per second the processor usage was 100% so I changed to 1024X768 and 5 frames per second. Installed sysstat and ran mpstat but processor was still showing 96% usage. vcgencmd measure_temp showed 58.4 C, hotter than I am used to but probably ok.

I like the Rpi Camera board and purchased the expensive ribbon cable to connect to the Zero, but this salvaged laptop webcam scenario has some merit coming in for less than $10 at a respectable resolution. It is extremely thin and light. Easily fitting into a tick tack box without the ribbon cable challenges.

I think bringing the analog microphones into the Zero would require a HAT, but please let me know if anyone has ideas on using the GPIO pins or other Zero available inputs. Thanks.

Anyone think this would work for an inexpensive internet video front door bell if fitted with a speaker?

energyi
(sorry, not seeing option to upload photos)
energyi

energyi
Posts: 79
Joined: Tue Mar 24, 2015 9:39 pm

Re: Webcam for less than $10 including the Zero W

Thu Oct 18, 2018 10:04 pm

Pictures posted on this wordpress article: https://ideas2energy.wordpress.com/2018 ... ve-webcam/
Hope this continues to help.
energyi

HermannSW
Posts: 829
Joined: Fri Jul 22, 2016 9:09 pm

Re: Webcam for less than $10 including the Zero W

Mon Oct 22, 2018 9:08 pm

You can click "Img" and provide URL to image that you will have to post somewhere else.

You can get v1 camera with free shipping for 4.50$ including needed cable for ZeroW:
https://www.aliexpress.com/wholesale?is ... roupsort=1

Besides 5MP v1 Raspberry camera allows for 90fps 640x480 video as well as 640x128_s video at 665fps!
The camera can be mounted into two of the Pi ZeroW corner holes, see bottom of photo:
viewtopic.php?f=43&t=193722#p1217930
Image
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/fork-raspiraw      https://github.com/Hermann-SW/userland
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone      https://twitter.com/HermannSW

energyi
Posts: 79
Joined: Tue Mar 24, 2015 9:39 pm

Re: Webcam for less than $10 including the Zero W

Mon Oct 22, 2018 9:53 pm

Thanks. Didn't know V1 prices were so low. And that it does ultra slowmo at low res.

energyi
energyi

HermannSW
Posts: 829
Joined: Fri Jul 22, 2016 9:09 pm

Re: Webcam for less than $10 including the Zero W

Tue Oct 23, 2018 9:22 am

energyi wrote:
Mon Oct 22, 2018 9:53 pm
Thanks. Didn't know V1 prices were so low. And that it does ultra slowmo at low res.
v2 camera is more expensive (25$), but can do double the framerate of v1 for same #lines captured (up to 1007fps):
Image

viewtopic.php?f=43&t=212518#p1320034
Image
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/fork-raspiraw      https://github.com/Hermann-SW/userland
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone      https://twitter.com/HermannSW

Return to “General discussion”