element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Pi Global Shutter Camera: What's Inside the Box?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 11 Mar 2023 4:44 PM Date Created
  • Views 5279 views
  • Likes 14 likes
  • Comments 24 comments
Related
Recommended
  • machine vision
  • raspberry_pi
  • raspberrypi
  • raspeberry_pi_accessories
  • raspberry_pi_camera
  • global shutter camera

Pi Global Shutter Camera: What's Inside the Box?

shabaz
shabaz
11 Mar 2023

The new Pi Global Shutter Camera (see the announcement) may be suitable for AI experimentation, so I decided to get one! I believe it should be electrically compatible with both the Pi as well as the NVIDIA Jetson Nano, so I think I can get some good use out of it.

The Sony IMX296LQR-C sensor (sensor PDF flyer; see page 3-4) inside the camera is of a sensible resolution (not quite Full HD, but close, at 1440 x 1080 useful pixels), and it has a 1/3" sensor size, and square 3.45 x 3.45 um pixel size, and operates up to around 60 frames per second. Unlike the older non-global-shutter camera, this new camera uses a sensor intended for machine vision use. The older product used a sensor intended for consumer cameras.

The photo below shows everything that comes inside the box, apart from a little bag of silica gel. There's no static shielding bag or any instructions, you'll have to go to the Raspberry Pi website to access the camera documentation.

