You are not logged in.
Hi everyone,
I am trying to get projector control working with my Dell 2400MP and I think I need the 'binary' option as the Dell user manual shows all commands as hexadecimal bytes.
For example, it says that 'Projector on is: 0xbe, 0xef, 0x10, 0x05, 0x00, 0xc6, 0xff, 0x11, 0x11, 0x01, 0x00, 0x01'
My question is, how do I type this command in the browser window? Do I need to convert the Hex bytes beforehand?
Are there any examples as to how I would do this?
Thanks!
TnP
Offline
Hi,
You can use following format on gcode boxes.
\0xbe\0xef\0x10
Offline
Awesome - I didn't think to use the same as G-code boxes because I'm using direct control rather than RAMPS.
Thanks!
Offline
Hello dear Shahin
I use UV projector sm7-405 and I want to control it with command through serial port.
I set serialPort address , baud and commands correctly but it not work.
Please Help me.
thanks
(command for turn it on: 0xe0 0x05 0x41 0x18 0x01 =>> \0xe0\0x05\0x41\0x18\0x01
command for turn it off: 0xe0 0x05 0x41 0x18 0x00 =>> \0xe0\0x05\0x41\0x18\0x00)
Offline
Make sure you put communication mode in binary.
Offline
Try removing the 0 before the x for example: \xe0\x05\x41\x18\x01
It worked for me
Offline
Hi dear tnpshow
thank you very much.
it worked ♥♥♥♥
Last edited by Kaveh (2018-02-24 23:32:46)
Offline
Hi dear Shahin
the problem was solved by tnpshow guidance
thanks a lot for your reply
Offline
You're welcome Kaveh - I'm glad it helped
Offline
Hey Shahin, I'm using si-cube sm9-405 UV projector which uses USB communication (Instead of serial communication) with hex commands.
Any idea if this is supported by NanoDLP? or if any work around could get me to turn the projector on/off through NanpDLP interface?
Offline
Hi rocky
I use a model SM7-405 but I think My projector's commands work for yours
test this commands:
For turn it on:\xe0\x05\x41\x18\x01
For turn off:\xe0\x05\x41\x18\x00
also I put its document below:
PC_and_Projector_serial_communication_protocol_1.1.pdf
good luck (I wait for your test result).
Last edited by Kaveh (2018-04-17 10:07:08)
Offline
Thanks Kaveh,
But I already have an SM7-405 and it's working fine with NanoDLP. The SM9 offers different communication protocol, si-cube sent me this document:
USB Communication Protocol V1
Offline
Your welcome Rocky.
I will read the document you sent and we will consult together to solve this issue.
Last edited by Kaveh (2018-04-17 12:00:25)
Offline
Your welcome Rocky.
I will read the document you sent and we will consult together to solve this issue.
How is the result
Offline
Kaveh wrote:Your welcome Rocky.
I will read the document you sent and we will consult together to solve this issue.How is the result
Hi friend.
It is very simple
For turn LED on: \x02\x02\x01
For turn off it: \x02\x02\x02
For power on: \x02\x03\x01
For power off: \x02\x03\x02
But I don't understand how set brightness. I will search and tell you its result (I think, this is related to the projector current, but I don't understand how set its value)
Offline
I know that the commands are already written there, but the communication isn't serial, meaning; I cannot set the port in NanoDLP. When I plug the projector and execute
lsusb
it's shown but when I execute
ls -l /dev/tty*
or
ls -l dev/ttyUSB*
it doesn't show. After some time trying to figure out where is it being identified, I could find it under
/dev/usb/lp0
which NanoDLP gave an error reading the port.
So I'm not sure if I have to write the driver by myself and execute the program in NanoDLP, or if NanoDLP can support USB communication as well as Serial communication.
Note that I'm using the Raspbian image of NanoDLP.
Offline
I know that the commands are already written there, but the communication isn't serial, meaning; I cannot set the port in NanoDLP. When I plug the projector and execute
lsusb
it's shown but when I execute
ls -l /dev/tty*
or
ls -l dev/ttyUSB*
it doesn't show. After some time trying to figure out where is it being identified, I could find it under
/dev/usb/lp0
which NanoDLP gave an error reading the port.
So I'm not sure if I have to write the driver by myself and execute the program in NanoDLP, or if NanoDLP can support USB communication as well as Serial communication.Note that I'm using the Raspbian image of NanoDLP.
Hi
Please do this task respectively:
1- Unplug the projector and then turn your machine(raspberry pi or PC) on
2- write this command(that you said above): ls /dev/tty*
3- send to me a capture from command's result
4- plug the projector and write that command again and take a capture again from result.
Offline
Yup, the below command is executed with the projector unplugged from the RPI
And this one is with the projector plugged to the RPI
Note that the projector does show when I type lsusb as the images below show, the command executed before and after connecting the projector
It shows as "Keil Software, Inc."
executing ls -l /dev/usb/lp0 shows the projector instead of being listed under serial connection (ttyUSB*)
Offline
Yup, the below command is executed with the projector unplugged from the RPI
https://i.imgur.com/hFgQz4X.pngAnd this one is with the projector plugged to the RPI
https://i.imgur.com/JwM2k13.pngNote that the projector does show when I type lsusb as the images below show, the command executed before and after connecting the projector
https://i.imgur.com/MvXxuSi.png
It shows as "Keil Software, Inc."
https://i.imgur.com/1iaVpUp.pngexecuting ls -l /dev/usb/lp0 shows the projector instead of being listed under serial connection (ttyUSB*)
https://i.imgur.com/6daufsL.png
does it solve?
Offline
Rocky wrote:Yup, the below command is executed with the projector unplugged from the RPI
https://i.imgur.com/hFgQz4X.pngAnd this one is with the projector plugged to the RPI
https://i.imgur.com/JwM2k13.pngNote that the projector does show when I type lsusb as the images below show, the command executed before and after connecting the projector
https://i.imgur.com/MvXxuSi.png
It shows as "Keil Software, Inc."
https://i.imgur.com/1iaVpUp.pngexecuting ls -l /dev/usb/lp0 shows the projector instead of being listed under serial connection (ttyUSB*)
https://i.imgur.com/6daufsL.pngdoes it solve?
Nope, I was just showing what I'm getting from the projector.
We solved this issue by designing a very small PCB connected to the projector and RPI, where I'm calling an external syscall to a program that sets RPI pins high or low accordingly.
Although it would be really nice if this can be achieved using NanpDLP only
Last edited by Rocky (2018-05-09 09:25:15)
Offline
i have same problem with young optics NVM light engine. lsusb shows the usb is connected but the tty* node is not created. any progress happened?
Offline
Has anyone found a working solution for the SM9-405 light engines? It would be great to have control over these directly through USB
Offline
Hi,
I am having a similar problem.
I was using an older version of nanodlp in a raspberry 2 and it worked correctly.
Then, with the same UV light projector, I bought the new raspberry 4 and download the newest nanodlp.
Now, I cannot connect my projector to nanodlp due to the problem explained above, the raspberry recognizes the projector but not as a serial USB connection, so I cannot send orders to the projector.
I get /usb and /hidraw0 nodes, instead of getting /ttyUSB0 node.
Would accept any help, anyone solved the problem?
Offline
I guess by searching raspberry pi threads on the pi website you can find the workaround.
It is not important to have it as /dev/tty*, any other address that allocated also should work.
Offline
In case i have the option of /usb or /hidraw0 which one do you think it is?
Also which communication type do you think I need?
Offline