SIMCOM WCDMA Wireless Module. SIM52xx_Camera_Application

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

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

SparkFun Camera Manual. P/N: Sense-CCAM

AD9884A Evaluation Kit Documentation

RF4432 wireless transceiver module

ANDpSi025TD-LED 320 x 240 Pixels TFT LCD Color Monitor

Chrontel CH7015 SDTV / HDTV Encoder

Description. July 2007 Rev 7 1/106

WS2815 Intelligent control LED integrated light source

CN12 Technical Reference Guide. CN12 NTSC/PAL Camera. Technical Reference Guide PCB Rev

WORLDSEMI CO., LIMITED WS2813. Intelligent control integrated LED light source. Dual-signal wires version Signal break-point continuous transmission

User's Manual for BT656Pro SDI Mod. Kit

RF4432F27 wireless transceiver module

Lab # 9 VGA Controller

RMS 8424S Quick Start

Quick Guide Book of Sending and receiving card

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

TFT LCD Module Product Specification

SCode V3.5.1 (SP-501 and MP-9200) Digital Video Network Surveillance System

TFT LCD Module Product Specification

Design and Implementation of an AHB VGA Peripheral

YSC -HD-AK1 HDMI / HD-SDI

SCode V3.5.1 (SP-601 and MP-6010) Digital Video Network Surveillance System

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

B. The specified product shall be manufactured by a firm whose quality system is in compliance with the I.S./ISO 9001/EN 29001, QUALITY SYSTEM.

DiD. LCD Video Monitor & Video Wall Universal User Manual. Digital Information Display

G ARD SECURITY SYSTEM Product Listing 2007

WebMedia Plugin Manager Operational Reference

RS232 Decoding (Option)

7inch Resistive Touch LCD User Manual

DLP Pico Chipset Interface Manual

Netzer AqBiSS Electric Encoders

Specification Sheet. Mode: Transmissive Type, Negative mode, 3.97 LTPS LCD module 16.7M color. Checked by PM QA BU

Different Display Configurations on the i.mx31 WinCE PDK

VNS2200 Amplifier & Controller Installation Guide

RAK5270(1080P)Video Module

Copyright 2018 Xi an NovaStar Tech Co., Ltd. All Rights Reserved. No part of this document may be copied, reproduced, extracted or transmitted in any

Multi-Zone Programmable RGB ColorPlus LED Touch Controller (Remote Control) and RGB ColorPlus LED Touch Controller (Receiver)

USER MANUAL. Vidifox Document Camera DV 480

CH7021A SDTV / HDTV Encoder

Video Scaler Pro with RS-232

Pivoting Object Tracking System

Specifications. FTS-260 Series

Evaluation Board for CS4954/55

SY-HDBT-100 Extender Set

DRV050-VGA-R02 Drive Board User manual Ver 1.1

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

The Diverse Multimedia & Surveillance System Via Dico2000 with PC DICO Operation Manual

ProMOS. Bravo1601. Stand-alone BLE SMD Modules. Datasheet (V1.0) ProMOS Co., Ltd. IoT Solutions Provider.

1 Terasic Inc. D8M-GPIO User Manual

Specifications. FTS-4335 Series

CAPTURE CAPTURE. VERSiON 1.2. Specialists in Medical. Digital Imaging Solutions

SportReplay Multichannel Video Recording and Instant Replay system

Good Display Specifications

AIFA TECHNOLOGY CORP.

Contents Model Description Model Application Front & Rear Panel Description Accessories Included...

Striking Clarity, Unparalleled Flexibility, Precision Control

DC-105 Quick Installation Guide

Video Information Glossary of Terms

Lecture 14: Computer Peripherals

Configuring and using the DCU2 on the MPC5606S MCU

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

Anritsu Setup Procedure for GSP-1720 Measurements

PO2030N 1/4.5 Inch VGA Single Chip CMOS IMAGE SENSOR. Last update : 28. Feb. 2005

CI-218 / CI-303 / CI430