The little screwdriver is used if it becomes necessary to loosen or tighten a back-focus ring for trimming the distance between the lens and sensor (ordinarily one shouldn't need to make any adjustment if the ring is fully screwed in).

image

The flat flex is 150 mm long (I separately purchased a 300 mm length flat flex, in case it becomes necessary; you can also get cable joiner adapters, but there is a finite limit on how far it can be extended! these cameras are not intended for long-distance connections via flat flex, since high-frequency signals travel down them).

The photo below shows the various elements of the camera.

image

(Diagram source: The drawing is taken from the Raspberry Pi website)

The screw thread (indicated in the photo above) fits typical tripods, although the flat flex will get in the way a bit, so a bit of care is needed to be gentle when doing that.

The photo below shows there are some test points (the bottom one is labeled GND, I noticed afterward that I didn't capture that in the photo!). 

The rear cover is plastic, whereas the lens and tripod mounts on the other side are metal. The plastic is curved, it isn't used for mounting, and it seems to be acting as just a cover for the electronics. The four holes will suit M2.5 screws.

image

I don't get how this camera is supposed to be mounted; maybe I'm missing something, but it seems awkward because you won't want to screw the PCB because it may flex it (and the weight of any lens would also flex the PCB a certain amount, although I hope it would be negligible, I see no recommendation one way or another on the documentation page). That leaves just the tripod mount as a suitable mounting point, but then it seems odd to affix the enclosure and the tripod to that point. If anyone has a sensible enclosure recommendation, please share it!

In hindsight, I should have purchased a camera lens. I searched around and found a lens, but it's not going to be of high quality (it is from an old standard-definition CCTV camera). 

Note that C-mount and CS-mount lenses have the same thread, but if you have a CS-mount lens, the adapter ring (that was indicated in one of the photos above) would need to be unscrewed so that the focal plane of the lens can reach the sensor.

I fitted my temporary lens in an un-dusty location since it's not fun cleaning out a sensor when dust lands on it (rookie tip: never use a can of bottled air, even if it states it is just air, it will still definitely leave a chemical residue; instead, there are rubber-ball type air dusters that are useful if dust attaches).

image

I have not tried the camera yet, so I'll write some more once I have done that. Currently, I have no idea what the image will be like, but I can compare it with another (much older Sony IMX136LQJ [PDF flyer]) machine vision camera that I have.

The sensor in this Raspberry Pi camera is not the latest generation either, but it is a fraction of what an industrial machine vision camera would cost (although I wish more thought had been applied to enclosure mounting options instead of what seem like near-pointless plastic injection moldings!). Still, I'm excited to have what may turn out to be a fairly decent camera for machine vision and AI purposes, especially if the enclosure mounting issues are somehow worked around.

Thanks for reading!

  • Sign in to reply
  • beacon_dave
    beacon_dave over 2 years ago in reply to shabaz

    Nice until someone does this:
    https://www.arducam.com/product/b0241-arducam-imx477-hq-camera-6/

    At which point you have a box camera with a HDMI connector on its rear.

    What could possibly go wrong ?! Thinking

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to beacon_dave

    Nice options! For half a minute I thought that kit converted to HDMI! : ) That would have been very neat.

    There's also a flat flex connector back-to-back adapter, to join two flat flex cables together. The HDMI or RJ45 cable methods are way better, especially if the Pi and camera are to be in separate enclosures!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to shabaz

    Arducam do an extender kit that allows you to extend the camera over a HDMI patch cable
    https://www.arducam.com/product/arducam-csi-hdmi-cable-extension-module-15pin-60mm-fpc-cable-raspberry-pi-camera-specific-pack-2-1-set/

    or a RJ45 patch cable
    https://www.arducam.com/product/15-meter-cable-extension-kit-2/

    Unfortunately the mountings are still for the V1, V2, &V3 camera and they haven't added the additional holes for the HQ & GS camera. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago

    FIrst attempt, decided to use this adapter for (ancient) Nikon F-mount lenses, which are fairly low-cost on ebay. This adapter was £10 from ebay but there are new ones for about £20.

    image

    Here's the setup with a random cheap lens from ebay:

    image

    Notes/Issues/Hurdles:

    1. I strongly recommend getting a long flat flex cable such as the one in the photo. The default one is way too short to be experimenting with

    2. Changing out the flat flex is a bit annoying, It is impossible to grip the connector because the plastic cover on the rear of the camera blocks this. So, one has to use a flat screwdriver instead. The other option is to unscrew the cover, but there's no chance I was going to do that and risk dirt on the sensor on the other side. I can see people breaking the flat flex connector! The easiest way was to lever the screwdriver in the centre of the connector, rather than the ends, but lots of care is needed either way.

    3. Even with the latest Pi OS image, I definitely needed to do apt update followed by apt full-upgrade for the camera to be detected by the libcamera-hello app that is part of the image. I'm using a Pi 3A+ board.

    4. If you install a TFT display, the camera may cease to be detected. The solution was to insert this line in the /boot/config.txt file, if a search for the text camera reveals nothing:

    camera_auto_detect=1

    5. It seems impossible (currently) to get the libcamera-hello app to work with the TFT display (I'm using a Waveshare display. I wanted to use it to preview the camera). The reason is, that this error occurs:

    pi @ pi3aplus:~$ DISPLAY=:0 libcamera-hello
    libEGL warning: DRI2: failed to authenticate
    Made X/EGL preview window
    [1:11:19.021351161] [1428] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
    [1:11:19.130421036] [1441] INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/i2c@1/imx296@1a to Unicam device /dev/media3 and ISP device /dev/media0
    [1:11:19.131610871] [1428] INFO Camera camera.cpp:1028 configuring streams: (0) 728x544-YUV420
    [1:11:19.131994306] [1441] INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/imx296@1a - Selected sensor format: 1456x1088-SBGGR10_1X10 - Selected unicam format: 1456x1088-pBAA
    terminate called after throwing an instance of 'std::runtime_error'
    what(): failed to import fd 19
    Aborted
    pi @ pi3aplus:~$
    

    According to Google, the solution is supposed to be to enable Glamor and to enable GL Driver using the raspi-config app, however that approach doesn't work with the SPI TFT I'm using. Enabling the GL Driver prevents the Waveshare display from showing the desktop.

    image

    Anyway it is a libcamera-hello issue, because I can launch other graphical applications and they work, e.g. xeyes.

    As a result, I'd strongly recommend saving the headache and using a HDMI-attached display if possible.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 2 years ago in reply to genebren

    Hi Gene,

    Thanks! I'm the same, I just want a camera to start experimenting with. I did have a very early older small Pi camera, and I ended up fitting it into an enclosure along with the Pi, but it's pretty useless since I can't focus it on any nearby object (which is what I'd want to experiment with; I tried it with documents such as photo ID cards (that was the subject I was interested in at the time). So, this camera is a lot more interesting.

    .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube