Best CHDK tips for the Orionid meteor shower this Sunday ? - page 4 - Creative Uses of CHDK - CHDK Forum

Best CHDK tips for the Orionid meteor shower this Sunday ?

  • 68 Replies
  • 43125 Views
Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #30 on: 20 / October / 2012, 23:04:52 »
Advertisements
Do I copy over all the files? (CHDK directory, diskboot.bin, and buildconf.txt).
Yes - but there are a lot more files than that if you've downloaded the full distribution.

Quote
I ran the default script, but I'm still getting the same error. (I renamed meteor.bas to metero.lua)
I you reload metero.lua then that particular error should go away.

Quote
[EDIT] the only thing in the CHDK direc. was Modules, so I overwrote my old ones with the new ones.)
Sounds like you downloaded the "lite" version.  Use the "full" version.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #31 on: 20 / October / 2012, 23:26:07 »
Good news....I downloaded the right files, and the script works.  :)

Bad news #1...after running default script, the menu is still in German  ;)

Bad news #2...apparently it's going to be cloudy tonight, so this may all be for naught anyways  :P

*

Offline lapser

  • *****
  • 1093
Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #32 on: 20 / October / 2012, 23:58:56 »
Code: (lua) [Select]
--[[
@title Continue
--]]
press("shoot_full")
repeat
  sleep(60000)
until false
OK, I think the above script is the best way to shoot meteors. You set all the exposure parameters with the camera or CHDK overrides, AND you set the drive mode to continuous. The script just holds the shutter down so the camera shoots as fast as it can. Set auto dark frames off in the CHDK RAW menu, and do a manual dark frame with the lens cap on at the beginning and end.

If you want the back light to go off after 3 minutes to save battery, you could use this script:
Code: (lua) [Select]
--[[
@title Continue
--]]
function restore()
  set_backlight(1)
end

press("shoot_full")
st=180000
repeat
  sleep(st)
  st=20
  set_backlight(0)
until false
The back light flashes every picture this way. If you can turn off the display, blindly enter <alt> mode, and press the shutter to start the script, it will run with no back light flashing.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #33 on: 21 / October / 2012, 00:02:51 »
Twenty-five minutes exposure (15sec.x100  F2.6  ISO125) and no single meteor  :lol
At the end the fog came down and I can go to sleep. :xmas




*

Offline lapser

  • *****
  • 1093
Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #34 on: 21 / October / 2012, 00:07:50 »
I've been looking for a high efficiency DC-DC converter that will let me take a 12V car battery as the input and adjust the output as necessary for each of my cams.  Should be able to run for days from something like that.  And motorcycle / RV batteries can be had that are a lot smaller if necessary.
I have a Radio Shack DC/DC converter but it only outputs voltages higher than 12 volts. 12VDC to 120VAC inverters are cheap and around 90% efficient. That might work well enough with a deep cycle RV battery.

I soldered up a cable to connect a 5V USB battery (for iPhone etc) to the 4.8V SX260. I got about 7 hours out of it, and it's backpackable.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #35 on: 21 / October / 2012, 09:09:12 »
Cloudy when I finally went to bed.  I gave some thought to just leaving the camera running (JPG only) but there is enough dew on everything this morning that I'm glad I did not.  Might need to think about some kind of home brew enclosure I guess - I'm not ready for a $400 scuba diving housing.

Code: (lua) [Select]
--[[
@title Continue
--]]
press("shoot_full")
repeat
  sleep(60000)
until false
From the perspective of getting the maximum possible coverage,  this is very good !   I think I'll add as much "goof proofing" as I can to the startup to ensure I set things right and maybe automate the first and last dark frames per the original fudgey code.

have a Radio Shack DC/DC converter but it only outputs voltages higher than 12 volts. 12VDC to 120VAC inverters are cheap and around 90% efficient. That might work well enough with a deep cycle RV battery.
I soldered up a cable to connect a 5V USB battery (for iPhone etc) to the 4.8V SX260. I got about 7 hours out of it, and it's backpackable.
I'm not sure I'd take that 90% figure as always true - probably depends on the currrent draw and I would expect it to be worst at the low currents the camera is going to draw.  The 120VAC-3VDC cheap power supplies are unlikely to be great either.  I found some links to a couple of electronic vendors who provide all sorts of modules - including DC-DC converters.  I'm pretty sure I bookmarked them so I'm going to find that and look for others. Maybe report back later in another thread as this is getting a little off-topic.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #36 on: 21 / October / 2012, 09:24:37 »
Code: [Select]
  ecnt=get_exp_count()
  press("shoot_full_only")
  repeat
    sleep(20)
  until(get_exp_count()~=ecnt)
  release("shoot_full_only")
