Dieinwind
Posts: 1
Joined: Sun Dec 27, 2015 11:44 pm

How can I control ov5647's shutter by raspberry Pi 2B?

Wed Nov 07, 2018 2:44 am

I want to control ov5467 to start take a photo by code,cause I have to ensure I have turned on a LED before ov5467 start taking a photo ,after ov5467 ended taking a photo, I have to turned off the LED, In the next period, I have to do this again But use another LED, so, I have to control ov5467 when to start taking photo. I konw ov5467 have a rolling shutter, But I don't konw if I can control it ,and How?

HermannSW
Posts: 830
Joined: Fri Jul 22, 2016 9:09 pm

Re: How can I control ov5647's shutter by raspberry Pi 2B?

Wed Nov 07, 2018 10:09 am

> I want to control ov5467 to start take a photo by code,
>
https://www.raspberrypi.org/documentati ... /camera.md

Code: Select all

--signal,    -s        Toggle between record and pause according to SIGUSR1
Sending a USR1 signal to the raspivid process will toggle between recording and paused. This can be done using the kill command, as below. You can find the raspivid process ID using pgrep raspivid.

Code: Select all

kill -USR1 <process id of raspivid>
Note that the timeout value will be used to indicate the end of recording, but is only checked after each receipt of the SIGUSR1 signal; so if the system is waiting for a signal, even if the timeout has expired, it will still wait for the signal before exiting.
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/fork-raspiraw      https://github.com/Hermann-SW/userland
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone      https://twitter.com/HermannSW

Return to “Camera board”