Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Raspberry Pi Camera Module 3, Telephoto and Wide-Angle Lenses

Component guide · Intermediate · 3 min read

Raspberry Pi Camera Module 3, Telephoto and Wide-Angle Lenses

Waveshare IMX219-170 and GMSL2 Automotive Cameras With Fakra Cables

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Raspberry Pi cameras, lenses and GMSL cameras isRaspberry Pi cameras, lenses and GMSL cameras pinoutWiring the Raspberry Pi cameras, lenses and GMSL camerasExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

These parts add vision to a Raspberry Pi: the official Camera Module 3, the 6 mm wide-angle and 25 mm telephoto lenses for Pi cameras, a wide 170 degree IMX219 camera and rugged GMSL2 automotive cameras. Choose by field of view, lens mount (M12 or C and CS) and how far the camera must sit from the Pi.

Key specs at a glance

Cameras
Camera Module 3, IMX219-170, GMSL2 2 MP
Lenses
6 mm wide-angle, 25 mm telephoto M12
Interface
CSI ribbon; GMSL2 via serialiser and coax
Field of view
Up to 170 degree wide on IMX219-170
Cable
Fakra coax for GMSL2
Use
Robotics, vision, surveillance and automotive projects

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1Raspberry Pi 5MP 25mm Telephoto Lens M12 Mount₹1,619
  • Option 2Stereolabs GMSL2 Fakra F-F Coaxial Cable 1.5m₹3,549
  • Option 3Waveshare IMX219-170 Camera, 8MP, 170 Degree₹2,750
  • Option 4Waveshare 2MP GMSL2 Camera, Automotive-Grade, IP67₹14,150
  • Option 5Raspberry Pi Camera Module 3₹3,282
  • Option 6Official Raspberry Pi 6 mm Wide Angle Lens for Pi High Quality Camera₹2,934
01

What the Raspberry Pi cameras, lenses and GMSL cameras is

The official Camera Module 3 has autofocus and is the easiest start. The Waveshare IMX219-170 is a very wide 8 MP camera for robots and fisheye-style views. The 6 mm wide-angle and 25 mm telephoto lenses fit the Pi High Quality Camera (C and CS mount) or M12 boards and change the field of view.

GMSL2 cameras send video over a coax cable to a serialiser/deserialiser board, so the camera can sit metres away from the Pi. They are for automotive-style builds and need a GMSL2 receiver board.

02

Raspberry Pi cameras, lenses and GMSL cameras pinout

The pins on the Raspberry Pi cameras, lenses and GMSL cameras and what each one does.

PinFunction
CSI ribbonCamera to Pi camera port
Lens mountM12 or C and CS
Fakra coaxGMSL2 camera to deserialiser
Focus ringManual on the lens options
PinFunction
CSI ribbon
Camera to Pi camera port
Lens mount
M12 or C and CS
Fakra coax
GMSL2 camera to deserialiser
Focus ring
Manual on the lens options
03

Wiring the Raspberry Pi cameras, lenses and GMSL cameras

How the Raspberry Pi cameras, lenses and GMSL cameras fits and connects.

Raspberry Pi cameras, lenses and GMSL cameras pinFits or connects toNote
Camera Module 3Pi CSI portUse the correct ribbon for your Pi model
IMX219-170Pi CSI portCheck the ribbon width
LensCamera or HQ camera mountHand-tight; focus by hand
GMSL2 cameraDeserialiser board by Fakra coaxNeeds a compatible receiver
Camera Module 3
Fits or connects to:
Pi CSI port
Note:
Use the correct ribbon for your Pi model
IMX219-170
Fits or connects to:
Pi CSI port
Note:
Check the ribbon width
Lens
Fits or connects to:
Camera or HQ camera mount
Note:
Hand-tight; focus by hand
GMSL2 camera
Fits or connects to:
Deserialiser board by Fakra coax
Note:
Needs a compatible receiver
04

Example code

A short order of work that suits this family.

Bring up a Pi camera · text
1. Power off. Connect the ribbon to the Pi's camera port with the contacts facing the right way.
2. Boot the Pi and run rpicam-hello to see a live preview.
3. For a lens swap, focus by turning the lens while watching the preview.
4. Capture a still with rpicam-still -o test.jpg to check quality.
5. For GMSL2, wire the camera to the deserialiser and follow its device-tree setup.
05

Setup and tuning

Ribbon

Pi 5 and Zero use a smaller connector; use the right cable.

