Author Topic: Control A/V Rotel RS232  (Read 3270 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Control A/V Rotel RS232
« on: February 27, 2006, 11:06:56 pm »
HI
I've got a A/V amplifier and a DVD from Rotel with a RS232 interface. I saw design template for Denon but Rotel for control their appliances uses hexadecimal character. For example to implement Power ON the code is:
0xFE 0x03 0xC3 0x75 etc .How can I write these 'control char' in a DCE device?
Thank you for your suggentions!!
gillen

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Control A/V Rotel RS232
« Reply #1 on: March 01, 2006, 11:01:12 am »
Many of Denon devices are implemented as "Generic Serial Device" which has a very powerfull interface, but for small things like yours there is a simplified syntax.

Take a look for example at Denon DVD-A11 (just add it as a device, got Wizard->Devices->Generic Serial Devices" and click on "Ruby source Code", you can delete it later, after you see how it's done there).

You'll see on ON command something like
Quote
<$"PWON\r"$>

Which practically means send that string.

In your case you can write something like
Quote
<$"\xFE\x03\xC3\x75"$>


Hope this helps.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Problem solved
« Reply #2 on: March 03, 2006, 03:45:25 pm »
Hi
thank you for your suggestions, problem solved
gillen