Communication Protocol/ Data Sheet

Similar documents
Communication Protocol/ Data Sheet

ShenZhen Top Create Electronic Co.,Ltd. Website: Tel: CJ - CAM User Manual.

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

LinkSprite JPEG Color Camera Serial UART Interface. User Manual

C1098 JPEG Module User Manual

Step-by-Step Tutorial For LinkSprite UART- Module Model LS_UART_WIFI

VS-LC101/ VS-LC102 RS-232 command set

The RS-485 user manual for B800 series communication

CLOCKAUDIO. MR88 Automatic Microphone Mixer RS232 Programming Version 4.2

C628 Enhanced JPEG Module. User Manual

LS9200 User Guide LinkSprite Technologies, Inc.

LS-UART-WiFi Module User Manual. May 2010

FLAT WIDE DISPLAY FWD-50PX1. PROTOCOL MANUAL (USER CONTROL ONLY) 1st Edition

UB603 Four Band GSM/GPRS Module. Hardware Manual. July 2010

POWERLINC PROGRAMMING MANUAL v1.2a

HDV100A3 Command Response Protocol

5016 Installation and Communication RS485

Next Generation Intelligent LCDs

GLC24064 Technical Manual. Revision: 2.0

GoGo Board Serial Protocol Revision 4.0.2

C329-SPI User Manual. Release Note: V th September, 2010 First release. V th January 2012 Second release. C329-SPI User Manual

FN-BC04 MP3 Sound Module with 10W Amplifier. User s Manual

0.3 Mega Pixels Serial JPEG Camera with NTSC Video

User Manual of NRF24L01 Breakout Board

LCD2041 Technical Manual. Revision: 2.1

Logosol Joystick Node LS-731

20 Channel MP3 Sound Board. User s Manual. Model: FN-BC20

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

Analyzing the command string for switch to input #

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 2 Art. no.:

Serial JPEG Camera Module Data Sheet

Control Codes. Viewing control state (Get control command) Controlling (Set control command) Command. No. Command type Command Value range

Planar Simplicity Series

Operating instructions

Modbus Remote Communication Protocol for REM 54_. Technical Description

1. Implemented CM11 protocol

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

SAFETY PRECAUTIONS. Throughout this manual we use the following two illustrations to make you aware of safety considerations:

Supports ISO14443A Mifare Classic 1K, Mifare Classic 4K, Mifare Ultralight. Fast data transfer - Contactless communication up to 106 KHz

IQ Home Modbus-RTU Master

Getting Started with Microsoft Excel 2013

Embedded Serial Web Server. User Manual

CMOS TYPE CAMERA JC406M-W01

EWBS Receiving Module Communication specifications

Subject Server vs Display Protocol Using UART Report Number Author Project Version 3.00 Remarks This document is for Internal Use.

TABLE OF CONTENTS 2/10

Rev 1.3, Air-Farm User Manual. CO2 / Temperature / Humidity Transmitter

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

Control Characters used in DirectNET

Chapter 2 Number System

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

JMY505G User's Manual

Software Developer's Manual

CMOS CAMERA MODULE JC418M-J01

Venstar Thermostat Adapter

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:

Instruction and Operation Manual

