Difference between revisions of "Sparkfun Camera"

From eLinux.org
Jump to: navigation, search
m (Bot (Edward's framework))
 
m
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
* 640x480 (actual 652 x 488 )
 
* 640x480 (actual 652 x 488 )
* [[[Media:HV171GP.pdf]] datasheet]
+
* [[Media:HV171GP.pdf|datasheet]]
 
* on sale at [http://www.sparkfun.com/commerce/product_info.php?products_id=637 Sparkfun] for $19.95
 
* on sale at [http://www.sparkfun.com/commerce/product_info.php?products_id=637 Sparkfun] for $19.95
* SMD Connector is a [[[Media:df18.pdf]] DF18 Hirose Connector]
+
* SMD Connector is a [[Media:df18.pdf|DF18 Hirose Connector]]
 
* SMD Connect available from [http://www.sparkfun.com/commerce/product_info.php?products_id=638 Sparkfun] for $0.95
 
* SMD Connect available from [http://www.sparkfun.com/commerce/product_info.php?products_id=638 Sparkfun] for $0.95
 
* [http://www.sparkfun.com/commerce/product_info.php?products_id=7904 Break out Board]
 
* [http://www.sparkfun.com/commerce/product_info.php?products_id=7904 Break out Board]
Line 14: Line 14:
 
* <code>Bayer</code>
 
* <code>Bayer</code>
  
the [[[Media:libdc1394.pdf]] libdc1394 howto] provides an excellent introduction to the Bayer format.
+
the [[Media:libdc1394.pdf|libdc1394 howto]] provides an excellent introduction to the Bayer format.
  
 
the starting row and column determine the Bayer format
 
the starting row and column determine the Bayer format
Line 66: Line 66:
 
* the i2c interface needs to be level shifted from the 2.8v to either 3.3v or 5v depending on your host device
 
* the i2c interface needs to be level shifted from the 2.8v to either 3.3v or 5v depending on your host device
 
* http://www.standardics.philips.com/support/documents/i2c/pdf/an97055.pdf - application note on i2c level shifting
 
* http://www.standardics.philips.com/support/documents/i2c/pdf/an97055.pdf - application note on i2c level shifting
 +
 +
[[Category:Hardware]]

Latest revision as of 00:42, 28 October 2011

MagnaChip HV7131GP CMOS Camera Module

8-Bit Output Format Support:

  • YCbCr 4:2:2
  • Bayer

the libdc1394 howto provides an excellent introduction to the Bayer format.

the starting row and column determine the Bayer format

  • even BGGR
  • odd GRBG

basically because the camera is slightly larger than 640x480 you can set the window for usage:

  • Row 2 and Column 2 with Window Heigh 640 and Width 480 produces Bayer BGGR
  • Row 1 and Column 1 with Window Heigh 640 and Width 480 produces Bayer GRBG

the odd/even are dependent on the orientation of the scan.


Information gathered from the Sparkfun Forums

although the camera does support a 16-bit mode, the ribbon cable only provides support for the 8-bit mode.


          ------------
     ENB  | 11     1 |    Y0
     RST  | 12     2 |    Y1
     GND  | 13     3 |    Y2
     VDD  | 14     4 |    Y3
     SCL  | 15     5 |    Y4
     SDA  | 16     6 |    Y5
  FVALID  | 17     7 |    Y6
  LVALID  | 18     8 |    Y7
    PCLK  | 19     9 |    VDD
    MCLK  | 20    10 |    GND
          ------------

NOTE: Pins 14 + 9 are connected to VDD :
V+ --|
     |
     |----[B1]--------------#--------- Pin 9
     |                      |
     |                      |
     |----[B2]-------#------)--------- Pin 14
                     |      |
                     |      | 
                    [C1]   [C2]
                     |      |
                   -----  -----
                    ---    ---
                     -      -

busonerd states - "My guess for the parts values would be a ~600ohm @ 100MHZ ferrite bead (B1 and B2), current capacity ~100-200 ma, and a 0.1uf caps(C1 and C2). You really can't go wrong with the ferrite bead - just get a higher impedance + higher current capacity one if in doubt. For the caps(C1 and C2) - if you really want to be paranoid, use an 0.47uf, an 0.1uf and an 0.01uf - with the smaller values nearer the connector - but that is guaranteed overkill."