Is there any way to turn off the IR LEDs on the Night vision camera module for Raspberry Pi?
It seems the LEDs turn on in the dark even if the camera is turned off. As I’m running from battery and using a PIR detector, I need to minimise power consumption.
unfortunately one side doesn’t work on mine. Even so it’s no good for battery operation as the lights would be on all night. Better would be just a couple of traces that we could solder onto and take actual control. Wouldn’t cost a thing just a little mod to the board.
I too would love to be able to turn these IR illuminating lights on and off via software. I am using them on a Pi Zero W setup powered by a car battery. If they use 1Watt (each?) when I only want them on for a few seconds at a time (when I take a photo), they will hoover up battery power.
Is there any way to turn them on and off with my Python script please?
Thanks.
Firstly that is a different camera. Mine is the CAM009. I don’t know if that makes a difference, but I am trying to turn of the IR LEDs that provide illumination in the dark, not a small LED that is telling you if the board is powered.
Secondly, I am hoping to plug this camera in to a Pi that has many switches and motors controlled via GPIO pins. Do these cameras use the same GPIO numbering and will it therefore not work if I am using GPIOZero to turn on and off pins and measure voltages when they are inputs?
From the cameras I’ve used, all the different ones tend to rely on the same pin to control either the red status LED or the IR LEDs. I think this is true of the CAM009 module too as they have to conform to a common pinout standard for the CSI cable.
Hi,
I think this is a really good question regarding these camera modules. Even when video is involved instead of still images, it would be a very useful feature to have, to be able to control IR lighting programmatically. A initial search for customisation of this particular camera module doesn’t turn out much.
So, is there anyone with experience in basic electronics that could point us in the direction of replacing these LDRs with a mosfet?
Of course the simpler solution would be to just add a black shrink tube over the LDR with a LED against it (or some hot glue), and just control this added led from the GPIO.
What I figure is that the 3.3v is supplied to the IR light from the camera mount where the two touch each other, ie the copper contact by the photoresistor is 3.3v.
If I put a nylon spacer between the photo module and the IR light and use a nylon screw, that should isolate it.
I can then take that 3.3v, feed it through a relay and back to the IR light.
Hopefully this should cure my problem and allow the PIR I already have working, to control the relay.
Just an update to this, I was lucky enough to have a certain type of IR, on the back of the IR is a small semi circular soldering pad marked ‘EN’ solder a wire to this and you can switch on and off by GPIO.
I do have another type of IR lamp that does not have these pads but now I will be looking for replacements that DO have them.