0.3 Mega Pixels Serial JPEG Camera Infrared SC03MPC User Manual, Rev. C For latest user manual, please visit: Introduction The SC03MPC Camera is a highly integrated serial JPEG camera module which can be attached to any host system that requires a JPEG compressed still camera for embedded imaging applications. SC03MPC is an upgraded design of SC03MPA that has on board built-in infrared LED s for IR illuminations. The module uses a 1/4 CMOS color image sensor along with a JPEG compression chip VC0706 that provides a low cost and low powered camera system. The module has an on-board serial interface (TTL/RS232/RS485) that is suitable for a direct connection to any host microcontroller UART or a PC system COM port. The SC03MPC camera is capable of outputting JPEG format images only. User commands are sent using a simple serial protocol that can instruct the camera to send high resolution (160x120 to VGA) JPEG images for storage or viewing. The SC03MPC camera module comes in a compact form factor with a built in lens and PH 2.0 4Pin socket connector that provides easy access to both power and serial data. There are 8 lenses available for this camera from Spinel. A 90 degree (Standard), a 170 degree, a 150 degree, a 120 degree, a 60 degree, a 45 degree, a 30 degree and a 15 degree. The SC03MPC ships with the 90 degree lens installed for standard order, other lenses can be installed in house before delivery for custom orders. There is a locking screw on the side of the lens mount, which is used to lock the focus in place once set, to prevent it from inadvertently being changed. Features Small size, low cost and low powered camera module for embedded imaging applications. 5V DC Power Supply (standard), optional 12V or wide voltage 9-36V per request. 1
On-board EEPROM provides a command-based interface to external host via serial link. High baud rate up to 115200bps, which can transfer JPEG images or VGA preview @8bpp with 0.75~6 fps. The typical power consumption is 80mA, but it can get up to 100mA with infrared LED s on, so a controllable switch is recommended to control the power of camera. On board 300K pixel color sensor and JPEG CODEC for different resolutions. 6 pcs 850nm infrared LED s built-in board for night vision. Image size: VGA (640*480), QVGA (320*240) (default), QQVGA (160*120) Dimensions: 45.6mm x 30mm x 28mm (includes lens). Weight ~0.4oz (12g). VC0706 protocol. Pin Configuration and Dimensions Red Brown Purple Grey RXD TXD GND VCC 2
Electrical Specification VDD = 3.3V+10%, TA = 0 to 25 Parameter Min Typ Max Unit Operating Voltage 3.3 5.0 9.0 V Operation Current 60 80 130 ma Operating Ambient Temperature -20 60 85 OPTICAL CHARACTERISTICS Item Image Sensor Pixel Size Shutter Type SNR max Dynamic Range Maximum Frame Rate White Balance Exposure Lens viewing angle (7 options) Focal Length IR Illuminator IR filter Sensitivity Parameter 1/4 CMOS, MT9V011 5.6um*5.6um Electronic Rolling Shutter 45DB 60DB 640x480@30fps Automatic Automatic, self-regulating 90 degree (default), 15, 30, 45, 60, 120,150 and 170 degrees 3.6mm(default), 16mm, 12mm, 8mm, 6mm, 2.8mm, 2.0mm, 1.7mm 6 pcs 850nm infrared LED s built-in on-board 850nm(default) 1250mV/Lux-sec Command Protocol (HEX format data) 1. RESET The host can reset the camera by issuing this command: 56 00 26 00 76 00 26 00 2. GET IMAGE The host issues this command to capture an image from camera. 56 00 36 01 00 76 00 36 00 00 3. READ IMAGE DATA LENGTH 56 00 34 01 00 76 00 34 00 04 00 00 XH XL XH XL is the image date length, XH---high byte, XL---low byte. 4. READ IMAGE DATE Send: 56 00 32 0C 00 0A 00 00 MH ML 00 00 KH KL 00 0A 3
76 00 32 00 00 FF D8 FF D9 76 00 32 00 00 00 00 MH ML is the starting address, it must be the multiple of 8, for instance 00 00. 00 00 KH KL is the image data length, lower bytes follow the higher bytes. 5. STOP CAPTURE 56 00 36 01 03 76 00 36 00 00 6. SET JPEG RESOLUTION (IMAGE SIZE) (Default: 320 x 240) The JPEG preview mode can support following image sizes. It is different from normal preview mode. The default image size is 320x240, it will return back to default after power off or reset. A different default image size can be preset prior to order. Resolution Commands Return 160x120 56 00 54 01 22 76 00 54 00 00 320x240 56 00 54 01 11 76 00 54 00 00 640x480 56 00 54 01 00 76 00 54 00 00 7. SET IMAGE COMPRESSION RATIO (Default: 36) The host can set the default Baud rates using this command. 56 00 31 05 01 01 12 04 XX 76 00 31 00 00 XX can usually range from 1 to 9, 99 is the most compressed, and 11 is the least compressed. 8. SET BAUD RATE (Default: 38400bps) The host can set the temporary Baud rates using this command, the baud rate will return to default baud rate after re-power up, the default baud rate can be preset in house by Spinel only and is not allowed to be changed by users. Use the table below as a guide. Baud Commands Return Rate 9600 56 00 24 03 01 AE C8 76 00 24 00 00 19200 56 00 24 03 01 56 E4 76 00 24 00 00 38400 56 00 24 03 01 2A F2 76 00 24 00 00 57600 56 00 24 03 01 1C 4C 76 00 24 00 00 115200 56 00 24 03 01 0D A6 76 00 24 00 00 9.POWER SAVING Enable power saving mode, send: 56 00 3E 03 00 01 01 76 00 3E 00 00 Disable power saving mode, send: 56 00 3E 03 00 01 00 76 00 3E 00 00 10. SET MOTION DETECTION The motion detection function is default as disabled after each power off, if the motion detection is enabled, the camera then will alert the host if the camera detects a change in the objects in the view by sending out 76 00 39 00 00 to the host through serial link. 4
Before the host can enable or disable the motion detection, it needs to issue following command first: 56 00 42 03 00 01 01 76 00 42 00 00 Then to enable the motion detection function, send the command: 56 00 37 01 01 76 00 37 00 00 To disable the motion detection function, send the command: 56 00 37 01 00 76 00 37 00 00 11. GET IMAGE PROCESS 1. Get image command 2. Read image data length command 3. Read image data command 4. Stop capture 12. Program flow chart 12.1 Initialize After power up, the camera will output: Ctrl infr exist User-defined sensor 625 Init end (36 32 35 0D 0A 49 6E 69 74 20 65 6E 64 0D 0A) 12.2 Get JPEG image 5
TEST THE CAMERA WITH PC 1. Test with Spinel PC test tool The PC Test Tool can be downloaded from our website:, the application only supports window XP/7/8 as of now. The camera needs to have RS232 output or TTL to RS232 converter to connect to the serial port of the PC, or use a USB to TTL converter if the camera comes in TTL output and the computer doesn t have a serial pot, please make sure select the default baud rate to ensure proper running. The following image illustrates the interface of the evaluation software. 6
2. Test with VC0706 CoomTool Please refer to the VC0706 CoomTool Instruction for complete details, which can be also downloaded from our website:. TROUBLESHOOTING For any technical issue or error, please use SSCOM serial debug tool to test the camera and figure out the issue, the SSCOM serial debug tool and instruction can be downloaded from our website: For questions regarding this user manual, please email to info@jpegcamera.com Or Call +1(800) 837-5859. Thank you. 7