Raspberry Pi Camera

From wikiluntti

Introduction

Rpicam is based on libcamera rpicam-still

To a raw jpeg file rpicam-still -r -o path/to/file.jpg

Some settings:

  • --timeout 0
  • --shutter 100000 takes a 100 sec photo
  • -r
  • --encoding png
  • -o path/to/file.jpg
  • --gain 1 --awbgains 1,1 --immediate Automatic Exposure/Gain Control (AEC/AGC) and Auto White Balance (AWB). Skip the preview phase entirely with the immediate option

RPi camera rev 1.3

Focal Length 3.60 mm.

The v1 camera is based on the Omnivision OV5647.

RPi Cam ver 2

  • Size ~ 25 × 24 × 9 mm
  • 8 MP, 1080p47, 1640 × 1232p41 and 640 × 480p206 / 3280 × 2464 pixels
  • Sony IMX219
  • Sensor area: 3.68 × 2.76 mm (4.6 mm diagonal); Pixel size 1.12 µm × 1.12 µm
  • Depth of field: Approx 10 cm to ∞
  • f = 3.04 mm
  • H Fov 62.2 deg, v Fov 48.8

Darwings with measures: https://datasheets.raspberrypi.com/camera/camera-module-2-mechanical-drawing.pdf

M12 lenses recommendation: https://www.gaojiaoptotech.com

Spectroscope

https://github.com/leswright1977/PySpectrometer2?tab=readme-ov-file

  • A CCTV Lens with Zoom (M12 Thread) (Search eBay for F1.6 zoom lens)

I

I