SPECIFICATIONS. 1. CO2(Carbon dioxide)sensor. List Content Remark Type NDIR Type Range Accuracy Signaling period Warm-up Time Working condition (4~20m

A GUIDE TO RS-232 COMMUNICATION WITH FX PLCS

INSTRUCTION MANUAL Ver 3.0. Indoor Pan, Tilt and Zoom Dome Camera / ACD-1000-LG27

THANK YOU. Control System Communication Protocol Manual RackLink. Monitor Control Alert Report Analyze. Thank you for purchasing a RackLink product.

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

Communication Protocol for Solder Feeder (SFR) Programmer s Guide

Communication protocol

CAN Generic 11-bit/29-bit Identifier Driver

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

Instruction manual CIU Prime type 880 (CIU858 emulation)

Digital Projector X30N/X35N

JMY504M User's Manual

C:\Users\jacob\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

TCP Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

NHD-0220D3Z-FL-GBW-V3

Specification. for. Serial Interface DN-C635

Controlling the projector using a personal computer

RFID MODULE Mifare Read/Write Module SL025B User Manual Version 1.1 Jun 2010 StrongLink

SDR-IQ Serial Port. Rev Nov 1, 2011

DATASHEET 4D SYSTEMS. Serial JPG Camera Module TURNING TECHNOLOGY INTO ART. Document Date: 5 th September 2012 Document Revision: 1.

MF1-RW-TTL-PCB Mhz Mifare ISO14443A reader/writer module with TTL interface CONTENT 1. MAIN FEATURES...,, PINNING INFORMATION...

C6820 Enhanced JPEG Module. User Manual V2.0. Release Note: 1. Feb 8, 2007 official released v Nov 16, 2007 released V2.0

Project Final Report Bluetooth Camera Sensor. Project Abstract. Status. Specification

LK Technical Manual. Revision: 2.0

AN-881 APPLICATION NOTE

INSTEON Hidden Door Sensor

Modbus Protocol For FTS/FTM 3x&8x

Xanura Isolated RS232 interface module CTX15 MBO BA. OEM module for serial communication with Xanura

Hematology Analyzer. Serial Communication Protocol. 1.7 release

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200

2a. Codes and number systems (continued) How to get the binary representation of an integer: special case of application of the inverse Horner scheme

ALESIS M20. RS-422 Implementation

MSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram

JPEG Serial Camera Module. OV528 Protocol

COMMUNICATION M-BUS PROTOCOL CE4DMID0M (MBus meter)

CPE 548 Exam #1 (50 pts) February 17, 2016

NHD 0216K3Z FL GBW. Serial Liquid Crystal Display Module

MPX-24794S Serial USB Card

DRPC100-OLED UART PROTOCOL SPECIFICATION

Appendix) Specifications of Monitor & Control Rev. 4.0 July 13, 2016

Controlling the projector using a personal computer

Serial Communication Control Interface User s Manual

FA269 - DIGITAL MEDIA AND CULTURE

Transcription:

LS-AW LinkSprite Weather Proof 0.3 Mega pixel Serial RS232 Camera Communication Protocol/ Data Sheet Version B LinkSprite Technologies, Inc October 2010 1 / 10

The information in this manual was current when published. The manufacturer reserves the right to revise and improve its product. All specifications are therefore subject to change without any notice. 2 / 10

1. General Description AW Serial Camera series has a standard RS232 interface; it supports RS232 input/output signals and can connect to PC or any other device with RS232 interface. The communication speed (baud rate) is 2400 bps, 9600bps, 14400 bps, 19200bps, 38400bps, 57600bps, and 115200pbs. It is default to 115200bps. 2. Data Frame Type There are three types of data frame transmitting between camera and host, they are: Command Frame, ACK/NAK Frame and Data Frame. Structure of command frame: Data Header U Command Byte Command Content (0 n bytes) # Note: 1. The details of command byte advised in chart 1. 2. The length of command content is subject to specific command byte. 3. The command frame is used to set the working status of serial camera and start up snapshotting. Structure of ACK/NAK frame ACK Data Header U Received Command Byte # An ACK will be sent out by receiver after receiving expected (correct) commands frame. NAK Data Header U? # A NAK will be sent out by receiver after receiving unexpected command or failing to process incoming command. Structure of data frame Data Header U Command Byte F Image Data ( Max. 1028bytes ) Check Sum (2bytes) Package ID Package Size (Max. 2bytes) Image Data ( Max. 1024bytes ) 3 / 10

Note: (1) All data transmits from LSB; (2) All package size except the last one equals to the one set by snapshot command, the last one varies for different image. (3) Check sum equals to the sum of the whole package data except the check sum field( from U to the byte before check sum field) 3. Command Instruction Chart 1 Command Byte Command Content Description Example H 1Byte : Image(Picture) size Host issues this command UH 2 0x00 0x02 # 1:160 128 pixel for requesting camera to Hexadecimal 2:320 240 pixel 3:640 480 pixel snapshot a picture of specified size and divide it representation(55 48 32 00 02 23) into packages according to Camera snapshots a 2Bytes: package size directed size, picture with size 320x240 (hexadecimal representation) and UH# responded by and divide it into camera after receiving packages according to incoming command. ) the size of 512 bytes R 2Bytes: Snapshot size Camera issues this UR 0x00 0x5C 0x2E (hexadecimal representation) command to report the size 0x00 # of the snapshot and the Hexadecimal 2Bytes: number of data packages (hexadecimal representation) number of data packages representation(55 58 00 5C 2E 00 23) 00 5C these 2bytes represents snapshot size 2E 00 these 2bytes represents the number of data packages Camera reports the data size is 23K and the number of data packages is 46 4 / 10

