Summary of analog camera-tvp5150 module based on Icamera test

Source: Internet
Author: User

Summary of analog camera-tvp5150 module based on Icamera test

First recognize the analog camera, I believe we are not unfamiliar,

CCD Analog Camera

CMOS analog camera

It can be seen that the CCD camera circuit is more complex, the interface is few, and the CMOS camera, the circuit simple interface More,

We can Baidu search under, pay attention to the advantages and disadvantages of CMOS and CCD, and its performance characteristics.

The two main differences here are as follows:

1, CCD high definition, low illumination effect is also good.

2, CCD does not need Ircut,cmos need ircut. It is necessary to add 650nm filter images outdoors in order to be normal.

And look at the wiring.

This cable is for our standard cable, external interface is: power and signal (standard DC head and Q9 head)

The connection of the circuit board is also relatively simple, are anti-plug plug, 3-core is a power supply and signal, which is public.

2 Core is the power supply, can be connected to the light plate, in our application does not apply.

Of course the camera board also has only one and only a 3-core. So I won't answer the wrong.

Video Capture Solution

Tvp5150+icamera+usb+pc

Because the Icamera interface has a slight discrepancy with the camera line sequence, a piece of the adapter board is prepared, with a split line, only the line sequence is adjusted, using the avid signal.

800-WIRE CCD module

Installation

To this realization of the analog camera, USB video acquisition prototype.

Now look at the Icamera configuration

Tvp5150_df_yuv
Mode=video
Iface=cypress
Format=yuv
Type=yuyv
imagesize=720x263
Afmode=cypress_iic
[SENSOR]
; VENDOR 0x1a for configuration
; VENDOR 0x1e for VCM
; VENDOR 0x12 for 1 byte address and 1 byte data
; VENDOR 0x22 for 1 byte address and 2 bytes data
; VENDOR 0x32 for 2 bytes address and 1 byte data
; VENDOR 0x42 for 2 bytes address and 2 bytes data
; VENDOR 0x52 for 1 byte address and sequence Datas
; VENDOR 0x62 for 2 bytes address and sequence Datas

0X1A, 0x00, 0xba,//0x5A//sensor slave ID
0X1A, 0x01, 0x00,//pwdn Low
0X1A, 0x02, 0x01,//wordwide <1:8 bit, else:16 bit>
0X1A, 0x03, 0x01,//register address length 2byte
0X1A, 0x04, 0x01,//register value length 1byte
0X1A, 0x05, 0x01//reset Pin (PC2)
0X1A, 0x06, 0x01//ifclk polarity

0XFE,0X01,0X01//Latest command, because the video is interlaced, odd-even frame, this command implementation, skip a frame, take half, do not splice.

0xff,0xff,x0ff
0x12,0x00,0x00
0xff,0xff,x0ff
0x12,0x03,0xaf
0xff,0xff,x0ff
0x12,0x0f,0x02
0xff,0xff,x0ff
0x12,0x09,0xb4//180
0xff,0xff,x0ff
0x12,0x0a,0xc8//200
0xff,0xff,x0ff
0x12,0x0c,0xac//172
0xff,0xff,x0ff
0x12,0x0d,0x40
0xff,0xff,x0ff
0x12,0x12,0x04

0X1A, 0x0e, 0x01,//external clock

Video Capture effect

Attention:

This test, may be the IIC timing is not too perfect, initialization often requires multiple times to succeed, such as: Repeated on the power, continuous click, start, stop initialization, 3-5 times after the normal

The resolution you see at this point is:

720*263, because the maximum output of the template is 720*525, half can be

So the continuous collection will appear dislocation phenomenon, occasionally, is also the reason.

Mainly the last two registers are more important, if the following problem occurs, the last two register initialization is not completed, repeated write, can be resolved

Finally, thank you:

The strong support of the Netizen ghost operator.

Summary of analog camera-tvp5150 module based on Icamera test

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.