Advertisement

Quick Links

5 Mega Pixels Serial JPEG Camera
SC50MPB User Manual, Rev. A (May, 2023)
For latest user manual, please visit:

Table of Contents

Command Protocol (HEX format) ........................................................................................................ 2
1. GET VERSION ..................................................................................................................................................... 3
2. RESET ................................................................................................................................................................. 3
3. CAPTURE AN IMAGE ........................................................................................................................................... 3
4. READ IMAGE DATA LENGTH ................................................................................................................................ 3
5. READ IMAGE DATA ............................................................................................................................................. 3
6. STOP CAPTURE ................................................................................................................................................... 4
7. SET IMAGE COMPRESSION RATIO ....................................................................................................................... 4
8. SET IMAGE RESOLUTION .................................................................................................................................... 4
11. LED CONTROL ................................................................................................................................................... 6
12. OSD CONTROL .................................................................................................................................................. 6
13. SMART DETECTION: ......................................................................................................................................... 9
14. SET MOTION/FACIAL/VEHILE DETECTION: ...................................................................................................... 11
15. DETECTION ALERT REPORT: ............................................................................................................................ 11
16. SET MOTION DETECTION SENSITIVITY: ............................................................................................................ 11
17. MOTION DETECTION CONTINOUS CAPTURE: .................................................................................................. 11
18. MULTI IMAGES CONTINOUS CAPTURE: ........................................................................................................... 12
19. AUTO-SNAP AT STARTUP/REBOOT .................................................................................................................. 12
20. SET AREA CROPPING COMMAND ................................................................................................................... 13
21. SET COLOR OR B/W SWITCHING ..................................................................................................................... 14
22. CHECK THE BRIGHTNESS ON PHOTOSENSOR ................................................................................................... 15
23. SET POWER SAVE: .......................................................................................................................................... 15
24. CHECK DEFAULT PARAMETERS: ....................................................................................................................... 15
25. ISP IMAGE SETTING/READ/RESET ................................................................................................................... 15
26. GET CAMERA ID: ............................................................................................................................................ 17
27. ABNORMAL RETURN ...................................................................................................................................... 17
Spinel USA LLC
SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual
www.spinelelectronics.com
www.spinelelectronics.com
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SC50MPB and is the answer not in the manual?

Questions and answers

