gphoto / gphoto2

The gphoto2 commandline tool for accessing and controlling digital cameras.
GNU General Public License v2.0
709 stars 116 forks source link

use serial port to control a camera instead of usb (sony camera) #263

Open albuswu opened 4 years ago

albuswu commented 4 years ago

It turned out that after I connect my Sony A6000/A7II to the USB port (raspberry pi 3), the battery saving function will not work and the camera will be on forever until the battery gets drained. I am working on a time lapse project that will last a few weeks with 30mins interval. So the battery saving function is essential.

Is that possible to output serial commands through the USB-micro USB cable to trigger the camera? Just like what a normal camera remote do. This should solve the problem. I am looking into it right now but haven't found any solution yet.

msmeissn commented 4 years ago

I dont think this serial control is possible over a USB connection.

Is the Sony however not charging over the port?

albuswu commented 4 years ago

No. The older models don't have charging during operation... That's also the reason why I am trying gphoto2, but then it comes with this new problem. it's alright, maybe I can use GPIO for triggering, or get a new camera...