E 2bytes: package ID (hexadecimal representation) Host issues this command to camera for getting the package with desired package ID UE 0x2E 0x00 # Hexadecimal representation(55 45 2E 00 23) Get the package with package ID 46 from camera F 2bytes: package ID (hexadecimal representation) 2Bytes:Package Size (hexadecimal representation, without including the fields of package ID and check sum) Camera transmits the data of specified package to host UF 0x2E 0x00 0x00 0x02...Data Content 0x1E 0x13 Hexadecimal representation (55 46 2E 00 00 02+image data+check sum) n Bytes : Image Data 2Byte: Check Sum (the sum of the whole package data except the check sum field) Camera transmits the package with package ID 46, package size is 512 and check sum is 1E13. I Change the baud rate of camera 1byte 1. 0, 9600 2. 1 19200 3. 2 38400 4. 3 57600 5. 4 115200 6. 5 2400 7. 6 14400 Host issues this command to change the baud rate of camera, and an ACK will be sent out by camera after receiving incoming command. Camera keeps using this changed baud rate to connect host in the sequent communication process UI '0' # Hexadecimal representation (55 49 30 23) Change the baud rate of camera to 9600, and camera responds UI# to host after receiving incoming command Notice: All letters are capitalized, and command can be represented as hexadecimal. 5 / 10

