SD 4000 IS / IXUS 300 HS / IXY 30S porting thread - page 24 - DryOS Development - CHDK Forum  

SD 4000 IS / IXUS 300 HS / IXY 30S porting thread

  • 322 Replies
  • 163350 Views
SD 4000 IS - USB remote - continius mode
« Reply #230 on: 23 / February / 2011, 19:58:11 »
Advertisements
Greetings,

I've loaded the latest version of CHDK to my SD4000 and I am testing the USB remote function. The camera takes pictures, but the continues mode does not seem to work.

This works OK on my SX200, and the expected behavior is for the camera to evaluate exposure, distance etc. after +5V are applied, and then start shooting in burst mode while +5V persists.

What SD4000 does is to evaluate exposure, distance etc., take picture, wait few seconds, re-evaluate exposure, take another picture ... and so on.

Can this be addressed in the next release, or perhaps I am missing something (like setting that I need to change first etc.)? 'Enable remote' is checked in the CHDK menu.

Thanks,
Nick
 

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #231 on: 24 / February / 2011, 16:43:27 »
I found a way to make this work. On USB cable I supply +5V for 500 mS, then drop the voltage for 200mS, then apply +5V. The camera will then start taking pictures in continuous mode until +5V is dropped.

*

Offline Yury

  • *
  • 15
  • IXUS 300HS 1.00D, IXUS 980IS 1.01B
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #232 on: 24 / February / 2011, 18:01:55 »
I've checked "ND Filter State" - it not work. In "In" mode it close iris diafragm to minimum instead of closing ND. In "Out" mode it close ND filter when it become bright enought instead of keeping it out.

*

Offline Yury

  • *
  • 15
  • IXUS 300HS 1.00D, IXUS 980IS 1.01B
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #233 on: 25 / February / 2011, 10:29:22 »
"Override aperture" not work correct. When I setting it to 8.0 iris diafragm actually stay much more opened than when I set 8.0 in camera native menu.


*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #234 on: 25 / February / 2011, 16:54:56 »
i try to move the function to platform code, but not work
To be able to redefine (overwrite) function in platform it must be defined with weak attribute.

change platform\generic\shooting.c like:
Code: [Select]
void __attribute__((weak)) shooting_set_iso_real(short iso, short is_now) {
...
}
I'll test to call shooting_expo_param_override() twice like you suggested.

I've checked "ND Filter State" - it not work.
Thanks for your feedback. One more thing to put on the todo list...

"Override aperture" not work correct. When I setting it to 8.0 iris diafragm actually stay much more opened than when I set 8.0 in camera native menu.
Strange. I'll test it.

I found a way to make this work. On USB cable I supply +5V for 500 mS, then drop the voltage for 200mS, then apply +5V. The camera will then start taking pictures in continuous mode until +5V is dropped.
Hm...
« Last Edit: 25 / February / 2011, 17:07:25 by pixeldoc2000 »

*

Offline Yury

  • *
  • 15
  • IXUS 300HS 1.00D, IXUS 980IS 1.01B
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #235 on: 25 / February / 2011, 17:03:18 »
I made more tests with "Override aperture" and found that it work during image shooting - it only not work during half press of shoot button.

Similar situation with ND filter. It just don't work during half press of shoot button, I mean it not show correct preview, but only for "Out" mode, for "In" mode it work ok, I've just was confused because of following problem. If half press shoot button and then release, iris diafragm close to minimun and in a few seconds camera stop responding - not big problem, just good to know how to operate camera to avoid this. If after half press press full instead of release it always work ok. So, if half press then shoot, not release in this case.

Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #236 on: 27 / February / 2011, 07:14:56 »
i try to move the function to platform code, but not work
To be able to redefine (overwrite) function in platform it must be defined with weak attribute.

change platform\generic\shooting.c like:
Code: [Select]
void __attribute__((weak)) shooting_set_iso_real(short iso, short is_now) {
...
}

thanks, this work.