1/4 inch VGA class Analog/Digital Output NTSC/PAL CMOS Image Sensor PC1030D. Rev 0.1. Last update : 01. Apr. 2011

DLA-HD350 / DLA-HD750 DLA-HD550 / DLA-HD950 DLA-HD990 DLA-RS10 / DLA-RS20 DLA-RS15 / DLA-RS25 DLA-RS35. RS-232C and Infrared Remote Control Guide

DOCUMENT REVISION HISTORY 1:

SY-HDBT-SLIM-100S Extender Set

Technovision DV-66B User Guide (HW V1.3, FW V1.6) Latest Version Sept. 2004

Computer - Digital Output - Modem - Analog - RJ 11 Output Jack

NanoCom ADS-B. Datasheet An ADS-B receiver for space applications

Laboratory 4. Figure 1: Serdes Transceiver

AL330B-DMB-A0 Digital LCD Display SOC Demo Board

Application Note 20C20XW-DIG / 21C20XW-DIG

BBV REAL TIME HQ DISPLAY QUAD MANUAL

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

Exercise 2-1. External Call Answering and Termination EXERCISE OBJECTIVE

WS Intelligent control LED integrated light source

ArcticLink III VX6 Solution Platform Data Sheet

Camera Interface Guide

Group 1. C.J. Silver Geoff Jean Will Petty Cody Baxley

Z-D-IN. RS485 Modbus Module 5 Digital Inputs

EdgeConnect Module Quick Start Guide ITERIS INNOVATION FOR BETTER MOBILITY

Therefore, HDCVI is an optimal solution for megapixel high definition application, featuring non-latent long-distance transmission at lower cost.

METHOD, COMPUTER PROGRAM AND APPARATUS FOR DETERMINING MOTION INFORMATION FIELD OF THE INVENTION

DLP Pico Kit Functional Guide

C-MAX. CMM-9301-V3.1S Bluetooth 4.0 Single Mode HCI Module. Description. 1.1 Features

Front and Rear Panel Remote Control Connecting to a Television...4. Connecting to an Audio System...5

Outline Dimension. View Angle

Group 1. C.J. Silver Geoff Jean Will Petty Cody Baxley

6.111 Project Proposal IMPLEMENTATION. Lyne Petse Szu-Po Wang Wenting Zheng

Mobile IP Camera C6010E

Brief Description of Circuit Functions

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

WS2812B Intelligent control LED integrated light source

DS-7204/7208/7216HVI-ST Series DVR Technical Manual

WV-NP1004. Network Operating Instructions. Network camera. Model No. (Lens is option.)

DM-TX-201-C DigitalMedia 8G+ Transmitter. Supplemental Guide Crestron Electronics, Inc.

Datasheet. 720P HD IR IP Camera

Transcription:

SIMCOM WCDMA Wireless Module SIM52xx_Camera_Application

Document Title: SIM52xx Camera Application Note Version: 1.01 Date: 2011-08-26 Status: Document Control ID: Release AN SIM52xx Camera Application Note_V1.01 General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information that may be in the customer s possession. Furthermore, system validation of this product designed by SIMCom within a larger electronic system remains the responsibility of the customer or the customer s system integrator. All specifications supplied herein are subject to change. Copyright This document contains proprietary technical information which is the property of SIMCom Limited., copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. Copyright Shanghai SIMCom Wireless Solutions Ltd. 2011

Contents Contents... 3 Version history... 4 1. Introduction... 5 2. Scope of the document... 5 3. Overview... 5 4. Camera hardware interface... 7 4.1 PIN define of camera interface...7 4.2 Digital sensor...7 4.3 Analog sensor... 8 4.4 Layout guide... 9 5.1 Camera parameter setting... 10 5.1.1 Set parameter commands...10 5.1.2 Set parameter in video call...10 5.2 Take picture and recording...11 5.2.1 Take picture and recording commands...11 5.2.2 Typical samples... 11 5.3 Make video call... 12 5.3.1 Call commands...12 5.3.2 Call result codes... 13 5.3.3 Typical samples... 14 6. Analog sensor (AT8856) AT command... 27 7. Pin function switch between camera interface and GPIO...28 8. Camera related commands detail... 28 AN SIM52xx Camera Application Note 3

