4.6 Unleashing the Dog

Consider where the PIR should be mounted. Placing it behind a glass windowpane to track outdoor movement will not work since the detector cannot analyze infrared signatures. Ideally, the PIR should be placed in the unobstructed line of sight of the area being monitored. If it’s just outside your front door, thread wiring from the PIR mounted above the door to the Arduino/wave shield mounted in an enclosure inside the house.

Play with the playback audio level. The small speaker that accompanies Adafruit’s music and sound add-on pack may be adequate for testing, but it’s hardly loud enough to get the attention of anyone in the next room (let alone someone who is outdoors). Use the wave shield’s headphone jack and connect it to a powered speaker, such as a boom box or home stereo. Set the volume loud enough to get a visitor’s attention.

Attach one end of the wooden rod to the servo wheel using wire, twist ties, or rubber bands. Cover the other end of the rod with cloth, a cotton ball, or a rubber cap to protect the surface that the rod’s tip will be bumping against. You can further embellish the wire frame with a plastic dog snout from a costume store. Get creative! Just be sure not to attach something so heavy that the servo cannot generate enough torque to adequately move the attached wire.

Place the servo assembly next to a window curtain, preferably near the entryway. When the PIR is triggered and the barking audio is played back, the faux appendage will nudge the curtain and give the illusion of a dog’s nose moving behind the curtain. From the visitor’s point of view, it will look like an agitated animal is just behind the door, waiting to pounce. It will take some tweaking to get right, but once your setup is properly configured, the motion-detected playback events should look and sound very convincing!

Programming Your Home
cover.xhtml
f_0000.html
f_0001.html
f_0002.html
f_0003.html
f_0004.html
f_0005.html
f_0006.html
f_0007.html
f_0008.html
f_0009.html
f_0010.html
f_0011.html
f_0012.html
f_0013.html
f_0014.html
f_0015.html
f_0016.html
f_0017.html
f_0018.html
f_0019.html
f_0020.html
f_0021.html
f_0022.html
f_0023.html
f_0024.html
f_0025.html
f_0026.html
f_0027.html
f_0028.html
f_0029.html
f_0030.html
f_0031.html
f_0032.html
f_0033.html
f_0034.html
f_0035.html
f_0036.html
f_0037.html
f_0038.html
f_0039.html
f_0040.html
f_0041.html
f_0042.html
f_0043.html
f_0044.html
f_0045.html
f_0046.html
f_0047.html
f_0048.html
f_0049.html
f_0050.html
f_0051.html
f_0052.html
f_0053.html
f_0054.html
f_0055.html
f_0056.html
f_0057.html
f_0058.html
f_0059.html
f_0060.html
f_0061.html
f_0062.html
f_0063.html
f_0064.html
f_0065.html
f_0066.html
f_0067.html
f_0068.html
f_0069.html
f_0070.html
f_0071.html
f_0072.html
f_0073.html
f_0074.html
f_0075.html
f_0076.html
f_0077.html
f_0078.html
f_0079.html
f_0080.html
f_0081.html
f_0082.html
f_0083.html
f_0084.html
f_0085.html
f_0086.html
f_0087.html
f_0088.html
f_0089.html
f_0090.html
f_0091.html
f_0092.html
f_0093.html
f_0094.html
f_0095.html
f_0096.html
f_0097.html
f_0098.html
f_0099.html
f_0100.html
f_0101.html
f_0102.html
f_0103.html
f_0104.html
f_0105.html
f_0106.html
f_0107.html
f_0108.html
f_0109.html
f_0110.html
f_0111.html
f_0112.html
f_0113.html
f_0114.html
f_0115.html
f_0116.html
f_0117.html
f_0118.html
f_0119.html
f_0120.html
f_0121.html
f_0122.html
f_0123.html
f_0124.html
f_0125.html