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.6".
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". Some models extend coverage to 1/1.7" or even 1/1.6". 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 lens focuses through an internal cam that moves lens groups relative to each other, rebalancing aberrations across the focus range (Kingslake, Lens Design Fundamentals). An M12 lens is rigid: threading it in or out moves the whole lens, with no internal rebalancing, so the two behave differently at short working distances.
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. Too short and the image plane falls behind the sensor. Too tall and the lens bottoms out before infinity focus. The height has to place the lens mechanical back focal length (MBFL) within the thread's few millimeters of travel, not match it exactly, so check the MBFL on the lens datasheet 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 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. It adds optical path length, so 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 (re-focusable), thread adhesive such as Loctite 222 or 243 (the standard production method), or a set screw, which can introduce tilt if overtightened. Confirm focus before the adhesive 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. All-glass construction holds focus more consistently across temperature because glass has lower thermal expansion and a more stable refractive index. Hybrid construction costs and weighs less. The operating environment decides which you need.
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 difference that matters is thermal behavior, not baseline image quality.
| Bauwesen | Wählen Sie diese Option, wenn | Hauptkompromiss |
|---|---|---|
| Ganz aus Glas, ganz aus Metall | Einsatz im Freien, in Fahrzeugen oder unter Temperaturwechselbeanspruchung; hochauflösende Sensoren mit kleinen Pixeln, bei denen die verfügbare Schärfentiefe begrenzt ist; keine Möglichkeit zur Nachfokussierung nach der Installation | Höhere Kosten, ein paar Gramm schwerer |
| Hybrid aus Glas und Kunststoff | Temperaturgeregelte Innenräume; Sensoren mit geringerer Auflösung oder größeren Pixeln und einer geringeren Schärfentiefe; Konstruktionen mit Kosten- und Gewichtsbeschränkungen | Eine weitere Verschiebung des Fokus in Abhängigkeit von der Temperatur |
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. For deployments with shock, vibration, or ingress, see the Commonlands ruggedized lens guide.
How Do You Choose the Right Focal Length?
Focal length determines field of view: shorter focal lengths give wider views. Longer focal lengths narrow the view and magnify the scene. The right choice follows from sensor width, working distance, and required scene coverage. That is why focal length is calculated from those three numbers, not 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, 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" | Allgemeine Bildverarbeitung, Barcode-Erkennung, IP67-Option für den Außenbereich |
| 2 | CIL085 | 8,2 mm | F/3.0 (F/4.4 variant) | 1/1,8" (8,9 mm Bildkreis) | Geringe Verzerrung (-0,9 %), 12-MP-Auflösung, integriertes Stereosystem, thermische Stabilität durch Vollglasbauweise |
| 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 |
CIL085 and CIL083 sit at the same 8mm focal length but different construction: the all-glass CIL085 holds focus across temperature, while the hybrid CIL083 trades some thermal stability for lower weight and cost. The all-glass vs hybrid comparison above covers when that difference matters.
M12 Lens Suppliers Compared: Manufacturers vs Resellers
| Lieferant | Mit Sitz in | Rolle | Was sie gut können |
|---|---|---|---|
| Allmenden | USA (San Diego) | Maßgeschneiderte Entwicklung und Fertigung in den USA; außerdem Vertrieb von Katalogobjektiven | 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 | Wiederverkäufer mit Design-Dienstleistungen; keine eigene Fertigung | Beschaffung von Linsen auf Platinenebene und maßgeschneiderte M12-Optiken für OEM-Programme |
| Arducam | China | Anbieter von Kameramodulen; vertreibt M12-Objektive | Kameramodule und Entwicklungskits, die M12-Objektive mit Sensorplatinen für den Raspberry Pi und für die Entwicklung eingebetteter Systeme kombinieren |
| Towin | China | Wiederverkäufer; keine eigene Produktion | Standard-M12-Plattenobjektive zu niedrigen Stückkosten und in großen Stückzahlen |
Häufig gestellte Fragen
Commonlands stocks M12 lenses from fisheye to 25mm 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, usually in a metal barrel. A hybrid glass-plastic lens combines glass with molded polymer elements. All-glass construction holds focus more consistently across temperature swings. Hybrid designs cost and weigh less. Outdoor and automotive systems favor all-glass. Temperature-controlled indoor systems can use hybrid designs successfully.
Kann ich ein M12-Objektiv an einer Kamera mit CS-Anschluss verwenden?
Ja, mit einem M12-zu-CS-Adapter, der in das CS-Mount-Gehäuse eingeschraubt wird und über ein internes M12-Gewinde mit Fokus-Sicherungsring verfügt. Der Adapter verlängert den Strahlengang; überprüfen Sie daher vor der Bestellung die mechanische Brennweite des Objektivs im Hinblick auf die Gesamttiefe.
Need Help Choosing an M12 Lens?
Commonlands fertigt M12-, C-Mount- und M8-Objektive für die industrielle Bildverarbeitung und Embedded-Vision-Anwendungen. Senden Sie unserem Entwicklungsteam in San Diego Ihr Sensormodell und Ihre Anwendungsbeschreibung per E-Mail an engineering@commonlands.com oder rufen Sie uns unter +1 (858) 333-7325 an. Bestellungen, die vor 12:00 Uhr PST eingehen, werden noch am selben Tag versandt.