My 4-year-old son comes up with some funny ideas. A few months ago, he asked for a piece of cheese to leave outside for animals. We gave him a slice of cheddar. The next morning he jumped out of bed and hurried to the window. The cheese was gone, but who had taken it? He was guessing all day. We looked for footprints or tiny hairs, but found no clues.
Then we got more ambitious. I knew that some webcam programs can record video only when there’s visible motion. That might record visitors in daylight, but not in the dark. So we got an inexpensive infrared-sensing floodlight — a standard home security device — at a hardware store. I figured that in theory, a warm animal moving in front of the device should make the light turn on, and then the webcam program would see movement and start recording.
That evening we tested it, with the webcam pointing out a window and the floodlight just outside. The next morning, my son and I raced to the laptop. A white cat had visited at 4:30 a.m., and the video caught it flinching as the light came on, looking quizzically at the contraption, and then starting to eat. My son was fascinated, and we were both hooked on our new hobby.
Steps
Step #1: Lights, Webcam, Action!
Next


- Instead of a plug, most motion sensor lights have loose wires for connecting to house wiring. We wanted to plug ours in outside, so we drilled a hole in the plastic casing for a 2-wire plug cord, twisted the corresponding wires in each pair together, and insulated the connections with twist-on connector caps. Then we sealed the space between the cord and the hole with crazy glue.
- I really don’t know what I'm doing playing with wires and electricity. Please take care to protect yourself appropriately.
- The lights and motion sensor are designed to work outside, but rain dripping into the sockets can be a hazard. So we mounted the device under a protective platform built by simply screwing 4 wooden dowels into the corners of a board. We attached the motion sensor light underneath, following the included instructions. We also bought some PVC pipe to fit around the legs, to use as stilts if we ever want to raise the platform.
- Motion sensors detect movement over a wide angle, so we duct-taped an empty tin can with both ends removed over the sensor. This serves as a blinder so that only animals right at the bait will make the light turn on.
Conclusion
This project first appeared in MAKE Volume 17, page 157.






























