Line 215: |
Line 215: |
| | | |
| Note: only supported on camcap bit 0 is 1. | | Note: only supported on camcap bit 0 is 1. |
| + | =====daynightmode===== |
| + | <code>./veye_mipi_i2c.sh -r -f daynightmode</code> |
| + | |
| + | <code>./veye_mipi_i2c.sh -w -f daynightmode -p1 [value]</code> |
| + | {| class="wikitable" |
| + | !value |
| + | !description |
| + | |- |
| + | |0x1 |
| + | |Color Mode |
| + | |- |
| + | |0x2 |
| + | |Black&White Mode |
| + | |- |
| + | |0x0 |
| + | |Trigger Mode |
| + | |}IR-CUT (Infrared cut-off filter) is a mechanical shutter design. It is placed between the lens and the image sensor, and is controlled by a motor or an electromagnet. |
| + | |
| + | IR-CUT has two status: '''Block''' or '''Deliver''' the infrared. |
| + | |
| + | *Color Mode |
| + | |
| + | Image is Color Mode and IR_CUT status '''Block''' infrared. |
| + | |
| + | *Black&White Mode |
| + | |
| + | Image is Black&White Mode and IR_CUT status '''Deliver''' infrared. |
| + | |
| + | *Trigger Mode |
| + | |
| + | Trigger pin : [[CS-MIPI-IMX307 STARVIS Module|J4 pin1]]. |
| + | |
| + | Trigger pin High(3.3~12V),Image is Black&White Mode and IR-CUT status '''Deliver''' infrared. |
| + | |
| + | Trigger pin Low(GND),Image is Color Mode and IR-CUT status '''Bolck''' infrared. |
| + | =====hue===== |
| + | <code>./cs_mipi_i2c.sh -r -f hue</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f hue -p1 50</code> |
| + | |
| + | hue,range [0,100]. |
| + | =====contrast===== |
| + | <code>./cs_mipi_i2c.sh -r -f contrast</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f contrast-p1 50</code> |
| + | |
| + | contrast,range [0,100]. |
| + | =====satu===== |
| + | <code>./cs_mipi_i2c.sh -r -f satu</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f satu-p1 50</code> |
| + | |
| + | saturation,range [0,100]. |
| + | =====aemode===== |
| + | <code>./cs_mipi_i2c.sh -r -f aemode</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f aemode -p1 0</code> |
| + | |
| + | 0 : auto exposure |
| + | |
| + | 1: manual exposure |
| + | =====metime===== |
| + | <code>./cs_mipi_i2c.sh -r -f metime</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f metime -p1 10000</code> |
| + | |
| + | manual exposure time, us. |
| + | =====meagain===== |
| + | <code>./cs_mipi_i2c.sh -w -f meagain -p1 X -p2 Y</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f meagain</code> |
| + | |
| + | manual again,dB. Should set '''aemode''' to manual first. |
| + | |
| + | X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB. |
| + | |
| + | X range: depending on sensor. |
| + | |
| + | Y range: [0-9]. |
| + | =====medgain===== |
| + | <code>./cs_mipi_i2c.sh -w -f medgain -p1 X -p2 Y</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f medgain</code> |
| + | |
| + | manual dgain,dB. Should set '''aemode''' to manual first. |
| + | |
| + | X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB. |
| + | |
| + | X range: depending on sensor. |
| + | |
| + | Y range: [0-9]. |
| + | =====awbmode===== |
| + | <code>./cs_mipi_i2c.sh -r -f awbmode</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f awbmode -p1 0</code> |
| + | |
| + | 0 : auto white balance |
| + | |
| + | 1: manual white balance, gain mode |
| + | |
| + | 2: manual white balance, color temperature mode |
| + | =====mwbgain===== |
| + | <code>./cs_mipi_i2c.sh -w -f mwbgain -p1 RGAIN -p2 BGAIN</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f mwbgain</code> |
| + | |
| + | manual white balance mode, set rgain and dgain manually, ggain is always 1. |
| + | |
| + | GAIN is 4-bit decimal precision, for example: 0x23 means 2+3/16=2.19. |
| + | =====mwbcolortemp===== |
| + | <code>./cs_mipi_i2c.sh -w -f mwbcolortemp -p1 3200</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f mwbcolortemp</code> |
| + | |
| + | manual white balance, color temperature mode, color tempture,range [1500,15000] |
| + | =====expostate===== |
| + | <code>./cs_mipi_i2c.sh -r -f expostate</code> |
| + | |
| + | readonly, get the current exposure state. exposure time, again and dgain. |
| + | =====wbstate===== |
| + | <code>./cs_mipi_i2c.sh -r -f wbstate</code> |
| + | |
| + | readonly, get the current white balance state. rgain, bgain and color tempture. |
| + | <br /> |