樹莓派 8M 相容鏡頭模組

樹莓派鏡頭模組有五百萬及八百萬像素兩款,固定焦距。今天來看一款相容的八百萬像素的鏡頭模組。它可以配CS接口的Lens。

img_2197

它的規格:

  • Sensor type: Sony IMX219 Color CMOS 8-megapixel
  • Sensor size: 3.674 x 2.760 mm (1/4″ format)
  • Pixel Count: 3280 x 2464 (active pixels) 3296 x 2512 (total pixels)
  • Pixel Size: 1.12 x 1.12 um
  • Lens: CS mount customizable
  • Video: 1280×720 binned and cropped up to 60fps
    • 1080P cropped up to 30fps
    • 1640×1232 full FOV binned mode, up to 30fps
    • 3280×2464 full FOV, allegedly 0.1fps to 15fps
  • IR Sensitive: Optional motorized IR cut filter

購買此鏡頭,選一款CS標準Lens 搭配

板子尺寸 36 x 36 mm

img_2196

來配一款5-50mm 的Lens

img_2198

它的規格

u1454_1

接口是 CS

img_2195img_2200

轉緊

img_2201

試拍看看 (原稿)

test1s

手動調整焦距

 

Multi camera adaptor 開箱

Arducam 開發的多鏡頭控制模組 Multi Camera Adapter Module

IMG_1869

Feature:

  • Accommodate 4 Raspberry Pi cameras on an multi camera adapter board
  • Stackable and maxim cascade 4 adapter boards
  • 3 GPIOs required for multiplexing on one adapter board, 5 GPIOs for two adapter board, 9 GPIOs for four adapter board
  • All camera ports are FFC (flexible flat cable) connectors
  • DIP switches for easy stack up configuration
  • Support Raspberry Pi A/B/B+ and Pi 2/3.

A/B

rpi_multicam-3

B+/2/3 (GPIO 對齊前 26 pin)

rpi_multicam-4

還可以再堆疊,堆疊前需要修改switch ,最多4片。switch 設定方式

rpi_multicam-71

樹莓派 3

img_2193

img_2194

直接下指令只能用到第一個鏡頭,要選擇鏡頭只能用程式

import RPi.GPIO as gp
import os

gp.setwarnings(False)
gp.setmode(gp.BOARD)

gp.setup(7, gp.OUT)
gp.setup(11, gp.OUT)
gp.setup(12, gp.OUT)

gp.setup(15, gp.OUT)
gp.setup(16, gp.OUT)
gp.setup(21, gp.OUT)
gp.setup(22, gp.OUT)

gp.output(11, True)
gp.output(12, True)
gp.output(15, True)
gp.output(16, True)
gp.output(21, True)
gp.output(22, True)

def main():
gp.output(7, False)
gp.output(11, False)
gp.output(12, True)
capture(1)

gp.output(7, True)
gp.output(11, False)
gp.output(12, True)
capture(2)

gp.output(7, False)
gp.output(11, True)
gp.output(12, False)
capture(3)

gp.output(7, True)
gp.output(11, True)
gp.output(12, False)
capture(4)

def capture(cam):
cmd = “raspistill -o capture_%d.jpg” % cam
os.system(cmd)

if __name__ == “__main__”:
main()

gp.output(7, False)
gp.output(11, False)
gp.output(12, True)

 

依照你安裝的鏡頭來刪減程式