Quote
"Override aperture" not work correct. When I setting it to 8.0 iris diafragm actually stay much more opened than when I set 8.0 in camera native menu.

On Ixus 1000 i see that values of v is wrong.for example when i set to 9.0 then v have 258.but for 9 v should have 600.thats ok with the table.

when i use below code, Canon F display show on shoot half F 9.0 and exif show then too F9.0 when show the image(is normaly F3.4).But i see in exposure time no change of value and on test image, i can not see more deeper sharpen.so seem there can change nothing in F.

normaly this camera use propset 4, but i see on debug output that many prop values contain F value.the most important to see on Canon F view and exif is proset 22, but its not define in propset 4.

Are you sure F setting work really on IXus 300 when you look at exposure time and image ?
with more F exposure time need larger.

I test also with F 6.0.no diffrence.but when i use firework program, F change to 6.0 on wide and F9.0 on full zoom.
but here focus is infinity.so its not easy to compore if firework have really more deeper sharp

I am not sure if the Ixus have a real working Iris or not.
How can this test ?

ND Filter give no deeper sharp, only make all darker and need longer exposure time.only real Iris give deeper sharp, so i need no ND filter

Code: [Select]
platform/generic/shooting.c

void shooting_set_av96_direct(short v, short is_now)
{
#if CAM_HAS_IRIS_DIAPHRAGM
if ((mode_get()&MODE_MASK) != MODE_PLAY){
 if(is_now) {
    v=600;
    kbd_debug1 = v;
   //_SetPropertyCase(PROPCASE_AV, &v, sizeof(v));
   _SetPropertyCase(22, &v, sizeof(v));
    _SetPropertyCase(23, &v, sizeof(v));
     _SetPropertyCase(24, &v, sizeof(v));
      _SetPropertyCase(25, &v, sizeof(v));
      _SetPropertyCase(26, &v, sizeof(v));
      _SetPropertyCase(27, &v, sizeof(v));
   //   _SetPropertyCase(PROPCASE_USER_AV, &v, sizeof(v));
 }
 else photo_param_put_off.av96=v;
}
#endif
}

this code contain such a line

 kbd_debug1 = v;

I use this global variable to have easy debug output.

Ixus 1000 kybd.c contain this and can output values

Code: [Select]
int kbd_debug1;
void my_kbd_read_keys() {

static char osd_buf[64];
  if(kbd_debug1){
          sprintf(osd_buf, "debug 1:%8x  ", kbd_debug1);
          draw_txt_string(28, 7, osd_buf, conf.osd_color);
    }
« Last Edit: 27 / February / 2011, 07:27:31 by Bernd R »
Ixus 1000 HS

*

Offline Yury

  • *
  • 15
  • IXUS 300HS 1.00D, IXUS 980IS 1.01B
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #237 on: 28 / February / 2011, 14:13:02 »
Bernd R

>Are you sure F setting work really on IXus 300
It is easy to see when you look at iris through lenzes


Also I made shooting test. I've set TV priotity mode in camera menu and set shutter to 1/50, also I set ISO to 800 also in camera menu, so everyghing locked beside aperture. And made shots with different F (set with CHDK) and you can see that images different, so it works. But it's a pity that I can't see this on preview during half press. No matter what I set in this case I always see image like F 2.2 because automatic of camera set this value in this particular case. So aperture override works only for shooting and not for preview.


One note about aperture values in CHDK. Values for aperture that I can set in camera menu
2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0
but in CHDK menu I can set only strange values
2.05 2.31 2.37 2.74 2.95 3.41 3.87 4.23 5.03 5.65 6.34 7.12 8.0
but as I undestood camera make shooting with it normal values - it choose closest to that strange values. But if possible whould be good to make them the same.

>more deeper sharp
Probably you mean DOF (depth of field/focus).

>ND Filter give no deeper sharp, only make all darker
Yes, this is the only purpose of ND - to reduce ammount of light. I measured it for Ixus 980 and found that ND reduce ammount of light in 4 times. Changing aperture from 2.0 to 8.0 probably also make image in 4 times darker (something around that but not sure about exact value). So combination of ND and aperture on this camera can give reduce in light in 16 times, so probably will be possible to shoot sun :). Also ND can help when you focus on something close and whant backgound to be defocused, so you need aperture be maximum opened, but if it very bright and 1/2500 not enought? ND will help here. But in most cases aperture better, because it allow adjust ammount of light very precisely. ND can only reduce it in 4 times and no less and no more.

