Samsung RS232 Port Specifications - Page 2 - AVS Forum
Forum Jump: 
Reply
 
Thread Tools
post #31 of 57 Old 02-02-2010, 08:07 PM
Member
 
motocrossmann's Avatar
 
Join Date: Dec 2006
Posts: 45
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks Fiasco! I've been pulling my hair out for weeks trying to get this to work. Your plugin did the trick! Ty!
motocrossmann is offline  
Sponsored Links
Advertisement
 
post #32 of 57 Old 02-02-2010, 08:32 PM
Advanced Member
 
Fiasco's Avatar
 
Join Date: Mar 2004
Posts: 637
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
One thing about the two tv's I was working with, they are slow to respond with a success or fail ack and won't respond to a new command until it has sent it so make sure to insert delays if you have any macros that execute more then one command at a time.

St Louis, MO - Lutron certified
www.jag-es.com
Fiasco is offline  
post #33 of 57 Old 02-02-2010, 08:41 PM
Advanced Member
 
Fiasco's Avatar
 
Join Date: Mar 2004
Posts: 637
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Add the checksum value to the end of the command

So, Power Standby would be 082200000001d4

I can not provide the checksum for commands that accept an argument (like jump directly to a channel or volume level) since the checksum is based off of the value sent so those commands are not in this list.

9:38:23 PM Samsung TV: Power Standby
9:38:23 PM 082200000001
9:38:23 PM Two's complement: 0xd5
9:38:23 PM checksum d5
9:38:24 PM Samsung TV: Power On
9:38:24 PM 082200000002
9:38:24 PM Two's complement: 0xd4
9:38:24 PM checksum d4
9:38:26 PM Samsung TV: Get Power Status
9:38:26 PM 082200000000
9:38:26 PM Two's complement: 0xd6
9:38:26 PM checksum d6
9:38:27 PM Samsung TV: Mute Toggle
9:38:27 PM 082202000000
9:38:27 PM Two's complement: 0xd4
9:38:27 PM checksum d4
9:38:29 PM Samsung TV: Master Volume Up
9:38:29 PM 082201000100
9:38:29 PM Two's complement: 0xd4
9:38:29 PM checksum d4
9:38:31 PM Samsung TV: Master Volume Down
9:38:31 PM 082201000200
9:38:31 PM Two's complement: 0xd3
9:38:31 PM checksum d3
9:38:48 PM Samsung TV: Channel Up
9:38:48 PM 082203000100
9:38:48 PM Two's complement: 0xd2
9:38:48 PM checksum d2
9:38:49 PM Samsung TV: Channel Down
9:38:49 PM 082203000201
9:38:49 PM Two's complement: 0xd0
9:38:49 PM checksum d0
9:38:56 PM Samsung TV: TV
9:38:56 PM 08220a000000
9:38:56 PM Two's complement: 0xcc
9:38:56 PM checksum cc
9:38:58 PM AV 1
9:38:58 PM Samsung TV: AV 1
9:38:58 PM 08220a000100
9:38:58 PM Two's complement: 0xcb
9:38:58 PM checksum cb
9:39:00 PM AV 2
9:39:00 PM Samsung TV: AV 2
9:39:00 PM 08220a000101
9:39:00 PM Two's complement: 0xca
9:39:00 PM checksum ca
9:39:07 PM AV 3
9:39:07 PM Samsung TV: AV 3
9:39:07 PM 08220a000102
9:39:07 PM Two's complement: 0xc9
9:39:07 PM checksum c9
9:39:07 PM S-Video 1
9:39:07 PM Samsung TV: S-Video 1
9:39:07 PM 08220a000200
9:39:07 PM Two's complement: 0xca
9:39:07 PM checksum ca
9:39:08 PM S-Video 2
9:39:08 PM Samsung TV: S-Video 2
9:39:08 PM 08220a000201
9:39:08 PM Two's complement: 0xc9
9:39:08 PM checksum c9
9:39:09 PM Component 1
9:39:09 PM Samsung TV: Component 1
9:39:09 PM 08220a000300
9:39:09 PM Two's complement: 0xc9
9:39:09 PM checksum c9
9:39:10 PM Component 3
9:39:10 PM Samsung TV: Component 3
9:39:10 PM 08220a000302
9:39:10 PM Two's complement: 0xc7
9:39:10 PM checksum c7
9:39:11 PM PC 1
9:39:11 PM Samsung TV: PC 1
9:39:11 PM 08220a000400
9:39:11 PM Two's complement: 0xc8
9:39:11 PM checksum c8
9:39:11 PM PC 2
9:39:11 PM Samsung TV: PC 2
9:39:11 PM 08220a000401
9:39:11 PM Two's complement: 0xc7
9:39:11 PM checksum c7
9:39:13 PM HDMI 1
9:39:13 PM Samsung TV: HDMI 1
9:39:13 PM 08220a000500
9:39:13 PM Two's complement: 0xc7
9:39:13 PM checksum c7
9:39:14 PM HDMI 2
9:39:14 PM Samsung TV: HDMI 2
9:39:14 PM 08220a000501
9:39:14 PM Two's complement: 0xc6
9:39:14 PM checksum c6
9:39:14 PM HDMI 3
9:39:14 PM Samsung TV: HDMI 3
9:39:14 PM 08220a000502
9:39:14 PM Two's complement: 0xc5
9:39:14 PM checksum c5
9:39:15 PM HDMI 4
9:39:15 PM Samsung TV: HDMI 4
9:39:15 PM 08220a000503
9:39:15 PM Two's complement: 0xc4
9:39:15 PM checksum c4
9:39:16 PM DVI 1
9:39:16 PM Samsung TV: DVI 1
9:39:16 PM 08220a000600
9:39:16 PM Two's complement: 0xc6
9:39:16 PM checksum c6
9:39:16 PM DVI 2
9:39:16 PM Samsung TV: DVI 2
9:39:16 PM 08220a000601
9:39:16 PM Two's complement: 0xc5
9:39:16 PM checksum c5
9:39:17 PM DVI 3
9:39:17 PM Samsung TV: DVI 3
9:39:17 PM 08220a000602
9:39:17 PM Two's complement: 0xc4
9:39:17 PM checksum c4
9:39:19 PM Dynamic
9:39:19 PM Samsung TV: Dynamic
9:39:19 PM 08220b000000
9:39:19 PM Two's complement: 0xcb
9:39:19 PM checksum cb
9:39:20 PM Standard
9:39:20 PM Samsung TV: Standard
9:39:20 PM 08220c000000
9:39:20 PM Two's complement: 0xca
9:39:20 PM checksum ca
9:39:20 PM Wide
9:39:20 PM Samsung TV: Wide
9:39:20 PM 08220b000002
9:39:20 PM Two's complement: 0xc9
9:39:20 PM checksum c9
9:40:21 PM Black Adjust Off
9:40:21 PM Samsung TV: Black Adjust Off
9:40:21 PM 08220b090000
9:40:21 PM Two's complement: 0xc2
9:40:21 PM checksum c2
9:40:22 PM Black Adjust Medium
9:40:22 PM Samsung TV: Black Adjust Medium
9:40:22 PM 08220b090002
9:40:22 PM Two's complement: 0xc0
9:40:22 PM checksum c0
9:40:25 PM Black Adjust Low
9:40:25 PM Samsung TV: Black Adjust Low
9:40:25 PM 08220b090001
9:40:25 PM Two's complement: 0xc1
9:40:25 PM checksum c1
9:40:28 PM Black Adjust High
9:40:28 PM Samsung TV: Black Adjust High
9:40:28 PM 08220b090003
9:40:28 PM Two's complement: 0xbf
9:40:28 PM checksum bf
9:40:29 PM Dynamic Contrast Off
9:40:29 PM Samsung TV: Dynamic Contrast Off
9:40:29 PM 08220b090100
9:40:29 PM Two's complement: 0xc1
9:40:29 PM checksum c1
9:40:29 PM Dynamic Contrast Low
9:40:29 PM Samsung TV: Dynamic Contrast Low
9:40:29 PM 08220b090101
9:40:29 PM Two's complement: 0xc0
9:40:29 PM checksum c0
9:40:30 PM Dynamic Contrast Medium
9:40:30 PM Samsung TV: Dynamic Contrast Medium
9:40:30 PM 08220b090102
9:40:30 PM Two's complement: 0xbf
9:40:30 PM checksum bf
9:40:31 PM Dynamic Contrast High
9:40:31 PM Samsung TV: Dynamic Contrast High
9:40:31 PM 08220b090103
9:40:31 PM Two's complement: 0xbe
9:40:31 PM checksum be
9:40:32 PM Color Space Auto
9:40:32 PM Samsung TV: Color Space Auto
9:40:32 PM 08220b090300
9:40:32 PM Two's complement: 0xbf
9:40:32 PM checksum bf
9:40:33 PM Color Space Wide
9:40:33 PM Samsung TV: Color Space Wide
9:40:33 PM 08220b090301
9:40:33 PM Two's complement: 0xbe
9:40:33 PM checksum be


Sound Commands

9:40:54 PM Standard
9:40:54 PM Samsung TV: Standard
9:40:54 PM 08220c000000
9:40:54 PM Two's complement: 0xca
9:40:54 PM checksum ca
9:40:59 PM Music
9:40:59 PM Samsung TV: Music
9:40:59 PM 08220c000001
9:40:59 PM Two's complement: 0xc9
9:40:59 PM checksum c9
9:40:59 PM Movie
9:40:59 PM Samsung TV: Movie
9:40:59 PM 08220c000002
9:40:59 PM Two's complement: 0xc8
9:40:59 PM checksum c8
9:41:00 PM Custom
9:41:00 PM Samsung TV: Custom
9:41:00 PM 08220c000004
9:41:00 PM Two's complement: 0xc6
9:41:00 PM checksum c6
9:41:01 PM EQ Standard
9:41:01 PM Samsung TV: EQ Standard
9:41:01 PM 08220c010000
9:41:01 PM Two's complement: 0xc9
9:41:01 PM checksum c9
9:41:02 PM EQ Music
9:41:02 PM Samsung TV: EQ Music
9:41:02 PM 08220c010001
9:41:02 PM Two's complement: 0xc8
9:41:02 PM checksum c8
9:41:02 PM EQ Movie
9:41:02 PM Samsung TV: EQ Movie
9:41:02 PM 08220c010002
9:41:02 PM Two's complement: 0xc7
9:41:02 PM checksum c7
9:41:04 PM EQ Speech
9:41:04 PM Samsung TV: EQ Speech
9:41:04 PM 08220c010003
9:41:04 PM Two's complement: 0xc6
9:41:04 PM checksum c6
9:41:05 PM EQ Custom
9:41:05 PM Samsung TV: EQ Custom
9:41:05 PM 08220c010004
9:41:05 PM Two's complement: 0xc5
9:41:05 PM checksum c5
9:41:05 PM SRS Tru Surround On
9:41:05 PM Samsung TV: SRS Tru Surround On
9:41:05 PM 08220c020000
9:41:05 PM Two's complement: 0xc8
9:41:05 PM checksum c8
9:41:06 PM SRS Tru Surround Off
9:41:06 PM Samsung TV: SRS Tru Surround Off
9:41:06 PM 08220c020001
9:41:06 PM Two's complement: 0xc7
9:41:06 PM checksum c7
9:41:07 PM Multi-Track Mono
9:41:07 PM Samsung TV: Multi-Track Mono
9:41:07 PM 08220c040000
9:41:07 PM Two's complement: 0xc6
9:41:07 PM checksum c6
9:41:07 PM Multi-Track Stereo
9:41:07 PM Samsung TV: Multi-Track Stereo
9:41:07 PM 08220c040001
9:41:07 PM Two's complement: 0xc5
9:41:07 PM checksum c5
9:41:08 PM Multi-Track SAP
9:41:08 PM Samsung TV: Multi-Track SAP
9:41:08 PM 08220c040002
9:41:08 PM Two's complement: 0xc4
9:41:08 PM checksum c4

St Louis, MO - Lutron certified
www.jag-es.com
Fiasco is offline  
post #34 of 57 Old 04-10-2010, 01:20 PM
Newbie
 
chammers's Avatar
 
Join Date: Aug 2008
Posts: 3
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Has anyone figured out how to turn off the Power Save Mode? I couldn't find anything obvious in the menus?

Has anyone played with trying to get it to respond with values, such as the Current Volume? I sell Savant Systems, and they have a nice Volume Slider that will keep track, but since we don't get feedback we can't get it to stay in sync.
chammers is offline  
post #35 of 57 Old 04-10-2010, 07:21 PM
Advanced Member
 
Fiasco's Avatar
 
Join Date: Mar 2004
Posts: 637
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 11
Quote:
Originally Posted by chammers View Post

Has anyone played with trying to get it to respond with values, such as the Current Volume? I sell Savant Systems, and they have a nice Volume Slider that will keep track, but since we don't get feedback we can't get it to stay in sync.

Been a little while since I wrote my Samsung eventghost plugin but glancing at the RS232 protocol I don't think the Samsungs give anything besides "command success" and "command failed" return messages... so essentially the Samsung is incapable of two way feedback.

St Louis, MO - Lutron certified
www.jag-es.com
Fiasco is offline  
post #36 of 57 Old 04-12-2010, 11:31 AM
Newbie
 
chammers's Avatar
 
Join Date: Aug 2008
Posts: 3
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks Fiasco, that is what I got from it too, but I was hoping someone had played around and maybe found some hidden commands.


It also seems teh A series won't powerOn but it has been fixed in the B and C series, can anyone confirm this, as we don't sell Samsung but end up retrofitting them.
chammers is offline  
post #37 of 57 Old 11-11-2010, 03:32 AM
Newbie
 
shaik.raheem97's Avatar
 
Join Date: Nov 2010
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hi iam raheem,

I need RS 232 commands for the samsung ps505680,i searched entire site i ddidn,t get anywhre.help to out from this problem
shaik.raheem97 is offline  
post #38 of 57 Old 01-23-2011, 02:02 PM
Newbie
 
brentj's Avatar
 
Join Date: Jul 2001
Location: St. Louis, MO USA
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Has Anyone gotten ANY controlling to work of the PN58C8000 or other current model 3D Plasma series of that line?

I know my serial cable works because I can set the tv to debug mode and the serial port to 115k and I can see all the text it spits out.

But I've tried sending commands I've found on various threads online, with their checksums, and gotten no reply at all from the TV even when powered on.

I've tried every baud rate I can, in both debug and UART modes for the TV's port.

