USB Camera 130w Pixel OV9655 configuration, ov9650,ov7725,ov7670

Source: Internet
Author: User
Tags 0xc0

130w pixel OV9655 configuration of USB camera

To achieve a sufficient rate for USB2.0 acquisition, the RAW format has to be output.

20150411 XVGA 1280*1024 The actual bit machine needs 2560*1024 acquisition
Code unsigned char ov9655_sxga[150][2] = {//1280 1024
0x12, 0x80,
0x00, 0x00,
0x01, 0x80,
0x02, 0x80,
0X03, 0x1b,//vref
0x04, 0x03,//skip def:03
0x0b, 0x57,
0x0e, 0x61,
0x0f, 0x40,//com6 def:40
0x11, 0x01,
0x12, 0x00,
0x13, 0xc7,//was e7-turned banding filter off
0x14, 0X3A,
0x15, 0x30,
0x16, 0x24,
0x17, 0x1d,//def 1d
0x18, 0xbd,//def BD href: (bd-1d) *8=1280
0x19, 0x01,
0x1a, 0x81,//def bayi href: (81-01) *8=1024
0X1B, 0X05,//PSHTF
0x1e, 0x04,//def 04
0x24, 0x3c,
0x25, 0x36,
0x26, 0x72,
0x27, 0x08,
0x28, 0x08,
0x29, 0x15,
0X2A, 0x00,//def 00
0X2B, 0x00,//def 00
0x2c, 0x08,
0x32, 0xFF,
0x33, 0x00,
0x34, 0x3d,
0X35, 0x00,
0x36, 0xf8,//def F8
0x38, 0x72,
0x39, 0x57,
0X3A, 0XCC,//UYVY capture Def 8c
0x3b, 0x04,
0x3d, 0x99,
0x3e, 0x02,//def 0c
0x3f, 0xc1,
0x40, 0XC0,
0x41, 0x41,//def 00
0x42, 0XC0,
0x43, 0x0a,
0x44, 0xf0,
0x45, 0x46,
0x46, 0x62,
0x47, 0X2A,
0x48, 0x3c,
0X4A, 0XFC,
0X4B, 0XFC,
0X4C, 0x7f,
0X4D, 0x7f,
0X4E, 0x7f,
0x4f, 0x98,
0x50, 0x98,
0x51, 0x00,
0x52, 0x28,
0x53, 0x88,
0x54, 0xb0,
0x58, 0X1A,
0x58, 0X1A,
0x59, 0x85,
0X5A, 0XA9,
0x5b, 0x64,
0X5C, 0x84,
0X5D, 0x53,
0x5e, 0x0e,
0x5f, 0xf0,
0x60, 0xf0,
0x61, 0xf0,
0x62, 0x00,
0x63, 0x00,
0x64, 0x02,
0X65, 0x16,
0x66, 0x00,//def 01
0x69, 0x0a,//def 02
0X6B, 0x5a,//def 5a 4x
0X6C, 0x04,
0X6D, 0x55,
0x6e, 0x00,
0x6f, 0x9d,
0X70, 0x21,
0x71, 0x78,
0x72, 0x05,//def Poidx
0x73, 0x01,
0x74, 0x0,//def 3a
0x75, 0x0,//def 35
0x76, 0x01,
0x77, 0x02,
0X7A, 0x12,
0x7b, 0x8,
0x7c, 0x15,
0x7d, 0x24,
0x7e, 0x45,
0x7f, 0x55,
0x80, 0X6A,
0X81, 0x78,
0x82, 0x87,
0x83, 0x96,
0x84, 0xa3,
0x85, 0xb4,
0x86, 0xc3,
0x87, 0xd6,
0x88, 0xe6,
0x89, 0xf2,
0x8a, 0x24,//def 03
0x8c, 0x80,//def 0d
0X90, 0x7d,
0x91, 0x7b,
0x9d, 0x03,//def 03
0x9e, 0x04,//def 04
0x9f, 0x7a,
0xa0, 0x79,
0XA1, 0x10,//Changes exposure Time-default was 0x40
0xa4, 0x50,
0xa5, 0x68,
0xa6, 0x4a,
0xa8, 0xc1,
0XA9, 0xEF,
0xaa, 0x92,
0xAB, 0x04,
0xac, 0x80,
0xad, 0x80,
0xae, 0x80,
0xaf, 0x80,
0xb2, 0xf2,
0xb3, 0x20,
0xb4, 0x20,
0xb5, 0x00,
0xb6, 0xaf,
0XBB, 0xae,
0XBC, 0x7f,
0XBD, 0x7f,
0xBE, 0x7f,
0XBF, 0x7f,
0XC0, 0xaa,//def E2
0xc1, 0XC0,
0xc2, 0x01,
0xc3, 0x4e,
0xc6, 0x05,
0xc7, 0x80,//def PCLK
0XC9, 0XE0,
0xca, 0xe8,
0XCB, 0xf0,
0XCC, 0xd8,
0xCD, 0x93
};

