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
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
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.
Raspberry Pi cameras, lenses and GMSL cameras pinout
The pins on the Raspberry Pi cameras, lenses and GMSL cameras and what each one does.
| Pin | Function |
|---|---|
| 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 |
- 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
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 pin | Fits or connects to | Note |
|---|---|---|
| Camera Module 3 | Pi CSI port | Use the correct ribbon for your Pi model |
| IMX219-170 | Pi CSI port | Check the ribbon width |
| Lens | Camera or HQ camera mount | Hand-tight; focus by hand |
| GMSL2 camera | Deserialiser board by Fakra coax | Needs 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
Example code
A short order of work that suits this family.
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.Setup and tuning
Pi 5 and Zero use a smaller connector; use the right cable.
autofocus on Camera Module 3; manual on lenses.
wide for rooms and robots, telephoto for distance.
CSI ribbon is short; use GMSL2 for long runs.
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
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.
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.
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
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
