Having got the camera to work correctly I found a site that started life as an app for an iPad then became web based and usable on any OS. The site is
The following is taken from that site and I recommend you visit it for the full version. A quick guide is here.
First of all make sure that you have the latest version of raspbian running on your Raspberry Pi:
sudo apt-get upgrade
sudo apt-get update
Install the Node packages for Raspberry Pi. These will be downloaded into the /home/pi folder:
sudo tar -xvzf ~/node-v0.10.2-linux-arm-pi.tar.gz –strip=1
Once this is completed, check the version installed:
You should see v0.10.2 or the version that you have installed. This concludes that NodeJS is now installed. Check that the Node Package Manager is installed:
which should reveal the version number 1.2.15 or the version that you have installed.
We need to pull all the code that runs BerryCam Express down into your user directory (or the location of your choosing). To clone within the /home/pi directory:
This command installs a package, and any packages that it depends on. Although this take quite some time given the amount of processing power initially required, it makes it easy to fetch all the required components and libraries.
We re-issue the command:
After a few minutes, the package will install additional dependencies that allow it to run.
Start the server
Now that we have all the necessary components in place, we can start the BerryCam Express server which allows devices to connect to your Pi and take photographs with the camera.
To start the camera server:
Browse to the pi on any device with a web browser on port 3000 – so if your pi was on IP address 192.168.0.5 then you would type
The interface should appear on the screen. Press the camera button to take a test photograph.
Many thanks to the guys at BerryCam for a great project.