Wikia

CHDK Wiki

Motion Detect and Long Exposure for meter shower

573pages on
this wiki

Forum page

Revision as of 20:58, October 20, 2012 by MeBeJedi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Forums: Index > Help desk > Motion Detect and Long Exposure for meter shower


Hi there, I just found this site while looking for a way to program my camera for tonight's meteor shower. I'd like to combine two scripts, motion detection and long exposure, to capture tonight's meteor shower. The only problem is, the lua scripts are easier for me to understand, but most of the scripts I see are .bas. I also need to make sure that the focus is set for infinity. I'm going to try to combine these two scripts from the site

Motion detection:


@title Motion Detect

a=6

b=6

c=1

d=300000

e=200

f=5

g=1

h=0

i=0

j=0

k=0

l=0

m=0

n=0

o=2

p=0


do


md_detect_motion a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p


if( h > 0 ) then

shoot

endif


until (0)



and rem Author - Keoeeitrem ReAuthor - Chuckrem USE WITH CAUTIONrem do not run for many hours or days@title Non-stop Long Exp Timelapse@param a Interval (Minutes) @default a 0 @param b Interval (Seconds) @default b 30@param c Interval (10th Seconds) @default c 0 @param d Initial Delay (Seconds)@default d 3 @param e Noise reduction (0=auto 1=off 2=on)@default e 1@param f Capture Raw Image (0 or 1)@default f 1 @param g ISO (-1=hi,0=auto,1=80,..,5=800)@default g 1 t=a*60000+b*1000+c*100 if t<100 then let t=5000 n=1 print "Interval shooting."print "Until you interrupt it."print "Use with caution." sleep d*1000 rem Display mode offrem 181 Display mode (Valid for record mode only) 0 = Show info icons, 1 = Do not show info icons, 2 = LCD is off, 3 = EVF.rem This didn't seem to work for the A560set_prop 181 2 goto "shot"  :shot print "Shot number", n set_raw_nr e set_raw f set_iso g set_tv96_direct -576 shoot n=n+1 sleep t goto "shot"---------------------------

I have a Canon ELPH Powershot 300HS. Any assistance would be appreciated. TIA

Around Wikia's network

Random Wiki