Outlaw Audio home shop products hideout news support about
Page 8 of 8 < 1 2 3 4 5 6 7 8
Topic Options
#54185 - 02/24/08 01:27 AM Re: RS-232 Protocol for the technically inclined
dgtlpro Offline
Deputy Gunslinger

Registered: 02/02/07
Posts: 7
Loc: Salt Lake City, UT
I've made an excel sheet with all the info, if you want it let me know.

Top
#54186 - 05/13/08 02:36 AM Re: RS-232 Protocol for the technically inclined
ComputerCowboy Offline
Deputy Gunslinger

Registered: 05/03/08
Posts: 2
Loc: Manchester, VT
Is it possible to have more discrete volume controls added to the 990 via firmware update?
For example:
Master volume -15db
Master volume -10db
Master volume -5db
Not just low medium and high
I know that I can start at a point and go up and down.

Also can I request that the next Pre/Pro have ASCII based range control vs the current Hex / Byte commands. For example my InFocus projector is easy to control via ASCII and the codes are humanly readable.
BRT 55 sets the brightness to 55
BRT 73 sets the brightness to 73
PWR 0 powers down the projector
PWR 1 powers up the projector
OVS 0 turns over scan off
Etc.
This is a lot more practical user friendly way to do the job

BTW here is a bit of C# code I have been working on to control the Outlaw 990
Code:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;

namespace MediaControl.Logic
{

    public partial class RS232Logic
    {
        /// <summary>
        /// Sends a Hex Command to a RS232 Device
        /// </summary>
        public static void SendCommand(string HexCommand, string ComPort, int BaudRate, Parity Parity, int DataBits, StopBits StopBits)
        {
            // Create Serial Port
            SerialPort sp = new SerialPort(ComPort, BaudRate, Parity, DataBits, StopBits);

            // Convert Hex Command into bytes
            byte[] HexBytes = HexStringConverter.ToByteArray(HexCommand);

            // Open serial port
            sp.Open();

            // send out the bytes
            sp.Write(HexBytes, 0, HexBytes.Length);

            // clean up
            sp.Close();
        }
    }
    /// <summary>
    /// Converts Hex Strings 
    /// </summary>
    static class HexStringConverter
    {
        /// <summary>
        /// Converts Hex Strings to byte arrays
        /// </summary>
        /// <param name="HexString">Hex number in string format</param>
        /// <returns>byte array</returns>
        public static byte[] ToByteArray(string HexString)
        {
            // Get HexString Length
            int NumberChars = HexString.Length; 
            
            // The Hex numbers come in pairs of 2 like "DF"
            // so the length of the byte array will naturally
            // be half the length of the hex string
            byte[] bytes = new byte[NumberChars / 2];

            // Loop through the hex numbers converting each character pair to byte
            for (int i = 0; i < NumberChars; i += 2)
            {
                bytes[i / 2] = Convert.ToByte(HexString.Substring(i, 2), 16);
            } 
            return bytes;
        }
    }
}
  

Top
#54187 - 08/05/08 05:29 PM Re: RS-232 Protocol for the technically inclined
Humanzee Offline
Deputy Gunslinger

Registered: 08/04/08
Posts: 2
Loc: Seattle
I appreciate the recommendation for CQC, however, after reviewing that product and my budget some time ago I came to the conclusion that I would lean towards open source applications for my automation. In that regard, has anybody looked into developing a plug-in for EventGhost ? EventGhost is a free and open-source automation tool for MS Windows, that can be extended through plug-ins. There are already serial plug-ins for other receivers so I imagine that a plug-in for the 990 is quite do-able.

I would attempt this myself however, I am better at testing than programing. smile Of course I could set up IR commands for the 990 in EventGhost but I think that serial port control would be better.

For home automation I am using software called vcrib . It's free also but not yet open. I'm helping test and develop features there and have talked with the author about adding EventGhost support to extend the device compatibility of that product past lighting and simple appliance control. It already has an IR module but it is not as robust as EventGhost.

Anyway, I was hoping that one of you geniuses might be interested in taking a look at an open source method of serial control for the 990 so that we could all benefit.

Also can somebody post the entire command communication protocol with check sums so that we all don't have to repeat the math.

Thanks,
-Humanzee