Version history Date Version Description of change Author 2010-11-12 01.00 Origin Zhanghui 2010-08-26 01.01 Delete SIM5210 description Libing AN SIM52xx Camera Application Note 4

1. Introduction SIM52XX provides a camera module interface for supporting camera and video phone functions. This document describes how to use the camera of WCDMA wireless module of SIMCom. (SIM52XX represents the series which is stated below.) 2. Scope of the document This document is intended for the following versions of the SIMCom modules SIM5215 SIM5216 SIM5218 CAM_D0 and CAM_D1 are only defined in SIM5218. In other WCDMA modules of SIMcom, these 2 pins are reserved. 3. Overview Camera driver: Support sensor driver and maximal size: OV2640 (2.0 Megapixel) Support picture UXGA (1600*1200) and video QVGA (320*240), 15fps, Digital Sensor OV7670 (0.3 Megapixel) Support picture VGA (640*480) and video QVGA (320*240), 15fps, Digital Sensor OV7725 (0.3 Megapixel) Support picture VGA (640*480) and video QVGA (320*240), 15fps, Digital Sensor, Wide-angle lens or Night shot lens OV7690 (0.3 Megapixel) Support picture VGA (640*480) and video QVGA (320*240), 15fps, Digital Sensor AK8856 (0.3 Megapixel) Support picture VGA (640*480) and video QVGA (320*240), 15fps, Analog Sensor Camera function: Take picture of JPEG format Record video of MP4 format Parameter setting: dimension, fps (frame per second), rotation, night shot mode, white balance, brightness, zoom Video call function: AN SIM52xx Camera Application Note 5

Base on 3G-324M over 64kbps bidirectional Circuit-Switched Data. H.245 Control Protocol for reliable transmission. Only support one video call. Support for AMR audio codec: 12.2kbps rate is transmitted, and all AMR rates can be received. Support for MPEG-4 video codec: QCIF is the only size supported for TX and RX, and up to 15fps video transmission. DTMF (User Input Indication as string) in H.245 control protocol. Support for three video sources: Live camera JPEG/BMP Image Movie Clip Different audio input device in video call. Recording far-end and near-end video simultaneously in video call. Far-end video loop back function. Switch between general Video Call and 64kbps Circuit-Switched Data. Different video frame rates high quality or high motion profile. Video rotation (180 degrees, mirror vertically/ horizontally) in video call. Set zoom, white balance and brightness in video call NOTE: 1. Video Call application is working in UMTS network. 2. Camera is necessary for Video Call application (except 64kbps Circuit-Switched Data). 3. Some products without general Video Call, but can support 64kbps Circuit-Switched Data. (Please refer to related documents for each product.) AN SIM52xx Camera Application Note 6

4. Camera hardware interface 4.1 PIN define of camera interface The camera module interface consists of the following: 10 bit data bus for the pixel data information Horizontal and vertical synchronization signals 2 wire I2C bus as a control path between the SIM52XX module device and the camera module This table shows the pins define of camera interface; CAM_D0 and CAM_D1 are only defined in SIM5218. In other WCDMA modules of SIMCOM, these 2 pins are reserved. Pin Name Function 14 CAM_D0 Bit 0 of RGB video component output (Only for SIM5218) 55 CAM_D1 Bit 1 of RGB video component output (Only for SIM5218) 15 CAM_D2 Bit 2 of RGB or YUV D0 video component output 54 CAM_D3 Bit 3 of RGB or YUV D1 video component output 16 CAM_D4 Bit 4 of RGB or YUV D2 video component output 53 CAM_D5 Bit 5 of RGB or YUV D3 video component output 17 CAM_D6 Bit 6 of RGB or YUV D4 video component output 52 CAM_D7 Bit 7 of RGB or YUV D5 video component output 18 CAM_D8 Bit 8 of RGB or YUV D6 video component output 51 CAM_D9 Bit 9 of RGB or YUV D7 video component output 19 CAM_HSYNC Video horizontal line synchronization signal 50 CAM_VSYNC Vertical sync output 21 CAM_CLK master clock input 49 CAM_PCLK Pixel clock output 48 CAM_RESET Master reset input, active low 47 IIC_SDA Serial interface data input and output 46 IIC_SCL Serial interface clock input 20 GND Ground 22 CAM_STANDBY Power-down mode selection 0 =Normal mode, 1 =Power-down mode 4.2 Digital sensor We have tested several kinds of digital sensors, such as OV2640, OV7670, OV7725, OV7690. So when one will select the sensor module, one should contact us for confirming whether SIM52XX can support this sensor. AN SIM52xx Camera Application Note 7

