The UXP expansion port found on ProXR series controllers (equipped with a UXP port) support the ability to control digital potentiometers. Use the digital pot expansion boards for tuning of external analog circuits, audio control applications, or scientific control and simulation applications. Digital potentiometers offer 8-bit resolution with the ability to control many channels individually or simultaneously. Digital potentiometer outputs are available in 10K, 50K, and 100K ohm resistance. Digital potentiometers are limited to working with analog circuits in the 0 to 5V range, and are current limited to 1ma per channel. Exceeding the voltage or current on any of the potentiometers may result in permanent damage.
The following commands demonstrate how to control digital potentiometers from ProXR controllers equipped with UXP hardware and firmware using the Channel (C) and Value (V) parameters. The channel value is used to identify which potentiometer you would like to control. The value parameter controls the wiper of the potentiometer. A value of 0 set the wiper all the way to the left. A value of 128 moves the wiper to the center position. A value of 255 move the wiper all the way to the right. Note, as with most potentiometers, there are 3 contact points per potentiometer.
CK = Checksum (00-FF)C = Channel
V = Value
TX: | 2 | 3 | 4 | C | V | CK | Function: | RX: | 2 | 3 | CK |
---|---|---|---|---|---|---|---|---|---|---|---|
AA | 04 | FE | AA | 00 | 40 | 96 | Set Potentiometer Output 0 to 64 (25%) | AA | 01 | 55 | 00 |
AA | 04 | FE | AA | 00 | 80 | D6 | Set Potentiometer Output 0 to 128 (50%) | AA | 01 | 55 | 00 |
AA | 04 | FE | AA | 00 | FF | 55 | Set Potentiometer Output 0 to 255 (100%) | AA | 01 | 55 | 00 |
AA | 04 | FE | AA | 01 | 40 | 97 | Set Potentiometer Output 1 to 64 (25%) | AA | 01 | 55 | 00 |
AA | 04 | FE | AA | 02 | 80 | D8 | Set Potentiometer Output 2 to 128 (50%) | AA | 01 | 55 | 00 |
AA | 04 | FE | AA | 03 | FF | 58 | Set Potentiometer Output 3 to 255 (100%) | AA | 01 | 55 | 00 |
Users may want to set all potentiometer outputs simultaneously:
CK = Checksum (00-FF)V = Value
TX: | 2 | 3 | 4 | V | CK | Function: | RX: | 2 | 3 | CK |
---|---|---|---|---|---|---|---|---|---|---|
AA | 03 | FE | AB | 40 | 96 | Set All Potentiometer Outputs to 64 (25%) | AA | 01 | 55 | 00 |
AA | 03 | FE | AB | 80 | D6 | Set All Potentiometer Outputs to 128 (50%) | AA | 01 | 55 | 00 |
AA | 03 | FE | AB | FF | 55 | Set All Potentiometer Outputs to 255 (100%) | AA | 01 | 55 | 00 |