Was ist ein M12-Objektiv? Definition des S-Mounts, M12 x 0,5-Gewinde und Auswahlhilfe
This guide covers the M12 x 0.5 thread, S-mount naming, sensor coverage, and lens holders. It also compares all-glass and hybrid construction to help you choose the right build.
An M12 lens (also called an S-mount lens or board camera lens) is a compact camera lens with an M12 x 0.5 thread. The "M12" means 12mm nominal thread diameter. The "0.5" means 0.5mm thread pitch. M12 lenses screw directly into a camera holder and have no fixed flange distance. Focus is set by threading the lens in or out, then locking it.
M12 optics show up in cars, QR scanners, surveillance cameras, robots, and medical devices. Comparing M12 vs C-mount: M12 wins for compactness and board-level integration, C-mount for larger sensors and a standardized flange distance.
Was ist ein M12-Objektiv?
Ein M12-Objektiv ist ein Miniaturkameraobjektiv mit einem Gewindeanschluss von 12 mm Durchmesser und einer Gewindesteigung von 0,5 mm. Der Anschluss wird direkt in einen Objektivhalter an einem Kameramodul oder einer Leiterplatte eingeschraubt. M12-Objektive sind die Standardoptik für Embedded-Vision-Systeme, da sie nur wenige Gramm statt mehrere Dutzend Gramm wiegen und kostengünstiger sind als größere industrielle Formate.
The Commonlands M12 lens collection runs from 0.8mm fisheye to 100mm telephoto, covering sensor formats from 1/6" through 1/1.8", select designs to 2/3".
What Does M12 x 0.5 Mean?
"M12 x 0.5" is the thread specification for the lens mount: M12 means the nominal major diameter of the thread is 12mm, and 0.5 means the thread pitch is 0.5mm, the distance between adjacent thread peaks. The spec follows the ISO metric screw thread standard and defines the mechanical interface only. It says nothing about optical performance, focal length, sensor coverage, or image quality. Those come from the lens design itself.
What Is an M12 Lens Used For?
M12 lenses go into any smart device that needs to see under board-level packaging constraints. Field of view, resolution, and ingress protection vary widely across the Commonlands catalog. The application defines the lens, not the mount.
- Autonome mobile Roboter und AMRs im Lager (Navigation, Hinderniserkennung)
- Maschinelle Bildverarbeitungsknoten für den industriellen Einsatz (Barcode-Erfassung, Anwesenheitserkennung, Prüfung)
- Drohnen und UAVs (Kameras als Nutzlast bei begrenztem Gewichtsbudget)
- Intelligente Verkehrs- und Parkkameras (kompakte Außengehäuse)
- Medizinische Geräte und Handgeräte (kurze optische Baugruppen, Kostensensitivität)
- Unterhaltungselektronik und Webcams (kompakte Kameramodule)
What Sensor Sizes Work With M12 Lenses?
Most Commonlands M12 lenses support sensor formats from 1/6" through 1/1.8". Select designs extend coverage to 2/3". The lens image circle must be larger than the sensor diagonal. If the image circle is too small, you get vignetting (dark corners) and soft edges.
Überprüfen Sie neben dem Bildkreis auch die Kompatibilität hinsichtlich des Hauptstrahlwinkels (CRA). Moderne CMOS-Sensoren mit Mikrolinsen stellen Anforderungen an den CRA. Ein nicht passender CRA führt zu Farbverfärbungen und einer verminderten Bildwinkelabdeckung. Weitere Informationen finden Sie im Leitfaden zum Hauptstrahlwinkel und zu Abweichungen.
M12 Lens vs C-Mount: Which Should You Choose?
M12 is an M12 x 0.5 thread with no standard flange focal distance, while C-mount is 1"-32 UN fixed at 17.526mm and CS-mount is the same thread at 12.526mm. Most M12 lenses run a fixed aperture and weigh 3 to 15 grams. A C-mount lens usually carries an adjustable iris ring and weighs 50 to 200 grams. Pick M12 for embedded cameras, drones, and compact robotics, and C-mount for industrial inspection and larger sensors.
A C-mount focus ring may move the whole cell, the front cell, or internal groups on a cam, and some C-mount lenses ship fixed-focus. The mount dictates none of this. Near-limit behavior follows the design. The datasheet or Commonlands engineering can confirm it. A typical fixed-focal M12 assembly focuses by moving the whole lens on its thread. M12 varifocals can move internal groups. Check the selected design at the intended working distance.
See the lens mount guide: M12 vs C-mount vs CS-mount, or browse Commonlands C-mount lenses for larger formats.
How Do You Choose an M12 Lens Holder?
The holder provides the M12 x 0.5 threaded bore, screws to the board over the sensor, and sets the starting distance between board and lens. A holder that is too short can leave insufficient thread engagement when a long-back-focus lens is positioned for focus. A holder that is too tall can prevent enough inward travel. Compare the drawing's MBFL datum with the sensor-plane position, engagement length, available adjustment, and rear-element clearance before ordering.
Black PC is fine for prototyping. LCP (liquid crystal polymer) holds its dimensions better across temperature swings, which matters because holder drift becomes focus shift. Aluminum is the choice for sealed assemblies. The IP rating guide covers when IP67 or IP6K9K (industry shorthand IP69K) is required. Avoid 3D-printed holders in production.
Commonlands M12 Lens Holders
All holders below use the M12 x 0.5 thread and are $4.50 each, lens not included. See the product pages for mechanical drawings.
| Halter | Höhe | Lochabstand | Material | Am besten geeignet für |
|---|---|---|---|---|
| CLA020 | 10mm | 20 mm | Schwarzer PC | Allgemeine Anwendungen, Prototypenbau |
| CLA021 | 7mm | 20 mm | LCP | Kompakte Bauweise, thermische Stabilität |
| CLA022 | 8 mm | 22 mm | Schwarzer PC | Flache Platinen mit einem Abstand von 22 mm |
| CLA024 | 12 mm | 22 mm | LCP | Längere MBFL-Objektive |
Adapters and Motorized Mounts
To run an M12 lens on a C-mount or CS-mount camera, the M12-to-CS adapter ($12.00) threads into the body and adds an internal M12 thread with a focus lock ring. The adapter holds no optical element, so it changes mechanical registration without adding optical power. Added air spacing still contributes to optical path length. Check the lens MBFL against the combined depth. The CLA811 M8-to-M12 adapter mounts smaller M8 x 0.5 lenses in an M12 bore.
For remote or closed-loop focus, the CLA322 piezoelectric mount holds position with no power applied, while the CLA321 voice coil mount drives continuous autofocus but needs power to hold. Both take standard M12 x 0.5 lenses. The CLA321 uses 23.5mm hole spacing.
How Do You Focus an M12 Lens?
Bei einem M12-Objektiv erfolgt die Fokussierung, indem das gesamte Objektiv unter Beobachtung des Live-Bildes in die Halterung hineingeschraubt oder aus dieser herausgeschraubt wird; sobald die gewünschte Entfernung scharfgestellt ist, wird der Objektivtubus arretiert. Es gibt keinen Fokussierring: Das M12-Gehäuse ist starr, und das Gewinde selbst dient als Fokussiermechanismus.
Die Fokussierposition hängt vom Arbeitsabstand ab. Objektive, die auf Unendlich fokussiert sind, liefern im Nahbereich unscharfe Bilder und umgekehrt. Eine detaillierte Anleitung finden Sie unter „So fokussieren Sie eine Kamera“.
A focused lens that is not locked will drift under vibration. Lock it with a lock ring against the holder face, which stays re-focusable, with a set screw, which can introduce tilt if overtightened, or with a thread adhesive. Anaerobic thread lockers such as Loctite 222 and 243 are common in production, but they cure only where air is excluded and the surface catalyzes them, so inactive metals and plastic holders need an activator.
Qualify any adhesive against your barrel and holder materials, thread gap, cure schedule, outgassing near the sensor, and whether the joint must come apart later. Some thermoplastics craze under anaerobic chemistry. Confirm focus before it cures.
All-Glass vs Hybrid M12 Lenses: Which Construction Do You Need?
An all-glass M12 lens uses only glass optical elements. A hybrid glass-plastic lens mixes glass with molded polymer elements. Optical glass has lower thermal expansion and a more stable refractive index than optical polymer, so all-glass designs tend to hold focus better across temperature, and hybrid construction costs and weighs less.
Tendency is not a rule. A deliberately athermalized hybrid can beat an all-glass lens in an uncompensated aluminum barrel, because focus drift belongs to the whole assembly. Treat construction as the first filter, then measure the build you plan to ship.
Construction shows up on spec sheets as element notation: "8G" means eight glass elements (all-glass). "2G4P" means two glass and four plastic (hybrid). If a datasheet omits it, ask the supplier, since hybrid is common at low price points. Molded plastic aspheres are not a shortcut. They hit surface shapes that are expensive to grind in glass. The deciding difference is usually thermal behavior, not image quality.
| Bauwesen | Shortlisting signal for | Hauptkompromiss |
|---|---|---|
| Ganz aus Glas, ganz aus Metall | Outdoor, vehicle, or thermally cycled deployments. High-resolution sensors with small pixels, where the depth-of-focus budget is tight. No re-focus access after installation | Höhere Kosten, ein paar Gramm schwerer |
| Hybrid aus Glas und Kunststoff | Temperature-controlled indoor environments. Lower-resolution or larger-pixel sensors with a looser depth-of-focus budget. Cost- and weight-constrained builds | More focus shift with temperature, unless the prescription is athermalized |
Validate either construction the same way: fix a resolution target at the working distance, cycle the assembly across the full operating temperature range, and confirm sharpness holds. Focus shift depends on the lens, sensor, and housing together, so do not rely on datasheets alone. Commonlands can run that test on request. For deployments with shock, vibration, or ingress, see the Commonlands ruggedized lens guide.
How Do You Choose the Right Focal Length?
Field of view depends on focal length, the sensor's active area, and the lens projection, and it shifts with focus distance at close conjugates. Hold sensor and projection fixed and a shorter focal length gives a wider view, a longer one a narrower and magnified view. The right focal length follows from sensor width, working distance, and required scene coverage, which is why it is calculated rather than guessed.
- Ermitteln Sie die Breite Ihres Sensors anhand der Sensordatenbank.
- Legen Sie fest, wie breit der Bildausschnitt sein soll, den Sie bei Ihrem Arbeitsabstand aufnehmen möchten.
- Verwenden Sie den Brennweitenrechner, um die erforderliche EFL zu schätzen.
- Überprüfen Sie das Ergebnis mit dem Sichtfeldrechner.
- Beachten Sie die Verzeichnung: Weitwinkelobjektive neigen tendenziell zu stärkerer tonnenförmiger Verzeichnung, es sei denn, sie sind speziell als geradlinige Objektive mit geringer Verzeichnung konzipiert. Wenn die Verzeichnung für Sie eine Rolle spielt, lesen Sie den Leitfaden zur Verzeichnung.
Top 4 M12 Lenses for Machine Vision
The best M12 lens for machine vision depends on sensor format and working distance, so no single part number wins every build. For most 1/1.8" to 1/1.7" embedded cameras a 6mm low-distortion lens (CIL059) is the general-purpose starting point, with an 8mm all-glass lens (CIL085) for tighter distortion, an 8mm hybrid (CIL083) where weight and unit cost lead, and a 25mm IR-corrected lens (CIL250) for long standoff. All four are Commonlands M12 lenses in stock in San Diego and ship same day on orders placed before 12 PM PST.
| Rang | Objektiv | EFL | F# | Abdeckung der Sensorformate | Am besten geeignet für |
|---|---|---|---|---|---|
| 1 | CIL059 | 5,9 mm | F/1.7 (F/2.8, F/4.0, F/5.6 variants) | Bis zu 1/1,7" | General machine vision, barcode reading. IP67 sealed variant available |
| 2 | CIL085 | 8,2 mm | F/3.0 (F/4.4 variant) | 1/1,8" (8,9 mm Bildkreis) | Low distortion (-0.9% TV at an 8.8mm image circle), 12MP resolution, embedded stereo, all-glass construction |
| 3 | CIL250 | 25 mm | F/2,0 | 1/1,7" | Großer Arbeitsabstand, NIR-Bildgebung bei Tag und Nacht |
| 4 | CIL083 | 8,0 mm | F/2,8 | 1/1,8" (9,0 mm Bildkreis) | Lightweight, cost-sensitive indoor builds |
Between the two 8mm options, construction is one screening input, not a verdict: qualify either with a measured focus and MTF run over your temperature range, a test Commonlands can run on request. The all-glass vs hybrid comparison above covers that tradeoff.
M12 Lens Suppliers Compared: Manufacturers vs Resellers
| Lieferant | Mit Sitz in | Rolle | Was sie gut können |
|---|---|---|---|
| Allmenden | USA (San Diego) | Custom US design and assembly. Also resells catalog lenses | 0,8 mm–100 mm M12-Katalog mit veröffentlichten MTF- und Verzerrungsdaten, Datenblättern und CAD-Dateien pro Artikelnummer, Lagerbestand in den USA mit Versand am selben Tag sowie direktem technischen Support |
| Edmund Optics | USA | Hersteller und Vertreiber | Umfangreicher Katalog mit verschiedenen Halterungsvarianten und detaillierter technischer Dokumentation |
| Lensation | Deutschland | Reseller with design services. Does not manufacture | Beschaffung von Linsen auf Platinenebene und maßgeschneiderte M12-Optiken für OEM-Programme |
| Arducam | China | Camera-module vendor. Resells M12 lenses | Kameramodule und Entwicklungskits, die M12-Objektive mit Sensorplatinen für den Raspberry Pi und für die Entwicklung eingebetteter Systeme kombinieren |
| Towin | China | Reseller. Does not manufacture | Standard-M12-Plattenobjektive zu niedrigen Stückkosten und in großen Stückzahlen |
Häufig gestellte Fragen
Commonlands stocks M12 lenses from 0.8mm fisheye to 100mm telephoto, with same-day shipping on orders before 12 PM PST. These answers cover the standard itself.
M12-Objektiv oder C-Mount: Für welches soll ich mich entscheiden?
Entscheiden Sie sich für M12 bei kompakten Embedded-Systemen, bei denen Größe, Gewicht und Kosten im Vordergrund stehen. Wählen Sie C-Mount für Sensoren, die größer als etwa 1/1,8" sind, für Anwendungen, die eine einstellbare Blende erfordern, oder für Systeme, die einen festen, standardisierten Flanschabstand von 17,526 mm benötigen. Eine detaillierte Übersicht finden Sie im Vergleich der Objektivfassungen.
Wie stellt man ein M12-Objektiv scharf?
M12-Objektive haben keinen festen Flanschabstand. Stellen Sie die Schärfe ein, indem Sie das Objektiv unter Beobachtung des Live-Bildes in die Halterung hinein- oder herausschrauben. Sobald das Bild bei Ihrem Arbeitsabstand scharf ist, sichern Sie das Objektiv mit einer Stellschraube, einem Sicherungsring oder einem Schraubensicherungsmittel. Eine Schritt-für-Schritt-Anleitung zum Fokussieren einer Kamera finden Sie hier.
Wie wähle ich den richtigen M12-Objektivhalter für meine Kamera aus?
Drei Parameter müssen übereinstimmen: Lochabstand (gemessen von Mitte zu Mitte zwischen den Befestigungslöchern der Platine, typischerweise 18 mm, 20 mm oder 22 mm), Halterhöhe (die mechanische hintere Brennweite der Linse muss innerhalb des Einstellbereichs des Gewindes liegen) und Schraubentyp (M1,6, M1,7 oder M1,8). Das Material (PC, LCP oder Aluminium) ist zweitrangig, sobald die Geometrie passt.
Was ist der Unterschied zwischen einem M12-Objektiv aus Vollglas und einem M12-Objektiv aus einer Glas-Kunststoff-Kombination?
An all-glass M12 lens uses only glass optical elements. A hybrid glass-plastic lens mixes glass with molded polymer elements. Construction is a first-pass filter: polymer changes index and shape with temperature faster than glass, and hybrids cost and weigh less. Thermal suitability comes from measured focus and MTF over temperature on the full lens, holder, and sensor assembly, a test Commonlands can run on request, so qualify the build you ship, not the label.
Kann ich ein M12-Objektiv an einer Kamera mit CS-Anschluss verwenden?
Yes, with an M12-to-CS adapter that threads into the CS-mount body and provides an internal M12 thread with a focus lock ring. The adapter holds no optical element, so it adds mechanical axial separation rather than optical path length. Verify the lens mechanical back focal length against the combined depth of adapter and camera register before ordering.
Need Help Choosing an M12 Lens?
Commonlands manufactures M12, C-mount, and M8 lenses for machine vision and embedded vision. Send our San Diego engineering team your sensor model and application at engineering@commonlands.com or call +1 (858) 333-7325. Orders placed before 12 PM PST ship same day. Comparing options? See the best M12 lenses for machine vision, ranked.