To address the second problem, we would need a more powerful IR LEDs board to achieve a decent night vision. We will work around it by using a H-Bridge powered by the Raspberry's 5v and controlled by two pins. However, the IR Cut filter cannot be controlled directly from a pin of the Raspberry since the mechanical part inside it requires much more current than the one the Pi can supply. They usually operate between 3v and 9v and if attached to our Raspberry, we can have full control over when to toggle night mode. Most of the devices in the market have two wires: one short pulse on one wire will move the IR filter in front of the sensor (day mode), one short pulse on the other wire will remove the filter (night mode). To solve the first problem, we need something called mechanical IR CUT filterwhich basically gives you back the true colors in day light but still allowing to capture the IR lights during the night. The same hardware though would not fit for an outdoor camera: the picture taken from the IR-capable Raspberry camera outside your house would look mostly pinky (due to the infrared light being captured by the camera) and with the small out-of-the-box IR LEDs you would not be able to see anything past 3 feet / 1 meter. There are already plenty of kits available with this combination so if this is what you want to achieve, buy one of those and skip to step 12. For building an indoor webcam, a simple Raspberry Pi (any model) and an attached camera (any model) with IR LEDs for night vision would work just fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |