Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
<br />
 
<br />
   −
= veye_mipi_i2c.sh详细说明 =
+
=veye_mipi_i2c.sh详细说明=
   −
== 介绍 ==
+
==介绍==
 
目录下总共4个文件,camera_i2c_config、i2c_read、i2c_write、veye_mipi_i2c.sh。
 
目录下总共4个文件,camera_i2c_config、i2c_read、i2c_write、veye_mipi_i2c.sh。
    
你需要先运行camera_i2c_config配置管脚,然后执行veye_mipi_i2c.sh。
 
你需要先运行camera_i2c_config配置管脚,然后执行veye_mipi_i2c.sh。
   −
== camera_i2c_config USAGE ==
+
<br />
本脚本实现I2C总线管脚复用的配置。
     −
==== 对于Computer Module ====
+
==veye_mipi_i2c.sh USAGE==
'''硬件连接:'''
  −
 
  −
使用我们提供的树莓派增强款套装,连接camera模组到CMIO底板。
  −
 
  −
当使用CAM1时:
  −
 
  −
Attach CD1_SDA (J6 pin 37) to GPIO2 (J5 pin 5).
  −
 
  −
Attach CD1_SCL (J6 pin 39) to GPIO3 (J5 pin 7).
  −
 
  −
当使用CAM0时:
  −
 
  −
Attach CD0_SDA (J6 pin 45) to GPIO44 .
  −
 
  −
Attach CD0_SCL (J6 pin 47) to GPIO45 .
  −
 
  −
'''软件配置'''
  −
 
  −
Download dt-blob.bin from [here],(<nowiki>https://www.raspberrypi.org/documentation/hardware/computemodule/dt-blob-dualcam.bin</nowiki> “here”) rename it to dt-blob.bin and place it in /boot/,then
  −
 
  −
<code>./camera_i2c_config [cameranum]</code>
  −
 
  −
==== 其他 ====
  −
<code>./camera_i2c_config</code>
  −
 
  −
== veye_mipi_i2c.sh USAGE ==
   
./veye_mipi_i2c.sh
 
./veye_mipi_i2c.sh
   Line 60: Line 33:  
support functions: devid,hdver,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtrigger
 
support functions: devid,hdver,wdrmode,videoformat,mirrormode,denoise,agc,lowlight,daynightmode,ircutdir,irtrigger
   −
=== 使用详解 ===
+
===使用详解===
   −
* devid
+
*devid
    
  <code>./veye_mipi_i2c.sh -r -f devid</code>
 
  <code>./veye_mipi_i2c.sh -r -f devid</code>
Line 82: Line 55:  
|}
 
|}
   −
* hdver
+
*hdver
    
  <code>./veye_mipi_i2c.sh -r -f hdver</code>
 
  <code>./veye_mipi_i2c.sh -r -f hdver</code>
Line 93: Line 66:  
|}
 
|}
   −
* wdrmode
+
*wdrmode
    
  <code>./veye_mipi_i2c.sh -r -f wdrmode
 
  <code>./veye_mipi_i2c.sh -r -f wdrmode
Line 114: Line 87:  
|}
 
|}
   −
* videoformat
+
*videoformat
    
  <code>./veye_mipi_i2c.sh -r -f videoformat
 
  <code>./veye_mipi_i2c.sh -r -f videoformat
Line 130: Line 103:  
|}
 
|}
   −
* mirrormode
+
*mirrormode
    
  <code>./veye_mipi_i2c.sh -r -f mirrormode
 
  <code>./veye_mipi_i2c.sh -r -f mirrormode
Line 151: Line 124:  
|}
 
|}
   −
* denoise
+
*denoise
    
  <code>./veye_mipi_i2c.sh -r -f denoise
 
  <code>./veye_mipi_i2c.sh -r -f denoise
Line 208: Line 181:  
|}
 
|}
   −
* agc
+
*agc
    
  <code>./veye_mipi_i2c.sh -r -f agc
 
  <code>./veye_mipi_i2c.sh -r -f agc
Line 220: Line 193:  
|}
 
|}
   −
* lowlight
+
*lowlight
    
  <code>./veye_mipi_i2c.sh -r -f lowlight
 
  <code>./veye_mipi_i2c.sh -r -f lowlight
Line 259: Line 232:  
|}
 
|}
   −
* daynightmode
+
*daynightmode
    
  <code>./veye_mipi_i2c.sh -r -f daynightmode
 
  <code>./veye_mipi_i2c.sh -r -f daynightmode

Navigation menu