Have to say that this configuration is still not too perfect, where the row of pixels up to 2560, column pixel 1024, the frame rate can only reach 7.5fps, but also to continue to work

The host computer acquisition must also do the following several processing:

Pixel set to 2560*1024

The display must be one-fold width compression.

RAW format: GRBG

//
Code unsigned char ov9655_qvga[146][2]=
{
0x12, 0x80,
0x00, 0x00,
0x01, 0x80,
0x02, 0x80,
0x03, 0x12,//def 12
0x04, 0x03,
0x0b, 0x57,
0x0e, 0x61,
0x0f, 0x40,
0x11, 0x01,
0x12, 0x60,
0x13, 0xc7,
0x14, 0X3A,
0x16, 0x24,
0x17, 0x16,
0x18, 0x02,
0x17, 0x16,
0x18, 0x02,
0x19, 0x01,
0X1A, 0xf1,
0X1E, 0x04,
0x24, 0x3c,
0x25, 0x36,
0x26, 0x72,
0x27, 0x08,
0x28, 0x08,
0x29, 0x15,
0X2A, 0x00,
0X2B, 0x00,
0x2c, 0x08,
0x32, 0xff,//def FF
0x33, 0x00,
0x34, 0x3F,
0X35, 0x00,
0x36, 0XFA,
0x38, 0x72,
0x39, 0x57,
0X3A, 0x8c,
0x3b, 0x04,
0x3d, 0x99,
0x3e, 0x0c,
0x3f, 0xc1,
0x40, 0XC0,
0x41, 0x00,
0x42, 0XC0,
0x43, 0x0a,
0x44, 0xf0,
0x45, 0x46,
0x46, 0x62,
0x47, 0X2A,
0x48, 0x3c,
0X4A, 0XFC,
0X4B, 0XFC,
0X4C, 0x7f,
0X4D, 0x7f,
0X4E, 0x7f,
0x4f, 0x98,
0x50, 0x98,
0x51, 0x00,
0x52, 0x28,
0x53, 0x70,
0x54, 0x98,
0x58, 0X1A,
0x59, 0x85,
0X5A, 0XA9,
0x5b, 0x64,
0X5C, 0x84,
0X5D, 0x53,
0x5e, 0x0e,
0x5f, 0xf0,
0x60, 0xf0,
0x61, 0xf0,
0x62, 0x00,
0x63, 0x00,
0x64, 0x02,
0X65, 0x20,
0x66, 0x00,
0x69, 0x0a,
0x6b, 0x5a,
0X6C, 0x04,
0X6D, 0x55,
0x6e, 0x00,
0x6f, 0x9d,
0X70, 0x21,
0x71, 0x78,
0x72, 0x00,
0x73, 0x00,
0x74, 0X3A,
0x75, 0x35,
0x76, 0x01,
0x77, 0x02,
0x7A, 0x12,
0x7B, 0x08,
0x7C, 0x16,
0x7d, 0x30,
0x7E, 0x5e,
0x7F, 0x72,
0x80, 0x82,
0X81, 0x8e,
0x82, 0x9a,
0x83, 0xa4,
0x84, 0xac,
0x85, 0xb8,
0x86, 0xc3,
0x87, 0xd6,
0x88, 0xe6,
0x89, 0xf2,
0X8A, 0x24,
0x8c, 0x8d,
0X90, 0x7d,
0x91, 0x7b,
0x9d, 0x02,
0x9e, 0x02,
0x9f, 0x7a,
0xa0, 0x79,
0xa1, 0x40,
0xa4, 0x50,
0xa5, 0x68,
0xa6, 0x4a,
0xa8, 0xc1,
0XA9, 0xEF,
0xaa, 0x92,
0xAB, 0x04,
0xac, 0x80,
0xad, 0x80,
0xae, 0x80,
0xaf, 0x80,
0xb2, 0xf2,
0xb3, 0x20,
0xb4, 0x20,
0xb5, 0x00,
0xb6, 0xaf,
0XBB, 0xae,
0XBC, 0x7f,
0XBD, 0x7f,
0xBE, 0x7f,
0XBF, 0x7f,
0XC0, 0xaa,
0xc1, 0XC0,
0xc2, 0x01,
0xc3, 0x4e,
0xc6, 0x05,
0xc7, 0x80,
0XC9, 0XE0,
0xca, 0xe8,
0XCB, 0xf0,
0XCC, 0xd8,
0xCD, 0x93,
0xCD, 0x93
};

VGA output is:

Where the row pixel up to 1280, column pixel 480, the frame rate can only reach 29.5fps, still have to continue to work

The host computer acquisition must also do the following several processing:

Pixel set to 1280*480

The display must be one-fold width compression.

RAW format:Bggr and QVGA is GRBG

Display as: 640*480 VGA has reached the specifications of the book requirements

Post a photo

http://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-2707874652.23.VkUW0F&id=43909266190

USB Camera 130w Pixel OV9655 configuration, ov9650,ov7725,ov7670

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.