Figure 1: Digital camera module interface * CAM_STANDBY: Power-down mode selection 0 =Normal mode, 1 =Power-down mode 4.3 Analog sensor SIM52XX can support both digital and analog sensor (NTSC or PAL composite signals output), YUV and RGB data format. When using analog sensor you needs to use AK8856 (currently we supported) to decode NTSC or PAL composite signals into digital data first and then transmit the digital data into camera interface. (AK8856 can decode NTSC or PAL composite video signals into digital video data, and with AK8856 you can use analog sensor as video source). Software must be adjusted when use other kinds of sensors. Customer can contact us and give us your request. The power supply of the sensor should be supplied by customer. D A T A (2:9) D(0:7) V SY N C H SY N C V D /V A F/F IE L D D V A L ID S i m 5 2 X X A K 8 8 5 6 P C L K D T C L K Analog input N T S C /PAL video source I2C S C L /S D A STA N D B Y 2 7 M h z 2.6V C L K P D N 1K R 1 0 0 K 1 0 0 K AN SIM52xx Camera Application Note 8

Figure 2: Camera module interface with analog sensor *NOTE: STANDBY pin of SIM52XX is used to control the powering down or on of camera module. So when one designs application circuit, one should pay attention to the polarity of STANDBY. Default polarity of SIM52XX is shown below: LOW: normal operation HIGH: power-down In Figure 2, the polarity of AK8856 power down is contrary to that of SIM52XX STANDBY, so one must use a NPN triode to reverse the polarity of SIM52XX and connect AK8856. 4.4 Layout guide The data and clock lines of camera are sensitive for the capacitors. Generally the capacitance of the ESD component is too large; if those ESD components are put on to the parallel line then the signal will fade a lot. In order to improve the ESD performance, some 10pF capacitor can be put on data and clock lines for ESD. If one wants to choose smaller capacitance ESD component, it should be smaller than 10pF. It is suggested that data and clock lines of camera try to keep the same length, and they should routine together, and be far away from Vbat and RF signals. Because Vbat and RF signals may disturb the data and clock lines. Also the clock and data lines should be away from other analog signals for example audio. AN SIM52xx Camera Application Note 9

5. Camera software application 5.1 Camera parameter setting 5.1.1 Set parameter commands AT+CCAMSETD Set camera dimension AT+CCAMSETF Set camera FPS (frame per second) AT+CCAMSETR Set camera rotation AT+CCAMSETN Set camera night shot mode AT+CCAMSETWB Set camera white balance AT+CCAMSETB Set camera brightness AT+CCAMSETZ Set camera zoom AT+CWIIC Write values to register of IIC device 5.1.2 Set parameter in video call AT+CCMASETWB, AT+CCAMSETB, AT+CCAMSETZ can be set in video call. If setting rotation in video call, must write value to register direct. The setting value is different in different sensor: OV7670 AT+CWIIC=0X42,0X1E,0X07,1(normal) AT+CWIIC=0X42,0X1E,0X1B,1(mirror vertically) AT+CWIIC=0X42,0X1E,0X2B,1(mirror horizontally) AT+CWIIC=0X42,0X1E,0X3B,1(rotation with 180 degrees) 0V7725 AT+CWIIC=0X42,0X0C,0X00,1(normal) AT+CWIIC=0X42,0X0C,0X80,1(mirror vertically) AT+CWIIC=0X42,0X0C,0X40,1(mirror horizontally) AT+CWIIC=0X42,0X0C,0XC0,1(rotation with 180 degrees) 0V2640 AT+CWIIC=0x60,0xFF,0x01,1 NOTE: OV2640 must set 0xFF to value 0x01 before setting rotation value AT+CWIIC=0x60,0x04,0x2A,1(normal) AT+CWIIC=0x60,0x04,0x5A,1(mirror vertically) AN SIM52xx Camera Application Note 10

AT+CWIIC=0x60,0x04,0xAA,1(mirror horizontally) AT+CWIIC=0x60,0x04,0xDA,1(rotation with 180 degrees) AT+CWIIC=0X60,0XFF,0x00,1 OV7690 AT+CWIIC=0X42,0X0C,0X56,1(normal) AT+CWIIC=0X42,0X0C,0XD6,1(mirror vertically) AT+CWIIC=0X42,0X0C,0X16,1(mirror horizontally) AT+CWIIC=0X42,0X0C,0X96,1(rotation with 180 degrees) 5.2 Take picture and recording 5.2.1 Take picture and recording commands AT+CCAMS Start camera AT+CCAME Stop camera AT+CCAMTP Take picture AT+CCAMEP Save picture AT+CCAMRS Start video record AT+CCAMRP Pause video record AT+CCAMRR Resume video record AT+CCAMRE Stop video record 5.2.2 Typical samples 5.2.2.1 Camera takes picture AT+CCAMS AT+CCAMSETD=320,240 AT+CCAMTP AT+CCAMEP C:/Picture/20080420_120303.jpg AT+CCAME AN SIM52xx Camera Application Note 11

5.2.2.2 Camera record video AT+CCAMS AT+CCAMSETD=176,144 AT+CCAMSETF=0 AT+CCAMRS C:/Video/20080420_123003.mp4 AT+CCAMRP AT+CCAMRR AT+CCAMRE AT+CCAME 5.3 Make video call 5.3.1 Call commands This section only lists Video Call related commands. Please refer to AT command document to get detailed descriptions. AT+VPSOURCE Select TX video source for Video Call and it is only effective on current or next Video Call. Three video sources are supported: Live Camera (default), JPEG/BMP Image, and Movie Clip. NOTE Between URC VPACCEPT (or command +VPANSWER) and URC, this command can not be emitted. AT+VPRECORD Control if recording far-end and near-end RX video into MP4 files or not. MP4 file name is generated automatically basing on Real Time Clock, so it is recommended that Real Time Clock is set correctly by command +CCLK after power on. NOTE Between URC VPACCEPT (or command +VPANSWER) and URC, this command can not be emitted. AT+VPMAKE Originate a Video Call after TX source is selected. If the command is processed successfully, URC VPACCEPT will be returned, and until URC TX video source can not be changed. AN SIM52xx Camera Application Note 12

