Arducam M12 Mount Lens Kit for Raspberry Pi and Arduino Cameras

Over the past few years, Arducam has launched many camera boards for Raspberry Pi with M12 or CS mount lens holders. One of the many features that outperformed the official ones was the interchangeable lenses, a feature also on our SPI cameras for Arduino. We are excited to announce that the Arducam M12 Mount Lens Kit for Raspberry Pi and Arduino Cameras has already been on sale.

The new lens kit that we have carefully prepared for you

The new lens kit that we have carefully prepared for you

The lens kit has 10 M12 Mount lenses that we have selected from a wide array of lens options, and the Horizontal Field of View (HFOV) of those lenses from 10 to over 200 degrees (on a 1/4-inch RPi cam or Arduino cam). It comes with labeled caps, four lens holders, a lens cleaning cloth and screws, which allows you to select and change for the best lens you need.

Pi Cam – Optimized Optical Performance

The official RPi camera module has permanently attached lenses which could not be changed, so whether you are satisfied or not, you are stuck with what comes from the factory. Sometimes you may want extremely closeup macro photography or a wider field of view, but you just can’t with the official ones. On the other side, Arducam-designed camera boards with interchangeable lenses extend the capabilities and flexibilities of Raspberry Pi and Arduino camera, and you can finally have better control over what gets into the frame of the images and videos.

Lens kit that thinks for you

To meet the increasing market demands for more lens options to address different use cases, Arducam selected and tested a wide range of M12 optimal lenses from long focus to fisheye for shooting on your Raspberry Pi or Arduino cameras. We have also labeled every lens on its cap, provided multiple lens holders and a piece of length cloth. It is now much easier for you to get the best lens you will need, and we will keep the lens list growing.

We have thought in advance about what you might need

We have thought in advance about what you might need

That is the part we have put in the box. Aside from that, we have made a PDF document that contains the details specifications of each lens, and a video that shows how to replace the lenses on Arducam Cameras.

An overview of the specifications of those lenses

An overview of the specifications of those lenses

To the top

To test what a Raspberry Pi can shoot with our lenses, we decided to take a field visit to the rooftop of one of the tallest building here so that we can capture the view of this city. We’ve also planned a trip to the bookstore. Here was what we brought with us:

    1. A Raspberry Pi Zero W with SD card.
    2. A power bank to supply 5v power to the Pi zero
    3. An Android phone with our app preinstalled to connect to the Pi’s hotspot for the preview
    4. Some tapes and elastic bands to hold the setup steady
  1. Our M12 Mount Lens Kit

Lens Kit shot by Mi A1

Lens Kit shot by Mi A1

Pi and Cam shot by iPhone 6S Plus

Pi and Cam shot by iPhone 6S Plus

Wait and see

After we went back from downtown, we pulled the micro SD card and got the pictures out. Our designer really liked those lenses and was surprised by the picture quality. He thought there would be no need to risk climbing to the rooftop with his heavy DSLR lens anymore.

Here are some of the pictures that we’ve taken with Arducam M12 Mount lenses on an OV5647 sensor.

Find the lens kit here or buy these lenses from one of our distributors now!

Programmable Motorized Focus Camera Raspberry Pi now Support Auto Focus



The standard pi camera is fixed focus lens, some of them are glued which cannot be adjusted by users, and some of them are not glued which can adjust the lens focus manually. But in certain circumstance, you want to programmable control the focus distance remotely where the device can not be reached. The ArduCAM team now designed motorized control focus 5MP and an 8MP camera module for Raspberry Pi series boards to address this problem. Now the autofocus function is also implemented by the Arducam team, now the auto-focus demo source code is available on our GitHub.


  • High-Definition video camera for Raspberry Pi Model A/B/B+ and Raspberry Pi 2 Pi 3B, Pi 3B+ and Pi Zero
  • 5MP OV5647 or 8MP IMX219 sensor with motorized focus lens
  • Integral IR filter
  • Angle of View: 54 x 41 degrees
  • Field of View: 2.0 x 1.33 m at 2 m
  • Full-frame SLR lens equivalent: 35 mm
  • Focus distance: 4 cm to infinity
  • Size: 25 x 24 mm
  • 15 cm flat ribbon cable to 15-pin MIPI Camera Serial Interface (CSI) connector

Demo Video

Check out the 5MP OV5647 here and the 8MP IMX219 here, or buy them from one of our distributors!

ArduCAM NOIR Raspberry Pi camera with Motorized IR Cut Filter


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 camera. 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 IR filter removed pi camera which doesn’t have 650nm IR cut filter on top of the sensor, and can sensitive all spectrum of light including ultraviolet light and near infrared light which cannot be seen by humans. So people will think 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. The problem of this effect is that the color reproduction is drastically affected.
Unlike your eyes, camera sensors can detect “near infrared” light that just outside the range of the human eye. The image below shows the result.

