Try   HackMD

Camera Module V2 安裝 & 前置設定

tags: camera
  1. 將 Camera Module V2 插入 Raspberry Pi

    • 連接模組時,要小心Pi上的連接座是用卡榫的,輕輕撥動即可
    • 可參考 安裝教學影片
  2. 將 Raspberry Pi 開機

    • 記得先接好 (micro) hdmi 再接上電源線ㄎ
  3. 打開 terminal,並輸入以下指令

    ​​​sudo raspi-config
    
  4. 選擇 Interfacing Options

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  5. 選擇 P1 Camera,並將設定改為 Enable

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  6. 輸入以下指令,試拍一張

    ​​​raspistill -o image.png
    
  7. 檢查路徑下是否有 image.png,若有代表你前置設定完成了!

    ​​​ls