VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览

    Scheduled Pinned Locked Moved VEYE MIPI camera
    imx385 raspberrypi3b+
    5 Posts 2 Posters 2.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X Offline
      xlla
      last edited by xlla

      hardware : raspberry pi 3B+
      os: Raspbian GNU/Linux 9.13 (stretch)
      kernel: Linux rpi3 5.10.0-v7+ #1380 SMP Mon Dec 14 16:50:10 GMT 2020 armv7l GNU/Linux

      我参照wiki,将内核升级到5.10, 然后获取了 veye_raspicam 的代码,并编译之。

      摄像头通过 ffc 排线连接树莓派,没有接5v杜邦线。

      树莓派已经启用摄像头,启用i2c。

      用指令可以查看预览画面

      ./veye_raspipreview -t 20000 -p '0,0,1280,720'
      
      Hardare version: a020d3
      before create camera com
      mmal: mmal_component_enable w 1920 h 1080 fps 30
      
       raspipreview_create  com
      
      

      但是拍摄画面的指令会失败

      ./veye_raspistill -o ~/test.jpg
      Hardare version: a020d3
      before create camera com sensor mode 0
      mmal: mmal_component_enable w 1920 h 1080 fps 30 
      
       raspipreview_create  com 
      mmal: Splitter has 4 output port,you could use num 2,3 for extend
      Segmentation fault
      
      

      录像指令也失败

      ./veye_raspivid -t 5000 -o ~/test.h264
      camera num -1
      Hardare version: a020d3
      mmal: mmal_component_enable w 1920 h 1080 fps 30
      
       raspipreview_create  com
      mmal: Splitter has 4 output port,you could use num 2,3 for extend
      mmal: running now!!
      Segmentation fault
      

      i2c 总线 只能查看 1 号地址, 10 地址不存在

      sudo i2cdetect -l
      i2c-1	i2c       	bcm2835 (i2c@7e804000)          	I2C adapter
      
      i2cdetect -y 1
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
      00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
      10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      70: 70 -- -- -- -- -- -- --                    
      
      
      
      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @xlla
        last edited by

        @xlla said in VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览:

        @xlla said in VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览:

        用指令可以查看预览画面

        这个指的是HDMI上面已经出现预览画面了么?

        i2c的问题,参考一下这个文章的第二个章节。

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        X 2 Replies Last reply Reply Quote 0
        • X Offline
          xlla @veye_xumm
          last edited by

          @veye_xumm 你好,是指 hdmi 连接的屏幕上可以出现预览画面。

          1 Reply Last reply Reply Quote 0
          • X Offline
            xlla @veye_xumm
            last edited by

            @veye_xumm 你好, i2c 的问题已经解决了。

            ./veye_mipi_i2c.sh -r -f hdver -b 10
            hardware version is 0x 7
            release date is 2022-11-22
            
            

            但是依然无法执行录像,或者抓拍等操作。

            veye_xummV 1 Reply Last reply Reply Quote 0
            • veye_xummV Offline
              veye_xumm @xlla
              last edited by

              @xlla 的确有点奇怪。您重新make一下程序试试。

              Questions will be answered as soon as possible, please be patient.
              如果你使用中文,请直接用中文提问。
              May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post