Bonito Technical Manual
V2.4.0
24
Camera interfaces
The baud rate is factory-set to 115200 but can also be configured to other val-
ues: see chapter
Serial control interface configuration (s)
All command examples are formatted in the following styles:
•
Bold Courier font
: characters sent to the camera
•
Courier font:
the camera’s answer
At power-up the camera loads the stored parameter configuration from its non-
volatile memory and sends a start message after successful initialization to all
activated serial interfaces.
The following is an example of the start message
Bonito CL / CMC-4000 CMOS High-Speed Camera
Version: CMC.040.xx.yy
>
The command prompt character
>
indicates that the camera is ready to receive
and process the next command. Each command consists of a command letter,
followed by an equality sign and a parameter value in hexadecimal number rep-
resentation. The command letter is case sensitive. Hexadecimal values are
always upper case and are 1 to 8 hex digits long. The command is activated by a
carriage return ([CR], ASCII character number 0D). Serial communication oper-
ates in echo mode by default. This means that each character received by the
camera is echoed back to the sender.
For that reason, all serial commands (exceptions:
V
,
Y
,
a
,
?
) have the fol-
lowing general syntax:
>A=wxyz[CR]
The following example sets the exposure time to 1000 = 3E8 time units:
1.
User sends the six characters
E=3E8[CR]
2.
Camera answers with nine characters (echo followed by new prompt)
E=3E8[CR][CR][LF]>
Sign
Description
A
Command or parameter letter
(observe upper and lower case printing!)
=
Equality sign (
3D
)
wxyz
1-8 digits long value in hexadecimal number representation
(capital letters)
[CR]
Carriage Return (
0D
)
[LF]
Line Feed (
0A
)
Table 4: Syntax of serial commands