Super simple script for remote camera triggering

(Re-post from: http://conservationdrones.org/trigger-camera-remotely/)

I know there are already lots written about remote triggering of cameras, including one on 3DR's webpage. I just want to share an extremely simple ‘.bas’ script that works well with a CHDK-USB cable gentWIRE-USB or E-flite LED controller). BTW, see Flightriot.com’s excellent video on how to build such a cable.


@ConservationDrones Remote Script 9/2013
:wait
if is_key “remote” then goto “loop” else goto “wait”
:loop
shoot
sleep 1000
if is_key “remote” then goto “loop” else shut_down


To start taking pictures, flick a switch on your radio transmitter (or output a PWM>1900 signal from APM). The camera will continue to take pictures repeatedly as long as the switch is in the ‘ON’ position (or PWM>1900). To stop taking pictures and shut the camera down, simply flick the transmitter switch back to the ‘OFF’ position (or output a PWM<1100 signal from APM).

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • 100KM

    This is a very useful controller, I want to put it on my camera as soon as possible. Shut off the camera before landing will protect the lens retract mechanism of the camera. Ask me how I know this but I had send my camera for warranty three time in  a year. 

  • I haven't seen goto since mid 80's :-)

  • Thank you for sharing! Do you think that besides E-Flite led controller something else could be used ? Maybe something from HobbyKing? I ask this because it is easier for me to order from them. 

  • Thank you for documenting this Lian Pin, this is very useful for mapping applications.

  • Excellent ! Thanks for sharing.

This reply was deleted.