I'm sending from a BitWise controls box as the "computer". They have a program that lets you send strings and monitor replies in a window. I guess I have no proof that the messages are ACTUALLY being sent. Guess I need to test the transmit function of the cable somehow. Hook it to a computer instead.

But I'd feel the continued effort would be more worthwhile if I knew SOMEONE was controlling THIS model of Tv this way and one verified command I could use to test it. Most interested in "power on" (yes, I've read that some models can't do this)

Thanks!
brentj is offline  
post #39 of 57 Old 09-02-2011, 02:38 PM
Newbie
 
kaoh's Avatar
 
Join Date: Sep 2011
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hi all,

I have a 2008 series A5 samsung tv with the service jack on it. I am trying to get this pluging working to turn my tv off or on but no matter what I do it just wont respond.
When I turn the TV on or Off with the remote the evenghost does recieve bytes, so I believe communication is working
What am I missing? Are those commands that are in the plugin outdated? Or do I need to turn on some mode? I tried all I could find in the service menu Hotel mode, debug mode etc
I am just short of going to buy a brand new tv just so I can turn it on using a network/pc stack
kaoh is offline  
post #40 of 57 Old 09-03-2011, 01:43 AM
Newbie
 
kaoh's Avatar
 
Join Date: Sep 2011
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Looking at my manual it says I use that port to connect a powered wall mount, so may that be the problem? That it is in wall mount mode instead of control mode or something? I can not find any service port mode setting in my service menu all I have is debug/hotel and one that says serivce that toggles between normal and a code value. But I tried them all.
kaoh is offline  
post #41 of 57 Old 09-29-2011, 05:16 AM
Newbie
 
peacekeeper03's Avatar
 
Join Date: Sep 2011
Posts: 3
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hy

Thx for this Thread.
Its a samsung control knowedge base.

I've written a litte xls Checksumcalculator for Downloading.
I hope it works for you

 

Checksumcalculator .zip 10.0400390625k . file
peacekeeper03 is offline  
post #42 of 57 Old 11-07-2011, 08:00 PM
Newbie
 
boricuastock's Avatar
 
Join Date: Aug 2007
Posts: 14
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by brentj View Post

Has Anyone gotten ANY controlling to work of the PN58C8000 or other current model 3D Plasma series of that line?

I know my serial cable works because I can set the tv to debug mode and the serial port to 115k and I can see all the text it spits out.

But I've tried sending commands I've found on various threads online, with their checksums, and gotten no reply at all from the TV even when powered on.

I've tried every baud rate I can, in both debug and UART modes for the TV's port.

I'm sending from a BitWise controls box as the "computer". They have a program that lets you send strings and monitor replies in a window. I guess I have no proof that the messages are ACTUALLY being sent. Guess I need to test the transmit function of the cable somehow. Hook it to a computer instead.

But I'd feel the continued effort would be more worthwhile if I knew SOMEONE was controlling THIS model of Tv this way and one verified command I could use to test it. Most interested in "power on" (yes, I've read that some models can't do this)

Thanks!

I have a PN59d8000 and these commands work great. So far I am not seeing a way to query the status but I am able to send the commands without issue. I bought a this cable online and have it plugged in and am using a simple terminal program. Power on and power off also seem to work fine.

thanks
boricuastock is offline  
post #43 of 57 Old 12-25-2011, 03:59 PM
Newbie
 
gewone's Avatar
 
Join Date: Dec 2009
Location: Kingston, Jamaica.
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Guys, sorry for bursting in and interrupting. I'm only looking for a little clarification. I have a cheap 40" Samsung LED (UE40D5004). Now, I have a TRS-RCA cable to connect my telly to an oldschool receiver. Today, I had done some cable work (cleaning, like). Anyways. I just turned on my television, and this ill scratching sound appeared for a blank second or so. Also, the sound then came from the poor internal speakers of the television. I looked back, and noticed I'd put the cable in another 3.5mm jack, marked "SERVICE", instead of the actual headphone/line out jack. I swapped it correctly, and now I had good sound.

However, I got anxious. First, have I damaged my television by putting the audio cable in the service jack? Second, why isn't it shaped like an ordinary RS-232 serial hook, but like a earphones port? Or isn't this even a RS-232 service jack, but something entirely different? Something new? Anyways, back to the quest. Do you guys think I have damaged my television (the service port, perhaps?) by having the audio cable there. Actually, as the neurotic I am, I decided to reproduce. I put the audio cable in the service plug once more, and turned the television set off, and then on. The exact same scratchy sound ran through my speakers. Perhaps I should not be worried? Anyone have a clue?

Thanks in advance, much grateful.
Merry Christmas, and a happy New Year!
gewone is offline  
post #44 of 57 Old 12-28-2011, 10:09 PM
Newbie
 
hdmioptical's Avatar
 
