您的位置:首页 > 其它

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

2017-12-06 19:47 211 查看


使用树莓派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:

The connector is not correctly inserted either in the camera or in the Pi.

The Sunny connector (the small yellow one on the camera) is not connected well. (now it gets interesting)

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.

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.

链接:Raspberry camera error: “mmal: No data received from sensor”
分析三、
警告!!!!!!!!!!!!!!!!!!!!!!!!!
绝对不可以带着电源的情况下插入摄像头,如果带电操作,十之八九你的摄像头会GG,博主血泪教训。而且摄像头GG了之后每次调用还是会亮灯,只是你接受不到数据,这个问题我已经Google了很长时间,老外们也是一脸懵逼,大家普遍认为应该是被烧坏了= =

链接:用树莓派从零开始做一个家庭监控

做了对比,应该是烧了,一开始自己没断电的情况下,插拔过,还接反过,哎,自己竟然这么鱼虫,汗!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: