WITHROBOT oCam-1CGN-U-T User manual

oCam-1CGN-U-T™
User Manual
2019. 4.
WITHROBOT Inc.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 1
Revision History
Rev
Date
Description
Author
1.0
2019. 4
1st Release
PD
Note
This product is for indoor use only. Severe electrostatic stress can damage the
product.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 2
CONTENTS
Revision History 1
1. INTRODUCTION....................................................................................................................... 3
Features 3
External View 4
Additional Technical Information 5
2. SPECIFICATIONS ......................................................................................................................6
Camera Specifications 6
Board Dimensions 7
Case Dimensions 7
3. TRIGGER SIGNAL.....................................................................................................................8
Trigger Signal Connector Specifications 8
Trigger Signal Specifications 9
4. HOW TO USE ON WINDOWS SYSTEM............................................................................11
Connection to Windows PC 11
Viewing the Camera Image 12
4. HOW TO USE ON LINUX SYSTEM ....................................................................................14
Connection to Linux PC 14
Viewing the Camera Image 14
5. NOTES ......................................................................................................................................18
6. TRIGGER SIGNAL BOARD....................................................................................................19
APPENDIX ....................................................................................................................................21
Specifications of the Bundle M12Lens 21
Specifications of the Onboard M12 Lens Holder 22
How to Update the Camera Firmware 23

oCam-1CGN-U-T User Manual
www.withrobot.com Page 3
1. INTRODUCTION
Features
oCam-1CGN-U-T is a 1 mega pixels global shutter external trigger color camera with the
following features.
External Trigger: It accepts wide range of external trigger signal from 3V to 24V DC to
control precise timing of image acquisition and to be synchronized with external lights and
even with other cameras.
Interface: USB3.0 SuperSpeed
High Speed: Up to 54 fps @1280 x 960, 180 fps @640 x 480
Easy Installation: With UVC 1.1 support, no additional driver needs to be installed for
Windows and Linux.
Versatility: Supports wide range of standard M12 lenses with a lens replaceable structure.
Global Shutter: The electronic global shutter image sensor provides sharp images without
image skew.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 4
External View
Figure 1. External view of oCam-1CGN-U-T
Figure 2. oCam-1CGN-U-T board
Protective Case
Replaceable
M12 Lens
Lens Lock Ring
Mounting Hole
for Tripod
External Trigger
Connector
USB 3.0
Connector

oCam-1CGN-U-T User Manual
www.withrobot.com Page 6
2. SPECIFICATIONS
Camera Specifications
Image Sensor
OnSemi AR0135 CMOS Image Sensor, 1/3 inches
Interface
USB 3.0 SuperSpeed
Resolutions
USB 3.0
1280 (H) x 960 (V) pixels @54, 50, 30, 25, 15 fps
1280 (H) x 720 (V) pixels @60, 50, 30, 25, 15 fps
640 (H) x 480 (V) pixels @100, 90, 60, 50, 30, 25, 15 fps (binning)
320 (H) x 240 (V) pixels @180, 150, 120, 100, 60, 50 fps (cropping)
USB 2.0
1280 (H) x 960 (V) pixels @30, 25, 15 fps
1280 (H) x 720 (V) pixels @30, 25, 15 fps
640 (H) x 480 (V) pixels @100, 90, 60, 50, 30, 25, 15 fps (binning)
320 (H) x 240 (V) pixels @180, 150, 120, 100, 60, 50 fps (cropping)
Image Format
Bayer RGB
Shutter
Global Shutter
Camera
Controls
Manual Exposure Control
Gain Control
Manual White Balance Red Control
Manual White Balance Blue Control
Auto White Balance Setup (by oCamViewer of WITHROBOT Inc.)
Lens
Standard M12, Replaceable
Supported OS
Windows 7 / 10, Linux
Power
USB Bus Power, DC 5V / 180mA
Operating
Temperature
0°C ~ + 70°C
Field Of
View(FOV)
50˚(V) x 92.8˚(H) x 110˚(D) (Default Bundle Lens)
Weight
Approx 27.2 grams (including protective case)
PCB Size
39mm x 39mm
Case Size
49mm x 49mm x 20mm
Table 1. Camera specifications

oCam-1CGN-U-T User Manual
www.withrobot.com Page 7
Board Dimensions
Figure 4. Board size (Unit: mm)
Case Dimensions
Figure 5. Case size (Unit: mm)
49
49
49*
* 51mm with tripod mounting adapter

oCam-1CGN-U-T User Manual
www.withrobot.com Page 8
3. TRIGGER SIGNAL
Trigger Signal Connector Specifications
The oCam-1CGN-U-T accepts a external trigger signal through the 3-pin connector on the back
side of the camera. The pin descriptions are as follows:
Pin 1: Signal ground
Pin 2: For trigger signals in the range of 3V ~ 5V DC
Pint 3: For trigger signals in the range of 5V ~ 24V DC
Figure 6. Pin description of the external trigger input signal connector
The circuit diagram of external trigger input is shown in the next figure. The input pins and the
internal circuit are isolated with a photo coupler. Therefore, the external input trigger signal
needs to supply more than 2 mA current to activate properly the trigger.
GND
Input pin for Trigger Signal (3V ~ 5V)
Input pin for
Trigger Signal (5V ~ 24V)

