Your Universal Remote Control Center
RemoteCentral.com
RS-232 & IP Control Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 29 made on Thursday October 22, 2015 at 08:24
enorm
Lurking Member
Joined:
Posts:
October 2015
1
Hi,

I'm working with some Samsung LFD, namely ME40A, that I'm trying to turn on and off over rs232.

Here's the manual:
[Link: downloadcenter.samsung.com]

I can figure out how to format the string in python. This is what I've tried.

import time
import serial

STAT = "\xAA\x11\x01\x00\x12"
ON = "\xAA\x11\x01\x01\x01\x14"
OFF = "\xAA\x11\x01\x01\x00\x13"


ser = serial.Serial(
        port='/dev/ttyUSB0',
        baudrate=9600,
        parity=serial.PARITY_NONE,
        stopbits=serial.STOPBITS_ONE,
        bytesize=serial.EIGHTBITS,
        xonxoff=False,
        timeout=1

)

#ser.open()
#ser.isOpen()


ser.write(STAT)


Any ideas on how to format the string? It's a daisy chain of rs232 with ID set on the monitors.

-eNORm-
HF GL


Hosting Services by ipHouse