Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

RS232 control of Sharp TV

I am working with DMM 5.2 and DMP4400G w/ 5.2
I am attempting to control a Sharp TV (LC-42D65UT) through DMM system tasks.
The Sharp TV is looking for text control rather than hex apparently.  Command codes are listed in the manual.
The format is 4 command digits followed by 4 parameter digits followed by a carriage return.
For instance, the Power off command is POWR0 followed by 3 spaces(all parameter digits MUST be filled, hence the 3 spaces)followed by a carriage return.
Using Putty I can control the TV from my PC through Putty and the command is executed as soon as I hit Enter(CR).

I ran the system task to control non-DMTech displays, then I created a system task with the following command  rs232.tx_str=POWR0
When I connect the DMP to my PC and send the command formatted without the spaces or CR the DMP sends the text correctly to Putty.  If I include a space anywhere in the command the DMP sends nothing.  The TV does not accept the command without the spaces and CR.

So, is there a way to include a space and CR in a text string to be sent by the DMP and have it send successfully the entire string?

Thanks for any help.  Mike

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: RS232 control of Sharp TV

Sorry but the SharpUSA site is down so I can't get your particular model but here is an example

to accomplish you tasks:

Sharp LC-42D64U

Sharp product manual

http://www.sharpusa.com/files/tel_man_LC45GD6U.pdf

Page - 95 - 97 rs-232 info

Ascii to hex conversion

http://www.laynetworks.com/ASCII%20to%20hex%20value%20chart.htm

Sharp - RS232.Control

To use the RS232 commands on the DMP the serial port must be set to ON and be

pointed at the /dev/ttyS1 device.

To check this create a System Task to check your settings using number 5 below.

If your serial port is anything other than /dev/ttyS1 use number one to set it correctly.

1 Create a system task under application

use type "set"

name it "RS232 ON"

init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

2 Create system task "RS232 OFF"

use type "set"

init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

3. Create system task "TV On" (((ascii =powr1_ _ _ + cr)))

use type "set"

rs232.tx_hex=504F5752312020200D

4. Create system task "TV OFF" (((ascii =powr0_ _ _ +cr)))

use type "set"

rs232.tx_hex=504F5752302020200D

If this answers your question, Please take time to mark this

discussion answered & rate the response.


Thank You!

T.

4 REPLIES
Cisco Employee

Re: RS232 control of Sharp TV

Sorry but the SharpUSA site is down so I can't get your particular model but here is an example

to accomplish you tasks:

Sharp LC-42D64U

Sharp product manual

http://www.sharpusa.com/files/tel_man_LC45GD6U.pdf

Page - 95 - 97 rs-232 info

Ascii to hex conversion

http://www.laynetworks.com/ASCII%20to%20hex%20value%20chart.htm

Sharp - RS232.Control

To use the RS232 commands on the DMP the serial port must be set to ON and be

pointed at the /dev/ttyS1 device.

To check this create a System Task to check your settings using number 5 below.

If your serial port is anything other than /dev/ttyS1 use number one to set it correctly.

1 Create a system task under application

use type "set"

name it "RS232 ON"

init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

2 Create system task "RS232 OFF"

use type "set"

init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

3. Create system task "TV On" (((ascii =powr1_ _ _ + cr)))

use type "set"

rs232.tx_hex=504F5752312020200D

4. Create system task "TV OFF" (((ascii =powr0_ _ _ +cr)))

use type "set"

rs232.tx_hex=504F5752302020200D

If this answers your question, Please take time to mark this

discussion answered & rate the response.


Thank You!

T.

New Member

Re: RS232 control of Sharp TV

Worked great!!  Thank You!!

Mike

New Member

RS232 control of Sharp TV

Just a small extra step that some of you might need to take.  On some Sharp displays the remote ON command needs to be enabled.  To do this turn the display on with it connected to the DMP.  Make sure rs232 is enabled on the DMP.  Create and send the following advanced task.

Create system task "TV ON ENABLED" (((ascii =RSPW1_ _ _ +cr)))

use type "set"

rs232.tx_hex=52535057312020200D

This will enable rs232 power on command,

New Member

Re: RS232 control of Sharp TV

   COOLLLLLLL!!   confirm this is work on sharp.

18283
Views
5
Helpful
4
Replies
CreatePlease to create content