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.
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
Now that all of that noise is out of the way, lets go.
Run the command
First, go ahead and Change User Password.
Next, choose Interfacing Options and Enable Camera.
Then, configure the Network Options
and set the Hostname.
Next, Choose Advanced Options
and Expand Filesystem.
(OPTIONAL) Choose new Default Locale
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
cd RPi_Cam_Web_Interface and hit enter
(I suggest issuing
./install.sh and hit enter.
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.
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!