Light is what this 12 mm lens offers: its F1.6 aperture collects (2.4 ÷ 1.6)² = 2.25 times the light of the F2.4 aperture on the C23-1224-5M. The trade is resolution. It is a Standard-line lens rated 2 MP for 5.5 µm pixels (Nyquist 1 ÷ (2 × 5.5 µm) ≈ 91 lp/mm), where the 5 MP lens targets 3.45 µm pixels (about 145 lp/mm).
At the 100 mm minimum working distance a thin-lens estimate gives 12 ÷ (100 − 12) ≈ 0.136, so a typical 8.8 mm wide 2/3" sensor sees 8.8 ÷ 0.136 ≈ 64.5 mm and each pixel covers about 5.5 ÷ 0.136 ≈ 40 µm: a medium field for boards and small assemblies. At an example 300 mm the view widens to 8.8 × (300 − 12) ÷ 12 ≈ 211 mm at 132 µm per pixel.
Best for
Dim stations or fast lines using a 5.5 µm camera, where F1.6 shortens the exposure or lets you cut lamp power.
Small assemblies and PCBs about 65 mm wide imaged from 100 mm, with room to widen the view later by backing away.
Presence checks and gross-defect detection at about 40 µm per pixel: an example 1 mm defect spans 1,000 ÷ 40 = 25 px.
Selection notes
Wide open, depth is thin. At 100 mm with a one-pixel (5.5 µm) criterion it is 2 × 1.6 × 0.0055 mm × (0.136 + 1) ÷ 0.136² ≈ 1.1 mm at F1.6 and about 2.7 mm at F4.
For 3.45 µm pixels or finer, use the C23-1224-5M (12 mm, F2.4, minimum 150 mm) or the 16 MP C23-1228-16M (F2.8, minimum 100 mm); on those sensors this lens limits detail.
The 100 mm minimum caps the magnification at 0.136x, so fields narrower than 64.5 mm need a longer focal length.
Specifications: General
Brand
Basler
Specifications: Optical
Focal length
12 mm
Aperture (f-number)
F1.6 - F16
Optical resolution
2 MP
Lens mount
C-mount
Image circle / max sensor
2/3"
Working distance
100 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
Start around F2.8 to F4 and let lighting supply the exposure: lenses are typically sharper slightly stopped down, and depth grows from 1.1 mm at F1.6 to 2.7 mm at F4. At 5.5 µm pixels diffraction costs little until about F16.
It will work, but with a 5.5 µm design pitch the lens, not the sensor, limits fine detail; the C23-1224-5M is the matched 12 mm lens.