4.The length-byte of every command data frame H command frame: 6bytes: 1byte ( U ) +1byte ( H ) +1byte (Image Size) +2byte (Package Size) + 1byte ( # ); R command frame receiving according to 7 bytes: 1byte( U ) +1byte ( R ) +2bytes (Image Size) + 2bytes(Number of package) +1byte( # ); E command frame: 5 bytes: 1byte ( U ) +1byte ( E ) +2bytes (Package ID) + 1byte ( # ); F command frame: 8+N bytes, N means the quantity of byte of image data 1byte ( U ) +1byte( F ) + 2bytes (package ID) + 2bytes (size of valid data in this package) + N bytes(content of image data in this package) + 2bytes (check sum field); 5. Interaction processing of protocol 1. The camera should be initialed after power on, and it takes about 2S to complete the initialization. 2. The consumed time of snapshotting: it takes T p to snapshot a picture after camera receiving the snapshot command. The min. of T p is 200ms is that when takes a white-black picture. Snapshot a single picture(snapshot a picture of specified size) Host Camera Send out a snapshot command command Camera snapshots a picture after receiving incoming ACK Send out a command of getting the package with desired package ID Report the size of snapshotted picture and the number of data packages 6 / 10

ACK Transmits data of specified package E.g. Host requests to snapshot a picture with size 160x128 from no.1 (camera ID) camera: ⑴ Host sends out snapshot command as follows: UH 1 0x00 0x02 #(55 48 32 00 02 23) //(snapshot a picture with size 160X128, and divide it into packages with size 512bytes.) ACK from camera: UH #(55 48 23 )//ACK command frame Then camera reports the information of the snapshotted picture (image) data: UR 0x74 0x0A 0x06 0x00 # //snapshot size is 2676bytes, number of packages is 6.. ⑵ Host sends out command of getting the package with desired package ID: UE 0x01 0x00 #(55 45 01 00 23 ) //Request to get the data of first package ACK from camera: UE #(55 45 23 ) And then camera transmits the data of first package as follows: //UF the first package 520bytes 554601000002FFD8FFE000114A464946000102030405060708090AFFDB004300100C0C0E0C0A100E 0E0E1212101418281A181616183224261E283A343E3C3A34383840485C4E404458463838506E52586 0626868683E4E727A7064785C666864FFDB004301121212161616301A1A3064423842646464646464 64646464646464646464646464646464646464646464646464646464646464646464646464646464646 46464FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B510 0002010303020403050504040000017D01020300041105122131410613516107227114328191A108234 2B1C11552D1F02433627282090A161718191A25262728292A3435363738393A434445464748494A53 5455565758595A636465666768696A737475767778797A838485868788898A92939495969798999AA2 A3A4A5A6A7A8A9AAB2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE1E 2E3E4E5E6E7E8E9EAF1F2F3F4F5F6F7F8F9FAFFC4001F0100030101010101010101010000000000 000102030405060708090A0BFFC400B511000201020404030407050404000102770001020311040521 31061241510761711322328108144291A1B1C109233352F0156272D10A162434E125F11718191A262 728292A35363738393A434445464748494A535455565758595A6364650006 //check sum Host sends out: UE 0x02 0x00 #(55 45 02 00 23 ) // Request to get the data of second package 7 / 10

ACK from camera: UE #(55 45 23 ) And then camera transmits the data of second package : //UF the second package 520bytes 5546020000027475767778797A82838485868788898A92939495969798999AA2A3A4A5A6A7A8A9AA B2B3B4B5B6B7B8B9BAC2C3C4C5C6C7C8C9CAD2D3D4D5D6D7D8D9DAE2E3E4E5E6E7E8E9EAF 2F3F4F5F6F7F8F9FAFFC0001108008000A003012200021101031101FFDA000C03010002110311003F 00E934E9231690CED1992793BE31C67078FA7F2AD6B70CB028906D6F4CD430C969112B16010013 807BF23F9D5A2096539E9DBD686F4B19A168A28A4329EA881EC1FD8823F3AE4EE5765C230E3A1 CFE35D8DE2EEB4917D4572B78A08FC3FAD6B4C3A0CD5154EB12EC5DB8C2E07183B40FE75DA5 7157EE1AF9A41DC293F5DA33FAD749A35CACFA7A26ECBC636B0F41938FD289AD0465B851E32D CD8C6E03F1F2C549E27404DA7FC0FF00F65A86E7E5F150247FCB58C7FE3AB56BC46326D7FE05 FD28EA85D6E6ED14515914145145001451450067EB480E9539F61FCC566D94132F877308CB3B17 EA38C1F7FA569EB4C0695367BE00FCC553824F2BC2523E718864C7D7271557B442C72167034BA8 36D1911C65DBD8703FA8A76A134912208DB05B3938AB5A3286BAB894A6E0A00FBD8EA7FF00AD5 775482D255791A3C4D818393FFEAABBDF40EA58D375059ED0DC344864023DC79F9B8C7D076ED 5D4D725E1CB6173A7C60270010D9E9F313FD2BAC1850173CE2A256B21585A28A2A464738DD0B0 AE4EEFA0FF76BB0EA2B9900F4 //check sum Host sends out: UE 0x06 0x00 #(55 45 06 00 23 ) // Request to get the data of the last package(the sixth package) ACK from camera: UE #(55 45 23 ) And then camera transmits the data of the sixth package: //UF the sixth package 116bytes ( the last package is not full of 512bytes, the actual size is 1801 ) 554606001801693484D20026909A696A4C93484422A1B9E262C380DC8A941A528B201B8E00AAB83 42DC6A97B79FEBEE1DC7A741F9557DCCDD4D5B48ADD4648DC7D2A749E341F2C23FEFAA134B6 1599452091FEEA1356134D9DFAA85AB1F6C973F290A3D00A63CAF21CBB1345C761DFD98B1F32C C00F4C54A21B28C6465CFD0D57CD2E695D8EC59F3D02E16203F1A8CCAC7BFE951668CD21D87 E68CD33346EA007E69334C2D49BA8B8126EA6934DC93463345C2C05A93934E0B4F0940116DA509 52EDC518A0928034A0D301A5069B192034A0D301A5CD202406941A8F751BA8192E6973516EA506 90C97349BA9A3EB4A0501617752649A705A784A03423C5382D481453B02815C88253C2629F8A314 0AE3714B4B8A5E2810DC518A7710188 //Check Sum All data transmits to host according to the above way. 8 / 10

6. FAQ: Q: What is the power range of the camera module? A: The range is +DC4.5V-5.5V. Q: Is there any SDK available? A: Yes, dedicated SDK can be supplied to customer. 9 / 10

LinkSprite Technologies, Inc. Add:1410 Cannon Mountain Dr, Longmont, CO 80503 Tel: 720-204-8599 Email:sales@linksprite.com Technical questions: support@linksprite.com Web:www.linksprite.com 10 / 10