ShotCam Beta Part 2

shotcam22
Ok. We are going to leverage a Pi Zero running RPi_Cam_Web_Interface to provide a web feed from the camera. Lets start with building the ShotCam. Get your hands on a Pi Zero, MiniUSB Ethernet adapter, SD card, Official Pi Zero Case (only since it has a nifty camera board holder), and Pi Camera V2 module.
IMG_0455
Download the current Raspbian Image and burn it to your SD card. I use the lite version, as the "desktop" is not necessary and would just slow down the Pi Zero boot time. I use PiFiller for this.
After writing the OS to SD, create an empty file called ssh on the root of the SD card to allow ssh before running raspi-config, ie, running headless.
Slap the SD card in the Pi Zero, assemble the Camera and case,connect to your PRODUCTION network (one with internet access for now), power on, obtain what IP the Pi Zero was issued from your DHCP server, and ssh to the Pi Zero. The default username is pi and the default password is raspberry.
Now that all of that noise is out of the way, lets go.

1

Run the command sudo raspi-config.

2

First, go ahead and Change User Password.

3
4
5
6

Next, choose Interfacing Options and Enable Camera.

7

Then, configure the Network Options

8

and set the Hostname.

9
10

Next, Choose Advanced Options

11

and Expand Filesystem.

12
13
14

(OPTIONAL) Choose new Default Locale

15

Finish raspi-config and reboot.

Next we will update the OS, install git, and clone the RPi_Cam_Web_Interface repo. RPi_Cam_Web_Interface is the software that will provide the camera feed for users to watch.

RPi Cam Web Interface is a web interface for the Raspberry Pi Camera module. It can be used for a wide variety of applications including surveillance, dvr recording and time lapse photography. It is highly configurable and can be extended with the use of macro scripts.

sudo apt-get update
sudo apt-get dist-upgrade
suggest sudo reboot now
sudo apt-get install git
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git

16

Type cd RPi_Cam_Web_Interface and hit enter

17

(I suggest issuing sudo su)

18

Type ./install.sh and hit enter.

19

Let the script run. Leave the Apache settings at default, choose OK.
The Pi will download the needed packages and install them. Select Yes when prompted to start the camera.

20

In the next part, we will move onto the Nanostation configuration. One Nanostation will be the Core Bridge Transmitter (CBX), the other will be the Remote Bridge Transmitter (RBX).... but more on that later!

Lud-shoot

Lud Fairchild

CCNP Collaboration, Specializing in K-12, Higher Ed, and Health Care. Amateur Radio General Class, callsign KM4GFM