Close

Software

A project log for Internet of Grabby Things

An internet connected toy arcade grabbing machine. Created at a Raspberry Pi hackday in Leeds 2012.

ChrisChris 11/05/2016 at 10:420 Comments
This needs 3 packages, WebIOPi, mjpg-streamer and Apache, then a webpage creating and the start-up configuration. The WebIOPi handles the interface from the website to the gpio of the Raspberry Pi, the mjpg-streamer takes the stream from the webcam or Raspberry Pi camera and sends it to the webpage and Apache runs the webpage itself.

From the raspbian image

Install webiopi:

sudo apt-get update

sudo apt-get -y install python3-dev

wget http://webiopi.googlecode.com/files/WebIOPi-0.5.1.tar.gz

tar xvzf WebIOPi-0.5.1.tar.gz

cd WebIOPi-0.5.1

sudo ./setup.sh

Install subversion - This is needed to allow you to get the source for mjpg-streamer

sudo apt-get -y install subversion

Install mjpg-streamer

cd

svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer mjpg-streamer

sudo apt-get -y install libjpeg8-dev imagemagick

cd mjpg-streamer/mjpg-streamer

make

move to usr/lib/mjpg-streamer

sudo cp -R /home/pi/mjpg-streamer/ /usr/lib/

Install Apache2 - This is used to help serve the webpage. To install simply:

sudo apt-get -y install apache2

Discussions