USB remote help please - Hotwire! Hardware Mods, Accessories and Insights - CHDK Forum

USB remote help please

  • 7 Replies
  • 4846 Views
USB remote help please
« on: 12 / July / 2011, 17:33:00 »
Advertisements
Is there a way to make a remote that works with just one push of the button?
Can the remote script be modified to where a pic is taken when just one signal is sent?
Bascially want to override the need for a second push of the button.
Thanks

Re: USB remote help please
« Reply #1 on: 12 / July / 2011, 20:42:29 »
Is there a way to make a remote that works with just one push of the button?
There has been some discussion on the forum over the last few weeks about this sort of thing.  Right now you need to use a script but it seems that it should be a built-in function.

Here a short script :

Code: [Select]
@title Remote button
while 1
  wait_click 1
  if is_key "remote" then shoot
wend

end

taken from   http://chdk.wikia.com/wiki/USB_Remote_Cable.

Here's the forum thread :   http://chdk.setepontos.com/index.php?topic=6601.msg70034#msg70034


Ported :   A1200    SD940   G10    Powershot N    G16

Re: USB remote help please
« Reply #2 on: 13 / July / 2011, 11:39:33 »
would this work in conjunction with intervalometer? What im ultimately trying to accomplish with an A540 and A530 is
have them running intervalometer script 24hrs a day at 2 minute intervals and also trigger upon motion detection via infrared PIR sensor that sends one 3v pulse when sensing motion.

Re: USB remote help please
« Reply #3 on: 13 / July / 2011, 14:39:45 »
would this work in conjunction with intervalometer? What im ultimately trying to accomplish with an A540 and A530 is
have them running intervalometer script 24hrs a day at 2 minute intervals and also trigger upon motion detection via infrared PIR sensor that sends one 3v pulse when sensing motion.
Should work fine - you just need to patch it into the "busy wait" loop for whatever intervalometer script you are running.   This might require a loop be inserted with 200ms sleep interval where the original script had a sleep for the full interval - depends on which script you start from.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: USB remote help please
« Reply #4 on: 19 / July / 2011, 19:28:40 »
I got a PIR sensor working with a usb cable!! used this one from ebay Item number: 200607755773
$5 US with free shipping. It has sensitivity, time delay, single or multiple trigger adjustments. Working great on an A450 and A530
Using the script you posted earlier. THANKS!!!
Now I just need to figure out how to integrate it into an intervalometer script. 

Re: USB remote help please
« Reply #5 on: 19 / July / 2011, 22:33:53 »
There was a discussion on the forum using a PIR motion sensor for photography about one year ago.

Be aware that PIR motion detectors have an inbuilt delay that will result in about a one second delay between detection and the relay output. That is to prevent false triggering on alarm systems. Good for alarm systems, bad for instant photography where you want the subject in the middle of the picture and not to the side or out of the picture.

http://www.glolab.com/pirparts/infrared.html

Most PIR motion detector circiuts are similar in design. If you examine the circuit posted on the above site you will find for a fast PIR response you will need to adjust the PIR delay to zero. The best way is to bridge pins 4 and 6 on IC2.

I modified a PIR motion sensor for instant delay and found the response was better than standard. Your experience may differ.
« Last Edit: 19 / July / 2011, 22:43:05 by thepanoguy »

Re: USB remote help please
« Reply #6 on: 19 / July / 2011, 23:58:10 »
Hey thaks for the tip!
the one im using has an adjustable time delay pot. I set it to its min. Setting and it seems to have an almost instant trigger
working great for my needs.

Re: USB remote help please
« Reply #7 on: 20 / July / 2011, 01:17:31 »
The A530 and A540 is supported by SDM. SDM works on a one press without a script. Depending on your requirements SDM may work for you.

http://stereo.jpn.org/eng/sdm/cams.htm

http://stereo.jpn.org/eng/sdm/index.htm

One way to find the delay in the PIR motion sensor is to wave your hand over the sensor and listen for the relay click.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal