SparkFun Camera Manual. P/N: Sense-CCAM

Similar documents
Chrontel CH7015 SDTV / HDTV Encoder

Design and Implementation of an AHB VGA Peripheral

Multiformat HDTV Encoder with Three 11-Bit DACs ADV7197

VGA to PAL and NTSC converter

SPECIFICATION FOR APPROVAL

Lab # 9 VGA Controller

SPECIFICATION SFW056XU1-AV

SPECIFICATION FOR APPROVAL (ANALOG RGB, DVI AND DISPLAYPORT INTERFACE CONTROLLER FOR TFT-LCD INTERFACE) MODEL: DCMR-60

Checkpoint 2 Video Interface

Brief Description of Circuit Functions

T2432C13VR01 REV. B (3.5 DIGITAL TFT with LED BACKLIGHT) 1-Chip Solution

110 MHz 256-Word Color Palette 15-, 16-, and 24-Bit True Color Power-Down RAMDAC

MACROVISION RGB / YUV TEMP. RANGE PART NUMBER

Doc: page 1 of 5

V DD1 V CC - V GL Operating Temperature T OP

Description. July 2007 Rev 7 1/106

Item Symbol Absolute Maximum Rating Unit Remarks

DATASHEET HMP8154, HMP8156A. Features. Ordering Information. Applications. NTSC/PAL Encoders. FN4343 Rev.5.00 Page 1 of 34.

Digital PC to TV Encoder 2. GENERAL DESCRIPTION LINE MEMORY TRUE SCALE SCALING & DEFLICKERING ENGINE SYSTEM CLOCK PLL

ANDpSi025TD-LED 320 x 240 Pixels TFT LCD Color Monitor

SDA 3302 Family. GHz PLL with I 2 C Bus and Four Chip Addresses

1/4 inch VGA Single Chip CMOS High performance Image Sensor with 640 X 480 Pixel Array POA030R. Rev 1.4. Last update : 1st APRIL 2010.

AD9884A Evaluation Kit Documentation

CH7053A HDTV/VGA/ DVI Transmitter

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

PHYS 3322 Modern Laboratory Methods I Digital Devices

7inch Resistive Touch LCD User Manual

PO3030K 1/6.2 Inch VGA Single Chip CMOS IMAGE SENSOR. Last update : 20. Sept. 2004

MAX11503 BUFFER. Σ +6dB BUFFER GND *REMOVE AND SHORT FOR DC-COUPLED OPERATION

MBI5050 Application Note

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 105 MSPS ADC

By Tom Kopin CTS, ISF-C KRAMER WHITE PAPER

Gateway 50-inch Plasma TV Specifications

1. Introduction CP-251F

4.3inch 480x272 Touch LCD (B) User Manual

Application Note 20D45X Family

Product Specification 7 COLOR TFT-LCD MODULE

PC/HDTV 2-Way Converter

REV CHANGE DESCRIPTION NAME DATE. A Release

Lecture 14: Computer Peripherals

LCD MODULE SPECIFICATION

192-Bit, 360 MHz True-Color Video DAC with Onboard PLL ADV7129

XC-77 (EIA), XC-77CE (CCIR)

Display-Shoot M642HD Plasma 42HD. Re:source. DVS-5 Module. Dominating Entertainment. Revox of Switzerland. E 2.00

CH7021A SDTV / HDTV Encoder

GS4911B/GS4910B HD/SD/Graphics Clock and Timing Generator with GENLOCK

PCB Layout and Design Considerations for CH7011 TV Output Device

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

T2432C15VQ01 REV. B (3.5 Digital TFT with Touch Panel) 1-Chip Solution

Camera Interface Guide

4.3 8 bit TFT Digital Driver Board Specification

uresearch GRAVITECH.US GRAVITECH GROUP Copyright 2007 MicroResearch GRAVITECH GROUP

AND-TFT-64PA-DHB 960 x 234 Pixels LCD Color Monitor

AN2939 Application note

Digital PC to TV Encoder with Macrovision TM 2. GENERAL DESCRIPTION LINE MEMORY SYSTEM CLOCK PLL. Figure 1: Functional Block Diagram

12.1 Inch CGA EGA VGA SVGA LCD Panel - ID #492

Gateway 46-inch Plasma TV Specifications

CXA1645P/M. RGB Encoder

DRV050-VGA-R02 Drive Board User manual Ver 1.1

ILI9322. a-si TFT LCD Single Chip Driver 320RGBx240 Resolution and 16.7M color. Datasheet Preliminary

Acer AL1917 Service Guide. Service guide files and updates are available on the CSD web: for more information, Please refer to http: csd.acer.com.

LCD MODULE SPECIFICATION

AK8817VQ NTSC/PAL Digital Video Encoder

HDMI-UVC/HDMI-Parallel converter [SVO-03 U&P]

VIDEO Muhammad AminulAkbar

bit TFT Digital Driver Board Specification

Is Now Part of To learn more about ON Semiconductor, please visit our website at

AND-TFT-25XS-LED-KIT. 160 x 234 Pixels LCD Color Monitor AND-TFT-25XS-LED-KIT. Features

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT /12/14 BIT 10 TO 65 MSPS DUAL ADC

Video to HDMI Scaler Box

DLP Pico Chipset Interface Manual

USER MANUAL Nokia 5110 LCD

Checkpoint 2 Video Encoder

VGA to DVI-I. Scaler Box CP-252. Operation Manual

VGA to DVI-I. Scaler Box CP-252. Operation Manual

USER MANUAL. VP-435 Component / UXGA HDMI Scaler MODEL: P/N: Rev 13

Complete 10-Bit, 25 MHz CCD Signal Processor AD9943

RGB Encoder For the availability of this product, please contact the sales office. VIDEO OUT Y/C MIX DELAY CLAMP

TFT LCD MONITOR PRODUCT SPECIFICATION MODEL: KTS270DPE02 ISSUE DATE: Prepared by KORTEK R&D CENTER KORTEK CORPORATION

AC334A. VGA-Video Ultimate BLACK BOX Remote Control. Back Panel View. Side View MOUSE DC IN BLACK BOX ZOOM/FREEZE POWER

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

ZR x1032 Digital Image Sensor

LCD Module Product Specification

7 Segment LED CB-035. ElectroSet. Module. Overview The CB-035 device is an, 8-digit 7-segment display. Features. Basic Parameters

TECHNICAL SUPPORT , or FD151CV-LP Installation and Operation Manual 15.1 Low Profile LCD

15 Inch CGA EGA VGA to XGA LCD Wide Viewing Angle Panel ID# 833

AC335A. VGA-Video Ultimate Plus BLACK BOX Back Panel View. Remote Control. Side View MOUSE DC IN OVERLAY

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

Complete 10-Bit/12-Bit, 25 MHz CCD Signal Processor AD9943/AD9944

Nuvoton Touch Key Series NT086D Datasheet

OBSOLETE. CMOS 80 MHz Monolithic (18) Color Palette RAM-DACs ADV478/ADV471

DOGM GRAPHIC SERIES 132x32 DOTS

VGA 8-bit VGA Controller

Digital Blocks Semiconductor IP

Chapter 1 HDMI-FMC Development Kit Chapter 2 Introduction of the HDMI-FMC Card Chapter 3 Using the HDMI-FMC Board...

DATE DESCRIPTION CHANGED BY. CHECKED BY FROM TO A First Release. ZENG LI HUANG YUAN LIANG

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

Pivoting Object Tracking System

Outline Dimension. View Angle

Optimizing BNC PCB Footprint Designs for Digital Video Equipment

Transcription:

SparkFun Camera Manual P/N: Sense-CCAM Revision 0.1b, Aug 14, 2006

Overview The Spark Fun SENSE-CCAM camera is a 640x480 [vga resolution] camera with an 8 bit digital interface. The camera is based on a Hynix/MagnaChip HV7131GP. This document does not attempt serve as a replacement for the HV7131GP datasheet, especially with regards to its register set. This document is intended to familiarize new users to the camera, and provide information not covered in the datasheet such as the camera package / pinout, along with things the author discovered the hard way. Table of Contents 1. Pinout / Connections...3 2. Electrical / Signalling...4 2.1 Power Supply / IO Voltages...4 2.2 Standard Frame Waveform...5 2.3 Data Formats...6 2.4 Camera PCB design and Layout...7 3. Example Application...8 4. Mechanical Form Factor...9 David Carne, 2006 2/9

1. Pinout / Connections The connector of the CCAM is a 20 pin receptacle on an 0.4mm pitch. Specific part number is DF18C-20DS-0.4V. This connector mates with part # DF18C-20DP-0.4V. Pinout: Illustration 1: Connector pinout [as seen looking at connector flex from backside of camera]. Pin Description Pin Description 1 Y0 [out] 11 ENB [in] Enable Camera 2 Y1 [out] 12 /RST [in] Reset Camera 3 Y2 [out] 13 GND 4 Y3 [out] 14 VCC Data Bus 5 Y4 [out] 15 SCL [inout] I2C Clock 6 Y5 [out] 16 SDA [inout] I2C Data 7 Y6 [out] 17 Vsync [out] Vertical Sync 8 Y7 [out] 18 Hsync [out] Horizontal Sync 9 VCC 19 PCLK [out] Pixel Clock 10 GND 20 CLK_in [in] Clock Input David Carne, 2006 3/9

2. Electrical / Signalling 2.1 Power Supply / IO Voltages Recommended VCC: 2.8-3.0V Maximum VCC for proper operation: 3.2V Output Voltages [Observed]: 0 - VCC Input Voltages: 0-VCC [3.3V Signalling directly in seems to work fine with VCC = 3.0] David Carne, 2006 4/9

2.2 Standard Frame Waveform Illustration 2: Powerup Timing Diagram A single byte of data is clocked on every pclk pulse. See data formats section for the interpretation of this data. PCLK and CLK_in are NOT necessarily in phase or the same frequency. The phase shift seems to be dependant on the frequency supplied to CLK_in. The frequency may be divided depending on the settings set via I2C. HSYNC / DATA should be read on every negative edge of PCLK [this is hard to do with a micro]. DATA is only valid while HSYNC is high. A frame consists of all the bytes of data while HSYNC is high, between a falling and a rising edge of VSYNC. David Carne, 2006 5/9

2.3 Data Formats The camera supports multiple data formats, the default of which is 4:2:2 YcbCr. YCbCr is a format which encodes color as the luminance of the color [how bright it is], and Cb and Cr which jointly indicate the hue of color. I use the following code [constants taken from the imager datasheet] to convert YCbCr to RGB. Parameters provided are Y Cb and Cr in the range 0 to 0xFF, and it calculates r g and b bytes in the range of 0 to 0xFF. This code can be considerably improved, especially by using a fixed point routine, but that is at the expense of readability. uint8_t Y,Cb,Cr; float calcr = Y + 1.371f * (Cr - 128); float calcg = Y - 0.698f * (Cr - 128) - 0.336 * (Cb - 128); float calcb = Y + 1.732f * (Cb - 128); if (calcr < 0) calcr = 0; if (calcg < 0) calcg = 0; if (calcb < 0) calcb = 0; uint8_t r_byte = ((int)calcr) & 0xFF; uint8_t g_byte = ((int)calcg) & 0xFF; uint8_t b_byte = ((int)calcb) & 0xFF; The 4:2:2 notation indicates that for every 4 luminance values provided, you get 2 Cb, and 2 Cr. The reason for this is that the human eye is much more sensitive towards Luminance than it is to color variations, so you don't notice much of a quality loss if you use the same Cb/Cr for two pixels. In the default mode, data is transmitted in the following order: Y0, Cb0, Y1, Cr1, Y2, Cb2, Y3, Cb3 and so on... To calculate the RGB constant of pixel 1, you would use Y0, Cb0, and Cr1. For the second pixel, Y1 Cb0 and Cr1. The same pattern repeats for the rest of the image, providing 4 bytes of data for each 2 pixels. David Carne, 2006 6/9

2.4 Camera PCB design and Layout Unlike some lower speed electronics, the CCAM connector / peripheral circuitry needs to be laid out following proper SI practices to obtain a clean signal. A ground plane is highly recommended, thus requiring at least a 2 layer pcb. Clk_in, PCLK, HSYNC, VSYNC at minimum should all be routed over a continuous, uninterrupted ground plane. Guard traces/bands are recommended, especially for long runs. [A guard band is essentially a strip of gnd in between two traces to decrease crosstalk]. As the camera has an analog portion that is very sensitive to noise and power supply fluctuations, decoupling is mandatory, and filtering with a ferrite bead is highly recommended. [One bead per VDD, as one is analog and one is digital]. I recommend an 0.1uf capacitor, and a ferrite bead rated at at least 30ma, with parameters of something like 600ohms @ 100mhz David Carne, 2006 7/9

3. Example Application David Carne, 2006 8/9

4. Mechanical Form Factor David Carne, 2006 9/9