

Have a look at the 2nd example in Serial Input Basics.
#Optoma projector serial number lookup code#
I wonder if you need "proper" code to recognize that a reply has been received before sending the next command.

My test code is below, I tried to send the command as string and with hex codes, both times the projector returns "F".Īs I can receive responses from the projector and also see the requests on my MacBook I am quite confident that the cable connections are ok. So it seems the Arduino outputs the correct serial command.
#Optoma projector serial number lookup mac#
I thought maybe the Arduino for whatever reason sends the wrong characters or a prefix and tried to debug it by letting the Arduino talk to my Mac via the same SerialtoUSB cable:Īrduino sends "~0012 5" over MAX3232 adaptor to Serial2USB cable back to MacBookPro -> "screen" in terminal shows me "~0012 5". So communication in general seems to work as I send something and receive a response from the projector. I see that response in the Arduino Serial Monitor. So the Arduino has successfully send (something) to the projector and the projector responded with "F". However if I send the command "~0012 5" with my Arduino to the projector it reports back "F" for FAIL. This works without any issues and the projector returns "P" for PASS and switches to VGA INPUT. I confirmed that the command "~0012 5" works by connecting a Serial2USB cable to the Projector and my MacBookPro and send the command with the app "Serial" and also with the terminal "screen /dev/cu.usbserial-A703TM76 9600" to the projector. So far I got a MAX3232 TTLtoRS232 adapter and can send RS232 commands from my Arduino Uno with it however unfortunately I am not able to control my projector and after days of tinkering I could not find a solution, hopefully someone can help I try to interface with my Optoma HD33 projector in order to control it with an Arduino Uno with serial RS232 commands.įor my Proof of Concept I try to send the command "~0012 5" to my projector to switch to VGA INPUT.
