VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览
-
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 faulti2c 总线 只能查看 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 -- -- -- -- -- -- -- -
@xlla said in VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览:
@xlla said in VEYE-MIPI-IMX385 在 raspberry pi 3b+ 上无法拍摄图片, 但可以查看预览:
用指令可以查看预览画面
这个指的是HDMI上面已经出现预览画面了么?
i2c的问题,参考一下这个文章的第二个章节。
-
@veye_xumm 你好,是指 hdmi 连接的屏幕上可以出现预览画面。
-
@veye_xumm 你好, i2c 的问题已经解决了。
./veye_mipi_i2c.sh -r -f hdver -b 10 hardware version is 0x 7 release date is 2022-11-22但是依然无法执行录像,或者抓拍等操作。
-
@xlla 的确有点奇怪。您重新make一下程序试试。
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