Focus

autofocus on Camera Module 3; manual on lenses.

Field of view

wide for rooms and robots, telephoto for distance.

Cable length

CSI ribbon is short; use GMSL2 for long runs.

06

What you need

Shop this list6 of 6 found in our store · ₹28,284

  • Raspberry Pi 5MP 25mm Telephoto Lens M12 Mount: the part this guide coversRaspberry Pi 5MP 25mm Telephoto Lens M12 Mount₹1,619
  • Stereolabs GMSL2 Fakra F-F Coaxial Cable 1.5m: another version this guide coversStereolabs GMSL2 Fakra F-F Coaxial Cable 1.5m₹3,549
  • Waveshare IMX219-170 Camera, 8MP, 170 Degree: another version this guide coversWaveshare IMX219-170 Camera, 8MP, 170 Degree₹2,750
  • Waveshare 2MP GMSL2 Camera, Automotive-Grade, IP67: another version this guide coversWaveshare 2MP GMSL2 Camera, Automotive-Grade, IP67₹14,150
  • Raspberry Pi Camera Module 3: another version this guide coversRaspberry Pi Camera Module 3₹3,282
  • Official Raspberry Pi 6 mm Wide Angle Lens for Pi High Quality Camera: another version this guide coversOfficial Raspberry Pi 6 mm Wide Angle Lens for Pi High Quality Camera₹2,934
07

Alternatives and when to choose them

  • ✓Raspberry Pi camera modules: the whole range.
  • ✓Camera lenses M12, C and CS: choosing lenses.
  • ✓IMX708 Camera Module 3: the autofocus camera.
08

Common mistakes to avoid

  • !Using the wrong ribbon for a Pi 5.
  • !Forgetting to focus a manual lens.
  • !Running GMSL2 without a deserialiser board.
  • !Bending the ribbon sharply.
09

Frequently asked questions

Which camera should I buy first?

The official Camera Module 3 is the easiest.

What does the telephoto lens do?

It narrows the field of view for distant subjects.

What is GMSL2?

A serial link that carries video over coax for long runs.

Does the Pi 5 need a different cable?

Yes, the Pi 5 and Zero have a smaller camera port.

Is the IMX219-170 good for robots?

Yes, its 170 degree view suits obstacle awareness.

Parts for this guide

  • Raspberry Pi 5MP 25mm Telephoto Lens M12 Mount
    ₹1,619View
  • Stereolabs GMSL2 Fakra F-F Coaxial Cable 1.5m
    ₹3,549View
  • Waveshare IMX219-170 Camera, 8MP, 170 Degree
    ₹2,750View
  • Waveshare 2MP GMSL2 Camera, Automotive-Grade, IP67
    ₹14,150View
  • Raspberry Pi Camera Module 3
    ₹3,282View
  • Official Raspberry Pi 6 mm Wide Angle Lens for Pi High Quality Camera
    ₹2,934View
Shop Displays, Cameras & Enclosures

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Beginner · 1 hourTime-lapse camera with a Raspberry Pi Camera Module 3View project
Browse all 1 project

Keep learning

Buying guideBeginnerRaspberry Pi Camera ModulesCompare Raspberry Pi Camera Module 3, HQ, Global Shutter and Arducam sensors, choose a lens, pick the right CSI cable for Pi 5 and test with rpicam.3 min read · Boards & MicrocontrollersConcept explainerIntermediateCamera Lenses for Embedded CamerasSmall cameras use M12 (S-mount) lenses, while the Raspberry Pi HQ camera takes CS or C mount lenses.3 min read · IoT & WirelessComponent guideBeginnerRaspberry Pi Camera Module 3 (IMX708)The Raspberry Pi Camera Module 3 uses the 12 MP Sony IMX708 sensor with fast phase-detect autofocus and HDR.5 min read · Sensors

Sources

  • Raspberry Pi camera documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Raspberry Pi cameras, lenses and GMSL cameras isRaspberry Pi cameras, lenses and GMSL cameras pinoutWiring the Raspberry Pi cameras, lenses and GMSL camerasExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹11,384

Raspberry Pi 5MP 25mm Telephoto Lens M12 Mount · Stereolabs GMSL2 Fakra F-F Coaxial Cable 1.5m · Raspberry Pi Camera Module 3 · Official Raspberry Pi 6 mm Wide Angle Lens for Pi High Quality Camera

Ask the Community

Ask a question