The plants in this view reflect more infrared than green light so they appear pink in daylight.
To make the image more akin to what humans can see, most cameras are fitted with an infrared-cut filter which only allows visible light to pass through, reflecting unwanted infrared. This is where standard color version pi camera used for.

Motorized (Switchable) infrared-cut filters

There are some instances where capturing infrared light is an advantage. In low-light conditions, cameras capture as much light as possible to produce brighter images, regardless of color. For this reason, some entry-level night-vision cameras don’t feature a cut filter, instead capturing infrared light from on-board LEDs at night at the expense of true color reproduction during the daytime.
The optimum solution is to use a switchable infrared-cut filter. In daylight, the filter covers the sensor to provide color footage, while at night the filter opens for a brighter image. In industry terms, these cameras are known as day/night or true day/night cameras.
These cameras can be combined with infrared lamps which are much more discreet than conventional white-light lighting, since the light produced can’t be seen by the human eye.


Sometimes you need the camera to work on both daylight and dark (night time) conditions, like the IP-based security camera. ArduCAM pi cameras now feature a motorized IR-cut filter on NoIR pi camera board, the IR-cut can be switched on in the daylight and can be switched off at night, and cooperated with IR light source for night vision. The highlight of this motorized IR-cut mechanism is no additional cable needed between the Raspberry Pi board and camera board.

ArduCAM pi camera with motorized IR cut filter

First we have to edit the config.txt file

sudo nano /boot/config.txt

Add this line at the end of the config.txt file, save and reboot.


Then use our provide python script to take normal image with IR-cut on and night vision image with IR-cut off. Using the following commands there are two pictures captured.

cd piCamLed
sudo python ./
sudo python ./

Software Download

Demo software can be downloaded from here.

Github Repository

The Github repository for controlling the motorized IRcut filter of Raspberry Pi camera can be found here.

Check out those cool IRCUT cameras or buy them from one of our distributors.

The GotchaCAM Portable DIY Wifi Camera Based Travel and Home Security and Surveillance System


The GotchaCAM Portable Travel and Home Security and Surveillance System consists of the ArduCAM CC3200 Uno and the software from the book “Home Security System DIY PRO using Android and TI CC3200 SimpleLink” by Robert Chin. Both are available
for purchase on major sites like Amazon in US.

The recommended way to purchase the hardware for this system is by buying the “ArduCAM CC3200 UNO DIY Wifi Portable Security Spy Ghost Hunter Camera Starter Kit” that is available on Amazon. This provides you with all the hardware you will need. Continue reading “The GotchaCAM Portable DIY Wifi Camera Based Travel and Home Security and Surveillance System” »

8MP Sony IMX219 Camera for Raspberry Pi



ArduCAM team just released a 8MP Raspberry Pi compatible camera based on the same Sony IMX219 image sensor. It’s capable of 3280 x 2464 pixel static images, and also supports 1080p30, 720p60 and 640x480p90 video. It attaches to Pi by the dedicated standard CSi interface.

It is the supplementary for Raspberry Pi offical camera in order to fulfill the demands for different lens mount, field of view (FOV) and depth of the field (DOF) as well as the motorized IR cut filter for both daylight and night vision. Contact us for further customization.


  • Sensor type: Sony IMX219 Color CMOS 8-megapixel
  • Sensor size: 3.674 x 2.760 mm (1/4″ format)
  • Pixel Count: 3280 x 2464 (active pixels) 3296 x 2512 (total pixels)
  • Pixel Size: 1.12 x 1.12 um
  • Lens: M12/CS mount customizable, telephoto to fisheye
  • Angle of View: customizable
  • Video: 1280×720 binned and cropped up to 60fps
  • 1080P cropped up to 30fps
  • 1640×1232 full FOV binned mode, up to 30fps
  • 3280×2464 full FOV, allegedly 0.1fps to 15fps
  • Board size: 36 x 36 mm
  • IR Sensitive: Optional motorized IR cut filter

ArduCAM porting for Raspberry Pi

As ArduCAM is general purpose camera, it can be used on any micro controller platform not limited to Arduino, and now ArduCAM team port the code library to Raspberry Pi family.

Thanks to the uniform 40 pin GPIO header design makes it possible to adopt ArduCAM and its mutli camera adapter board for Pi B+, Pi 2, Pi 3 and even Pi ZERO. Due to the benefit of onboard frame buffer and DMA transfer directly from sensor to frame buffer, make the ArduCAM outstanding of taking photos simultaneously.

With ArduCAM porting for Raspberry pi, you can use more cameras on Raspberry Pi together with native Raspberry Pi camera.