Sony Control-1 signals

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Sony Control-1 signals

Post by rickspindrift »

Hi,

I was searching remotecentral.com for Discrete codes for Mute On and Mute Off for a Sony receiver and I came accross an Excel file that seems to have the data I want, but its in a format that I don't recognize. The top of the Excel column says "IR Code" and for Mute On it has:

0000 0067 0052 0000 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0174 0060 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0174 0060 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018

For Mute Off it has:
0000 0067 0052 0000 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0378 0060 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0174 0060 0018 0030 0018 0030 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 015c 0060 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018

Does anyone recognize what this data is? Better yet, anyone know how to convert it to a device code and OBC or hex data?

My guess is that its raw IR data from a learned button, but if thats the case I still don't know how to interpret it.

Thanks.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

It is a format called Pronto Hex, constructed to look like (and be usable in place of) learned signals in a Pronto.

The usual tool for converting that to our form is the JP1 group's version of the IrTool program.

But these are Sony Control-A1 signals, so IrTool won't tell you enough to add them to an upgrade.

Look for other threads discussing Sony Control-A1 or Sony DSP.
The Robman
Site Owner
Posts: 21948
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

These are Sony "Control-1" signals. Normally I'd tell you to use the "Sony DSP" protocol in KM to generate these, but the device code is different in these signals to the one used by the DSP signals, so that's not possible.

I've been meaning to re-write the Sony DSP protocol to make it more flexible, as that's what you would need to generate these signals.

For the record, here are the codes...

MUTE ON: device code 192, OBC 6
MUTE OFF: device code 192, OBC 7
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

Thanks for the information, even if I can't make use of it at the moment.

If you get around to rewriting the Sony DSP protocol, please let me know. The Mute discretes are the last bit I need to finish my remote setup. You can reach me at rickspindrift@yahoo.com

Thanks again.
The Robman
Site Owner
Posts: 21948
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Does your remote have learning, and if so, are you using an extender?

If you're not using an extender and you do have learning, I could attempt to construct these codes as learned signals for you. To do so I'd need a copy of your current IR image.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

Thanks for thinking of that, but I'm using a 9910 with extender. In fact, I'm using all of the extender features except DSM.

I have to say, the extender is great. Everything is working just the way I'd envisioned it, except I'd like to mute the receiver when I switch to the TV's internal tuner, hence the need for the Mute discretes.

It would be nice, though, to have the full Sony DSP protocol. There are a number of commands that would be simpler to set up using it.
The Robman
Site Owner
Posts: 21948
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

You can already use the DSP protocol for all of the DSP settings, I just need to adapt it for the other functions, including those MUTE commands.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

You might also try the regular mute toggle. Some receivers will un-mute always with a vol+ command. If so a macro for Vol+|mute toggle is a discrete mute on and Vol+|vol- is un-mute.
-Jon
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

That's a great idea. Unfortunately, my receiver didn't care for it. It dutifully changed the volume (you can see the volume knob rotate) without unmuting. But thanks for suggesting it.
The Robman
Site Owner
Posts: 21948
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Try this upgrade, the 2 buttons are on the CH +/- buttons...

Upgrade Code 0 = AF D0 (Tuner/2000) Sony DSP test (KM v8.32)
42 00 21 48 06 43 03 00 60 E0
End

Upgrade Protocol 0 = 01 42 (S3C8+) Sony DSP (KM v8.32)
3A 8A 51 8B 12 F5 04 07 08 02 58 01 18 01 2C 01
18 57 D0 04 B0 01 18 E6 10 01 F6 01 46 F6 01 46
F6 01 46 B0 12 E6 10 03 F6 01 46 20 10 A6 07 00
6B 03 F6 01 46 20 10 F6 01 46 E6 12 07 E6 10 01
E4 05 04 B4 08 04 E6 03 A0 18 04 C0 C1 C0 04 8D
01 46
End

I'm still working on getting a combo version of the DSP protocol together so that you can include all the Control-1 signals into one upgrade.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

WOW. I can't believe you did all that just for me. Thanks, I really appreciate it.

Unfortunately, my receiver (a Sony 945) didn't. The codes didn't do anything to it at all.

Looking in the manual where it talks about the control cables you can use to connect the receiver to other Sony devices, it talks about using Control S and Control A1 II (roman numeral 2). Maybe the II version is different enough where it uses a different protocol or a different code sequence?

Thanks anyway for trying.
jon_armstrong
Expert
Posts: 1238
Joined: Sun Aug 03, 2003 9:14 pm
Location: R.I.P. 3/25/2005
Contact:

Post by jon_armstrong »

Rob, I know you are completely capable of analyzing these signals, but curiousity got to me and here is what I see:

Both have 3 repetitions of Sony15:36:96 and then:

Pronto hex
192 6 196 yes 101000 -9244
192 7 197 yes 101000 -9244

Rob's device/protocol upgrade
192 6 137 yes 010000 -32450
192 7 139 yes 010000 -32450


The columns are in order Sony8, Sony8, The 8 bit chckbyte, does the 9th bit equal the 8th, the final 6 bits transmitted in order, and the final gap in the 8-bit commands. The check bytes in the Pronto hex are correct.

For the others here is Rob Humphries descrition of these commands:

1. 3 repetitions of a normal 15 bit Sony command are sent, this is device 36, command 96. This indicates to the receiver that it is a DSP command. Each command takes a total of 45000 us as normal.

2. A varying number of 8 bit bytes are sent. They are least significant bit first, like all other Sony codes. These start with the normal +2400 -600 header and have a total time of 22200 us, just under half the normal total time. There can be any number of bytes sent here, but I think the minimum is 2. The first seems to indicate a device code and the second seems to be a command type code. The rest of the bytes, if there are any, are parameters specific to the type of code.

3. A 15 bit checksum is sent. It is in the standard format for Sony 15 bit codes. The first 8 bits are the actual checksum, least significant bit first. The 9th bit is a duplicate of the 8th. The remaining 6 bits are always 101000, sent in that order. After the last bit, that is the end of the signal, it does not repeat like the other signals.

The checksum is an XOR of all the bytes in part 2, plus a byte equal to the number of bytes in part 2. If the data bytes are 35, 46, and 57, then the checksum is 35 XOR 46 XOR 57 XOR 3 (order doesn’t matter). That happens to equal 55.
-Jon
The Robman
Site Owner
Posts: 21948
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

OK, I just spotted an error checking the code visually (the final RRC should use R03, not R04), so try this protocol code instead...

Upgrade Protocol 0 = 01 42 (S3C8+) Sony DSP (KM v8.32)
3A 8A 51 8B 12 F5 04 07 08 02 58 01 18 01 2C 01
18 57 D0 04 B0 01 18 E6 10 01 F6 01 46 F6 01 46
F6 01 46 B0 12 E6 10 03 F6 01 46 20 10 A6 07 00
6B 03 F6 01 46 20 10 F6 01 46 E6 12 07 E6 10 01
E4 05 04 B4 08 04 E6 03 A0 18 04 C0 C1 C0 03 8D
01 46
End
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

That did it!

They work perfectly now. I had to delete Device Specific Macros to make room for it, but I wasn't using those anyway.

Thanks, this is great.
rickspindrift
Posts: 40
Joined: Thu Nov 18, 2004 6:54 pm
Location: Palatine, IL

Post by rickspindrift »

Weird.

How's this for strange - both the Mute ON and the Mute OFF commands are interepreted by my VCR (a Sony SLV-696HF) as a VCR+ command. Fortunately, that's a toggle, so sending each command twice will work. Still you'd think Sony would be more careful, wouldn't you?
Post Reply