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

Login:
Pass:
 
 

Topic:
Yamaha RX-A1050
This thread has 4 replies. Displaying all posts.
Post 1 made on Thursday August 18, 2016 at 15:59
FutureSystems
Lurking Member
Joined:
Posts:
October 2005
7
I want to control a RX-A1060 mute function via it's RS-232c connection.
To send the serial commands I am using a Hall Research HR-4 [Link: hallresearch.com] with null modem cable between the devices.

I am doing something wrong because after working on it for several days I cannot get the 1060 to respond.

To MUTE the receiver I am using the serial command of:
"@MAIN:MUTE=Off" without the quotes

I have confirmed that the HR4-P is sending the above command by using Termite. [Link: compuphase.com]

Port Settings:
Baud rate : 9600
Data bits : 8
Parity : No
Stop bit : 1 bit
Handshaking : None

What am I forgetting or doing wrong?
Thanks, Allen

Last edited by FutureSystems on August 18, 2016 16:11.
Allen
Post 2 made on Thursday August 18, 2016 at 23:11
buzz
Select Member
Joined:
Posts:
May 2003
2,086
Check line end terminator.
Post 3 made on Saturday August 20, 2016 at 14:26
buzz
Select Member
Joined:
Posts:
May 2003
2,086
I checked my documentation and verified that each command must be terminated with CR and LF. Also, you can bump into issues if commands follow too close together. 200ms is the recommended minimum spacing.
OP | Post 4 made on Thursday August 25, 2016 at 23:14
FutureSystems
Lurking Member
Joined:
Posts:
October 2005
7
buzz, you are so correct! SOLVED...


The Yamaha protocol that I saw didn't specifically state whether it needed a carriage return, or line feed.
I added both carriage return and line feed codes after the command as you suggested and wallah, it worked.

Thank you so much for your input.

Best,
Allen

This was a project to automatically mute the receiver when ever a phone rings or goes off-hook.
Allen
Post 5 made on Friday August 26, 2016 at 02:44
buzz
Select Member
Joined:
Posts:
May 2003
2,086
You are welcome.

Their documentation can be a bit scattered. On the first RX-Vxxxx RS-232 units one must strap pins 7 and 8 together on the receiver side. Not a Yamaha issue, but some early controllers required some strapping too, usually pins 3 and 4. This was inherited from the early data terminal days when mechanical devices at both ends of the cable would notify each other when they were ready. Now, virtually everything uses a 3-wire connection. In those early days one had to worry about overrunning the partner device on a character by character level. Now we have lots of memory and can buffer large blocks of data, however, in a two-way environment one must be sure that the other side has had enough time to execute a command, or things could get out of sync.

One can also run into some voltage issues because early devices insisted on a +/- voltage range, not the 0-5V range of integrated circuits. Modern RS-232 devices will operate with the 0-5V levels.

As is often the case, Wikipedia is rich with details.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse