Lenses for Drones: M12 Lens Selection for UAV Mapping, Inspection, and FPV Cameras
Weight, vibration, distortion, and ground sampling distance drive every lens decision on a UAV. Here is how to work through the tradeoffs.
M12 lenses are the standard optic for drone and UAV cameras because weight is usually the binding payload-budget constraint, and C-mount lenses rarely meet it on small airframes: 3-15g versus 50-200g for comparable focal lengths. Beyond weight, the right lens depends on the mission: low-distortion optics for mapping and photogrammetry, wide field of view for FPV and obstacle avoidance, and sealed all-glass construction for vibration and thermal stability in flight.
Why M12 lenses are standard for drone cameras
M12 (S-mount) lenses dominate small drone and UAV cameras because weight is usually the binding design constraint on small and mid-size airframes. Flight time drops steeply as takeoff weight rises (hover power scales faster than linearly with weight), and lens choice is one of the few component decisions that maps that cleanly to flight performance.
Weight and the payload budget
An all-glass M12 lens weighs 3-15g. A C-mount industrial lens at a comparable focal length runs 50-200g. On a 250g drone, swapping a 100g C-mount lens for a 5g M12 lens is the difference between meeting the weight budget and not flying at all. On larger platforms, that 95g still converts directly into extra battery capacity or compute payload. Across a multi-camera rig (forward, downward, and aft), the savings compound: three M12 lenses at 5g each total 15g, versus 300-600g for three equivalent C-mount lenses.
Physical integration and cost
M12 lenses thread directly into a holder on the camera PCB, with no separate lens adapter, no C/CS-mount flange distance requirement, and no secondary housing. The lack of a fixed flange distance also means focus is set by threading the lens in or out, so you can compensate for different sensor stack thicknesses (bare sensor, cover glass, IR filter) without machining custom spacers. M12 lenses run $6 to $99 each depending on quantity, with the online price shown for quantity 1; C-mount lenses at comparable optical quality typically start around $200-$500. For a full comparison of mount geometry, flange distance, and when each format makes sense, see the M12 vs C-mount vs CS-mount guide.
| パラメータ | M12 (S-mount) | C-mount industrial |
|---|---|---|
| Typical weight | 3-15g | 50-200g |
| Mount standard | M12x0.5mm thread | 1"-32 UN thread, 17.526mm flange |
| Typical price range | $6-$99 (qty-dependent) | $200-$500+ |
| Max sensor coverage | Most models up to 1/1.8" (select models 1/1.7" to 1/1.6") | Up to 1" and beyond |
| アイリス制御 | Fixed aperture (typically no adjustable iris) | Manual or motorized iris available |
| IP-rated options | IP67, IP69K widely available | Select ruggedized models only |
C-mount makes sense on a drone only in narrow cases: large fixed-wing platforms with multi-kilogram payload budgets, or applications requiring sensor formats larger than M12 can cover. For most commercial and research drones, M12 is the right default. Browse the full range in the M12 lens collection, and see what is an M12 lens for the underlying mount specification.
M8 versus M12 lenses for gram-level payload budgets
M8 lenses use an 8mm thread (commonly M8x0.5, sometimes M8x0.35 depending on the manufacturer) and exist specifically for platforms where M12's front aperture and barrel volume are still too large. On drones under 100g total weight, the difference between an M8 lens and an M12 lens (often only a few grams and a few millimeters of diameter) can decide whether the airframe closes at all.
For most drone platforms except the smallest airframes, M12 remains the better default: wider sensor coverage, a larger parts ecosystem, and more focal length and distortion options. Reach for M8 only when front-aperture size or barrel volume, not just weight, is the binding constraint: the smallest airframes, embedded pinhole modules, or airframes where every millimeter of camera housing depth matters. The full mount comparison, including adapter options between the two threads, is in the M8 vs M12 lenses section of the mount guide.
On a sub-100g airframe, every gram is a line item: battery capacity, motor headroom, or flight time. A 3g difference between an M8 and M12 lens is a rounding error on a 2kg mapping drone and a meaningful fraction of total payload on a 90g airframe. Budget the lens mount decision the same way you budget battery cells.
Ground sampling distance and focal length selection
Ground sampling distance (GSD) is the ground distance covered by one pixel at a given altitude. Choosing focal length for a mapping or survey drone is, for most applications, primarily an exercise in hitting a GSD target.
The relationship is linear in both directions: fly twice as high and GSD doubles; use twice the focal length and GSD halves. As a worked example, take the Sony IMX577 (1.55µm pixel pitch, used on many drone camera modules) at 50m altitude: to hit 1cm GSD, required focal length = (0.00000155 × 50) / 0.01 = 7.75mm. For 3cm GSD at the same altitude, the math gives roughly 2.6mm, so a lens in the 3-8mm range covers most mid-altitude general mapping with this sensor.
Use the Commonlands field of view calculator or the EFL calculator to work through GSD combinations for your specific sensor and altitude.
| Application | Target GSD | Altitude range | Recommended EFL | Notes |
|---|---|---|---|---|
| Wide-area mapping | 3-5cm | 50-80m | 4-6mm | Maximum area per pass, regulatory ceiling permitting |
| Precision mapping / survey | 1-3cm | 30-80m | 6-12mm | Construction, land survey, agriculture; use a low-distortion lens |
| Close inspection | 0.5-1cm | 10-30m | 8-16mm | Tower, bridge, blade, and solar panel inspection |
| Long-range inspection | 0.5-2cm | 30-80m | 16-25mm | Standoff distance from structure; telephoto tradeoff |
| FPV / obstacle avoidance | Not GSD-driven | Any | 1.9-4mm wide/fisheye | Field of view and reaction time matter more than resolution |
The table figures assume sensors in the 3-4µm pixel pitch range. A fine-pixel sensor like the 1.55µm IMX577 needs roughly half the focal length for the same GSD, as the worked example above shows; larger pixels need longer focal lengths.
GSD calculation gives the theoretical maximum resolution. In practice, vibration, atmospheric haze, motion blur, and lens MTF degrade the useful resolution below the geometric GSD, so treat the calculated value as a best case and budget conservatively rather than designing to the exact GSD number.
Mapping and survey lenses versus FPV and navigation lenses
Mapping and photogrammetry lenses optimize for low distortion and moderate field of view; FPV, obstacle avoidance, and navigation cameras optimize for maximum field of view and reaction time. These are frequently conflicting requirements, and using the wrong lens type for the application is a common integration mistake.
For mapping and survey, prioritize low distortion
Photogrammetry software (Pix4D, Agisoft Metashape, OpenCV) works best with a known camera model and low distortion. For a rectilinear mapping lens in the 4-6mm range, target under 1% optical distortion so ground measurements derived from the orthomosaic carry minimal geometric error. Narrower field of view is an acceptable tradeoff for the accuracy gain.
For FPV and navigation, prioritize field of view
Obstacle avoidance and situational-awareness cameras benefit from wide or fisheye lenses (up to 180-200° field of view) because maximizing the visible scene gives the flight controller or pilot more reaction time before an obstacle enters the frame. Measurement accuracy is not the goal here, so the 15-40%+ distortion typical of a fisheye lens is an acceptable tradeoff. See wide-angle and fisheye lens distortion for the underlying projection models.
A fisheye lens selected for obstacle avoidance can also be reused for mapping, but only after calibration and dewarping: OpenCV's fisheye module and the fisheye camera models in Pix4D and Agisoft Metashape rectify the projection so the imagery fits a photogrammetry pipeline. The tradeoff is that dewarping resamples and stretches the edges, which lowers effective edge resolution, so a low-distortion rectilinear lens still gives cleaner survey-grade measurements. A low-distortion mapping lens reused for FPV gives a narrower field of view than the application needs and less margin before an obstacle enters frame. Match the lens type to the mission, not the airframe.
Distortion and photogrammetry accuracy
Barrel distortion is the primary optical error that undermines aerial measurement accuracy. A few percent of distortion is often tolerable in ground-based machine vision; in aerial photogrammetry it directly corrupts the geometry of orthomosaic maps and 3D reconstructions.
Photogrammetry software stitches overlapping images by matching features and inferring 3D geometry under an assumed, consistent projection model. Barrel distortion bends straight lines into curves, which the model does not expect. A standard wide-angle M12 lens in the 3-6mm range, without dedicated distortion correction, typically shows high optical distortion at the image corners, often 10% or more, though the exact figure varies widely between designs. Calibration in Pix4D, Agisoft Metashape, or OpenCV corrects for much of this, but calibration adds processing time and residual error remains, especially at image edges.
Low-distortion lenses for mapping
Lenses designed to minimize distortion bring typical optical distortion figures under 1%, an order of magnitude better than a standard wide-angle M12 lens. Less correction is required, and the residual error in the final orthomosaic is smaller.
| Lens type | Typical optical distortion | Photogrammetry impact | Suitable for mapping? |
|---|---|---|---|
| Standard M12 wide-angle | High (often 10% or more) | Correction required, residual error in orthomosaic | Not ideal |
| Low-distortion M12 (CIL052, CIL034) | <1% | Minimal: correction is optional, not mandatory | はい |
| Fisheye M12 | 15-40%+ | Severe: equidistant projection breaks standard photogrammetry models | いいえ |
Optical (radial) distortion and TV distortion are measured against different references and are not directly comparable; figures above are optical distortion.
Fisheye lenses use an equidistant or equisolid projection that differs from the rectilinear model most photogrammetry pipelines assume by default. Fisheye-aware calibration and dewarping in OpenCV, Pix4D, and Agisoft Metashape make the imagery usable for reconstruction; the tradeoff is edge-resolution loss after dewarping and more calibration effort, so a low-distortion rectilinear lens is preferred for survey-grade measurement. Reserve fisheye lenses for obstacle avoidance and situational-awareness cameras when that overhead is not worth it. See what is a low-distortion lens for the full technical background.
For any drone application exporting measurements, GIS data, or point clouds, use a low-distortion lens. The CIL052 (5.2mm, <0.2% optical distortion) and the CIL034 (3.25mm, IP67, under 1% optical distortion) are reasonable starting points. Standard wide-angle lenses are fine for live surveillance feeds where geometric accuracy is not the goal.
Vibration and rolling-shutter interaction
Motor and frame vibration on a multirotor reaches the camera through the airframe, and how badly it shows up in the image depends heavily on whether the sensor is global shutter or rolling shutter.
Why rolling shutter makes vibration worse
A rolling-shutter sensor exposes rows sequentially rather than all at once. If the lens and camera are vibrating during that readout window, each row is captured from a slightly different position, which shows up as skew, wobble, or jello-like distortion rather than simple motion blur. A global-shutter sensor exposes the entire frame simultaneously, so the same vibration produces uniform blur instead of geometric skew, a meaningfully smaller problem for photogrammetry and any application deriving measurements from the image. See image sensor selection for machine vision for the full shutter-type tradeoff and how it interacts with lens choice.
What the lens can and cannot fix
Lens construction cannot eliminate vibration, but it changes how much reaches the optical elements. Mechanical resonance can make a lens barrel micro-oscillate at frequencies that blur the image even with sensor-side stabilization. Rigid, all-metal barrels are stiffer than plastic housings and help the lens and sensor hold alignment. Vibration-damping mounts between the camera and frame are the first-line fix; treat lens rigidity as one input alongside them, and validate the combination against your airframe, sensor, and vibration spectrum.
On a rolling-shutter camera, prioritize a rigid all-metal lens and vibration isolation together, because the two effects compound. On a global-shutter camera, vibration still causes blur, but the failure mode is more forgiving and easier to correct with faster shutter speed alone.
Thermal stability and sealed construction
Ground cameras in fixed installations deal with diurnal temperature cycles. Drone cameras deal with everything ground cameras deal with, plus rapid altitude-driven temperature swings and mechanical shock on landing, and the lens needs to hold focus through all of it.
Thermal defocus at altitude
At mapping altitudes of 30-120m, the standard atmospheric lapse rate accounts for only a fraction of a degree of cooling. The larger effect is convective: a housing soaked in ground sun heats above ambient, and climbing into faster airflow strips that heat away within minutes of takeoff. The exact magnitude depends on ground soak temperature, airspeed, and housing thermal mass. As an order-of-magnitude illustration, a hybrid lens with plastic elements might see 10-30µm of focal shift per 10°C, against a depth of focus of roughly 8-15µm at F/2 on a 1/2" sensor, close enough that a single swing can push the system out of focus. All-glass, all-metal construction cuts that shift to a few µm per 10°C, more often within the depth-of-focus budget. For fixed-focus drone cameras, set focus at the midpoint of the expected operating temperature range rather than at room temperature, and verify against the lens datasheet.
Sealed construction for outdoor durability
IP67-rated sealed lenses reduce moisture ingress during thermal cycling. When a drone cools rapidly at altitude, an unsealed lens can draw in humid ambient air that condenses on internal glass surfaces. Internal haze from condensation degrades contrast and typically cannot be cleaned without disassembly. IP67 and IP69K ratings also matter for flight in rain, near water, or humid field environments; IP69K adds high-pressure wash resistance. Many Commonlands M12 lenses are available in sealed IP67 or IP69K variants for this reason. See ruggedized machine vision lenses for the full sealing and construction picture.
Sealed lenses add a small weight penalty from the sealing hardware, typically a gram or less on an M12 lens. That marginal mass is worth the protection for any outdoor deployment, but it is still worth accounting for on the tightest sub-100g payload budgets.
IR filters, NDVI, and multispectral imaging
The filter configuration of an M12 lens needs to match the imaging application. Running the wrong filter produces images that are either color-shifted or simply missing the spectral band the application depends on.
The standard 650nm IR cut filter
The default configuration for visible-light drone cameras. It blocks wavelengths above roughly 650nm, including the near-infrared that would otherwise shift color balance in RGB images, particularly in foliage, which strongly reflects NIR. Use the standard IR-cut configuration for RGB mapping, aerial photography, and inspection where accurate color matters.
No-filter (NIR pass) lenses for NDVI and crop monitoring
Normalized difference vegetation index and similar vegetation-health metrics require near-infrared reflectance data: NDVI = (NIR − Red) / (NIR + Red). Healthy vegetation strongly reflects NIR (around 850nm) while absorbing red; stressed or diseased vegetation reflects less NIR and more red. A standard IR cut filter attenuates the NIR channel so heavily that meaningful NDVI measurement is not practical. For drone-based agriculture, precision farming, and forestry survey work, specify an M12ANIR (no IR cut filter) lens variant, or a narrowband NIR bandpass filter matched to your sensor's spectral response. Pair either option with a low-distortion lens such as the CIL052 or CIL034 so row-spacing and canopy-area measurements stay accurate at the frame edges.
850nm and 940nm bandpass filters for active IR illumination
Night surveillance drones using active IR illumination (an onboard LED array at 850nm or 940nm) benefit from a bandpass filter matched to the illuminator wavelength, which rejects ambient daylight and improves contrast under IR illumination. 850nm gives slightly more sensor sensitivity; 940nm is invisible to the human eye, which matters for covert operation.
True calibrated multispectral drone imaging (red, green, blue, red-edge, NIR bands) typically uses dedicated multi-sensor camera systems, not a single M12 lens. M12 lenses are relevant for single-band NIR, NDVI-proxy setups on modified consumer cameras, and active-IR night surveillance. Browse optical filters for bandpass options, and see bandpass filter selection for pairing guidance.
Top M12 lenses for drones by mission
The best M12 lens for a drone depends on the mission: pick a low-distortion lens for mapping and photogrammetry, wide field of view for FPV and obstacle avoidance, a telephoto for standoff inspection, and a no-IR-cut (NIR) variant for NDVI crop monitoring. The Commonlands picks below all come in under 15g, with all-glass and IP-rated options for outdoor flight; confirm construction on each product page.
We sorted the Commonlands M12 catalog by the one spec that governs each mission: optical distortion for survey-grade mapping, field of view for FPV, focal length for standoff inspection, and filter configuration for NDVI. We then kept only lenses under 15g so the payload budget stays intact. Every figure in the table is a published product-page spec, not an estimate; size each pick against your sensor with the field of view calculator.
| Mission | Lens | イーエフエル | ディストーション | 重量 | Why this pick |
|---|---|---|---|---|---|
| Precision mapping / photogrammetry | CIL052 | 5.2mm | <0.2% optical | <15g | Lowest distortion in the set keeps orthomosaic geometry true, so software correction is optional rather than mandatory. |
| High-resolution mapping | CIL039 | 3.9mm | <0.2% TV | <15g | Resolves fine ground detail on 8MP and larger sensors at survey altitude. |
| Wide-area, weather-exposed mapping | CIL034 | 3.25mm | <1% optical | 5.7g | 102° covers more ground per pass, and IP67 sealing handles rain and humidity. |
| FPV / obstacle avoidance | CIL337 | 3.6mm | Wide-angle, uncorrected | ~5g | 133° FoV at F/1.6 gives the most reaction time before an obstacle enters frame; IP69K sealed. |
| Forward navigation / general imaging | CIL355 | 5.5mm | Standard wide-angle | ~5.1g | 89° balances coverage and detail for a forward flight camera; IP69K sealed. |
| Standoff inspection | CIL250 | 25mm | Telephoto, IR corrected | <15g | 20° telephoto holds working distance from towers, bridges, and wind blades. |
| NDVI / crop monitoring | CIL052 or CIL034 (M12ANIR) | 5.2mm / 3.25mm | <0.2% / <1% optical | <15g | The no-IR-cut variant passes the near-infrared band NDVI needs, and low distortion keeps canopy-area measurements accurate at the frame edges. |
Weights shown with ~ are measured; entries marked <15g are all-glass models under the 15g set ceiling (confirm exact mass on the product page). Optical and TV distortion are measured against different references and are not directly comparable.
When an integrated camera or another vendor fits better
For hobby FPV, an all-in-one unit like a GoPro or an FPV camera, or an M12 lens bundled with an Arducam or Sunex module, is often the faster path. The optics, sensor, and tuning ship matched, and absolute distortion accuracy does not matter when the footage is only for a pilot's eyes. Spec-controlled lenses earn their place when the output is measured rather than watched. If you export orthomosaics, point clouds, GIS layers, or NDVI maps, you need a known focal length, a published distortion figure, and consistent unit-to-unit optics so the camera model in Pix4D, Agisoft Metashape, or OpenCV stays valid across a fleet. That repeatability, plus the sealed IP67 and IP69K variants for field weather and the right optical filter for the spectral band, is what separates a survey lens from a bundled one.
よくある質問
What focal length M12 lens is best for drone mapping?
For general aerial mapping at 30-120m altitude, a 4-6mm focal length covers most use cases on sensors with 3-4µm pixel pitch. The 3.6mm CIL337 gives 133° field of view for wide-area coverage at lower altitudes.
For precision photogrammetry requiring sub-1% optical distortion, the 5.2mm CIL052 (<0.2% optical distortion) is the better choice even if it means flying lower to hit your GSD target. Wide-angle lenses with standard distortion will work with software calibration, but residual geometric error in your orthomosaic will be measurably worse.
How do I calculate ground sampling distance for my drone?
GSD = (pixel_pitch × altitude) / focal_length. Use consistent units: convert pixel pitch from micrometers to meters first. Example: a 1.55µm pixel (0.00000155m, Sony IMX577 class) at 50m altitude with a 7.75mm lens gives GSD = (0.00000155 × 50) / 0.00775 = 0.01m, or 1cm per pixel.
Doubling altitude doubles GSD (halves resolution). Doubling focal length halves GSD (doubles resolution). Use the Commonlands FoV calculator to work through combinations for your specific sensor.
Is M12 or C-mount better for a drone camera?
M12 is the standard choice for most drones. All-glass M12 lenses typically weigh 3-15g versus 50-200g for a comparable C-mount lens, and that weight difference converts directly into flight time or payload capacity on nearly every airframe.
C-mount is worth considering only on large fixed-wing platforms with multi-kilogram payload budgets, or applications requiring sensor formats larger than M12 can cover. See the full M12 vs C-mount vs CS-mount comparison for the mechanical tradeoffs.
Can I use a fisheye lens for aerial photogrammetry?
Fisheye lenses can be used for mapping, though they are not the first choice for survey-grade work. They use an equidistant or equisolid projection with high distortion, and OpenCV's fisheye module and the fisheye camera models in Pix4D and Agisoft Metashape calibrate and dewarp that projection so it works in a photogrammetry pipeline. The tradeoff is that dewarping stretches and resamples the edges, lowering effective edge resolution, so a low-distortion rectilinear lens gives cleaner ground measurements. Fisheye lenses remain a strong choice for obstacle avoidance and situational awareness.
Fisheye lenses are useful for obstacle avoidance or wide-angle situational awareness, applications where maximum field of view matters and measurement accuracy does not. For anything deriving ground measurements, use a low-distortion lens under roughly 1% optical distortion.
Why do drone camera lenses need IP67 or IP69K sealing?
Sealed construction greatly reduces moisture ingress during the rapid thermal cycling a drone experiences between ground and cruise altitude. An unsealed lens can draw in humid air that condenses on internal glass surfaces. Internal haze from condensation degrades contrast and typically cannot be removed without disassembly.
IP67 rating adds temporary-immersion resistance, useful for flying in rain, humidity, or near water. IP69K adds high-pressure wash resistance on top of that. Both matter for any drone that flies outdoors regularly rather than only in controlled conditions.
What is the lightest M12 lens for a drone camera?
The CIL337 (3.6mm, IP69K) and CIL355 (5.5mm, IP69K) both weigh approximately 5g. A comparable C-mount industrial lens typically weighs 50-200g. On a small drone with a 100-200g payload budget, the difference between a 5g M12 lens and a 100g C-mount lens is significant: it frees payload for battery, compute, or additional sensors.
Across a multi-camera drone system with forward, downward, and aft cameras, three M12 lenses at 5g each total 15g, versus 300-600g for three equivalent C-mount lenses. That difference materially changes which platforms are viable.
How does vibration affect drone camera lens choice?
Motor and frame vibration couples into the lens barrel as micro-oscillation. On a rolling-shutter sensor this produces skewed or wobbled frames, because rows expose sequentially rather than all at once, a meaningfully worse failure mode than the uniform blur a global-shutter sensor produces under the same vibration.
Rigid, all-metal M12 barrels are generally stiffer than plastic housings, which can help the lens and sensor hold their relative alignment under vibration. Mechanical vibration isolation between the camera and the drone frame is the correct first-line fix; starting with a rigid, all-metal lens reduces the problem before isolation is even applied.
Should I use an IR filter on my drone camera lens?
It depends on the application. For visible-light mapping, inspection, and photography, use a standard 650nm IR cut filter. It blocks near-infrared that would otherwise shift color balance in RGB images, particularly in foliage. For agriculture and NDVI vegetation monitoring, specify a no-filter or NIR-pass lens variant that passes near-infrared wavelengths.
For active IR surveillance at night, use an 850nm or 940nm bandpass lens matched to your illuminator. A filtered lens on a NIR application removes the signal the application depends on; an unfiltered lens on a color mapping application shifts color balance enough to compromise the map.
What M12 lens works for drone-based NDVI and crop monitoring?
Use a low-distortion M12 lens without an IR cut filter (the M12ANIR variant of the CIL052 or CIL034 are reasonable starting points), paired with a bandpass filter matched to your sensor's spectral response. NDVI = (NIR − Red) / (NIR + Red), and a standard IR cut filter blocks the NIR channel this calculation needs.
Optical distortion below roughly 1% keeps row-spacing and canopy-area measurements accurate at the frame edges. This is the same low-distortion lens class used for general mapping, just specified without the IR cut filter.
Do M12 lenses work with Raspberry Pi and Jetson cameras on drones?
Yes. Most small-format camera modules designed for embedded platforms use M12 (S-mount) lens holders: the Raspberry Pi HQ Camera M12 variant (note: the standard Raspberry Pi HQ Camera is CS-mount, with a C-mount adapter included in the box), various Jetson-compatible MIPI modules, and custom PCB camera designs all use M12×0.5mm thread mounting.
M12 lenses have no fixed flange distance, so back focal adjustment is done directly with the lens thread, which also means you can fine-tune focus for your specific sensor stack thickness, including differences between bare sensor, cover glass, and IR filter combinations.
Need help selecting a drone camera lens?
Contact our engineering team for focal length, filter, and mounting recommendations based on your specific sensor, airframe, and flight profile.