AT+VPANSWER Answer an incoming Video Call after URC VPINCOM is reported regularly. NOTE Between the first VPINCOM and this command, the host can select TX video source or if recording far-end and near-end video into MP4 files. AT+VPEND End the active Video Call, and stop recording RX video if that is ongoing. In addition, this command can reject an incoming Video Call. AT+VPDTMF Send DTMF (User Input Indication) in active Video Call. AT+VPLOOP Loop back RX video frames to remote side in active Video Call. It is recommended that command s parameter is 8 or above, for the limited capability of UE. Essentially, TX video source is Static Image when this application is active, and after cancel the application, TX video source will be switched to Live Camera. AT+VPSM Switch call mode between general Video Call and 64kbps Circuit-Switched Data. In general Video Call mode, URC VPINCOM is present for an incoming Video Call, and commands +VPMAKE, +VPANSWER and +VPEND are available. In 64kbps Circuit-Switched Data mode, command +VPMAKE is forbad. For an incoming call, URC RING is present, and commands ATA/ATH are available. After command ATA answers the incoming call, the series port will be switched to Data Mode, and data is sent to host. The host can use command +++ to switch the series port to Command Mode and then use command ATH to end the call. In this case, command ATO is forbad. For Circuit-Switched Data call origination, refer to commands ATD and +CBST. The call mode can be switched only when Video Call application is in idle state. AT+VPQLTY Choose High Quality (5fps) or High Motion Profile (15fps) for Video Call. This command can be used only when Video Call application is in idle state, and the setting is available until power off. NOTE network. 1.Video Call commands need that USIM card is present, and make sure UE is in UMTS 2. For commands +VPSOURCE, +VPRECORD and +VPLOOP, the values are default after URC VPEND is present. For commands +VPSM and +VPQLTY, the value are not changed until reboot or power off. 5.3.2 Call result codes In this section, some Unsolicited Result Codes for Video Call are present. The host should process all theese URCs correctly. AN SIM52xx Camera Application Note 13

