|
|
|
\documentclass[11pt]{article}
|
|
%Gummi|065|=)
|
|
\usepackage{graphicx}
|
|
\usepackage{caption}
|
|
\title{\textbf{ZMHW Modector}}
|
|
\author{Steak Electronics}
|
|
\date{}
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\tableofcontents
|
|
|
|
\section{Overview}
|
|
Making and deploying a Motion Sensor for Zoneminder CCTV software installations. These sensors use ZMTrigger.pl (wiki.zoneminder.com/ZMTrigger) to activate an alarm on a camera for a period of time. The advantage of hardware motion sensors over the software detection of Zoneminder, is that the hardware motion sensors avoid some of the problems inherent in software detection, such as false positives from day-to-night, bugs, missed detections, and others.
|
|
|
|
I've tried different motion sensors. Let's start with the Infrared Laser Diode.
|
|
\section{Parts List}
|
|
\begin{itemize}
|
|
\item Arduino Uno (official recommended)(DIP recommended)
|
|
\item ENC28J60 ethernet module
|
|
\item Passive PoE adaptors for IP Cameras
|
|
\item Series 1A fuse
|
|
\item Sick WS15-D1130 Infrared Laser Diode Motion Sensor
|
|
\item General Purpose Diode (I used 1N4818 diode) (may also use transistor, per data sheet for Sick)
|
|
\item Jumper Wires
|
|
\item Copper Wire (22-26 gauge)
|
|
\item Enclosure
|
|
\item Ethernet Wire
|
|
\item (optional) Low Profile one and two gang wall outlet
|
|
\item (optional) Blank cover plate, for one and two wall gang wall outlet
|
|
\item (optional) Electrical tape (I prefer halfway decent electrical tape)
|
|
\item (optional) piezo speaker
|
|
\item (optional) extras of everything, in case anything fails
|
|
\end{itemize}
|
|
Later on we will try a different sensor. The HFS-DC06H. This sensor is a combination of an HB100 radio, with a decoding board that will read the signal and output a logic high or low. You may also want to try PIR sensors.
|
|
\subsection{Other Sensors}
|
|
\begin{itemize}
|
|
\item HFS-DC06H
|
|
\item PIR Sensor
|
|
\item Any other Laser Diode Sensor you like
|
|
\item Reflective tape
|
|
\end{itemize}
|
|
%\includegraphics[scale=0.8]{../pics/resistances.png}
|
|
%\captionof{figure}{Application Note resistance table}
|
|
\section{Work Log}
|
|
\subsection{Sick Motion Sensor}
|
|
The first tests were with the Sick diode sensor and receiver. This device is good for a doorway, where the door must be opened in order for people to pass. Putting it in the way of the door ensures that it will activate. It has a distance of at a max 15 feet or 3 meters. It is a laser type tripwire, which means it can be avoided, if someone knows where it is.
|
|
|
|
Device was assembled and using the ZMHW Modector source code. This is simply an Arduino sketch with UIPEthernet (to use the ENC28J60) (make sure CS is pin 10 on Uno). For more details see source code. Explaining the details is out of the spec of this doc. Simply put, the ENC28J60 is connected, the Sick sensor black wire is connected to Analog input 1, and a speaker is connected.
|
|
|
|
|
|
|
|
|
|
|
|
\end{document}
|
|
|