Join Date: Jun 2007
Posts: 4
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
I'm new to this, but a quick learner, so probably simple question:
I built the cable to connect my computer to the tv. I can run a myriad of terminal programs on my mac, and connect to the serial port, but how do I even know if I'm connected to the tv? is there something I can type to just get an echo or something? also, can i just put in the terminal a number like 082200000001 and have it turn the tv on? (if so, I guess it's not working).
hdmioptical is offline  
post #45 of 57 Old 12-31-2011, 08:40 AM
Newbie
 
ober2345's Avatar
 
Join Date: Dec 2011
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Just wanted to let everyone know there is an error in the samsung documentation (at least for my tv), channel down should be the following command:

Samsung TV: Channel Down
082203000200

~Nate
ober2345 is offline  
post #46 of 57 Old 01-30-2012, 04:54 PM
 
lappen81's Avatar
 
Join Date: Jan 2012
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Would anyone be able to lend some support?


I was able to get debug information but nothing else though no idea what settings I used on the TV as i'm not able to receive it anymore.
* see first attached image *

I've changed some settings so right now no debug info but atleast i get a response from the TV.
* see second attached image *
Also bus speeds below 38400 doesn't seem to give a response in the log, i've tried 9600, 19200, 38400, 115200

I have a Samsung A series, with these settings and the 3.5mm stereoplug to 3pin DB9F (port is called service)
Options/Hotel Option = Off (i've tried on)
Options/Store Demo = Off (default setting)
Options/Control/Logic Download = Off (default: this one seems to set itself back to off if I try to turn it on)
Options/Control/Service Select = Debug/DL (also normal exist, default is off)
Advanced Options/Adjust/Debug = Off (i've tried on)
Advanced Options/Adjust/UART Select = Off (i've tried main, other settings is IDTV, PDP Lvds On, and another setting which locks the picture so I don't know the name)
** can't find any setting named rs232, I could post pictures of the menu if it's easier? **


Any help apprecieted on what I could try to start debugging as im really stuck, like what command should i send from what program ascii/hex whats the expected result in the log viewer, any settings I could try, what speed do you guys use and so on.

Also i've tried the eventghostplugin and get no response in the log
Also tried a batch file which should set the tv to hdmi, i've set correct com port and here i don't even get a send request.
LL
LL
lappen81 is offline  
post #47 of 57 Old 02-19-2012, 07:45 AM
Member
 
plasmawoman's Avatar
 
Join Date: May 2007
Posts: 20
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 2 Post(s)
Liked: 10
I suspect that most people aren't programmers who are trying to get these Samsung commands to work...so I've written an EXCEL program that generates the check-sum (shows the complete codes). I'll post it in a little while.
plasmawoman is offline  
post #48 of 57 Old 02-22-2012, 08:15 PM
Member
 
hevnbnd's Avatar
 
Join Date: Nov 2005
Posts: 88
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 1 Post(s)
Liked: 10
Do I have to activate the RS232 Port to make it work? Also do I need to use a Null or Straight cable? I have a HL67A750
hevnbnd is offline  
post #49 of 57 Old 02-27-2012, 10:09 AM
 
lappen81's Avatar
 
Join Date: Jan 2012
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by plasmawoman View Post

I suspect that most people aren't programmers who are trying to get these Samsung commands to work...so I've written an EXCEL program that generates the check-sum (shows the complete codes). I'll post it in a little while.

please do
lappen81 is offline  
post #50 of 57 Old 03-25-2012, 09:36 PM
Newbie
 
gerlin's Avatar
 
Join Date: Jun 2007
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Has anyone found a way to check if the TV is powered on?

I can just send the power on command before my other commands, though it displays a "Not Available" message on the TV which I am trying to avoid.

A post above lists:

Quote:


9:38:26 PM Samsung TV: Get Power Status
9:38:26 PM 082200000000
9:38:26 PM Two's complement: 0xd6
9:38:26 PM checksum d6

Though on my TV this cycles the power off and on.

So far every command I have tried either changes something on the TV (which I do not want to do) or displays the "Not Available" message.

If there is a command that does not display a message (and returns something different when powered off) that is what I am looking for.
gerlin is offline  
post #51 of 57 Old 03-25-2012, 11:23 PM
Newbie
 
gerlin's Avatar
 
Join Date: Jun 2007
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
If anyone is interested... I found a way to accomplish this.

If I send a command with an invalid checksum, such as:

082200000003d5

with the TV on, I get the invalid command response (030CFF). This does not display anything on screen.

If the TV is off, I just get en empty response.
gerlin is offline  
post #52 of 57 Old 06-04-2012, 10:58 PM
Newbie
 
midiman1's Avatar
 
Join Date: Jul 2008
Posts: 4
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 12
Sorry, I just read some of the other posts and I'm duplicating things here.

You can't use a terminal program. I wrote a basic program and list all the codes I know and how to talk the tv rs-232.

Samsung HL61A750A1FXZA RS-232 Codes

C1 C2 C3 C4 Function
----------- -----------
00 00 00 00 TOGGLE POWER ON/OFF
00 00 00 01 POWER OFF
00 00 00 02 POWER ON

01 00 00 (1-100) DIRECT VOLUME
01 00 01 00 VOLUME UP
01 00 02 00 VOLUME DOWN

02 00 00 00 MUTE/UNMUTE
03 00 01 00 CH UP
03 00 02 00 CH DN

0A 00 00 00 INPUT TV
0A 00 01 00 INPUT AV1
0A 00 01 01 INPUT AV2
0A 00 02 00 INPUT SVID
0A 00 03 00 INPUT COMP1
0A 00 03 01 INPUT COMP2
0A 00 04 00 INPUT PC
0A 00 05 00 INPUT HDMI1
0A 00 05 01 INPUT HDMI2
0A 00 05 02 INPUT HDMI3

0B 00 00 00 PICTURE MODE DYNAMIC
0B 00 00 01 PICTURE MODE STANDARD
0B 00 00 02 PICTURE MODE MOVIE
0B 02 00 (1-100) PICTURE CONTRAST
0B 03 00 (1-100) PICTURE BRIGHTNESS
0B 04 00 (1-100) PICTURE SHARPNESS
0B 05 00 (1-100) PICTURE COLOR
0B 07 00 (1-100) PICTURE TINT

0B 09 00 00 PICTURE DETAILED SETTINGS BLACK ADJUST OFF
0B 09 00 01 PICTURE DETAILED SETTINGS BLACK ADJUST LOW
0B 09 00 02 PICTURE DETAILED SETTINGS BLACK ADJUST MEDIUM
0B 09 00 03 PICTURE DETAILED SETTINGS BLACK ADJUST HIGH
0B 09 01 00 PICTURE DETAILED SETTINGS DYNAMIC CONTRAST OFF
0B 09 01 01 PICTURE DETAILED SETTINGS DYNAMIC CONTRAST LOW
0B 09 01 02 PICTURE DETAILED SETTINGS DYNAMIC CONTRAST MEDIUM
0B 09 01 03 PICTURE DETAILED SETTINGS DYNAMIC CONTRAST HIGH
0B 09 02 (-3 3) PICTURE DETAILED SETTINGS GAMMA (-3 TO 3)

0B 09 03 00 COLOR SPACE AUTO * These codes are not
0B 09 04 00 CUSTOM COLOR RED * listed on the sheet
0B 09 05 00 CUSTOM COLOR RED 0 * that comes with the
0B 09 06 00 CUSTOM COLOR GREEN 0 * TV. Use at your own
0B 09 07 00 CUSTOM COLOR BLUE 0 * risk. The TV does
0B 09 08 00 COLOR SPACE RESET * accept them.

0B 09 11 00 PICTURE DETAILED SETTINGS EDGE ENHANCMENT OFF
0B 09 11 01 PICTURE DETAILED SETTINGS EDGE ENHANCMENT ON
0B 09 12 00 PICTURE DETAILED SETTINGS xvYCC OFF
0B 09 12 01 PICTURE DETAILED SETTINGS xvYCC ON
0B 09 13 (-10-10) PICTURE DETAILED SETTINGS WHITE BALANCE (-10 TO 10)

0B 0A 00 00 PICTURE OPTION COLOR TONE COOL2
0B 0A 00 01 PICTURE OPTION COLOR TONE COOL1
0B 0A 00 02 PICTURE OPTION COLOR TONE NORMAL
0B 0A 00 03 PICTURE OPTION COLOR TONE WARM1
0B 0A 00 04 PICTURE OPTION COLOR TONE WARM2
0B 0A 01 00 PICTURE OPTION SIZE 16:9
0B 0A 01 01 PICTURE OPTION SIZE ZOOM1
0B 0A 01 02 PICTURE OPTION SIZE ZOOM2
0B 0A 01 03 PICTURE OPTION SIZE WIDE FIT
0B 0A 01 04 PICTURE OPTION SIZE 4:3
0B 0A 01 05 PICTURE OPTION SIZE JUST SCAN
0B 0A 01 07 PICTURE OPTION SIZE WIDE TV(PC)
0B 0A 01 08 PICTURE OPTION SIZE WIDE PC(PC)
0B 0A 02 00 PICTURE OPTION DNR OFF
0B 0A 02 01 PICTURE OPTION DNR LOW
0B 0A 02 02 PICTURE OPTION DNR MEDIUM
0B 0A 02 03 PICTURE OPTION DNR HIGH
0B 0A 02 04 PICTURE OPTION DNR AUTO
0B 0A 03 00 PICTURE OPTION DNIe OFF
0B 0A 03 02 PICTURE OPTION DNIe ON
0B 0A 04 00 PICTURE OPTION HDMI BLACK LEVEL NORMAL
0B 0A 04 01 PICTURE OPTION HDMI BLACK LEVEL LOW
0B 0A 05 00 PICTURE OPTION FILM MODE OFF
0B 0A 05 01 PICTURE OPTION FILM MODE ON
0B 0A 0A 01 PICTURE OPTION COLOR GAMUT NORMAL
0B 0A 0A 02 PICTURE OPTION COLOR GAMUT sRGB

0C 00 00 00 SOUND MODE STANDARD
0C 00 00 01 SOUND MODE MUSIC
0C 00 00 02 SOUND MODE MOVIE
0C 00 00 03 SOUND MODE SPEECH
0C 00 00 04 SOUND MODE CUSTOM

0C 01 00 00 SOUND EQUALIZER MODE STANDARD
0C 01 00 01 SOUND EQUALIZER MODE MUSIC
0C 01 00 02 SOUND EQUALIZER MODE MOVIE
0C 01 00 03 SOUND EQUALIZER MODE SPEECH
0C 01 00 04 SOUND EQUALIZER MODE CUSTOM
0C 01 01 (1-100) SOUND EQUALIZER BALANCE
0C 01 02 (1-100) SOUND EQUALIZER 100 HZ
0C 01 03 (1-100) SOUND EQUALIZER 300 HZ
0C 01 05 (1-100) SOUND EQUALIZER 1KHZ
0C 01 07 (1-100) SOUND EQUALIZER 3KHZ
0C 01 0A (1-100) SOUND EQUALIZER 10 KHZ
0C 01 0C 00 SOUND EQUALIZER RESET

0C 02 00 00 SOUND SRS TRUSURROUND XT OFF
0C 02 00 01 SOUND SRS TRUSURROUND XT ON

0C 03 00 00 SOUND PREFERRED LANGUAGE ENGLISH
0C 03 00 01 SOUND PREFERRED LANGUAGE SPANISH
0C 03 00 02 SOUND PREFERRED LANGUAGE FRENCH

0C 04 00 00 SOUND MULTI-TRACK SOUND MONO
0C 04 00 01 SOUND MULTI-TRACK SOUND STEREO
0C 04 00 02 SOUND MULTI-TRACK SOUND SAP

0C 05 00 00 SOUND AUTO VOLUME OFF
0C 05 00 01 SOUND AUTO VOLUME ON

0C 06 00 01 SOUND TV SPEAKER OFF
0C 06 00 00 SOUND TV SPEAKER ON

All the numbers are hex except those in parens. To send a command to the TV you send a 2 byte header, 4 command bytes, and a 1 byte checksum, 7 bytes in all. The TV will respond with a 3 byte ack.

The header is 08 22. The commands are C1-C4 above. The checksum is the 2's complement sum of all the bytes, not including the checksum, of course. The ack is 03 0C F1 for good and 03 0C FF for fail.

To calculate the 2's complement checksum, using windows calculator in scientific (hex) mode, just add up the hex values, then NOT, then add 1. The checksum is the last (right hand) 2 digits.

The com port settings are 9600,N,8,1. Since the connection is obviously 3 wire, the communications is START-STOP, no flow control.

I wrote a very simple progam in PowerBasic Console Compiler to send out the codes I wanted to set. I was dissappointed to find out that I could not set some of the ones I wanted to, in particular the LED Drive Level. I prefer MIN for watching Blu-Ray on my PS3. It seems to default to AUTO. Also my TV will do a power cycle (it seems) and all the settings go to a default, which is why I started this experiment with RS-232.

Here is the PB/CC code. It is VERY simple. I calculated the checksums with the windows calculator. I was wanting results quickly. It took about 4 hours from using the voltmeter to determine the TX,RX,and GND connections on the TV to sending the setup to the TV from the PC.

It's basically (no pun intended) a lookup table that has been programmed with the bytes that need to be sent out to do the desired function ... about as simple as you can get.

Here is the PB/CC program:

I'm only sending out 6 commands to set the tv up like I like, from default. I, shortly after doing all this stuff, realized the problem that took me here had to do with getting the tv out of the "Display" mode. So I Don't use any of this any more, but I can see it could be useful in some kind of multimedia command center thing-a-ma-jig


'=========================================================== ===================
'
' Serial Communications example for PowerBASIC Console Compiler
'
'=========================================================== ===================


#COMPILE EXE
#DIM ALL


'------------------------------------------------------------------------------
' Com port settings
'
' Set this to the desired comm port.
$COMPORT = "COM1"


'------------------------------------------------------------------------------
' Main program entry point...
'
FUNCTION PBMAIN () AS LONG

LOCAL nComm AS LONG ' file number of open comm port.
LOCAL ncbData AS LONG ' bytes of data waiting
LOCAL sData AS STRING ' data received or to send
LOCAL i AS INTEGER
DIM sEtup(6,7) AS STRING '

sEtup(1)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(0) & CHR$(0) & CHR$(2) & CHR$(201) 'Movie
sEtup(2)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(9) & CHR$(2) & CHR$(0) & CHR$(192) 'Gamma
sEtup(3)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(9) & CHR$(17) & CHR$(1) & CHR$(176) 'Edge
sEtup(4)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(9) & CHR$(18) & CHR$(1) & CHR$(175) 'xvYCC
sEtup(5)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(10) & CHR$(0) & CHR$(2) & CHR$(191) 'Tone
sEtup(6)=CHR$(8) & CHR$(34) & CHR$(11) & CHR$(10) & CHR$(2) & CHR$(0) & CHR$(191) 'DNR


ERRCLEAR

' Open the comm port. Exit if it can't be opened.
nComm = FREEFILE
COMM OPEN $COMPORT AS #nComm
IF ERR THEN
STDERR "Can't open comm port " & $COMPORT
WAITKEY$
EXIT FUNCTION
END IF

STDOUT "Communicating on " & $COMPORT & " ... Press key to end."
STDOUT

COMM SET #nComm, BAUD = 9600 ' 9600 baud
COMM SET #nComm, BYTE = 8 ' 8 bits
COMM SET #nComm, PARITY = 0 ' No parity
COMM SET #nComm, STOP = 0 ' 1 stop bit
COMM SET #nComm, TXBUFFER = 7
COMM SET #nComm, RXBUFFER = 3

FOR i= 1 TO 6
sData=sEtup(i)
COMM SEND #nComm,sData
DO
ncbData= COMM(#nComm,RXQUE)
IF ncbData>2 THEN EXIT DO
LOOP
COMM RECV #nComm,ncbData,sData
NEXT i

' Close the comm port.
COMM CLOSE #nComm

END FUNCTION
capler and husa550 like this.
midiman1 is offline  
post #53 of 57 Old 06-06-2012, 06:30 AM
Newbie
 
capler's Avatar
 
Join Date: Dec 2008
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by midiman1 View Post

Sorry, I just read some of the other posts and I'm duplicating things here.
You can't use a terminal program. I wrote a basic program and list all the codes I know and how to talk the tv rs-232.

Thanks midiman1, but I can't get my A-Series (LE46A956D1M) to respond to any of those RS-232 commands.
I can read the output of what's going on, when I increase volume for instance, but it just won't respond to any of my input commands.

I know the cable's good and my setup is ok, because I can control the TV in u-boot only. That's the weird thing.

My Service Menu (in Advanced mode) seems to be different from most published on the net. For instance, "RS-232" or "Debug" doesn't exist anywhere in the menu options.

All I've done to get into u-boot successfully was to switch Advanced > Adjust > UART Select from "W-mount" to "STi"

Any tips?
capler is offline  
post #54 of 57 Old 06-06-2012, 07:18 AM
Newbie
 
ryan_mc's Avatar
 
Join Date: Jan 2006
Posts: 5
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
i ended up using eventghost working good for years now
ryan_mc is offline  
post #55 of 57 Old 06-07-2012, 04:30 PM
Newbie
 
capler's Avatar
 
Join Date: Dec 2008
Posts: 2
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
This TV (LExxA956) doesn't respond to the "Samsung plugin" that comes with EventGhost either.
Any other ideas?
capler is offline  
post #56 of 57 Old 11-24-2012, 09:38 PM
Newbie
 
midatlantian's Avatar
 
Join Date: Nov 2012
Posts: 1
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thank you midiman1 for your post on 6/4/2012.

I want to just post my success with my Samsung UN55D8000YFXZA. I got interested in this serial control topic because I want to be able to turn on the TV from a computer. Other threads have pointed out that the ethernet controls are not active when the TV is off, so that method cannot be used to turn on the TV. I hadn't seen any success stories for turning this series on via the serial port. So, let me say that this works to turn on the TV. Yay. I tried both the toggle power and power on commands and both worked. Other basic commands that I have tried from midiman1's list also worked.

My testing setup: Windows 7 machine with USB to serial adapter, "Advanced Serial Port Monitor 4.3.7" in the manual mode, be sure to set 'End of String Character' to None.
Terminal settings, 9600, 8,N,1.
I never had to mess with the debug, hotel mode, etc for the EX-LINK port.

Does anyone know what data is being reported by the TV during power-up? I posted the hex string out from my TV below. The current input source would be one thing I am interested in. Are there commands to query such states? So far I've seen only one-way commands to the TV.
Quote:
08 22 00 00 00 02 D4 // power on command
03 0C F1 // success acknowledgment from TV
AD A1 03 01 00 00 A5 AD A1 03 01 00 00 A5 AD A1 03 01 00 00 A5 // additional received from TV during power up.
midatlantian is offline  
post #57 of 57 Old 05-11-2013, 09:43 AM
Member
 
motocrossmann's Avatar
 
Join Date: Dec 2006
Posts: 45
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Has anyone come across a command to toggle the source? I'm looking for the same behaviour as most Samsung remotes display when pressing the source button. It will bring up the source menu on the TV, and then subsequent presses of the same button toggles through the available sources on the TV. I can call the sources directly, but a toggle would be more flexible for my particular needs.
motocrossmann is offline  
Reply Rear Projection Units

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off