Where the C23-1216-2M is built around light, this Premium 12 mm lens is built around pixels: 5 MP on a 3.45 µm pitch means a Nyquist limit of 1 ÷ (2 × 3.45 µm) ≈ 145 lp/mm, about 1.6 times the 91 lp/mm of a 5.5 µm sensor. You give up the F1.6 brightness of that lens for a maximum aperture of F2.4, so plan on a longer exposure or more light.
The 150 mm minimum working distance gives 12 ÷ (150 − 12) ≈ 0.087 in a thin-lens estimate: a typical 8.8 mm wide 2/3" sensor sees about 101 mm and each pixel covers 3.45 ÷ 0.087 ≈ 40 µm, the same sampling as the C23-1216-2M at its 100 mm but over a wider field. At an example 400 mm the sensor sees 8.8 × (400 − 12) ÷ 12 ≈ 285 mm.
Best for
Labels, panels or populated boards about 100 mm across that still need roughly 40 µm per pixel, imaged from 150 mm or more.
5 MP, 3.45 µm cameras that would out-resolve a lens designed for 5.5 µm pixels, such as the C23-1216-2M.
Stations that need at least 150 mm between lens and part to leave room for lighting or a guard.
Selection notes
The 2/3" image circle caps the sensor; a larger one vignettes. For 2 µm pixels the 16 MP C23-1228-16M (12 mm, F2.8, minimum 100 mm) is the matching 12 mm lens.
Diffraction is no concern for most of the range. At the minimum distance the working f-number is N × 1.087, so F8 acts as 8.7 (cutoff 1 ÷ (0.55 µm × 8.7) ≈ 209 lp/mm) and the cutoff meets the 145 lp/mm Nyquist limit near F11.5. Contrast at pixel pitch falls well before that, so F2.4 to F8 is the working range.
At 150 mm, 1 mm of height shifts the scale by 1 ÷ 138 ≈ 0.72 %, so a gauging station needs flat, fixtured parts, more distance or a telecentric lens.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
12 mm
Aperture (f-number)
F2.4 - F16
Optical resolution
5 MP
Lens mount
C-mount
Image circle / max sensor
2/3"
Working distance
150 mm minimum
Telecentric
No
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
Matched automatically by: camera mount fits the lens mount · camera sensor is covered by the lens image circle — this lens: C-mount · 2/3" image circle.
Get a first image quickly with the pylon Viewer, then move into the pylon SDK for your application. These cameras are GenICam/GenTL-compliant, so any compliant vision software can drive them as well.
Download and install the pylon Camera Software Suite for your OS from Basler. This provides the pylon Viewer, the GenTL transport-layer producers and the pylon SDK (C/C++/.NET/Python). On Windows the installer adds the needed drivers; on Linux follow the included setup notes for USB and network permissions.
2. Connect the camera and check the link
Cable the camera to its matching interface: GigE Vision to a GigE port (use a quality cable and, ideally, a dedicated NIC with jumbo frames enabled), USB3 Vision to a USB 3.x port with the supplied cable, or CoaXPress to the frame grabber. Provide power where required (PoE, USB bus power, or PoCXP). Open the pylon Viewer and confirm the camera appears in the device list; for GigE, make sure the camera and NIC are on the same subnet.
3. Grab a first image and set exposure, gain and pixel format
Select the camera in the pylon Viewer and start a continuous grab. Adjust exposure time and gain until the image is well exposed (avoid clipped highlights), set the pixel format (e.g. Mono8 or a Bayer/RGB format), and focus the lens. Use a test pattern if the lens or scene is not ready yet.
4. Configure triggering and acquisition
Decide between free-run and triggered acquisition. For synchronized capture, set the trigger source (software or a hardware line on the I/O connector), trigger mode and any debounce or exposure mode, then verify timing. Note the parameter names you change in the Viewer feature tree, as you will reuse them in code.
5. Move to the SDK or a GenICam-compliant library
Recreate your settings in code with the pylon SDK (C, C++, .NET or Python) to open the device, apply the same features and pull frames into your pipeline; pylon vTools and pylon AI can add processing blocks. Because the cameras are GenICam/GenTL standard, third-party vision libraries work too. Once the image stream is stable, you can route frames to a deep-learning inspection such as Rosepetal for automated defect detection.
Frequently asked questions
Both are 12 mm lenses for 2/3" sensors. This one is specified for 3.45 µm pixels (5 MP) with F2.4 and a 150 mm minimum, framing 101 mm at best; the other is specified for 2 µm pixels (16 MP) with F2.8 and a 100 mm minimum, framing 64.5 mm at best.
It works and gives more resolution than that sensor can record. If light matters more than resolution, the F1.6 C23-1216-2M is the lens matched to that camera.