Introduction: Building a Raspberry Pi Zero PoV Wireless Camera

Picture of Building a Raspberry Pi Zero PoV Wireless Camera

This is one more project in the long list of projects that may not actually meet a need but was fun to build.

The "requirement" that this solution meets is to provide a wireless Point of View camera that can be used to photograph dioramas, model railroad layouts, or for Line of Sight previews when playing a tabletop game such as Flames of War.

The solution is a 3D Printed case that encloses a Raspberry Pi Zero that is attached to a Pi Camera. The Pi Camera is in a mount that can slide up and down a track to match a PoV elevation. The Pi supports a wireless dongle that can either attach to a network or provide one of its own (Adhoc or Otherwise). Power is supplied by a portable mini charger.

There are examples of each possible usage above. The first photo is showing a PoV looking down an N-Scale Drawbridge, the second two are showing a picture being taken of a small diorama, and the third is a representation of what a Flames of War usage might entail.

Models are here.

Step 1: The Bits

Picture of The Bits

See annotations on the image

Note on the camera.

By default the Pi Camera is fixed focus...but only by virtue of one little drop of glue. Removing that allows the camera to be focused to a much shorter focal length than default. You do risk ruining the camera so be careful! Here is a video instruction.

There is also a variable focus camera module available here but I have not tried one though I do have one on order. I am assuming that it will work and hoping that the board is the same form factor as the Pi Camera. If not I will include a mount for this camera in V2 of the models.

Step 2: Prepare a USB Power Adapter

Picture of Prepare a USB Power Adapter

I bought some USB plugs but you might be able to do what you need with a salvaged jack from an extra cable. You need to be careful with soldering given the plastic under the contacts. With my purchased plugs I was able to fold over tabs of metal and then I shrink wrapped the whole thing.

Step 3: Add Power to the Pi Zero

Picture of Add Power to the Pi Zero

Carefully solder another power cable to the GPIO pins of the Pi Zero. Use a small wire tie to secure the power wires to the PCB to avoid and accidental unplug or worse.

Step 4: Insert the Pi Zero

Picture of Insert the Pi Zero

Insert the Pi Zero into the case with the Camera Ribbon Cable attached and fed out the bottom. Slide the camera cable through the camera mount as shown. Also thread the power cable through the opening on the bottom of the case.

Step 5: Attach the Camera

Picture of Attach the Camera

Carefully attach the camera to the ribbon cable. Be very careful of static electricity as the Pi Camera is really sensitive.

Step 6: Finish Assembly

Picture of Finish Assembly

Finish up the assembly by plugging the Pi Zero into power, slide the camera module onto the track, and plug in the USB Wireless adapter.

Step 7: Configure the Software As Needed

Picture of Configure the Software As Needed

Software for the Pi Zero can be configured in a lot of different ways depending on your environment and needs. Here is a very brief overview of what I did to configure mine:

  1. Install the RPi image and then do a "sudo apt-get update" to make sure catalogs are all up to date.
  2. Run "raspi-config" to enable the camera and expand the root volume
  3. Install and customize "motion" to stream the images
  4. Setup motion to run in the background with the following command run before it to make sure motion can access the video camera :"sudo modprobe bcm2835-v4l2" - Note that in the above screen shot I am running everything in a terminal window.
  5. Configure your RPi to either join a network or to host its own. I chose to configure mine to host an adhoc network as it required the least effort.

I may add to this later but there are many ways to skin a cat with the Raspberry Pi in this configuration.

Comments

Orngrimm (author)2016-10-13

I may actually have a need for that! If i can do the ible with a USB-Camera (i see no problem there) one could use it as long-range remote camera for archery:

Place it close to the target facing the taget with zoom (Needs a bit of distance like 1m for material safety) and access the stream with a tablet at the shooting line. I think the access can be done with VLC so an intentional delay can also be introduced...

WisarUK (author)Orngrimm2016-10-13

Interesting idea. My one concern would be the power needed to drive the USB camera as they often require a hub and its power supply. You will want to research that carefully as my experience has been negative. Obviously if you do find one that works you have all the capabilities of the Raspberry at your beck and call.

Orngrimm (author)WisarUK2016-10-14

The Logitech B525 is powered easyly by the USB of the Raspi itself...

About This Instructable

6,036views

76favorites

License:

Bio: I design, and occaisionally even implement, solutions that exploit single board micro-processors crossing the physical interface between the computer and the real world. Chosen platforms ... More »
More by WisarUK:Instrumenting a 3D Printer (or Whatever)Tumbling Polisher for 3D Metalfill PrintsBuilding a Raspberry Pi Zero PoV Wireless Camera
Add instructable to: