Home

23IR User Manual

image

Contents

1. AA OE 01 xx 00 00 Get Picture preview picture AA 04 02 00 00 00 ACK 04 xx 00 00 Data preview picture gt 1 trame AA DA 2 Image Data whole picture ACK AA OE 0 xx 00 00 Note xx zz Don t care 23IR RS232 Camera User Manual 13 2008 8 28
2. Camera User Manual 9 2008 8 28 AA OE 01 xx 00 00 AA OE 06 xx 00 00 AA OE 05 xx 00 00 AA OE 04 xx 00 00 Data snapshot picture AA 0A 01 Image Data Packet 512 bytes ID 0000h Image Data Packet 512 bytes ID 0001h The Last Image Data Packet Note xx yy Don t care ZZ Image size return by 23IR 23IR RS232 Camera User Manual 10 2008 8 28 4 2 Snapshot Picture uncompressed snapshot picture Initial preview VGA AA 01000607 zz ACK AA OE 01 xx 00 00 Snapshot uncompressed picture 05 01 00 00 00 ACK AA OE 05 xx 00 00 Get Picture snapshot picture 04 01 00 00 00 ACK AA OE 04 xx 00 00 Data snapshot picture AA DA 01 Image Data whole picture Note xx zz Don t care 23IR RS232 Camera User Manual 11 2008 8 28 5 Getting JPEG preview pictures video for RS232 Make sure connection is made before the following communication 5 JPEG Preview Pictures ACK AA OE 01 xx 00 00 ACK AA OE 06 xx 00 00 ACK AA OE 04 xx 00 00 JPEG preview picture AA 0A 01 Image Data Packet 512 bytes ID 0000h frame Image Data Packet 512 bytes ID 0001h The Last Image Data Packet Note xx yy Don t care Image size return by 23IR 23IR RS232 Camera User Manual 12 2008 8 28 5 2 Preview Picture Uncompressed Preview Picture Initial preview VGA 01 00 06 07 zz ACK
3. 2008 8 28 JPEG Preview Picture 3 Snapshot AA05h 23IR keeps a single frame of JPEG still picture data in the buffer after receiving this command 3 Snapshot Type Compressed Picture Uncompressed Picture 3 2 Skip Frame Counter The number of dropped frames can be defined before compression occurs 0 keeps the current frame 1 captures the next frame and so forth 4 Set Packet Size AA06h The host issues this command to change the size of data packet which is used to transmit 1mage data from the 23IR to the host This command should be issued before sending Snapshot command or Get Picture command to 23IR It is noted that the size of the last packet varies for different image 4 Packet Size The default size is 64 bytes and the maximum size 1s 512 bytes ID Data Size Image Data Verify Code 2 bytes 2 bytes Packet Size 6 bytes 2 bytes ID Packet ID starts from zero for an image Data Size gt Size of image data in the packet Verify Code gt Simple error detection code equals to the accumulated number of byte sent out from 23IR to host via RS 232 5 Set Baud Rate AA07h Set the 23IR baud rate by issuing this command As the default baud rate is 14400bps host should make connection with 23IR at this baud rate each time power on 5 Baud rate Divider Baud rate 14 7456MHz 2 x 2nd Divider 1 2 x 1st Divider 1 23IR RS232 Camera User Manual 2008 8 28 14400 b
4. 23IR User Manual Release 1 Aug 28 20068 official released General Description The 23IR module is a highly integrated serial camera board that can be attached to a wireless or PDA host performing as a video camera or a JPEG compressed still camera It provides a serial interface RS 232 and JPEG compression engine to act as a low cost and low powered camera module for high resolution serial bus security system or PDA accessory applications x OV7640 8 OV528 VGA Image K Compression Sensor Engine 23 Can Modul amera Module Program Figure 1 System Block Diagram Features e Small in size low cost and low powered 3 3V camera module for high resolution serial bus security system or PDA accessory applications e On board EEPROM provides a command based interface to external host via RS 232 e UART 115 2Kbps for transferring JPEG still pictures or 160x128 preview 8bpp with 0 75fps e On board OmniVision OV7640 8 VGA color sensor e Built in JPEG CODEC for different resolutions e Built in down sampling clamping and windowing circuits for VGA QVGA 160x120 or 80x60 image resolutions e Built in color conversion circuits for 2 bit gray 4 bir gray 8 bit gray 8 bit RGB 12 bit RGB 16 bit RGB or standard JPEG preview images e No external DRAM required System Configuration 1 Camera Sensor The 23IR module uses OmniVision OV7640 8 VGA color digital CameraChips with an 8 bit YCbCr interface 2 OV528 Se
5. NC AAO0D00000000h command SYNC Command P 9 A Ah A Ah Dh 00h DOh DOh DOh single Byte Figure 4 RS 232 SYNC command timing diagram Command Set The 23IR module supports total 12 commands for interfacing to host as following Initialise AAOIh 00h Color Type Preview JPEG AA05h Snapshot Type Skip Frame Skip Frame Set Packet AA06h Packet Size Packet Size S1Ze dl MN Low Byte High Byte E ui Data Type Length ByteO Length Byte 1 Length Byte 2 me Command ID ACK counter OOh Packat ID OOh Packet ID Byte 0 Byte 1 f the parameter is it is a special Reset command The 23IR module will reset immediately 1 Initialise AAO1h The host issues this command to configure the preview image size and color type After receiving 23IR RS232 Camera User Manual 3 2008 8 28 this command the module will send out an ACK command to the host if the configuration success Otherwise an NACK command will be sent out 1 1 Color Type 23IR can support 7 different color types as follow 1 2 Preview Resolution 1 3 JPEG Resolution Since the Embedded JPEG Code can support only multiple of 16 the JPEG preview mode can support following image sizes It is different from normal preview mode 2 Get Picture AA04h The host gets a picture from 23IR by sending this command 2 Picture Type Snapshot Picture Olh 23IR RS232 Camera User Manual 4
6. ommand with that ID is acknowledged by this command 10 2ACK Counter No use 10 3Packet ID For acknowledging Data command these two bytes represent the requested packet ID While for acknowledging other commands these two bytes are set to OOh 11 NAK AAOFh This command indicates corrupted transmission or unsupported features 11 1NAK Counter No use 11 2Error Number 12 Light Frequency AA13h The host issues this command to change the light frequency of 23IR camera 12 1 Light Frequency Type Command Protocol SYNC Command 23IR RS232 Camera User Manual 7 2008 8 28 SYNC w AA OD 00 00 00 00 Ps ACK 23IR AA OE OD xx 00 00 SYNC AA OD 00 00 00 00 ACK AA OE OD xx 00 00 2 Make Connection with 23IR Send the SYNC command at 14400bps until receiving ACK command from 23IR usually an ACK command is receive after sending 25 times of SYNC command This must be done after power up SYNC AA OD 00 00 00 00 SYNC AA OD 00 00 00 00 SYNC AA OD 00 00 00 00 gt Max 60 times SYNC AA OD 00 00 00 00 ACK AA OE OD xx 00 00 SYNC AA OD 00 00 00 00 ACK AA OE OD xx 00 00 23IR RS232 Camera User Manual 2008 8 28 3 Initial Get Picture Snapshot Set Packet Size Set Baudrate Reset and Power Off Command ACK 4 Getting a Snapshot JPEG Picture for RS232 Make sure connection is made before the following communication 4 1 JPEG Snapshot Picture e g 640x480 VGA format 23IR RS232
7. ps Olh 57600 bps Olh 19200 bps 115200 bps Olh 6 Reset AA08h The host reset 23IR by issuing this command 6 1 Reset Type Resets the whole system 23IR will reboot and reset all registers and state machines Resets state machines only 7 Power Off AA09h 23IR will go into sleep mode after receiving this command SYNC command AAODh must be sent to wake up 23IR for certain period until receiving ACK command from 23IR 8 Data AAOAh 23IR issues this command for telling the host the type and the size of the image data which is ready for transmitting out to the host 9 1 Data Type JPEG Preview Picture 8 2 Length These three bytes represent the length of data of the Snapshot Picture Preview Picture or JPEG Preview Picture 9 SYNC AAODh Either the host or the 23IR can issue this command to make connection An ACK command must be sent out after receiving this command 10 ACK AAOEh This command indicates the success of last operation After receiving any valid command ACK command must be sent out except when getting preview data The host can issue this command to request image data packet with desired packet ID after receiving Data command from 23IR The host should send this command with packet ID FOFOh after receiving a packet to end the packet transfer Note that the field command ID should be 00h when request image data packet 10 1 Command ID 23IR RS232 Camera User Manual 6 2008 8 28 The c
8. rial Bridge The OV528 Serial Bridge is a JPEG CODEC embedded controller chip that can compress and 23IR RS232 Camera User Manual 1 2008 8 28 transfer image data from CameraChips to external device The OV528 takes 8 bit YCbCr 422 progressive video data from an OV7640 8 CameraChip The camera interface synchronizes with input video data and performs down sampling clamping and windowing functions with desired resolution as well as color conversion that is requested by the user through serial bus host commands The JPEG CODEC can achieve higher compression ratio and better image quality for various image resolutions 3 Program EEPROM A serial type program memory is built in for 23IR to provide a set of user friendly command interfacing to external host Board Layout 4 20mm 3 RS 232 3 3V Tx Rx GND 38mm OV 640 8 Top View Bottom View Figure 2 23IR board layout and serial interface pin Serial Interface 1 Single Byte Timing Diagram A single byte RS 232 transmission consists of the start bit 8 bit contents and the stop bit A start bit is always 0 while a stop bit 16 always 1 LSB 18 sent out first and is right after the start bit q Single Byte Transmission Figure 3 RS 232 single byte timing diagram 23IR RS232 Camera User Manual 2 2008 8 28 2 Command Timing Diagram A single command consists of 6 continuous single byte RS 232 transmissions The following is an example of SY

Download Pdf Manuals

image

Related Search

Related Contents

HP BASIC for OpenVMS User Manual  TomTom XL IQ Routes edition² Regional Refurbished  Zinkoxide spray Voorkomt luieruitslag en irritatie Spray à l`oxyde de  MPT-II User Manual  マグネットドアストッパー 施工説明書兼取扱説明書  Panasonic NN-P294SF Microwave Oven    

Copyright © All rights reserved.
Failed to retrieve file