Firmware-830 Function-077

From I-CubeX Wiki
Revision as of 21:54, 24 February 2022 by Admin (talk | contribs) (Copied from Firmware-820 Function-077, revision 5593)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CVOLT (77, 4Dh)

The CVOLT function enables control of the CVolt actuator in both host and stand-alone mode. The following methods can be selected using the FUNCTION command’s method/parameter FP:

CVolt v1.0

FP Actuator effect
FP Output Voltage = 5 * FP / 127 Volt


The output voltage is not calibrated because the exact power supply voltage is unknown.


Example:

In order to use the CVOLT function to have a CVolt actuator with I2C device address 90 (default CVolt I2C device address) connected to the 7th I2C port execute method 13 and output approx. 5 * 13 / 127 = 0.51V, the following message is sent:

240, 125, 0 {DEV}, 8 {FUNCTION}, 6 {port}, 98 {device address}, 77 {CVOLT function}, 13 {actuator method}, 247 (F0h, 7Dh, 00h, 08h, 06h, 62h, 4Dh, 0Dh, F7h)

Following the above command, in order to use the full 12-bit resolution of the CVolt actuator and also set its 5 least significant bits, and output approx. 5 * 1680 / 16383 = 0.5127V, the following message should be sent (see SET OUTPUT command):

240, 125, 0 {DEV}, 48 {SET OUTPUT}, 102 {x = 1, p = 1, yyy = 1}, 13 {actuator method MSB}, 16 {actuator method LSB}, 247 (F0h, 7Dh, 00h, 30h, 66h, 0Dh, 10h, F7h)


Other settings of the CVolt actuator can be effectuated by using I2C commands such as I2C WRITE and I2C READ. See also the datasheet linked from the CVolt web page.