

I selected a the resistors to limit the current so I don’t burn out the LED’s. I found an external plug in power supply that provides about 17 VDC. I wired the two strings in parallel and attached a 47 ohm, 5W resistor to each string.
#INFRARED ARDUINO CAMERA SERIAL#
I created 4 strings of 5 LED’s wired in serial (see schematic). I found some cheap high power IR LED’s on EBAY spec’d at 700 mA peak.
#INFRARED ARDUINO CAMERA CODE#
To fix this I added some code to measure disk space and abort the program if disk space is running out. I discovered once I totally filled up the disk space and was unable to remote in and the Pi wouldn’t boot. After PIR detect, if night, GPIO pin 22 activates the relay which drives the high current IR LED’s (If connected).Ĭapturing video also can take up quite a bit of disk space and could fill up fast. If the external IR Spotlight is not detected, the lamp output is disabled. Connecting the external IR LED spotlight cable grounds a sense pin to detect if the lamp is connected to the camera. If it is nighttime and motion is detected, the IR LED spot is enabled and during daytime it is disabled. The design also has an LDR circuit to detect whether its day or night. Once the selected video duration completes the IR LED spotlight is turned off. I built an external IR LED Spotlight that is enabled when motion is detected to illuminate the area while capturing video. The Pi NoIR Camera Board can also be used during daytime but since the IR filter is removed, the color is somewhat washed out. This project uses the Raspberry Pi NoIR Camera Board (infrared) for night time video recording when something is detected. Test the headless (if this is what you want) and the camera to make sure all works. I also installed the Raspberry Pi camera following the on-line instructions as well. There are lots of instructions on-line to do this so I won’t try to rehash that here.

I can have my remote camera within the WiFi range so once connected I can start the program and retrieve the captured video files. This project uses a Raspberry Pi set up with WiFi in a headless mode. I started with something simple, but like all engineers, I kept adding more and more. I had an idea of creating a night time game camera using a Raspberry Pi NoIR Camera Board with a PIR motion detector and an external IR LED spotlight to illuminate the area to allow the IR camera to capture video. I live in a somewhat remote area and have seen signs of various wild critters exploring around the house at night. I’ve just started exploring the Raspberry Pi and was intrigued with the Pi infrared camera module.
