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. ›IMX219 8MP Camera for Raspberry Pi and Jetson

Component guide · Beginner · 7 min read

IMX219 8MP Camera for Raspberry Pi and Jetson

Setup and Code

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the IMX219 camera isIMX219 camera pinoutWiring the IMX219 cameraExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The Sony IMX219 is the 8 MP sensor in the Raspberry Pi Camera v2, and it is also the standard camera for the NVIDIA Jetson Nano. It connects over a CSI ribbon, records 1080p at 30 fps (720p at 60) and comes in many lens versions: standard, wide-angle, fisheye, NoIR and stereo. It gives clearly better images than the OV5647 at a small extra cost.

Key specs at a glance

Sensor
Sony IMX219, 8 MP (3280 × 2464)
Video
1080p30, 720p60, 640 × 480 at 90 fps
Interface
MIPI CSI-2, 2 lanes, 15-pin ribbon
Pixel size
1.12 µm, 1/4 inch optical format
Platforms
Raspberry Pi (all with CSI), Jetson Nano and Orin Nano
Versions
77 to 200 degree lenses, NoIR, IR-cut, motorised focus, stereo pair

Models in this guide

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

  • Option 1Arducam 8MP IMX219 Camera Module for Raspberry Pi₹2,829
  • Option 2Arducam 8 MP Sony IMX219 Camera Module w/ M12 Lens LS40136 for Raspberry Pi₹8,019
  • Option 3Arducam 8MP IMX219 175° Wide-Angle Raspberry Pi Camera Module₹2,319
  • Option 4Arducam 8MP IMX219 Auto Focus Camera Module w/ Motorized Lens for Raspberry Pi₹2,479
  • Option 5Arducam 8MP IMX219 Camera Module with Fisheye Lens for Jetson Nano₹3,659
  • Option 6Arducam 8MP IMX219 Motorized Focus Camera Module for NVIDIA Jetson Nano (NoIR)₹4,486
01

What the IMX219 camera is

The IMX219 is a good all-round camera for robots, time-lapse and machine vision. Lenses are the main difference between versions: a narrow lens sees detail far away, a 160 or 200 degree lens covers a whole room but bends straight lines near the edges.

Jetson versions use the same sensor and cable, so most boards work on both a Pi and a Jetson. On a Jetson use the GStreamer nvarguscamerasrc pipeline instead of Picamera2.

02

IMX219 camera pinout

The pins on the IMX219 camera and what each one does.

PinFunction
CSI ribbon (15-pin, 1 mm pitch)Camera data lanes, clock, I2C control and power in one flat cable
Blue stiffener sideFaces the Ethernet/USB ports on a Pi 4; on a Pi 5 the 22-pin end faces away from the board edge as printed
Metal contactsFace the connector contacts; a reversed cable gives 'no cameras available'
Lens mountFixed, M12 or CS/C mount depending on the board
PinFunction
CSI ribbon (15-pin, 1 mm pitch)
Camera data lanes, clock, I2C control and power in one flat cable
Blue stiffener side
Faces the Ethernet/USB ports on a Pi 4; on a Pi 5 the 22-pin end faces away from the board edge as printed
Metal contacts
Face the connector contacts; a reversed cable gives 'no cameras available'
Lens mount
Fixed, M12 or CS/C mount depending on the board
03

Wiring the IMX219 camera

Turn the Pi off before connecting. Lift the connector latch, push the ribbon fully in with the contacts facing the connector pins, then press the latch down. The Pi 5 and Zero use a smaller 22-pin connector, so they need a 15-to-22-pin cable. On a Jetson Nano, use CAM0 with the same 15-pin ribbon.

IMX219 camera pinRaspberry Pi 5Raspberry Pi 4
Ribbon cableCAM/DISP 0 or 1 (22-pin, use a 15-to-22 cable)CAMERA port (15-pin)
PowerFrom the ribbon (no extra wires)From the ribbon (no extra wires)
Softwarerpicam-apps / Picamera2 (Bookworm)rpicam-apps / Picamera2 (Bookworm)
Ribbon cable
Raspberry Pi 5:
CAM/DISP 0 or 1 (22-pin, use a 15-to-22 cable)
Raspberry Pi 4:
CAMERA port (15-pin)
Power
Raspberry Pi 5:
From the ribbon (no extra wires)
Raspberry Pi 4:
From the ribbon (no extra wires)
Software
Raspberry Pi 5:
rpicam-apps / Picamera2 (Bookworm)
Raspberry Pi 4:
rpicam-apps / Picamera2 (Bookworm)
04

