Tech News
← Back to articles

StageConnect: Behringer protocol is open source

read original related products more articles

StageConnect

This repository contains an Arduino-Library to create a StageConnect device (subordinated node-device as well as controlling main-device) using AnalogDevices AD242x-ICs like the AD2428.

StageConnect is based on the automotive A²B and is used to connect the Behringer WING to the Midas DP48, for instance. Analog Devices A²B audio bus is used as the technology basis and uses simple XLR connectors between two devices to transmit 32 channels of uncompressed 48kHz 32bit audio.

A StageConnect/A2B main-device uses a virtual I2C-connection through the A2B-link that is routed via the AD242x-IC to the Arduino microcontroller.

Usage

Include the main-library as well as the I2C-Wrapper-Class, instantiate both classes and setup the Wire-library:

#include #include Ci2c_com i2c_com; StageConnect stageConnect(false, 1, 0xD0, &i2c_com); void I2C_RxHandler(int numBytes) {...} void I2C_TxHandler(void) {...} void setup() { Wire.begin(0x3D); Wire.onReceive(I2C_RxHandler); Wire.onRequest(I2C_TxHandler); }

stageConnect.update() should be then called every 100ms.

Have a look into the example-sketch to learn how to use the callbacks and the mailbox-system to receive channel-names from the host-device.

For electrical connection have a look at the following picture showing the connection with the AD2428MINI evaluation board:

... continue reading