Cameras for Raspberry Pi

  1. Home
  2. Docs
  3. Cameras for Raspberry Pi
  4. NO IR Camera

NO IR Camera

Background

Raspberry pi camera has both color version pi camera board and NoIR version pi camera board. So let’s take a look at the difference between these two types of cameras. The color version pi camera has 650nm IR cut filter on top of the sensor, so it can only sensitive to visible light like human eyes.

While the NoIR version pi camera also called the IR filter removed the Pi camera which doesn’t have a 650nm IR cut filter on top of the sensor, and can sense all spectrum of light including ultraviolet light and near-infrared light which cannot be seen by humans. So people will think the NoIR pi camera is better than the standard color Pi camera because it is sensitive to all spectrum rather than visible light. Yes, it is good, but it depends.

Arducam now release new version no IR camera, which supports automatically control IR cut based on light intensity.

How to control IR CUT?

Methods 1: Automatic control 

As normal, the new version no IR camera will automatically control the IR cut with the photoresistor. User does not do anything. this method all versions raspberryPi.

Methods 2: Manual control

Some users want to control the IR cut by themselves instead of using photoresistor. Different RPI version has different control way.

For Pi4 platform

due to the camera led pin is not used , so we can’t control the ir cut through this pin. So we provide another way to control it .

Firstly, you should remove the photoresistor. Then connect the IR pin and GND pin to the PI shown as the below image:

Download our source code here

For Pi4, you should update the wiringPi library firstly:

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

Then run the command to control the IR cut :

python RPI_Camera_PI4_Ircut_ctl.py on     
State: 1
$ python RPI_Camera_PI4_Ircut_ctl.py off
State: 0

For Pi3 B+ or following version platform

Remove the 470 ohm resistor.

Download our source code here

  • Compile source code
make
  • Turn on the ir cut
./irCut 1
  • Turn off the ir cut
./irCut 0

Was this article helpful to you? Yes 1 No 1