Example code

First check the camera from a terminal with rpicam-hello --list-cameras (older images: libcamera-hello). Picamera2 is installed by default on Raspberry Pi OS Bookworm. On a Jetson: gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink.

Take a photo and record a clip with Picamera2 · MicroPython
from picamera2 import Picamera2
from picamera2.encoders import H264Encoder
import time

cam = Picamera2()
cam.configure(cam.create_still_configuration())
cam.start()
time.sleep(2)                       # let exposure and white balance settle
cam.capture_file("imx219.jpg")
cam.stop()

video = cam.create_video_configuration(main={"size": (1920, 1080)})
cam.configure(video)
cam.start_recording(H264Encoder(bitrate=10_000_000), "clip.h264")
time.sleep(10)
cam.stop_recording()
05

Setup and tuning

Detect it

rpicam-hello --list-cameras should list the sensor. If not, re-seat the ribbon and check its direction.

Third-party boards

some need a line in /boot/firmware/config.txt, such as camera_auto_detect=0 and dtoverlay=imx219, then a reboot.

Focus

fixed-focus lenses can be turned gently to adjust; M12 and CS lenses screw in and out.

Heat

long recordings warm the sensor; leave some air around it.

Wide lenses

correct barrel distortion in OpenCV with a checkerboard calibration if you measure distances.

06

What you need

Shop this list20 of 20 found in our store · ₹62,996

  • Arducam 8MP IMX219 Camera Module for Raspberry Pi: the part this guide coversArducam 8MP IMX219 Camera Module for Raspberry Pi₹2,829
  • Arducam 8 MP Sony IMX219 Camera Module w/ M12 Lens LS40136 for Raspberry Pi: another version this guide coversArducam 8 MP Sony IMX219 Camera Module w/ M12 Lens LS40136 for Raspberry Pi₹8,019
  • Arducam 8MP IMX219 175° Wide-Angle Raspberry Pi Camera Module: another version this guide coversArducam 8MP IMX219 175° Wide-Angle Raspberry Pi Camera Module₹2,319
  • Arducam 8MP IMX219 Auto Focus Camera Module w/ Motorized Lens for Raspberry Pi: another version this guide coversArducam 8MP IMX219 Auto Focus Camera Module w/ Motorized Lens for Raspberry Pi₹2,479
  • Arducam 8MP IMX219 Camera Module with Fisheye Lens for Jetson Nano: another version this guide coversArducam 8MP IMX219 Camera Module with Fisheye Lens for Jetson Nano₹3,659
  • Arducam 8MP IMX219 Motorized Focus Camera Module for NVIDIA Jetson Nano (NoIR): another version this guide coversArducam 8MP IMX219 Motorized Focus Camera Module for NVIDIA Jetson Nano (NoIR)₹4,486
  • Arducam 8MP IMX219 NOIR V2 Night Vision Camera Module for Raspberry Pi: another version this guide coversArducam 8MP IMX219 NOIR V2 Night Vision Camera Module for Raspberry Pi₹1,859
  • Arducam 8MP IMX219 Wide Angle IR Sensitive Camera Module: another version this guide coversArducam 8MP IMX219 Wide Angle IR Sensitive Camera Module₹3,259
  • Arducam B0191 IMX219 Fixed Focus Camera Module for Jetson Nano, Raspberry Pi CM4: another version this guide coversArducam B0191 IMX219 Fixed Focus Camera Module for Jetson Nano, Raspberry Pi CM4₹1,379
  • Arducam IMX219 Auto Focus Camera Module for Raspberry Pi V2 & Jetson Nano: another version this guide coversArducam IMX219 Auto Focus Camera Module for Raspberry Pi V2 & Jetson Nano₹2,749
  • Arducam IMX219 Camera Module with Fisheye Lens for Raspberry Pi V2 & Jetson Nano: another version this guide coversArducam IMX219 Camera Module with Fisheye Lens for Raspberry Pi V2 & Jetson Nano₹1,869
  • Arducam IMX219 Low Distortion M12 Mount Camera for Jetson Nano, Raspberry Pi Compute: another version this guide coversArducam IMX219 Low Distortion M12 Mount Camera for Jetson Nano, Raspberry Pi Compute₹3,819
  • Arducam IMX219 Visible Light Fixed Focus Camera Module for Raspberry Pi: another version this guide coversArducam IMX219 Visible Light Fixed Focus Camera Module for Raspberry Pi₹2,138
  • Arducam IMX219 Wide Angle Camera Module for Jetson Nano & Pi Compute Modules: another version this guide coversArducam IMX219 Wide Angle Camera Module for Jetson Nano & Pi Compute Modules₹3,639
  • Arducam NOIR 8MP Sony IMX219 Camera Module w/ M12 Lens LS1820: another version this guide coversArducam NOIR 8MP Sony IMX219 Camera Module w/ M12 Lens LS1820₹4,029
  • Arducam NOIR 8MP Sony IMX219 Camera Module w/ Motorized IR Cut Filter & M12 Lens: another version this guide coversArducam NOIR 8MP Sony IMX219 Camera Module w/ Motorized IR Cut Filter & M12 Lens₹5,309
  • Arducam NOIR 8MP Sony IMX219 Camera Module with CS Lens for Raspberry Pi: another version this guide coversArducam NOIR 8MP Sony IMX219 Camera Module with CS Lens for Raspberry Pi₹4,279
  • Hiwonder Sony IMX219 HD Camera 160° Wide Angle: another version this guide coversHiwonder Sony IMX219 HD Camera 160° Wide Angle₹2,879
  • IMX219 8MP 120° FOV Camera Module for Raspberry Pi 5: another version this guide coversIMX219 8MP 120° FOV Camera Module for Raspberry Pi 5₹999
  • IMX219 8MP 130° Wide-Angle Camera Module for Raspberry Pi 5: another version this guide coversIMX219 8MP 130° Wide-Angle Camera Module for Raspberry Pi 5₹999