@lapser :  Thanks also for this.  I forgot to mention,  I really like this trick.  I've been looking for a way to speed up http://chdk.wikia.com/wiki/HDR_Fast_Shooter
by leaving the half shoot active but get_shooting() was not working when I did that - just as you discovered.

I'll do some timing tests and report back.



Update :  I tested the http://chdk.wikia.com/wiki/HDR_Fast_Shooter  script on my SD940 using the original code and then the code that uses get_exp_count().   Taking 10 shots using the original script required 23 seconds while 10 shots with the modified script took 15 seconds.  A major improvement !

However,  the modified script was not usable for HDR work - the exposure stayed locked at the values in place when the half-shoot happens.  Apparently you must release the half-shoot to change the exposure ?  Here's the defective new script for reference :

Code: [Select]
--[[
@title Bad HDR Fast Shooter 2
@param n Number of Steps
@default n 5
@param s tV step size
@default s 96
--]]

z = get_day_seconds()

press("shoot_half")
repeat
    sleep(50)
until get_shooting() == true

set_aflock(1)

av=get_av96()
sv=get_sv96()
tv=get_tv96()
print( "av96=", av, "sv96=", sv, "tv95=", tv )

tv96val=tv-n*s/2

for i=1, n, 1 do
   print("step=", i, "tv96=", tv96val)
   ecnt=get_exp_count()
   set_av96(av)
   set_sv96(sv)
   set_tv96_direct(tv96val)
   press("shoot_full_only")
   repeat
      sleep(20)
   until(get_exp_count()~=ecnt)
   release("shoot_full_only")
   tv96val = tv96val+s
end

set_aflock(0)

z = get_day_seconds() -z

print("...done in", z, "seconds")
 
« Last Edit: 21 / October / 2012, 10:50:05 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #37 on: 21 / October / 2012, 09:38:47 »
Bad news #1...after running default script, the menu is still in German  ;)
Did you simply load the CHDK-DE version onto your SD card without clearing out what was already there ?  If so, its probably using the CCHDK2.CFG file from the non-DE version that is already there,  where you have a script already enabled, so it doesn't run the language select default script.  Wipe your card of all files / folders (saving any photos to your PC first of course) and then transfer CHDK-DE to your card.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lapser

  • *****
  • 1093
Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #38 on: 21 / October / 2012, 13:06:53 »
However,  the modified script was not usable for HDR work - the exposure stayed locked at the values in place when the half-shoot happens.  Apparently you must release the half-shoot to change the exposure ?
That's correct. set_tv96_direct(tv96val) only works on the next half shoot. However, you can get it to work immediately using propcase:

props=require("propcase")
pTV=props.TV
pTV2=props.TV2

Instead of set_tv96_direct, use this:
  set_prop(pTV,tv96val)
  set_prop(pTV2,tv96val)

I had to do this to apply the values calculated from "shoot_half" to the next "shoot_full" immediately in my time lapse script.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: Best CHDK tips for the Orionid meteor shower this Sunday ?
« Reply #39 on: 21 / October / 2012, 13:38:29 »
Bad news #1...after running default script, the menu is still in German  ;)
Did you simply load the CHDK-DE version onto your SD card without clearing out what was already there ?  If so, its probably using the CCHDK2.CFG file from the non-DE version that is already there,  where you have a script already enabled, so it doesn't run the language select default script.  Wipe your card of all files / folders (saving any photos to your PC first of course) and then transfer CHDK-DE to your card.
Okay, I've tried it several times, but no go. The meteor script runs, but it's stuck in German. When I go into the ALT menu, the Default script should already be listed as ready to run, right? Not sure what I'm doing wrong. Just out of curiosity, are the files "translated" to English after this works? If so, can someone upload the translated version from their camera?

 

Related Topics


SimplePortal © 2008-2014, SimplePortal