I can help make any test and tell something about photo, but I am programmer just a little.


Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #238 on: 01 / March / 2011, 06:16:13 »
Quote
One note about aperture values in CHDK. Values for aperture that I can set in camera menu

I can not set any aperture in IX1000.thats really bad, seem Ixus 300 have a manual mode but Ixus 1000 not.

thanks for your images, seem ixus 1000 have no Iris.I shoot a foto of Lens soon.But i see no diffrence as in your Camera when i use the P mode which set F 3.4 and the firework mode which set F6.0 on 6.3 mm or 36 mm convertet.

I see also not something as a ND filter.

maybe the lens of Ixus 300 is from S95 G12 and so contain a Iris and Ixus 1000 have a lens without Iris and ND Filter.Is that possible ?

But maybe the code i write, help you to get it correct working.
also the call earlier of
 "BL      shooting_expo_param_override\n"  // +      

can help.

without this line, iso overwrite is not set in shoot ready mode in my camera, so its possible that aperture is then correct set on your Camera too.
 
Quote
>One note about aperture values in CHDK. Values for aperture that I can set in camera menu
>2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0
>but in CHDK menu I can set only strange values
>2.05 2.31 2.37 2.74 2.95 3.41 3.87 4.23 5.03 5.65 6.34 7.12 8.0

thats because the aperture table is maybe wrong on Ixus 300 Port.In platform/camera_model/shooting.c must add the correct table.

thats ixus1000 table.but the values are not exact on 2. number after "."
For example when table say 3.4 AV overwrite show 3.44.when table say 5.6 show 5.65.I guess thats some rounding.

const ApertureSize aperture_sizes_table[] = {
   {  9, 343, "3.4" },
    { 10, 352, "3.5" },
   { 11, 384, "4.0" },
   { 12, 416, "4.5" },
   { 13, 448, "5.0" },
   { 14, 480, "5.6" },
   { 15, 512, "6.3" },
   { 16, 544, "7.1" },
   { 17, 576, "8.0" }
};

It should possible to come with the correct values fpr Ixus 300 more closer as your postet values.   
« Last Edit: 01 / March / 2011, 06:19:04 by Bernd R »
Ixus 1000 HS

*

Offline Yury

  • *
  • 15
  • IXUS 300HS 1.00D, IXUS 980IS 1.01B
Re: SD 4000 IS / IXUS 300 HS / IXY 30S porting thread
« Reply #239 on: 01 / March / 2011, 12:44:03 »
Bernd R, thanks for you advises. I hope that pixeldoc2000 would like to implement them.

Quote
I see also not something as a ND filter.
This is not that easy to see as iris, but possible. With ND hole should look a little darker. This change is possible to see only if you see moment when ND closing or opening.

Quote
Ixus 1000 have a lens without Iris and ND Filter.Is that possible ?
I think that this is impossible because camera will not be able to shoot correctly bright scenes, for example snowy environment with clear sky - it will be overburned a lot. Camera should have iris or ND or both.

Quote
mode which set F 3.4 and the firework mode which set F6.0 on 6.3 mm or 36 mm convertet.
Maybe it set different aperture by zooming lenzes. When you zoom, camera show higher aperture values, because as I understand zoom reduce light power.

Added later
Just found that 1000HS have very short shutter 1/4000, so looks like it may have no ND and work ok without it.
http://www.canon.co.uk/For_Home/Product_Finder/Cameras/Digital_Camera/IXUS/IXUS_1000_HS/index.aspx?specs=1
« Last Edit: 01 / March / 2011, 17:07:28 by Yury »

 

Related Topics