07

Alternatives and when to choose them

  • ✓OV5647 camera: cheaper 5 MP option.
  • ✓IMX708 Camera Module 3: 12 MP, autofocus and HDR.
  • ✓IMX477 HQ camera: interchangeable lenses and a bigger sensor.
08

Common mistakes to avoid

  • !Forgetting the 15-to-22-pin cable for a Pi 5.
  • !Choosing a 200 degree lens for a job that needs straight lines or long range.
  • !Using Picamera2 commands on a Jetson, which uses GStreamer.
  • !Bending the ribbon sharply, which breaks traces.
09

Frequently asked questions

Is the IMX219 the Pi Camera v2?

Yes, the official Camera Module v2 uses the IMX219.

Does it work with Jetson Nano?

Yes, it is the camera Jetson Nano supports by default.

Which field of view should I pick?

About 77 degrees for general use, 120 to 160 for robots and rooms, 200 for all-round views.

Can it see in the dark?

The NoIR and IR versions can, with infrared lighting.

What frame rates does it support?

1080p at 30 fps, 720p at 60 fps and 640 × 480 at up to 90 fps.

Parts for this guide

  • Arducam 8MP IMX219 Camera Module for Raspberry Pi
    ₹2,829View
  • Arducam 8 MP Sony IMX219 Camera Module w/ M12 Lens LS40136 for Raspberry Pi
    ₹8,019View
  • Arducam 8MP IMX219 175° Wide-Angle Raspberry Pi Camera Module
    ₹2,319View
  • Arducam 8MP IMX219 Auto Focus Camera Module w/ Motorized Lens for Raspberry Pi
    ₹2,479View
  • Arducam 8MP IMX219 Camera Module with Fisheye Lens for Jetson Nano
    ₹3,659View
  • Arducam 8MP IMX219 Motorized Focus Camera Module for NVIDIA Jetson Nano (NoIR)
    ₹4,486View
  • Arducam 8MP IMX219 NOIR V2 Night Vision Camera Module for Raspberry Pi
    ₹1,859View
  • Arducam 8MP IMX219 Wide Angle IR Sensitive Camera Module
    ₹3,259View
  • Arducam B0191 IMX219 Fixed Focus Camera Module for Jetson Nano, Raspberry Pi CM4
    ₹1,379View
  • Arducam IMX219 Auto Focus Camera Module for Raspberry Pi V2 & Jetson Nano
    ₹2,749View
  • Arducam IMX219 Camera Module with Fisheye Lens for Raspberry Pi V2 & Jetson Nano
    ₹1,869View
  • Arducam IMX219 Low Distortion M12 Mount Camera for Jetson Nano, Raspberry Pi Compute
    ₹3,819View
  • Arducam IMX219 Visible Light Fixed Focus Camera Module for Raspberry Pi
    ₹2,138View
  • Arducam IMX219 Wide Angle Camera Module for Jetson Nano & Pi Compute Modules
    ₹3,639View
  • Arducam NOIR 8MP Sony IMX219 Camera Module w/ M12 Lens LS1820
    ₹4,029View
  • Arducam NOIR 8MP Sony IMX219 Camera Module w/ Motorized IR Cut Filter & M12 Lens
    ₹5,309View
  • Arducam NOIR 8MP Sony IMX219 Camera Module with CS Lens for Raspberry Pi
    ₹4,279View
  • Hiwonder Sony IMX219 HD Camera 160° Wide Angle
    ₹2,879View
  • IMX219 8MP 120° FOV Camera Module for Raspberry Pi 5
    ₹999View
  • IMX219 8MP 130° Wide-Angle Camera Module for Raspberry Pi 5
    ₹999View
  • IMX219 8MP Camera Module w/ 200° FOV for Raspberry Pi 5
    ₹1,099View
  • Sony IMX219 8MP 160° FOV Fisheye Camera Module for Raspberry Pi
    ₹1,409View
  • Sony IMX219 8MP 77° FOV Camera Module for Raspberry Pi 5
    ₹999View
  • Waveshare IMX219 Camera Module for Raspberry Pi 5, 8MP, MIPI-CSI, 120° FOV
    ₹1,979View
  • Waveshare IMX219 Camera Module for Raspberry Pi 5, 8MP, MIPI-CSI, 79.3° FOV
    ₹1,589View
  • Waveshare IMX219-120 Camera Module, 120° FOV, for Jetson Nano
    ₹1,589View
  • Waveshare IMX219-160 8MP IR-CUT Camera, 162° FOV
    ₹2,849View
  • Waveshare IMX219-160 Camera Module, 8MP, 160° FOV for Jetson Nano
    ₹2,149View
  • Waveshare IMX219-160IR Camera, 160° FOV Infrared, for Jetson Nano
    ₹3,023View
  • Waveshare IMX219-200 Camera Module, 200° FOV, for Jetson Nano
    ₹2,519View
  • Waveshare IMX219-77 Camera Module for Jetson Nano
    ₹2,209View
  • Waveshare IMX219-77IR Infrared Camera Module for Jetson Nano
    ₹2,559View
  • Waveshare IMX219-83 Stereo Camera Module, 8MP Binocular Depth Vision
    ₹6,416View
  • Raspberry Pi 5 with 4GB RAM
    ₹14,079View
  • Raspberry Pi 4 Model B with 4GB RAM
    ₹11,461View
  • Arducam CB008 3.8cm 15-Pin to 22-Pin Camera Cable for Raspberry Pi Zero/W
    ₹227View
  • Arducam B0229 Raspberry Pi Camera Ribbon Flex Extension Cable Set (5cm, 60cm, 100cm)
    ₹1,129View
Shop Embedded Camera Modules & Sensors (Arducam, IMX)

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 5 GuideThe Raspberry Pi 5 is a credit-card-size Linux computer with a 2.4 GHz quad-core Arm CPU, 2 to 16 GB of RAM, dual 4K HDMI, PCIe for NVMe storage and 40 GPIO pins.4 min read · Boards & Microcontrollers

Sources

  • Raspberry Pi camera documentation (raspberrypi.com)
  • Sony IMX219PQ product information
  • NVIDIA Jetson camera development guide

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 IMX219 camera isIMX219 camera pinoutWiring the IMX219 cameraExample 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 guide1 item · ₹2,829

Arducam 8MP IMX219 Camera Module for Raspberry Pi

Run itChange the inputs and watch the output

The script prints nothing. It saves one still, then records 10 s of 1080p video.

Shell
$ python3 capture.py
$ ls
capture.py  clip.h264  imx219.jpg

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question