Top
#54188 - 09/09/08 02:59 PM Re: RS-232 Protocol for the technically inclined
Club Chapin Offline
Gunslinger

Registered: 12/28/03
Posts: 30
I just purchased a Pronto TSU9600. Does anyone know there is a pronto script for this remote, either Outlaw provided or User created?

At the beginning of this thread I see a reference to crestron and amx interfaces. Are these posted somewhere that they can be downloaded?

Also, in this thread there is discussion about discreet surround mode selection via 232. It is not listed in the 990 protocol. There is speculation that it could be added. Has this been added in 990 updates? I've fallen behind as my cinema has been offline for 1.5 years.

It does exist in the Sherwood protocol and someone suggests trying those commands, but there is no confirmation whether these were tried or not.

Has anyone tried the Sherwood discreet surround commands and did they work or not?

There are a few references to these. Does anyone know where these can be found?

Thanks, Pete

Top
#54189 - 10/17/08 09:39 PM Re: RS-232 Protocol for the technically inclined
Humanzee Offline
Deputy Gunslinger

Registered: 08/04/08
Posts: 2
Loc: Seattle
Hex codes with check sums

834501C9 = Power On
834502CA = Standby On
834503CB = TUNER input select
834504CC = CD input select
834505CD = AUX input select
834506CE = PHONO input select
834507CF = DVD input select
834508D0 = VCR1 input select
834509D1 = VCR2 input select
83450aD2 = VCR3 input select
83450bD3 = VCR4 input select
83450cD4 = VCR5 input select
83450dD5 = TAPE input select
83450eD6 = 7.1ch direct input select On/Off
83450fD7 = Master volume up
834510D8 = Master volume down
834511D9 = Main mute On/Off
834515DD = OSD On/Off
834517DF = Cursor move up
834518E0 = Cursor move down
834519E1 = Cursor move left
83451aE2 = Cursor move right
83451bE3 = Sleep On, sleep time adjust and Off
83451cE4 = System display dimmer, Off and On
83451fE7 = Test tone
834526EE = Digital/Analog input select
834527EF = Select Stereo mode
834528F0 = Surround mode select up.
834529F1 = Surround mode select down
83452fF7 = Tuner preset No.0
834530F8 = Tuner preset No. 1
834531F9 = Tuner preset No. 2
834532FA = Tuner preset No. 3
834533FB = Tuner preset No. 4
834534FC = Tuner preset No. 5
834535FD = Tuner preset No. 6
834536FE = Tuner preset No. 7
834537FF = Tuner preset No. 8
834538100 = Tuner preset No. 9
834539101 = Tuner preset scan
83453a102 = Tuner preset up
83453b103 = Tuner preset down
83453c104 = Tuner tune up
83453d105 = Tuner tune down
83453e106 = OSD Enter
83453f107 = Multi-Room On/Off
834541109 = Multi-Room volume up
83454210A = Multi-Room volume down
83454310B = Multi-Room mute On/Off
83454410C = Mutli-Room TUNER input select
83454510D = Multi-Room CD input select
83454610E = Mutli-Room AUX input select
83454710F = Multi-Room PHONO input select
834548110 = Multi-Romm DVD input select
834549111 = Multi-Room VIDEO1 input select
83454a112 = Multi-Room VIDEO2 input select
83454b113 = Multi-Room VIDEO3 input select
83454c114 = Multi-Room VIDEO4 input select
83454d115 = Multi-Room VIDEO5 input select
83455311B = Event request (In the case of check sum error, etc.)
83455411C = Master Volume Level : Low (-40dB)
83455511D = Master Volume Level : Middle (-10dB)
83455611E = Master Volume Level : High (+5dB)

Top
#54190 - 11/14/08 04:52 PM Re: RS-232 Protocol for the technically inclined
Robert_Davi Offline
Deputy Gunslinger

Registered: 11/13/08
Posts: 1
Loc: San Jose
Ok I read all the post on this issue and I think I have a handle on it. I started to add 131 (Hex = 83) to 69 (hex = 45) to the number in the PDF for the code I want.. All went well till… I got to tuner preset 9. The hex is 38 the decimal of that is 56. When I add 131 + 69 + 56 I get 256. The hex of that is 100 and every hex check sum after that are 3 digits. What do I put down as mu check sum, 100, or 10, or 00? Please let me know.

