English 中文(简体)
皮照相机:毫米 没有收到传感器提供的数据
原标题:Pi camera: mmal:No data received from sensor

这个问题以前曾提出过,但解决办法没有解决我的问题。

当我把我的皮照相机与我的Raspberry Pi连接并使用指挥系统时:raspistill -ohchr.jpg

This gives an error:

毫米: 没有收到传感器提供的数据。 检查所有连接,包括一架照相机。

所有关系都罚款。 我用两台Pi摄影机在两台不同的Raspberry Pis上进行了审判,但还是留下同样的错误。 当我使用<代码> 然后,照相机的红色光照相传,我还使皮上的照相机通过sudo raspi-config

请提供帮助。

最佳回答

I ve had this issue too. I don t know if static electricity hurt the unit or if it happened in shipping. I ve seen several behaviors to the 5MP version I purchased. First was putting it in the wrong port. Depending on your model you may just have it in the wrong port. Some people have claimed putting in the other port may fry the camera. I cannot confirm or deny that happens.

I similarly would run this command and get messages like: mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn t be enabled mmal: main: Failed to create camera component mmal: Failed to run camera app. Please check for firmware updates Or the message you received.

我试图操作:

  1. apt-get update && sudo apt-get dost-upgrade
  2. sudo rpi-update

我甚至敲响了该单元和黑名单,看看什么。

pi@raspberrypi:~ $ raspistill -v -o image.jpg
raspistill Camera App v1.3.8

Width 2592, Height 1944, quality 85, filename image.jpg
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode  auto , AWB Mode  auto , Image Effect  none 
Metering Mode  average , Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Opening output file image.jpg
Enabling encoder output port
Starting capture 0
mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board

sudo raspi-config will let you ensure you enabled your camera, or use the Menu, Preferences to see if its enabled. Beyond that the red light doesn t seem to mean anything and it may require a replacement. I just ordered a 8MP one to see if it works.

我还检查了这一指挥:

pi@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=1

Update

I got my 8MP camera in, and it worked. I am starting to think there was something just wrong with my 5MP camera. Few notes on the behaviors I got myself into. - if you do a sudo mod probe bcm2835-v412 it appears to mount the camera to /dev/video0. At this point you can no longer use raspistill/vid without getting the ENOSPC error I was getting. I had added that to work with motion so I could stream from the web.

现在,我与几个项目相距甚远,没有发现执行得很快,但至少暂停指挥工作,我确实开始工作,然而,我确实不想干 m,如果第264条是选择的话,仍然需要加以分类。

问题回答

缩略语:有照相机支持=1被发现 在使用更好的电力供应(5V 2.1A)后,我发现存在固定错误。 由于原电制对其他皮/卡雷拉 com船进行了罚款。





相关问题
How to use Yubikey for SSH on Windows?

I m on Windows and I want to be able to SSH into my Raspberry PI and use my Yubikey to login instead of using a password. How am I able to do this?

Raspberry Pi cluster, neuron networks and brain simulation

Since the RBPI (Raspberry Pi) has very low power consumption and very low production price, it means one could build a very big cluster with those. I m not sure, but a cluster of 100000 RBPI would ...

RP Pico won t connect to PC

I created a blink program with cmake in a VM and loaded it onto the pico from Windows. The pico disconnected, but it did not blink, and it does not reconnect to my windows pc. I tried unplugging it ...

Raspberry Pi 5 Controls GPIO4 Pin Output Clock signal

I am currently having a problem with how to use a Raspberry Pi to control the GPIO4 pin to output a 2.4MHz clock signal to drive a digital microphone to run. Previously, I used the C library WringPi, ...

热门标签