AR0134: adjust gain before exposure

Published by vvossen on

Home Forums Camera Breakout Boards AR0134: adjust gain before exposure

  • This topic has 1 reply, 2 voices, and was last updated 5 months ago by bin.
Viewing 1 reply thread
  • Author
    Posts
    • #21877
      vvossen
      Participant

      Problem: AR0134 module is used to stream the video where lighting conditions change. The module is operating in auto exposure mode, with exposure time and analog gain adjusted automatically (0x3102=0x0003). When the frame is getting darker, AR0134 first adjust the exposure time until it reaches the maximum, and only after that changes the analog gain. Similarly when the frame is getting light: gain is reduced first, and only once the gain reaches minimum the exposure time decreases.

      What I would like to set up is for the module to either change the analog gain first, or to change the gain concurrently with the exposure, but I am not sure how to do this and if it is at all possible.

      My configuration file:

      {

      “camera_parameter” : {

      “CFG_MODE”:1,

      “TYPE”:”AR0134″,

      “SIZE”:[640,484],

      “BIT_WIDTH”:8,

      “FORMAT”:[0,2],

      “I2C_MODE”:3,

      “I2C_ADDR”:”0x20″,

      “TRANS_LVL”:64

      },

      “board_parameter” : [

      ],

      “board_parameter_dev2” : [

      [“0xd7″,”0x4600″,”0x0100″,”0x01”,[“0x05”]],

      [“0xf6″,”0x0000″,”0x0000″,”0x03”,[“0x03″,”0x04″,”0x0c”]]

      ],

      “board_parameter_dev3_inf2” : [

      [“0xf3″,”0x0000″,”0x0000″,”0x00”,[]],

      [“0xf9″,”0x0000″,”0x0000″,”0x00”,[]]

      ],

      “board_parameter_dev3_inf3” : [

      [“0xf3″,”0x0000″,”0x0000″,”0x00”,[]],

      [“0xf9″,”0x0000″,”0x0000″,”0x00”,[]]

      ],

      “register_parameter” : [

      [“0x30b0″,”0x0080”],

      [“0x3002″,”0x0000”],

      [“0x3004″,”0x0000”],

      [“0x3006″,”0x03bf”],

      [“0x3008″,”0x04ff”],

      [“0x308a”,”0x0000″],

      [“0x308c”,”0x0000″],

      [“0x308e”,”0x04ff”],

      [“0x3090″,”0x03bf”],

      [“0x3032″,”0x0022”],

      [“0x3028″,”0x0010”],

      [“0x302e”,”0x0001″],

      [“0x3030″,”0x0028”],

      [“0x302c”,”0x0001″],

      [“0x302a”,”0x0010″],

      [“0x3100″,”0x0003”],

      [“0x3102″,”0x0500”],

      [“0x3166″,”0x0000”],

      [“0x3168″,”0x0064”],

      [“0x310a”,”0x0002″],

      [“0x311c”,”0x04b0″],

      [“0x301a”,”0x10dc”]

      ],

      “register_parameter_dev3_inf2” : [

      [“0x3030″,”0x0020”]

      ],

      “register_parameter_dev3_inf3” : [

      [“0x3030″,”0x003a”]

      ]

      }

    • #21986
      bin
      Keymaster

      Hello,

      Sorry for my late reply. This is the characteristic of the sensor, we can’t change it at present

Viewing 1 reply thread
  • You must be logged in to reply to this topic.