Another fun project was to build a Pi webcam using some cheap, easy-to-find components. I used a Pi3 for this because it really has an effect on the quality of the video feed. My friend found a ton of PS3 cameras for sale at a local GameStop for about $3ea, and he gave one to me. I installed Raspbian OS and then installed Motion.
Motion is designed to capture photos or videos when the camera detects motion. I am not using it as a security camera in any way – I just occasionally like to see what my dog Shadow is up to! I decided not to have it capture any video or photos; it just acts as a live stream of the present moment.
Inside the network, the feed is very responsive, and all you have to do to access it is type the IP address and port # of the Pi into the address bar.
To access it from outside of the network, you have a few options: you can either manually set up Port Forwarding on your router, and have an open port at all times (which can be somewhat of a security vulnerability), or there is a second option. I chose to use a free service called Remot3.it to access it from outside of the network. It’s a more secure and elegant solution, in my opinion. The feed when you access it from outside the network isn’t as seamless as I would like…but we can’t have it all!
All-in-all, it was a fun little side project, for sure.