Guest blog #7: Bird table webcam by Francis Agius

19th of November 2012 by clive
submit to reddit

“You can know the name of that bird in all the languages of the world, but when you’re finished, you’ll know absolutely nothing whatever about the bird … So let’s look at the bird and see what it’s doing—that’s what counts.” – Richard Feynman (well, his dad Melville really)

And how do you see what the bird is doing? With a Raspberry Pi of course. Francis Agius tells us how :

A robin visits the table: click for video

Inspired by other web cam posts I wanted to set up a web cam that I could use to record my garden bird table. New to this sort of thing there were several hurdles to overcome! The main two were getting a reliable wireless set up and also being able to run the Raspberry Pi off a battery so I could leave it running free standing outdoors. I also wanted if possible to use Arch Linux as it is a very lean OS, less than 10 seconds to boot up! For wireless network I have used a Tplink WN722N USB stick, this is supported by Arch Linux without any extra difficult setup.

The innards

For power I already had a spare 12 volt car battery and found a fantastic DC to DC converter at Maplin which has two outputs, USB 5v at 0.6 amps good for the the RPi and a second 5 volt output at up to 3 amps perfect for a powered USB hub which runs the camera and the WiFi stick, making it possible to run the whole setup from a single 12 volt car battery power supply. There are probably cheaper ways to get 5 volts from a 12 volt car battery but the Maplin product is very tidy and easy to use. My Raspberry Pi is running Arch Linux with additional packages motion and ffmpeg installed, there are lots of post on how to set these up. I can forward info on my setup if this this will help anyone.

Sealed up and ready for action

So to summarize I am using Arch Linux running motion and ffmpeg, I use ssh connect to my Rpi and start motion running, pictures are captured to the Rpi sd card. On my windows machine Winscp is installed which is great for moving the captured files from the Raspberry Pi to windows.

Software

Raspberry Pi

  • Arch Linux
  • Motion
  • Ffmpeg

Windows

  • putty for ssh connection
  • Winscp to transfer files

Hardware

  • Tplink WN722N USB wifi adapter
  • Sweex Blackberry Black Usb Hd camera
  • Advent powered USB hub
  • Maplin A79 GW DC to DC converter
  • Old 12 volt car battery
  • Food storage container

 

Buy a Pi!

buyapi

buypiswag
News Archives

Supported by


In the forums

On Twitter
  • teknoteacher, 13 hours ago
    If you're up at 5.30am BST (1.30pm JST), you can watch Raspberry Jam Tokyo live http://t.co/Gjjy2VgWdY #RJam @Raspberry_Pi @billt Preston, Lancashire, UK
  • Raspberry_Pi, 21 hours ago
    How's your Swedish? We met Jonas at #MakerFaire San Mateo at the weekend. Here's what he wrote about it. http://t.co/XfOYYLRzTu Cambridge, UK
  • DesignSparkRS, 21 hours ago
    3D CAD models - Our most downloaded is model is @Raspberry_Pi model B!!!! Download it today; http://t.co/z16MPVyjIr ^VJ Oxford, UK
  • pimoroni, 1 day ago
    Tracking planes with @Raspberry_Pi and RTLSDR. Read comments for word of telescope+motors to photo the planes! http://t.co/Go3riIuBM0 Sheffield, UK

Friends of Pi