Issue two, I will need real time feedback has any one actually gotten this to work? What am I looking for to pars out? I am working with Creston. Any input would be great.
_________________________
Make it simple. Make it work.

Top
#54191 - 01/08/09 10:17 PM Re: RS-232 Protocol for the technically inclined
deanb Offline
Deputy Gunslinger

Registered: 05/12/05
Posts: 8
Fixed for wrap-around after FF checksum.

Quote:
Originally posted by Humanzee:
Hex codes with check sums

834501C9 = Power On
834502CA = Standby On
834503CB = TUNER input select
834504CC = CD input select
834505CD = AUX input select
834506CE = PHONO input select
834507CF = DVD input select
834508D0 = VCR1 input select
834509D1 = VCR2 input select
83450aD2 = VCR3 input select
83450bD3 = VCR4 input select
83450cD4 = VCR5 input select
83450dD5 = TAPE input select
83450eD6 = 7.1ch direct input select On/Off
83450fD7 = Master volume up
834510D8 = Master volume down
834511D9 = Main mute On/Off
834515DD = OSD On/Off
834517DF = Cursor move up
834518E0 = Cursor move down
834519E1 = Cursor move left
83451aE2 = Cursor move right
83451bE3 = Sleep On, sleep time adjust and Off
83451cE4 = System display dimmer, Off and On
83451fE7 = Test tone
834526EE = Digital/Analog input select
834527EF = Select Stereo mode
834528F0 = Surround mode select up.
834529F1 = Surround mode select down
83452fF7 = Tuner preset No.0
834530F8 = Tuner preset No. 1
834531F9 = Tuner preset No. 2
834532FA = Tuner preset No. 3
834533FB = Tuner preset No. 4
834534FC = Tuner preset No. 5
834535FD = Tuner preset No. 6
834536FE = Tuner preset No. 7
834537FF = Tuner preset No. 8
83453800 = Tuner preset No. 9
83453901 = Tuner preset scan
83453a02 = Tuner preset up
83453b03 = Tuner preset down
83453c04 = Tuner tune up
83453d05 = Tuner tune down
83453e06 = OSD Enter
83453f07 = Multi-Room On/Off
83454109 = Multi-Room volume up
8345420A = Multi-Room volume down
8345430B = Multi-Room mute On/Off
8345440C = Mutli-Room TUNER input select
8345450D = Multi-Room CD input select
8345460E = Mutli-Room AUX input select
8345470F = Multi-Room PHONO input select
83454810 = Multi-Romm DVD input select
83454911 = Multi-Room VIDEO1 input select
83454a12 = Multi-Room VIDEO2 input select
83454b13 = Multi-Room VIDEO3 input select
83454c14 = Multi-Room VIDEO4 input select
83454d15 = Multi-Room VIDEO5 input select
8345531B = Event request (In the case of check sum error, etc.)
8345541C = Master Volume Level : Low (-40dB)
8345551D = Master Volume Level : Middle (-10dB)
8345561E = Master Volume Level : High (+5dB)

Top
#54192 - 01/24/09 06:18 PM Re: RS-232 Protocol for the technically inclined
syrotchen Offline
Deputy Gunslinger

Registered: 01/23/09
Posts: 5
Loc: texas
I've written a complete module for the 990 its posted in crestron forum on yahoo groups. To answer your question, if I remember correctly the checksum is only one byte, which means you drop the overflow. In other words if your calc produces a 123 sum, the checksum value is 23. Please note there is an error in the documentation on the checksum the 990 sends back to you, so if your checking it, you'll need to look at the data it sends and verify it. I can't remember if it included one more byte or it containted one less byte. Just look at both ways and you should be able to determine it quickly, or you can look at my module at groups.yahoo.com and search for crestron.

Top
Page 8 of 8 < 1 2 3 4 5 6 7 8

Who's Online
0 registered (), 871 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Newest Members
audio123, Dustin _69c10, Dain, REP, caffeinated
8717 Registered Users
Top Posters (30 Days)
The Wyrm 3
butchgo 2
FAUguy 2
kiwiaudio 1
Forum Stats
8,717 Registered Members
88 Forums
11,331 Topics
98,708 Posts

Most users ever online: 1,171 @ Today at 03:40 AM