Summary of Contents for Spinel SC50MPB

  • Page 1: Table Of Contents

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 5 Mega Pixels Serial JPEG Camera SC50MPB User Manual, Rev. A (May, 2023) For latest user manual, please visit: www.spinelelectronics.com Table of Contents Command Protocol (HEX format) ......................2 1. GET VERSION ..............................3 2.
  • Page 2 32. HOW TO ORDER: ............................20 Introduction The SC50MPb serial camera is a 5 MP serial JPEG color camera module that performs as a JPEG compressed still camera and can be attached to a wireless or PDA host. Users can send out a snapshot command from the host in order to capture a full resolution single-frame still image.
  • Page 3: Command Protocol (Hex Format)

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Electrical Specification: Parameter Typical Unit DC supply voltage Operation Current Operating temperature range ℃ DSP and Lens Specification: Parameter Description Hi3518 Image Sensor SC5238 Imager Format 1/2.8" 3.6mm default (optional: 2.1, 2.4, 2.8, 6, 8, 12,16, 25mm and fisheye lens)
  • Page 4: Get Version

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Qp:0x54,WDT:1,Alg:0 Init end 1. GET VERSION:56 00 11 00 RETURN:76 00 11 00 50 54 43 32 4D 30 20 31 2E 30 30 0B is the version data length 11.
  • Page 5: Stop Capture

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual images command. SS SS SS SS ---- start address(the address must be times of 8,for example 00 00) LL LL LL LL ---- the length of image data(high byte,low byte) Notes: JPEG IMAGE DATA must start with FF D8 and end with FF D9.
  • Page 6 SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 56 00 31 05 01 00 19 (1280*720) RETURN:76 00 31 00 00 // image size is around 105kb 56 00 31 05 01 00 19 (1280*960) RETURN:76 00 31 00 00 // image size is around...
  • Page 7: Led Control

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual in flash after power-off. Warning: Please do not try to issue the commands on RS485 interfaced cameras for baud rates over 115200bps, it will damage the camera immediately and the camera needs to be returned to Spinel for repair at client’s cost.
  • Page 8 SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual BA BB //2bytes background color, follow RGB555 code BC //1byte length of content, max allowed 160 characters DD…DD //N bytes, character content, please use ASCII table. Example: Send: 56 00 86 16 01 00 01 00 00 00 00 00 7C FF FF 0A 30 31 32 33 34 35 36 37 38 39...
  • Page 9 SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 0100011 1010010 0100100 1010011 0100101 1010100 & 0100110 1010101 0100111 1010110 ` 0101000 1010111 0101001 1011000 0101010 1011001 0101011 1011010 0101100 1011011 , 0101101 1011100 0101110 1011101 . 0101111 1011110 0110000...
  • Page 10: Smart Detection

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Decimal Binary Decimal Binary 13. SMART DETECTION: 13.1 Set smart detection: 56 00 91 0C 02 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 Return: 76 00 91 02 02 B0 ----1 byte enable the detection at startup: 00—disabled(default), 01-enable,...
  • Page 11 SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 0x01 //Target area: 00 – turn off, 01 – turn on (default) 0x01 // number of images captured after detection trigger: the detection mode needs to be set 0x01, range (0x01-0x05) 0x00,0x64 // snap intervals: valid in detection mode=0x01 only, unit in ms 0x0A //Next detection time.
  • Page 12: Set Motion/Facial/Vehile Detection

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 14. SET MOTION/FACIAL/VEHILE DETECTION: 56 00 37 01 RETURN: 76 00 37 00 00 XX –-- 00 means disable detection; 01 means enable detection. 15. DETECTION ALERT REPORT: 76 00 39 00 U1 ----1byte when the mode is detection only, it’s 0x00, when the mode is detection + snap, it will be...
  • Page 13: Multi Images Continous Capture

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Return description: 0x76 // fixed frame header 0x00 //ID 0x87 //command 0x01 //fixed data length 1byte 0x00 //setting succeed Notes: 1. It’s only valid when the motion detection is enabled. 2. If only issue the command to enable the motion detection, the camera will report alert when detects motion: 76 00 39 00 00, but no image buffer, the host needs to issue image capture command.
  • Page 14: Set Area Cropping Command

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Example: Send: 56 00 91 04 01 03 00 64 Return: 76 00 91 01 00 Once the auto-snapping is complete, the camera outputs: 76 00 92 02 01 B0 ---- 1byte the number of images captured, range 1-5, 0xEE – error...
  • Page 15: Set Color Or B/W Switching

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 0x03 cropping width error, must be multiple of 4, and can not exceed horizontal pixels 0x04 cropping height error, must be multiple of 4, and can not exceed horizontal pixels 0x05 exceed resolution error, X + width/Y + height exceed the H/V pixels...
  • Page 16: Check The Brightness On Photosensor

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual RETURN: 76 00 8C 01 00 B1 ---- 1byte the image color switched 00 – color, 01 – B/W Warning: must be set prior to image capturing, can’t be saved after power-off, it also switch the IR- cut filter when switching the color.
  • Page 17 SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual B0 ---- 1byte, set different time periods, 0x00 – daytime, 0x01 -- night time. B1 ----1byte brightness, range:0x00~0xFF (decimal 0-255), default 0x80=128. B2 ---- 1byte contrast, range:0x00~0xFF, daytime default 0x80=128; nighttime default 0xAA =170 B3 ---- 1byte sharpness ange:0x00~0xFF, day time default 0x80 and night time default 0x0A .
  • Page 18: Get Camera Id

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual Return: 76 00 91 0C 04 00 80 80 80 80 00 01 55 80 04 Notes: the reset on all ISP image settings gets saved after reboot. 26. GET CAMERA ID: 56 FF 90 01 21...
  • Page 19: Smart Detection Operation Process

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual (2)set the sensitivity in motion detection command, such as 56 00 31 05 01 01 1A 6E 03 (3)enable the motion detection command, such as 56 00 37 01 01 (4)when the camera outputs/reports: 76 00 39 00 05, meaning motion detected and captured 5 images in the buffer (5)disable the motion detection: 76 00 37 01 00, optional, when the next detection time is set, the...
  • Page 20: Test The Camera With A Pc

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 31. TEST THE CAMERA WITH A PC 31.1 Test with Spinel PC test tool The PC Test Tool can be downloaded from our website: www.spinelelectronics.com.The camera needs to have RS232 output or TTL to RS232 converter to connect to the serial port of the PC, or please use an USB to TTL/RS232/RS485 converter if connecting the camera to the USB port from a windows computer, please make sure select the default baud rate to ensure proper running.
  • Page 21: How To Order

    SC50MPB: 5 Mega Pixels Serial JPEG Camera User Manual 31.2 TEST AND 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 websites: www.spinelelectronics.com...

Table of Contents