You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
3.1 KiB

4 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \usepackage{graphicx}
  4. \usepackage{caption}
  5. \title{\textbf{ZMHW Modector}}
  6. \author{Steak Electronics}
  7. \date{}
  8. \begin{document}
  9. \maketitle
  10. \tableofcontents
  11. \section{Overview}
  12. 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.
  13. I've tried different motion sensors. Let's start with the Infrared Laser Diode.
  14. \section{Parts List}
  15. \begin{itemize}
  16. \item Arduino Uno (official recommended)(DIP recommended)
  17. \item ENC28J60 ethernet module
  18. \item Passive PoE adaptors for IP Cameras
  19. \item Series 1A fuse
  20. \item Sick WS15-D1130 Infrared Laser Diode Motion Sensor
  21. \item General Purpose Diode (I used 1N4818 diode) (may also use transistor, per data sheet for Sick)
  22. \item Jumper Wires
  23. \item Copper Wire (22-26 gauge)
  24. \item Enclosure
  25. \item Ethernet Wire
  26. \item (optional) Low Profile one and two gang wall outlet
  27. \item (optional) Blank cover plate, for one and two wall gang wall outlet
  28. \item (optional) Electrical tape (I prefer halfway decent electrical tape)
  29. \item (optional) piezo speaker
  30. \item (optional) extras of everything, in case anything fails
  31. \end{itemize}
  32. 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.
  33. \subsection{Other Sensors}
  34. \begin{itemize}
  35. \item HFS-DC06H
  36. \item PIR Sensor
  37. \item Any other Laser Diode Sensor you like
  38. \item Reflective tape
  39. \end{itemize}
  40. %\includegraphics[scale=0.8]{../pics/resistances.png}
  41. %\captionof{figure}{Application Note resistance table}
  42. \section{Work Log}
  43. \subsection{Sick Motion Sensor}
  44. 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.
  45. 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.
  46. Of importance, Figure 1 shows two things, first off a diode connected in series with the output of the Sick sensor, and also the orange LED on the top of the sensor. The orange led will be green when there is no connection between the diodes and orange when the Diodes (or LEDs) are lined up correctly. When someone moves across the field of their vision, the orange LED will change to green.
  47. \end{document}