LightSourceR2X4 (R/G/B/W)
Not connectedDemo
Establishing a connection
- Use Chrome or Edge on a desktop OS. Firefox and Safari don't support Web Serial.
- Open this page as a local file (
file://) or overhttps://. No web server is needed. The page loads its COBS and CRC libraries from cdn.jsdelivr.net, so it needs internet access. - Plug in the light source over USB and click Connect.
Choose Lightsource VCP in the port list (USB ID
0483:5740). - Connecting takes up to about a minute: the page configures the light source and waits for the LED temperature to stabilize. The status line shows progress.
Port not listed?
- Linux, Chromium installed as a snap (e.g. Ubuntu): the sandbox hides USB devices until you allow it.
Run this once, then close every Chromium window and start it again:
sudo snap connect chromium:raw-usb
Check withsnap connections chromium:raw-usbshould show:raw-usb. You can ignore the "no serial-port interface slots" error fromsnap connect chromium:serial-port, because it isn't needed. - Linux, port access: your user must be in the
dialoutgroup (sudo usermod -aG dialout $USER, then log out and in again). - Port is busy: only one program can use the port at a time. Close other connections
(Python
ls_r2x4,r2x4_gui_qt, serial terminals, or this page in another tab). - Check that the device is visible to the OS:
lsusb | grep 0483:5740on Linux, Device Manager on Windows.