control camera through USB/scripts - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum

control camera through USB/scripts

  • 2 Replies
  • 3102 Views
control camera through USB/scripts
« on: 25 / April / 2013, 11:15:11 »
Advertisements
I would like to be able to tell a camera to take a picture using my computer through a USB cable, without using an arduino or other microcontroller.

Is it possible to send a script to a camera through USB and tell it to execute? Ideally I would also want the image taken to be saved in a directory on the computer too.

Re: control camera through USB/scripts
« Reply #1 on: 25 / April / 2013, 11:55:22 »
I would like to be able to tell a camera to take a picture using my computer through a USB cable, without using an arduino or other microcontroller.

Is it possible to send a script to a camera through USB and tell it to execute? Ideally I would also want the image taken to be saved in a directory on the computer too.
All you need is a PTP (picture taking protocal) interface, which is officially supported in all current CHDK releases :

http://chdk.wikia.com/wiki/PTP_Extension
« Last Edit: 25 / April / 2013, 12:55:42 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: control camera through USB/scripts
« Reply #2 on: 25 / April / 2013, 12:36:14 »
Is it possible to send a script to a camera through USB and tell it to execute?

Sure, using CHDK or an unofficial version of SDM.

With SDM, you type the following on your PC :

sdmcon --sdm

Then after the <conn> prompts :-

<conn>record
<conn>shoot

That captures an image and stores it in a folder on your PC

This will not be supported in the official SDM 1.86 release.
If you want to try it, send me a personal message stating camera and firmware version and a suitable email contact address.


David


 

Related Topics


SimplePortal © 2008-2014, SimplePortal