Introduction: Runnerpi: a Wifi-streaming POV Camera
For my IRL game The Chase, I need multiple, body-mountable, wifi-connected, live-streaming cameras.
- real time streaming
- on demand - meaning I can switch it on remotely
- decent picture (hd not required...yet)
- mount to body or objects via gopro accessories
- available via local wifi network
- LATEST RASPI: Raspberry Pi 2 Model B
- live streaming will not work on a model older than this!
- Raspberry Pi 2 Model B
- Raspberry Pi case with raspi camera mount option
- ( set: $47, Raspberry Pi 2 Model B (1GB) With Clear Case)
- Raspberry PI 5MP Camera ($27)
- A good wifi usb dongle (Panda 300Mbps Wireless-N USB Adapter $17)
- Various GoPro mounting hardware
- GoPro Chest/Head mount straps
- Awesome glue
- General Raspi knowledge
- General command line copy n paste talent
Step 1: Step 1: Setting Up Raspberry Pi Software
Instructables is fantastic, but not the best place for software installation instructions, so I've set up this github page to breakdown how to set up the software to make your raspi a runnerpi on the inside.
At the above link, you will be installing:
- Raspbian (operating system)
- wicd-curses (wifi signal management)
- uv4l (Userspace Video4linux)
- uv4l is the heart of allowing you to stream over wifi
Step 2: Step 2: Attach the Raspi Camera to the Clear Case
The case I use (see parts list) has a special section on the front to mount a raspi camera module and even comes with the two screws to do it.
ProTip: do not connect the camera to the raspi yet. The angles are weird and it's easier if the camera is already screwed into the case.
Step 3: Step 3: Connect the Raspi Camera to the Raspberry Pi 2 Model B
See what I did with that title? I reiterated the fact that you must use the latest (as of this writing) Raspberry Pi or the live streaming will not work.
- touch metal
- touch your sink
- go outside and stick your finger in the ground
The worry is static electricity, which will kill your camera. Do not pet your cat while you install this!
The cable slots into the connector situated between the Ethernet and HDMI ports, with the silver connectors facing the HDMI port.
Step 4: Step 4: Prepare the GoPro Mount
Using a typical GoPro connector, grab your dremel-like-tool-of-choice and file off the 3-column, screw-connector section. You want a nice flat surface to glue to the back of your raspi case
Step 5: Step 5: Glue GoPro Piece to the Pi's Case
Pretty straightforward. The default for the camera when in a case like this is the usb slots are facing downward. So, you'll want your two-prong connector to be perpendicular to the ground.
I used e6000 for my glue and gave it the 48 hours to cure.
Step 6: Step 6: Fire Up the Pi and Connect Via Browser
You're ready to go!
- Make sure the computer you're connecting with and the raspi are on the same wifi network.
- Set up the raspberry pi to respond to its hostname
- Go here:
- note the .local after your pi's hostname
- note the :8080 after .local
- This will pull up a list of options, click the WebRTC streaming one
- Press start! and your streaming locally!!