VPINCOM <number> Indicate an incoming Video Call in general mode. <number> is caller s mobile number. This indication will be present per six seconds until the call is answered or released. About automatic answering Video Call, refer to commands +AUTOANSWER and ATS0. Command +CLCC can be used to get more information about the call. VPACCEPT Indicate that Video Call is in the process of being set up. After this URC is present, commands +VPSOURCE and +VPRECORD are not available, until or VPEND are present. VPRINGBACK Indicate that remote side is located and ringing. Indicate that Video Call is set up end-to-end. Indicate that video protocols are set up and Video Call is connected. After this URC, the host can switch TX video source and start recording far-end and near-end video. VPEND[: <seconds>] Indicate that Video Call has ended. <seconds> is the duration of Video Call, from to VPEND and the unit is in second. MISSED_VIDEO_CALL: <datatime>,<number> Indicate that an incoming Video Call is missed, and UMTS network has released the call. <datatime> denotes when this indication is present, and the format is YY/MM/DD,HH/MM/SS, where characters indicate year (two last digits), month, day, hour, minute, second. <number> is caller s mobile number. VPRXDTMF: <dtmf> Indicate that a User Input is received from remote side. <dtmf> is DTMFs (User Input Indication) with double quotes from remote side, which is sent as an H.245 User Input Indication message (base string) and consisted of (0-9, *, #). 5.3.3 Typical samples 5.3.3.1 Call Origination with Live Camera AT+VPSOURCE=1 AT+VPMAKE=18602102222 AN SIM52xx Camera Application Note 14

VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+VPEND VPEND: 200 5.3.3.2 Call Origination with Static Image AT+FSCD=C:/Picture +FSCD: C:/Picture/ AT+FSLS +FSLS: FILES: PIC_1.JPG PIC_2.JPG AT+VPSOURCE=2, PIC_1.JPG PIC_1.JPG AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK AN SIM52xx Camera Application Note 15

+CLCC: 1,0,0,1,0, 18602102222,129 AT+VPEND VPEND: 200 5.3.3.3 Call Origination with Movie Clip AT+FSCD=C:/Video +FSCD: C:/Video/ AT+FSLS +FSLS: FILES: MOVIE_1.MP4 MOVIE_2.MP4 AT+VPSOURCE=3, MOVIE_1.MP4 MOVIE_1.MP4 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+VPEND VPEND: 200 5.3.3.4 Call Origination with Video Recording AT+FSCD=C:/VideoCall AN SIM52xx Camera Application Note 16

+FSCD: C:/VideoCall/ AT+FSLS AT+VPRECORD=3 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+FSLS +FSLS: FILES: 20100201_103026_f.mp4 20100201_103026_n.mp4 AT+CCLK? +CCLK: "10/02/01,10:35:52" AT+VPRECORD=0 AT+VPEND VPEND: 200 5.3.3.5 Call Termination with Live Camera VPINCOM 18602102222 VPINCOM 18602102222 +CLCC: 1,1,4,1,0,"18602102222",129 AN SIM52xx Camera Application Note 17

AT+VPSOURCE=1 AT+VPANSWER ANSWER +CLCC: 1,1,0,1,0,"18602102222",129 VPEND: 120 5.3.3.6 Call Termination with Static Image VPINCOM 18602102222 VPINCOM 18602102222 +CLCC: 1,1,4,1,0,"18602102222",129 AT+FSCD=C:/Picture +FSCD: C:/Picture/ AT+FSLS +FSLS: FILES: PIC_1.JPG PIC_2.JPG AT+VPSOURCE=2, PIC_1.JPG PIC_1.JPG AT+VPANSWER ANSWER AN SIM52xx Camera Application Note 18

+CLCC: 1,1,0,1,0,"18602102222",129 VPEND: 120 5.3.3.7 Call Termination with Movie Clip VPINCOM 18602102222 VPINCOM 18602102222 +CLCC: 1,1,4,1,0,"18602102222",129 AT+FSCD=C:/Video +FSCD: C:/Video/ AT+FSLS +FSLS: FILES: MOVIE_1.MP4 MOVIE_2.MP4 AT+VPSOURCE=3, MOVIE_1.MP4 MOVIE_1.MP4 AT+VPANSWER ANSWER +CLCC: 1,1,0,1,0,"18602102222",129 VPEND: 120 5.3.3.8 Call Termination with Video Recording VPINCOM 18602102222 VPINCOM 18602102222 +CLCC: 1,1,4,1,0,"18602102222",129 AN SIM52xx Camera Application Note 19

AT+FSCD=C:/VideoCall C:/VideoCall +FSCD: C:/VideoCall/ AT+FSLS AT+VPRECORD=3 AT+VPANSWER +CLCC: 1,1,0,1,0,"18602102222",129 AT+FSLS +FSLS: FILES: 20100201_111216_f.mp4 20100201_111216_n.mp4 AT+CCLK? +CCLK: "10/02/01,11:18:20" AT+VPRECORD=0 VPEND: 120 5.3.3.9 Switch Video Source in Active Call AT+VPSOURCE=1 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK AN SIM52xx Camera Application Note 20

+CLCC: 1,0,0,1,0, 18602102222,129 AT+FSCD=C:/Picture +FSCD: C:/Picture/ AT+FSLS +FSLS: FILES: PIC_1.JPG PIC_2.JPG AT+VPSOURCE=2, PIC_1.JPG PIC_1.JPG AT+FSCD=C:/Video +FSCD: C:/Video/ AT+FSLS +FSLS: FILES: MOVIE_1.MP4 MOVIE_2.MP4 AT+VPSOURCE=3, MOVIE_1.MP4 MOVIE_1.MP4 AT+VPSOURCE=1 AT+VPEND VPEND: 200 5.3.3.10 Video Recording in Active Call AT+FSCD=C:/VideoCall +FSCD: C:/VideoCall/ AN SIM52xx Camera Application Note 21

AT+FSLS AT+VPRECORD=0 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0," 18602102222",129 AT+VPRECORD=1 AT+FSLS 20100201_131646_f.mp4 AT+VPRECORD=0 AT+VPRECORD=2 AT+FSLS +FSLS: FILES: 20100201_131646_f.mp4 20100201_131858_n.mp4 AT+VPRECORD=0 AT+VPRECORD=3 AT+FSLS +FSLS: FILES: 20100201_131646_f.mp4 20100201_131858_n.mp4 AN SIM52xx Camera Application Note 22

20100201_132208_f.mp4 20100201_132208_n.mp4 AT+VPRECORD=0 AT+VPEND VPEND: 520 5.3.3.11 DTMFs in Active Call AT+VPSOURCE=1 AT+VPRECORD=0 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK AT+VPDTMF= 1 +VPRXDTMF: 1 AT+VPDTMF= * +VPRXDTMF: * AT+VPDTMF= VPDTMF= 1234 1234 +VPRXDTMF: 1234 AT+VPEND VPEND: 120 AN SIM52xx Camera Application Note 23

5.3.3.12 Loop Back Far-end Video in Active Call AT+VPSOURCE=1 AT+VPRECORD=0 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK AT+VPLOOP=8 +VPLOOP: 8 AT+VPLOOP=255 AT+VPLOOP=12 +VPLOOP: 12 AT+VPLOOP? +VPLOOP: 12 AT+VPEND VPEND: 360 AT+VPLOOP? +VPLOOP: 255 5.3.3.13 64kbps Circuitircuit-Switched Data AT+VPSM=1 +VPSM: 1 AN SIM52xx Camera Application Note 24

RING RING +CLCC: 1,1,4,1,0,"18602102222",128 ATH RING RING +CLCC: 1,1,4,1,0,"18602102222",128 ATA CONNECT 115200 +++ ATH AT+VPSM=1 +VPSM: 1 AT+CBST=134,1,0 ATD186 18602102222 BUSY ATD186 18602102222 CONNECT 115200 NO CARRIER 5.3.3.14 Video Quality and Motion Profile AT+VPSOURCE=1 AN SIM52xx Camera Application Note 25

AT+VPQLTY=15 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+VPEND VPEND: 200 AT+VPQLTY=5 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+VPEND VPEND: 180 AN SIM52xx Camera Application Note 26

5.3.3.15 Video Mirror and Rotation AT+VPSOURCE=1 AT+VPMAKE=18602102222 VPACCEPT VPRINGBACK +CLCC: 1,0,0,1,0, 18602102222,129 AT+CWIIC=0x42,0x1E,0x1B,1 AT+CWIIC=0x42,0x1E,0x07,1 AT+CWIIC=0x42,0x1E,0x2B,1 AT+CWIIC=0x42,0x1E,0x07,1 AT+CWIIC=0x42,0x1E,0x3B,1 AT+CWIIC=0x42,0x1E,0x07,1 AT+VPEND VPEND: 160 6. Analog sensor (AT8856) AT command AT+CCAMMD Switch the AK8856 mode: The command is used to switch the chip AK8856 s working mode between PAL and NTSC, if you have an analog sensor of PAL or NTSC connected to AK8856 then you can use the command to set AK8856 working under the appropriate mode. The parameter is saved which means the system will recover to the latest mode if the module resets. The default mode is NTSC. AN SIM52xx Camera Application Note 27

AT+CCAMCHL Select the input channel of AK8856: This command is used to select the valid input channel of AK8856, since AK8856 supports 2 input channels, so one must select the right channel first. Default channel is 1. 7. Pin function switch between camera interface and GPIO AT+CCGSWT This command is used to switch the function between camera interface and general GPIO, if your project has no camera subsystem existed then you can use this AT command to use camera interface as general GPIO, there are total 14 pins of this type. NOTE If you configure such pins to general GPIO mode then you can use GPIO AT command to configure these GPIOs, like direction, value. CAMERA INTERFACE < > GENERAL GPIO NUMBER HSYNC GPIO6 VSYNC GPIO7 PCLK GPIO8 STDBY GPIO9 DATA0 (only for SIM5218) GPIO10 DATA1 (only for SIM5218) GPIO11 DATA2 GPIO12 DATA3 GPIO13 DATA4 GPIO14 DATA5 GPIO15 DATA6 GPIO16 DATA7 GPIO17 DATA8 GPIO18 DATA9 GPIO19 8. Camera related commands detail Camera related commands detail please refer to SIM52XX AT Command Set. AN SIM52xx Camera Application Note 28

Contact us: Shanghai SIMCom Wireless Solutions Ltd. Add: Building A,SIM Technology Building,No.633,Jinzhong Road,Changning District, Shanghai,P. R. China 200335 Tel: +86 21 3235 3300 Fax: +86 21 3235 3301 URL: www.sim.com/wm AN SIM52xx Camera Application Note 29