Home > RGB LED Illuminator > Direct Control through Serial Port
RGB LED Illuminator - Direct Control through Serial Port
The RGB LED Illuminator can be controlled by sending encoded strings through the serial port. The simplest way is by using HyperTerminal, which should be set as follows: 9600 bits/sec., data bits 8, parity none, stop bits 1, flow control Xon/Xoff, select your COM port, in ASCII setup in the Send frame check "Echo typed characters locally".
Illuminator with fixed intensity P/N 010-xx
Strings sent to the serial port should be of the following syntax: !0SO+<number>, where the least significant bit of the <number> encodes red, the next bit encodes green and the next bit encodes blue. For example, !0SO+1 turns on red color, !0SO+2 turns on green color, !0SO+4 turns on blue color, !0SO+0 turns all colors off, !0SO+3 turns on red and green giving yellow, and so on.
Illuminator with variable intensity P/N 011-xx
AV<channel><value>
Set intensity of the given channel, where <channel> = {A|B|C} for red, green and
blue and <value> = an integer number between 0 and 500 (0 to 5V). 0 corresponds
to full intensity, 500 corresponds to zero intensity.
Example: AVA355 - sets 3.55V on the red channel
AD<channel><value>
Set power-up intensity of the given channel.