Ok, so to talk to the LightCrafter, we use TCP/IP over USB via RNDIS. What port do we use to send commands to the LightCrafter?
Welcome to TI E2E community!
You are right about the LightCrafter's interface through USB. The GUI included with the LightCrafter can be used to control the module from the same USB port.
GUI can be downloaded from here, http://www.ti.com/tool/dlplightcrafter
If you are intending to control LightCrafter directly, you can send API commands (written in C/PERL) using USB port.
Thanks. Now that we all agree it's a USB device and that we can control the LightCrafter through USB, let's circle back to my original question which is HOW? I have the GUI, thanks for the link but if I can't program the device directly with our own code, then this device is no better than any off-the-shelf projector. I don't understand why there's a command reference but no information on how to send commands to the device. Apparently, it's attached as a network device, is there a port # to go with the IP address? Can I simply send the command packets to a port? Can you guys provide the source code for the GUI so we can see how you communicate with it?
As you are already aware, LightCrafter uses a fixed IP address to connect to the computer. It is definitely possible to communicate with the module using your own code. We are working on the license agreements to release the "Simple Example snippet " to send commands. This would be hopefully uploaded on the E2E forum this week or early next week.
I appreciate your patience.
Thanks for the quick response. We've determined the port number the GUI is using is 21845. I'll see how far we can get with that until we get the "Simple Example snippet."
I am glad to hear that you have already made progress. I will get back to you soon.
You will have to use the port 0x5555.
Hi Divya, is the "Simple Example snippe" already online? I'm trying to find out how to connect to my Lightcrafter without the GUI.
Welcome to DLP & MEMS section of TI E2E Forum.
The sample code for direct control of LightCrafter will be on the TI website next week. The code is sent for final upload. I will update on e2e forum, when the code is available for downloading.
Thanks for your patience.
Thank you for the updates on the sample code. I am also anticipating this. Do you know if the sample code uses winsock by any chance?
Windows based Visual Studio project is included in the sample code to interact with the LightCrafter. The DM365 command interface definitions have been implemented for this purpose. For TCP communication, Windows Sockets 2 is used.
Thank you for your answer. Where can I find the sample code for direct control of LightCrafter on the TI website ? I am looking at this page http://www.ti.com/tool/dlplightcrafter but I am not sure where to download it? Did I miss anything obvious?
The code files are not yet available on the TI website. We are facing some legal complexities before we can provide them for download. Thanks for understanding and I appreciate your patience.
I was wondering if the code mentioned in this thread was ever released?
Would be a great help for me getting started.
The source code for controlling the Lightcrafter through API commands over USB and a demo code for Linux users has been sent for ti.com upload.
It should be available next week.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.