Skip to main content

A python interface to communicate over USB with the TI Lightcrafter 4500

Project description

version_badge downloads_badge license_badge docs_badge


This is an unofficial API for some functionality of the Texas Instruments Lightcrafter 4500.

Code adapted for the TI Lightcrafter 4500 from

The DLPC 350 is the controller chip on the LCR 4500.

TI DLPC 350 documentation can be found at:

Doc strings adapted from dlpc350_api.cpp source code.

To connect to the LCR4500, the libusb-win32 driver is required. The recommended way to do is this is with Zadig. The pyusb package is also required.


pycrafter4500 is available through pypi

pip install pycrafter4500


import pycrafter4500

Waking up from and going into standby:


Toggling back to video mode from pattern sequence mode:


Starting a pattern sequence:

# for example: 222 hz, 7 bit depth, white
                           led_color=0b111,  # BGR flags                 

If you wish to send other commands, this can be done using the dlpc350 class. See source documentation for further details.

from pycrafter4500 import dlpc350, connect_usb
from pycrafter4500 import bits_to_bytes, conv_len

with connect_usb() as lcr:
    lcr.command('w', 0x00, CMD2, CMD3, payload)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycrafter4500, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size pycrafter4500-0.6.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page