DATASHEET Serial Camera Module uCAM-II Document Date: 24th July 2014 Document Revision: 1.3 Uncontrolled Copy when printed or downloaded.
µCAM – II Serial Camera Module Contents 1. Description ............................................................................................................................. 4 2. Features ................................................................................................................................. 4 3. Pin Configuration and Dimensions........................................................................................... 5 4. Pin Descriptions ...................................
µCAM – II Serial Camera Module 6.11. LIGHT (AA13h) .................................................................................................................................... 12 6.11.1. Light Frequency Type ............................................................................................................... 12 7. Command Protocol ............................................................................................................... 13 7.1. Synchronising the uCAM-II .............
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 1. Description 2. Features The uCAM-II (microCAM-II) is a highly integrated serial camera module which can be attached to any host system that requires a video camera or a JPEG compressed still camera for embedded imaging applications. The module uses a CMOS VGA colour sensor along with a JPEG compression chip that provides a low cost and low powered camera system.
4D SYSTEMS µCAM-II 3. Pin Configuration and Dimensions 32mm PIN 1 27.5mm µCAM – II Serial Camera Module 32mm 2.1mm Diameter 27.5mm PIN 1 6.9mm 10.5mm Distance from Pins (centres) to bottom edge of PCB = 2.3mm PCB Thickness = ~1.6mm ~6mm 2.54mm ~8.5mm Varies with Focus uCAM-II Pin Outs Pin Symbol I/O 1 5V P 2 TX O 3 RX I 4 5 GND RES P -- © 2014 4D SYSTEMS Description Main Voltage Supply +ve input pin. 4.5V to 9.0V DC range nominal 5V. Asynchronous Serial Transmit pin.
4D SYSTEMS µCAM-II µCAM – II Serial Camera Module I = Input, O = Output, P = Power © 2014 4D SYSTEMS Page 6 of 25 www.4dsystems.com.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 4. Pin Descriptions 5. Serial Interface - UART 5V pin 1 (uCAM-II Supply Voltage Input): Module supply voltage input pin. This pin must be connected to a regulated supply voltage. 4.5V to 9.0V DC range, nominal 5.0V. The uCAM-II has a dedicated hardware UART that can communicate with a host via this serial port. This is the main interface used by the host to communicate with the module to send commands and receive back data.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II camera will not go to sleep until it has been idle for 15 seconds. Figure 3.2: SYNC Command Timing Diagram Please refer to section 7.1 for more information regarding synchronising the uCAM-II. 5.3. Auto-Baud Detect The module can auto-detect the baud rate of the incoming command.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 6.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 6.2.1. Picture Type Snapshot Picture Mode RAW Picture Mode JPEG Picture Mode 01h 02h 05h 6.3. SNAPSHOT (AA05h) The uCAM-II will hold a single frame of still picture data in its buffer after receiving this command. This snapshot can then be retrieved from the buffer multiple times if required. 6.3.1. Snapshot Type Compressed Picture (JPEG) Uncompressed Picture (RAW) 00h 01h 6.3.2.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 6.5. SET BAUD RATE (AA07h) The host can set the Baud rates using this command. Use the table below as a guide. 6.5.1.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 6.9. ACK (AA0Eh) This command indicates the success of the last operation. After receiving any valid command, the ACK command must be sent out except when getting data. The host can issue this command to request image data package with the desired package ID after receiving the DATA command from the uCAM-II. The host should send this command with package ID F0F0h after receiving a package to end the package transfer.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7. Command Protocol This section outlines command usage and protocol transaction between the host and the uCAM-II module. ACK and NAK responses are typical as replies from the Camera after sending a command, however silence is also possible if the camera has gone to sleep. Please refer to Section 6.9 and 6.10 for ACK/NAK information. 7.1.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7.2. INITIAL, GET PICTURE, SNAPSHOT, SET PACKAGE SIZE, RESET Commands When an INITIAL, GET PICTURE, SNAPSHOT, SET PACKAGE SIZE, or RESET command is sent to the camera, the camera will simply reply with an ACK if successful. Please refer to Section 6.9 and 6.10 for ACK/NAK information. 7.2.1. Example: Sending commands INITIAL, GET PICTURE, SNAPSHOT, SET PACKAGE SIZE, RESET ACK © 2014 4D SYSTEMS Page 14 of 25 www.4dsystems.com.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7.3. Taking SNAPSHOT Pictures Make sure a connection is established first (Section 8.2 Connecting to the uCAM-II) before using the following communications. 7.3.1.
4D SYSTEMS µCAM-II Note: xx : Don't care µCAM – II Serial Camera Module ~~ : Image size returned by uCAM-II © 2014 4D SYSTEMS Page 16 of 25 www.4dsystems.com.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7.3.2. Example: Snapshot Picture (160 x 120 resolution, 16bit colour, uncompressed/RAW picture) INITIAL RAW, VGA (AA 01 00 06 03 zz) ACK (AA 0E 01 xx 00 00) SNAPSHOT Uncompressed picture (AA 05 01 00 00 00) ACK (AA 0E 05 xx 00 00) GET PICTURE Snapshot picture (AA 04 01 00 00 00) ACK (AA 0E 04 xx 00 00) DATA snapshot picture (AA 0A 01 ~~ ~~ ~~) Image Data complete picture ACK (AA 0E 0A xx 01 00) Note: xx : Don't care zz : 01, 03, 05 or 07.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7.4. JPEG Pictures (Video) Make sure a connection is established first (Section 5.2 Connecting to the uCAM-II) before using the following communications. 7.4.1.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 7.4.2. Example: Picture (80 x 60 resolution, 16bit colour, uncompressed/RAW picture) INITIAL RAW, VGA (AA 01 00 06 01 zz) ACK (AA 0E 01 xx 00 00) GET PICTURE Raw picture (AA 04 02 00 00 00) ACK (AA 0E 04 xx 00 00) DATA RAW picture (AA 0A 02 ~~ ~~ ~~) Image Data Complete picture ACK (AA 0E 0A xx 00 00) Note: xx : Don't care zz : 01, 03, 05 or 07. Don't care in RAW mode ~~ : Image size returned by uCAM-II © 2014 4D SYSTEMS Page 19 of 25 www.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 8. Lens Information 9. Troubleshooting Q) Cannot connect to the camera, SYNC always fails A) Unplug the camera and plug it in again, try to SYNC again. If this fails, then the power supply you are using may have a slow rise time. Testing of power supplies with a rise time of under 5uS resulted in correct operation. Power supplies with a rise time of greater than about 50uS resulted in trouble to SYNC. Change your power supply and try again.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 10. Embedded Display Modules The following display modules, available from 4D Systems, are ideal for many embedded applications with the uCAM-II camera. µOLED-96-G2 µOLED-128-G2 µLCD-144-G2 µOLED-160-G2 µLCD-24PTU µLCD-28PTU µLCD-32WPTU µLCD-32PTU © 2014 4D SYSTEMS Page 21 of 25 www.4dsystems.com.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 11. 4D Systems - Workshop 4 IDE Workshop 4 is comprehensive software IDE that provides an integrated software development platform for all of the 4D family of processors and modules. The IDE combines the Editor, Compiler, Linker and Downloader to develop complete 4DGL application code for the relevant modules, and provides tools for modules which are not programmed.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM 12. Specifications and Ratings RECOMMENDED OPERATING CONDITIONS Parameter Supply Voltage (VCC) Conditions Input Voltage Range RX pin, 3.3V but 5V tolerant Startup delay Time required after power applied, before SYNC can be sent. After SYNC, the time recommended for the camera to settle before the first photo should be taken (Page 13 Note 2) Time after getpic is sent to when image output begins. ‘First photo’ delay ‘Shutter’ delay.
4D SYSTEMS µCAM-II ORDERING INFORMATION Order Code: uCAM-II (Shipped with 56 degree angle lens) Package: 4D Box with foam padding µCAM – II Serial Camera Module Note: 76 degree and 176 degree lenses are provided additional on request. © 2014 4D SYSTEMS Page 24 of 25 www.4dsystems.com.
µCAM – II Serial Camera Module 4D SYSTEMS µCAM-II 13. Legal Notice Proprietary Information The information contained in this document is the property of 4D Systems Pty. Ltd. and may be the subject of patents pending or granted, and must not be copied or disclosed without prior written permission. 4D Systems endeavours to ensure that the information in this document is correct and fairly stated but does not accept liability for any error or omission.