使用树莓派CSI摄像头时报错

版权声明:本文为博主原创文章,如要转载,请注明地址,谢谢^...^ https://blog.csdn.net/qq_38880380/article/details/78728509



使用树莓派CSI摄像头时,出现这个错误:
mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board
使用命令时:raspistill -t 2000 -o -> my_image.jpg
使用的是树莓派3,系统是raspbian.
各位指点迷津!!!
补充一下,红灯有亮



网上分析如下:

分析一、

原因有很多,比如摄像头的sunny部分是否连接牢靠,摄像头是否插紧。但最可能的原因是,你在树莓派带电的时候插拔摄像头,导致管脚烧坏了。这个时候就需要找到是哪个管脚烧坏了,然后补焊一下,加点阻焊剂;

链接:CSI摄像头使用错误

分析二、

This error usually appears because of a faulty connection with the camera. I had the exact same problem in different camera+Pi configurations. The following case is what I encountered:

  1. The connector is not correctly inserted either in the camera or in the Pi.
  2. The Sunny connector (the small yellow one on the camera) is not connected well. (now it gets interesting)
  3. If you often remove and reinsert the camera in the Pi please be sure to remove all power from the Pi. The sensor is very sensitive and a spark on the wrong pin could burn it. (I did this already unfortunately) This could also trigger a problem with the Pi connector pins. It was somewhat confirmed that for Pi2 the connector may have some bad soldering which could lead to cold contact soldering. You can fix this by using some flux on the pins and then pass the soldering iron hot end over the pins to remake the connection.
  4. I used a longer cable that had both connectors on the same side of the cable. If you connect it like it is you can burn your sensor and the Pi will not start because of the power surge (also the camera gets very hot in this case). DO NOT REMOVE IT from the Pi without removing power before. To a cable like this you have to remove the blue plastic from one end and bend the connector with the contacts on the other side. Insert this end in the camera since this will not be removed/inserted as often as the Pi end.
  5. 链接:Raspberry camera error: “mmal: No data received from sensor”
分析三、
警告!!!!!!!!!!!!!!!!!!!!!!!!!
绝对不可以带着电源的情况下插入摄像头,如果带电操作,十之八九你的摄像头会GG,博主血泪教训。而且摄像头GG了之后每次调用还是会亮灯,只是你接受不到数据,这个问题我已经Google了很长时间,老外们也是一脸懵逼,大家普遍认为应该是被烧坏了= =


做了对比,应该是烧了,一开始自己没断电的情况下,插拔过,还接反过,哎,自己竟然这么鱼虫,汗!





阅读更多
换一批

没有更多推荐了,返回首页