
15
Studio Camera Control Protocol
Serial Interface
To use the Serial interface to the shield:
BMD _ SDICameraControl _ Serial
sdiCameraControl;
BMD _ SDITallyControl _ Serial
sdiTallyControl;
Note that the library will configure the Arduino serial interface at the required 38400 baud rate.
If you wish to print debug messages to the Serial Monitor when using this interface, change the
Serial Monitor baud rate to match. If the Serial Monitor is used, some binary data will be visible
as the IDE will be unable to distinguish between user messages and shield commands.
Example Usage
Once created in a sketch, these objects will allow you to issue commands to the shield over
selected bus by calling functions on the created object or objects. A minimal sketch that uses
the library via the I
2
C bus is shown below.
// NOTE: Must match address set in the setup utility software
const int
shieldAddress = 0x6E;
BMD _ SDICameraControl _ I2C sdiCameraControl(shieldAddress);
BMD _ SDITallyControl _ I2C sdiTallyControl(shieldAddress);
void setup() {
// Must be called before the objects can be used
sdiCameraControl.begin();
sdiTallyControl.begin();
// Turn on camera control overrides in the shield
sdiCameraControl.setOverride(true);
// Turn on tally overrides in the shield
sdiTallyControl.setOverride(true);
}
void loop() {
// Unused
}
The list of functions that may be called on the created objects are listed further on in this
document. Note that before use, you must call the ‘begin’ function on each object before
issuing any other commands.
Some example sketches demonstrating this library are included in the Arduino
IDE’s File->Examples->BMDSDIControl menu.
Studio Camera Control Protocol
This section contains the Studio Camera Control Protocol from the Blackmagic Studio Camera
manual. You can use the commands in this protocol to control your Blackmagic URSA Mini or
Blackmagic Studio Camera via your Arduino shield.
The Blackmagic Studio Camera Protocol shows that each camera parameter is arranged in
groups, such as:
Содержание Design 3G-SDI Arduino Shield
Страница 30: ...2017 11 Blackmagic 3G SDI Arduino Shield...
Страница 58: ...Manuel d utilisation et d installation novembre 2017 Fran ais Blackmagic 3G SDI Arduino Shield...
Страница 86: ...Installations und Bedienungsanleitung November 2017 Deutsch Blackmagic 3G SDI Arduino Shield...
Страница 114: ...112 Primeros pasos Manual de instalaci n y funcionamiento noviembre 2017 Espa ol Blackmagic 3G SDI Arduino Shield...
Страница 142: ...2017 11 Blackmagic 3G SDI Arduino Shield...
Страница 170: ...168 2017 11 Blackmagic 3G SDI Arduino Shield...
Страница 198: ...196 Blackmagic 3G SDI Arduino Shield 2017...
Страница 226: ...218 Operazioni preliminari Manuale di istruzioni novembre 2017 Italiano Blackmagic 3G SDI Arduino Shield...