oCam-1CGN-U-T User Manual
www.withrobot.com Page 9
Figure 7. Trigger input circuit
Trigger Signal Specifications
The camera acquires image at the falling edge of the trigger signal. Depending on the trigger
signal, the camera operates in one of the 3 modes described as follows.
One Shot Mode
With this mode, the camera acquires one frame of image. The trigger signal should maintain the
low level at least 1 msec(T1).
Figure 8. One shot mode
Multi Shot Mode
With this mode, the camera acquires multiple frames of images. The interval between the two
adjacent trigger pulses should be at least 2 msec (T2). To get images as specified by the trigger
signal frequency, it is needed to set the camera speed at least twice the trigger signal frequency.
If the camera speed is set below this, the trigger signal will be applied while the previously
acquired image frame is being transmitted. For example, to apply 30 Hz trigger signal, the
camera should be set at least 60 fps.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 10
Figure 9. Multi shot mode
Continuous Mode
With this mode, the camera acquires images continuously at the interval set as camera speed.
For example, in the following figure, the camera starts to acquire the image after the trigger
signal goes low and acquires the images at the interval of T3 set as the camera fps. When the
trigger signal goes high, the camera stops to acquire the images.
Figure 10. Continuous mode

oCam-1CGN-U-T User Manual
www.withrobot.com Page 11
4. HOW TO USE ON WINDOWS SYSTEM
Connection to Windows PC
Connect the USB cable, either USB 2.0 or USB 3.0, to the USB port of the computer. After the
camera is detected, the computer will show a message that the camera is connected. To check if
the camera is connected successfully, open the device manager and check if the oCam-1CGN-U-
T appears correctly as shown below.
Figure 11. Connection check (example of Windows 10)

oCam-1CGN-U-T User Manual
www.withrobot.com Page 12
Viewing the Camera Image
As the oCam-1CGN-U-T sends the image in Bayer RGB format, other than the typical YUV
format, you need to use image viewing software that can handle this format, such as the
oCamViewer program provided by the WITHROBOT Inc.
On starting the oCamViewer, the main window will appear as shown below.
Figure 12. Main window of the oCamViewer for Windows
Select the resolution and the fps on the dropdown list.
Figure 13. Resolution selection on the oCamViewer

oCam-1CGN-U-T User Manual
www.withrobot.com Page 13
Click the [Play] button.
To change the resolution/fps, click the [Stop] button first and then select one on the
dropdown list, and then click the [Play] button.
To check or change the camera parameters, click the [Cam Ctrl] button while the camera is
being displayed to open the control window. Use the slide bar to change a parameter.
Figure 14. Control window of the oCamViewer for Windows
To stop viewing the camera image, click the [Stop] button on the main window.
To terminate the oCamViewer, click the [Exit] button on the main window.
Full source code of the oCamViewer is available at the following site:
https://github.com/withrobot/oCam/tree/master/Software

oCam-1CGN-U-T User Manual
www.withrobot.com Page 14
4. HOW TO USE ON LINUX SYSTEM
Connection to Linux PC
Viewing the Camera Image
(1) Viewing the Camera Image with the oCamViewer
As the oCam-1CGN-U-T sends the image in Bayer RGB format, other than the typical YUV
format, you need to use image viewing software that can handle this format, such as the
oCamViewer program provided by the WITHROBOT Inc.
On starting the oCamViewer, the main window will appear as shown below.
Figure 15. Main window of the oCamViewer for Linux
Select the oCam-1CGN-U-T in the “Device”list. On clicking the [Connect] button, the
camera image will appear.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 15
To change the resolution/fps, select “Format”on the right panel and select one on the
dropdown list, and then click the [Apply] button at the bottom.
Figure 16. Resolution selection on the oCamViewer

oCam-1CGN-U-T User Manual
www.withrobot.com Page 16
To change the camera parameters, select “Controls”on the right panel and use the slide
bar to change a parameter.
Figure 17. Camera controls of the oCamViewer for Linux

oCam-1CGN-U-T User Manual
www.withrobot.com Page 17
(2) Viewing the Camera Image with the Guvcview
Start the Guvcview by entering the “guvcview”command on the terminal window.
Figure 18. Starting the Guvcview
Figure 19. Guvcview image window
On the Guvcview camera image window, the current frame rate is shown on the top bar.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 18
5. NOTES
On the oCam-1CGN-U-T, you can adjust the focus by rotating the lens by hand. Therefore, in a
vibrating environment, the lens can be loosened by being rotated by itself. To prevent this, it is
recommended to lock the lens by using the supplied lens lock ring after you finish adjusting the
focus.
To change the lens, you need to loosen the lock ring first before you take out the lens from the
holder.

oCam-1CGN-U-T User Manual
www.withrobot.com Page 19
6. TRIGGER SIGNAL BOARD
The oCam-1CGN-U-T can be used with any signal source as long as it meets the input signal
specification. It is recommended to use the mTrigger, however, which is a trigger signal board
supplied by the WITHROBOT Inc. for full compatibility and verified operation.
The mTrigger signal board supports the following 4 signal modes which are all user
programmable to set the detailed signal parameters.
Reference
Signal Type
Modes
Operation
Internal
Synchronous
Internal Synchronous
Provides 8 time-synchronized
autonomous trigger signals
Asynchronous
Internal Asynchronous
Provides 8 time sequential autonomous
trigger signals
External
Synchronous
External Synchronous
Provides 8 time-synchronized trigger
signals driven by an external signal
source
Asynchronous
External Asynchronous
Provides 8 time sequential trigger
signals driven by an external signal
source
Table 2. Trigger modes
Multiple mTrigger boards can be connected in a cascade configuration to provide unlimited
number of trigger signals.
The following is the major specifications of the mTrigger signal board.
Item
Value
Number of output ports
8 for each board
Output level
Low Level: 0V / High Level: 5V
External source input level
Low Level: 0V / High Level: 5V
Accuracy between time-synchronized
trigger signal output
Within 3 μsec
Table of contents
Other WITHROBOT Digital Camera manuals