4-20 mm, 1/2.7", 2 MP, CS-mount pinhole lens, BFL 12.53 mm
LS-MBL-0176
- Focal length 4-20 mm
- Mount CS-mount
- Sensor 1/2.7"
$69.00
Ships in 2-3 weeks
Lenses
S-mount (M12) lenses for board cameras and embedded vision: standard, low-distortion, pinhole and low-light versions from 1/4" to 1" formats.

LS-MBL-0176
$69.00
Ships in 2-3 weeks
LS-MBL-0172
$129.00
Ships in 2-3 weeks
LS-MBL-0174
$59.00
Ships in 2-3 weeks
LS-MBL-0175
$59.00
Ships in 2-3 weeks
LS-MBL-0169
$109.00
Ships in 2-3 weeks
LS-MBL-0165
$109.00
Ships in 2-3 weeks
LS-MBL-0152
$109.00
Ships in 2-3 weeks
LS-MBL-0154
$129.00
Ships in 2-3 weeks
LS-MBL-0164
$109.00
Ships in 2-3 weeks
LS-MBL-0148
$139.00
Ships in 2-3 weeks
LS-MBL-0162
$109.00
Ships in 2-3 weeks
LS-MBL-0150
$109.00
Ships in 2-3 weeks
LS-MBL-0149
$109.00
Ships in 2-3 weeks
LS-MBL-0151
$109.00
Ships in 2-3 weeks
LS-MBL-0173
$109.00
Ships in 2-3 weeks
LS-MBL-0142
$109.00
Ships in 2-3 weeks
LS-MBL-0145
$129.00
Ships in 2-3 weeks
LS-MBL-0138
$129.00
Ships in 2-3 weeks
LS-MBL-0146
$139.00
Ships in 2-3 weeks
LS-MBL-0143
$129.00
Ships in 2-3 weeks
LS-MBL-0141
$129.00
Ships in 2-3 weeks
LS-MBL-0129
$129.00
Ships in 2-3 weeks
LS-MBL-0131
$139.00
Ships in 2-3 weeks
LS-MBL-0170
$109.00
Ships in 2-3 weeks
| Compare | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
| 4-20 mm | CS-mount | 1/2.7" | F4.0 Manual iris | 2.0 Megapixel | - | $69.00 | Ships in 2-3 weeks | |
|
| 7.8 mm | M12 | 1/1.8" | F2.0 Fixed iris | 8.0 Megapixel | - | $129.00 | Ships in 2-3 weeks | |
|
| 4.0 mm | CS-mount | 1/3" | F1.8 DC Iris | 2.0 MP | - | $59.00 | Ships in 2-3 weeks | |
|
| 4 mm | CS-mount | 1/3" | F1.8 Manual iris | 2.0 MP | - | $59.00 | Ships in 2-3 weeks | |
|
| 5.4 mm | M12 | 1/2.3" | F2.5 fixed iris | 10 MP | - | $109.00 | Ships in 2-3 weeks | |
|
| 3.6 mm | M12 | 1/2.7" | F2.0 Fixed iris | 12 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 1.8 mm | M12 | 1/2.7" | F2.8 Fixed iris | 8.0 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 3 mm | M12 | 1/1.7" | F2.0 Fixed iris | 10 Megapixel | 122 x 113 x 75 mm | $129.00 | Ships in 2-3 weeks | |
|
| 3.2 mm | M12 | 1/2.5" | F2.4 Fixed iris | 16 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 25 mm | M12 | 1/1.7" | F5.6 Fixed iris | 12 Megapixel | - | $139.00 | Ships in 2-3 weeks | |
|
| 2.7 mm | M12 | 1/3" | F2.8 Fixed iris | 8.0 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 2.8 mm | M12 | 1/2.5" | F2.4 Fixed iris | 12 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 2.8 mm | M12 | 1/2.5" | F2.5 Fixed iris | 8 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 2.7 mm | M12 | 1/2.3" | F2.8 Fixed iris | 12 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 1.9 mm | M12 | 1/2.8" | F2.4 Fixed iris | 8.0 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 4.2 mm | M12 | 1/2.3" | F3.0 Fixed iris | 14 Megapixel | - | $109.00 | Ships in 2-3 weeks | |
|
| 16 mm | M12 | 1/1.7" | F5.6 Fixed iris | 12 Megapixel | - | $129.00 | Ships in 2-3 weeks | |
|
| 8 mm | M12 | 1/1.7" | F5.6 Fixed iris | 12 Megapixel / Pixel size 1.85 μm | - | $129.00 | Ships in 2-3 weeks | |
|
| 22 mm | M12 | 1/1.7" | F2.8 Fixed iris | 12 Megapixel | - | $139.00 | Ships in 2-3 weeks | |
|
| 14 mm | M12 | 1/1.7" | F2.8 Fixed iris | 12 Megapixel | - | $129.00 | Ships in 2-3 weeks | |
|
| 12 mm | M12 | 1/1.7" | F5.6 Fixed iris | 12 Megapixel | - | $129.00 | Ships in 2-3 weeks | |
|
| 14 mm | M12 | 1/1.7" | F2.8 Fixed iris | 12 Megapixel | - | $129.00 | Ships in 2-3 weeks | |
|
| 22 mm | M12 | 1/1.7" | F2.8 Fixed iris | 12 Megapixel | - | $139.00 | Ships in 2-3 weeks | |
|
| 5.5 mm | M12 | 1/1.8" | F1.8 fixed iris | 3.0 MP | - | $109.00 | Ships in 2-3 weeks |
M12 lenses (also called S-mount lenses) screw into a holder with an M12 x 0.5 thread mounted on the camera board. They are small, light and easy to build in, which makes them the standard optic for board-level cameras, embedded vision, compact code readers and smart cameras. The trade-off is fewer adjustments: most have a fixed aperture and no focus ring, so the choice has to be right on paper.
Match the lens to the sensor format: the image circle must cover the sensor diagonal. M12 lenses in this range cover formats from 1/4" (about 4.5 mm diagonal) through 1/2.7", 1/2.5", 1/2" and 1/1.8" (about 9 mm), with a few for 2/3". A lens for a 1/2.7" sensor on a 1/1.8" sensor leaves dark, soft corners. A lens with a larger image circle than the sensor works, but the angle of view is narrower than the lens's headline figure, which is quoted for its largest format.
Focal lengths run from about 1 mm fisheye lenses to 25 mm, with a few longer lenses up to 70 mm. Because the sensors are small, short focal lengths already give wide views: a fisheye lens here reaches about 210° diagonal, while 8-16 mm lenses suit inspection at a few hundred millimetres. Work it out with focal length = sensor width x working distance / field of view width (using the sensor width, not the diagonal), or use the focal length calculator. Angles of view in the specifications are usually listed per sensor format; use the row for your sensor.
Resolution classes run from VGA to 16 MP. The lens should be rated at or above the camera's resolution, keeping in mind that small pixels (2-3 µm) need sharper optics than large ones. Most M12 lenses have a fixed iris between about F1.4 and F2.8, with some at F5.6 for more depth of field. Check the chief ray angle (CRA) against the sensor's microlens design: a mismatch causes colour shading and brightness fall-off toward the corners, even when the lens is sharp.
Wide M12 lenses have strong barrel distortion, often 10-20% or more on wide angles and far more on fisheyes. That is fine for viewing and detection, and software can correct it after calibration, but for measurement choose a low-distortion design - some here are specified below 0.1%. Distortion is listed on each product page where the maker states it.
Many board cameras need an IR-cut filter in the lens or holder for correct colour under daylight; for 850 or 940 nm illumination you need the opposite. Lenses here come with a visible-light IR-cut filter, a 940 nm filter, a dual band-pass filter or no filter, and some are IR corrected (day/night) so focus holds when lighting switches between visible and infrared. Check what the camera board already has before ordering.
Check the total length and the back focal length against the holder height and the space in the housing. Focus is set by turning the lens in the holder and fixing it with a lock nut or adhesive. For outdoor, vehicle or wash-down use, some lenses here are sealed to IP68 or IP69K, with metal barrels and water-repellent front coatings. A few use M6, M8, M10, M16 or CS thread instead of M12; check the thread, not just the focal length.
Is an M12 lens the same as an S-mount lens?
Yes. S-mount is the common name for the M12 x 0.5 thread.
Can I use an M12 lens on a C-mount camera?
With an M12-to-C adapter, yes, but the M12 lens's small image
circle only covers small sensors. For C-mount cameras, a C-mount machine vision lens is
usually the better choice.
Why do M12 lenses have no iris?
To stay small and keep the focus fixed. Light is controlled with exposure
time, gain and the lighting; choose a slower fixed aperture (higher F-number) if you need more depth of field.
Where are lenses for CCTV and security cameras?
Varifocal, fisheye and zoom lenses for security cameras are
under CCTV lenses. To pair a lens with a camera, start in the
configurator.