post

RPi Cam Web Interface in action

This is my second test of the timelapse/video facilities of a Raspberry Pi with the camera on top.

So I did a standard RPi Cam Web Interface installation, on jessie this time since the installer is not completely finished at the moment for jessie. It went without a problem again. Only  advice I have is to configure the wireless interface before adding the RPi software, so that Apache sees both ethernet and wireless. The WLAN with long antenna operates fine in the garden!

The software functions fine. Easy to operate from any web browser, Android Chrome on tablets and phones. Chrome on Android has the nasty habit to load a video clip entirely before it starts playing though, so the screen looks frozen.

The Raspberry used is a B in a TEK-Berry case (see reichelt.de). Looks good and the camera is well protected and easy to manipulate. At the bottom of the case I have a standard Tripod Mount Screw glued with superglue, these things are available for a dollar at ebay.com.

20151103_132317_HDR

20151103_132323_HDR

On the top I have a Hot Shoe Cover Cap Bubble Spirit Level from ebay to make sure the camera is positioned right.

Now waiting for the birds to start eating in front of the camera!

Detailed installation steps:

WIN32diskimage burn image

Jessie 21 nov 2015 full and lite

Boot RPi
Advanced IP scanner for IP address
Putty ssh to <ip address>

sudo su after every reboot!

raspi-config

 - change pasword
 - expand filesytem
 - boot options
   - auto logon console
 - wait for network
 - Configure timezone
 - enable camera
 - overclock medium
 - advanced option
   - Hostname
   - memory split 128 MB (default!)
   - serial no
   - update tool

shutdown -h 0

if full jessie, make some room
apt-get -y purge wolfram-engine scratch minecraft-pi sonic-pi dillo gpicview penguinspuzzle
apt-get -y purge oracle-java8-jdk openjdk-7-jre oracle-java7-jdk openjdk-8-jre
apt-get -y purge libreoffice*
apt-get update
apt-get -y upgrade
apt-get -y autoremove
apt-get -y autoclean

df -h
(about 12 GB free on 16GB card)

Get wifi working

lsusb


For 7601 wireless do:

Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.

sudo wget https://github.com/porjo/mt7601/raw/master/src/mcu/bin/MT7601.bin -O /lib/firmware/mt7601u.bin

(wifi configuration)
 
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

The top of this file has the lines:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
and add for every SSID these lines:

network={
ssid="Your WiFi SSID"
psk="Your WiFi Password"
key_mgmt=WPA-PSK
}

Now wait some seconds and/or type

ifdown wlan0
ifup wlan0
ifconfig

Disable the camera led by adding a line to /boot/config.txt:
disable_camera_led=1

To edit the config.txt file you can use Nano :
sudo nano /boot/config.txt

(Install RPi CAM Web)

git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd RPi_Cam_Web_Interface
chmod u+x *.sh
./install.sh

(use defaults, in Apache questions empty field 'HTML' so the web site works at http://<ip of rpi> )

Leave a Reply

Your email address will not be published. Required fields are marked *