Difference between revisions of "OsKuroBox"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Details)
(Software)
Line 38: Line 38:
 
*gspca webcam module,  
 
*gspca webcam module,  
 
*Motion + dependencies,  
 
*Motion + dependencies,  
*[sox.sourceforge.net/ SoX] for sound recording/detection and silence trimming (http://www.linuxplanet.org/blogs/?cat=813),
+
*[http://sox.sourceforge.net/ SoX] for sound recording/detection and silence trimming (http://www.linuxplanet.org/blogs/?cat=813),
 
*various other webcam-ish apps & scripts/configurations.
 
*various other webcam-ish apps & scripts/configurations.
  

Revision as of 01:20, 11 March 2009

Contents

Description and Background

Details

Initially, my project was to take a LinkStation and outfit it so it can take night-time infrared still snapshots and even movie clips of whatever wanders by the animal feeders in our back yard. It morphed into something a bit more involved. Here's what it does:

  • night-time & daylight snapshots and movies, triggered by motion detection
  • daylight time-lapse movies of the feeding area
  • records sounds at feeding area and backyard area
  • optional selective sound detection/silence trimming
  • webserver for Motion's control webif and minimal real-time-image webcam (LAN only)
  • avahi (Bonjour) to advertise (to LAN) these two web services provided by Motion
  • webserver for a gallery page (internet access for outside world)
  • dyndns.org client for DNS to accomodate internet access of above item
  • cron-based scheduling, rotation and cleanout of the image files
  • optional USB wireless capability (so no ethernet cable is needed)
  • optional weatherproof housing for components (it rains and snows out there)

In this form it could also be used for video/audio surveillance or keeping an eye/ear on whatever. The range with the basic IR-capable camera that is used is limited, so I'm working out how to improve that with some auxiliary lighting. Higher-performance IR/nightvision-capable cameras could offer a better experience, especially if this were implemented on a machine with a faster, more powerful processor.

What's with the name?

  1. First, Oskuro=oscuro= dark, in spanish. Yeah, "Oscuro" was the only word I could find that had any semantic connection with "dark" and also had either a "Kuro" or "Link" in it.
  2. Secondly, this project is not without inspiration from others: sylver had produced the SeKuroBox years back and I liked the catchy name and the great concept, but I wanted to take the idea another direction. I had grown up on a farm and hunted regularly, so I'm fascinated by animals (especially the wild ones). It is essentially an LS outfitted with a night-vision camera and motion detection software, a "Late-Night CritterCam" if you will.
  3. The daytime camera has an integrated USB microphone, so I decided to add in sound recording capability. That's the "Plus" part.

Why the LS2?

Of all the LS boxes that Buffalo built, the LS2 is perhaps the least endowed, most restricted. It has no FPU, and only one serial port (which is used by the microcontroller). Well, if this much can be done w/ this box, more could be done with other boxes. This project will work best on a NAS device that has enough CPU power to process both sound and video.

Hardware

  • LS2 (or any Linux box w/ USB support, FPU and stronger processor are better),
  • up to 2 USB cameras (compatible w/ either the gspca or the uvc driver),
    • one Logitech QuickCam for Notebooks (w/ integrated USB microphone),
    • one ViMicro NightVision USB WebCam,
  • optional USB wireless stick or use of a wireless ethernet bridge,
  • optional motion activated lighting (this is a non-computer item),
  • optional weatherproof box(s)/housing(s) for all items if outside,
  • long enough ethernet cable and electrical extension cord (or optional other power source).

Software

  • basic foonas lsmipsel/LS2 image,
  • gspca webcam module,
  • Motion + dependencies,
  • SoX for sound recording/detection and silence trimming (http://www.linuxplanet.org/blogs/?cat=813),
  • various other webcam-ish apps & scripts/configurations.

Installation

Essential Packages

OpenEmbedded

Debian

Extra Packages

Configuration

Motion

SoX

Webserver

Network

dyndns.org

Avahi/Bonjour