40 of 95
Reference Manual ATOM one SSM500
9 Camera Commands
The camera commands control the exposure (gain and time) of the camera.
9.1 cam_gain <gain>
Sets analog and digital gain for the sensor.
Value
Reset
Minimal
Maximal
gain
Automatic
1000
100000
Minimum: 1000 = 1x = 0dB =
80 ISO
Maximum: 100000 = 100x = 40dB =
8000 ISO
To calculate the ISO value from the analog gain you have to divide it by 1000 and then
multiply it with the ISO at gain 1. To read out the ISO at gain 1 you can use the cam_info
command (see below). For the ATOM one SSM500 it will report a value of 80.
Examples:
Gain
1000
→ ISO = 1000 / 1000 * 80 =
80
Gain
40000
→ ISO = 40000 / 1000 * 80 =
3200
Gain
100000
→ ISO = 100000 / 1000 * 80 =
8000
You can read out the gain at any time, also when the auto exposure control is enabled.
9.2 cam_exposure <time>
Sets the exposure time/shutter width in
microseconds
.
Value
Reset
Minimal
Maximal
time
Automatic
5
Depends on video mode
If you change the video mode and the current shutter time is bigger than the maximum
possible shutter time for the new video mode, the shutter time will be clipped accordingly.
You can read out the exposure at any time, also when the auto exposure control is
enabled.
9.3 cam_info
This command reports the min / max gain and exposure and the ISO value of the camera
at gain 1 (1000) in the following order:
minimum gain, maximum gain, minimum exposure, maximum exposure, minimum ISO
Example output for sensor in 500 fps mode:
cam_info 1000 100000 5 2000 80