{"componentChunkName":"component---src-templates-blog-post-js","path":"/2020/06/monoprice-31028-rs232","result":{"data":{"markdownRemark":{"id":"0cc01885-45bd-5f03-ae66-3c28bbb99552","html":"<h2>Installation Amplifier</h2>\n<p>The <a href=\"https://www.monoprice.com/product?p_id=31028\">Monoprice 31028</a> is a 6 zone, 12 channel installation amplifier that is very powerful and versatile. Unlike its big brother the <a href=\"https://www.monoprice.com/product?p_id=10761\">Monoprice 10761</a>, there are no wall controllers to configure the state of the channels. So in order to set the volume, balance, or EQ of a channel, RS232 is a requirement*.</p>\n<p><em>*The 31028 also supports IR control, but the controller must be physically rewired per zone and provides no feedback. So you could, in theory, change the volume settings, but would have no feedback as to what the current volume is...</em></p>\n<h2>Monoprice 31028 pinout</h2>\n<p>So RS232 control is a MUST, but how is it configured? Thankfully, both amplifiers at the very least have the same pinout, with this image taken straight from the <a href=\"https://downloads.monoprice.com/files/manuals/31028_Manual_180731.pdf\">Monoprice 31028 user guide</a>:</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 1140px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/e934457df4653c1b46f13e1cbd57779a/ce0a7/31028_rs232_pinout.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 45.26315789473684%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAABYlAAAWJQFJUiTwAAABSklEQVQoz5VR207CUBDs35L4QvwTQ1ARiUQTow/G+CE8QNUWJEC4tEDvlF4It5HZ5DQ++MImk92d7pmd06PNZjP0+30Mh0OYpolWqyW9rutI0xT/xfF4lByGIXzfRxAEWEUr4TWSlmVhMpmA4tPpVDK5JEmw2Wyw3W4FrPf7fSHsOI4s7/V+pBZBz/MwGo0wn89h2zbG43EhTp4H2A8GA0EcxyJ2OBwkZ1mGPM8L5yLIQeWKghRnJrdYLIqe37l0t9uJgOf54ppLWDM03p92OUgBHlZuyS+XSxFVC/nPGLx6kqSI12tEUSQuuUijdQUSHCQUp/q/PMPs9vD88oraXR31egNv7x/onjgNZ4Z6YcMwcXNbw0WphMtyGY2HJgyzC40D50A5bLc7uG8+4qpSRaV6jUbzCR398zyHSpThui6+vg25OsHaPT3wL0T7oxxmeZSVAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Monoprice 31028 pinout\"\n        title=\"Monoprice 31028 pinout\"\n        src=\"/static/e934457df4653c1b46f13e1cbd57779a/b5cea/31028_rs232_pinout.png\"\n        srcset=\"/static/e934457df4653c1b46f13e1cbd57779a/0e2fe/31028_rs232_pinout.png 285w,\n/static/e934457df4653c1b46f13e1cbd57779a/432e7/31028_rs232_pinout.png 570w,\n/static/e934457df4653c1b46f13e1cbd57779a/b5cea/31028_rs232_pinout.png 1140w,\n/static/e934457df4653c1b46f13e1cbd57779a/ce0a7/31028_rs232_pinout.png 1590w\"\n        sizes=\"(max-width: 1140px) 100vw, 1140px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<h2>RS232 protocol</h2>\n<p>While both amplifiers have the same pinout, it turns out that their protocols are incompatible. Full details of the 10761 protocol can be found in the <a href=\"https://downloads.monoprice.com/files/manuals/10761_Manual_131209.pdf\">Monoprice 10761 user guide</a>.</p>\n<p>For example, to query the volume of zone 1 on the 10761, this command is sent:</p>\n<p><code>?11VO&#x3C;CR></code> (hex <code>3f 31 31 56 4f 0d</code>)</p>\n<p>While on the 31028, the same command looks like this:</p>\n<p><code>?1VO+</code> (hex <code>3f 31 56 4f 2b</code>)</p>\n<p>Note that the 10761 commands are terminated by a carriage return, while the 31028 commands are not.</p>\n<p>More importantly, and this stumped for a while: the 10761 will echo back command characters whereas the 31028 <em>does not echo back command characters</em>. This caused me to question whether I had wired my serial cables correctly for quite some time as I can open a telnet session to the 10761 (through my digi terminal server) and type in commands, hit enter, and get responses back. For the 31028, typing in commands results in no visible feedback, and as the carriage return is not part of protocol there is not even an \"unknown command\" type error reported.</p>\n<h2>Key Points</h2>\n<ol>\n<li>The Monoprice 10761 and 31028 use the same serial pinout</li>\n<li>The devices use completely different protocols</li>\n<li>The Monoprice 31028 does not echo back characters, and is otherwise silent unless it receives a complete and valid command</li>\n</ol>","frontmatter":{"date":"2020-06-25T12:13:10.000Z","humanDate":"June 25, 2020","title":"Monoprice 31028 RS232","description":"Why does the RS232 connection of the Monoprice 31028 not work?","tags":["home automation","debugging"],"affiliate":null,"featuredimage":{"childImageSharp":{"fluid":{"base64":"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAHABQDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAQF/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAABukDUB//EABcQAQEBAQAAAAAAAAAAAAAAAAMBABL/2gAIAQEAAQUCRFlrrMHdP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8BP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8BP//EABoQAQACAwEAAAAAAAAAAAAAAAEAMQIDIVH/2gAIAQEABj8CQx57Lg7LZ//EABkQAQADAQEAAAAAAAAAAAAAAAEAESFR8f/aAAgBAQABPyE6AHLTxEbUOhXJ/9oADAMBAAIAAwAAABDwD//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQMBAT8QP//EABQRAQAAAAAAAAAAAAAAAAAAABD/2gAIAQIBAT8QP//EABoQAQADAQEBAAAAAAAAAAAAAAEAESFRMUH/2gAIAQEAAT8QW3wAKndZb3Suiis/yBS8M+z/2Q==","aspectRatio":2.85,"src":"/static/208a0ff1c6edd45b6b7f576773f6200f/a685d/310281.jpg","srcSet":"/static/208a0ff1c6edd45b6b7f576773f6200f/f0ee2/310281.jpg 285w,\n/static/208a0ff1c6edd45b6b7f576773f6200f/4b42b/310281.jpg 570w,\n/static/208a0ff1c6edd45b6b7f576773f6200f/a685d/310281.jpg 1140w,\n/static/208a0ff1c6edd45b6b7f576773f6200f/a420f/310281.jpg 1200w","sizes":"(max-width: 1140px) 100vw, 1140px"}}}}}},"pageContext":{"id":"0cc01885-45bd-5f03-ae66-3c28bbb99552","slug":"/2020/06/monoprice-31028-rs232"}}}