{"id":706,"date":"2016-01-12T20:46:28","date_gmt":"2016-01-12T20:46:28","guid":{"rendered":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2016\/01\/12\/handshaking\/"},"modified":"2016-01-12T20:46:28","modified_gmt":"2016-01-12T20:46:28","slug":"handshaking","status":"publish","type":"post","link":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2016\/01\/12\/handshaking\/","title":{"rendered":"Handshaking!"},"content":{"rendered":"<p>An update is well overdue. I&#8217;ve managed to lose another post as well, but it was pretty much a &#8216;I&#8217;m still on with it&#8217; post. I had a hard lock up whilst running the TERMINAL program and couldn&#8217;t clear it with the RESET button, so I had to pull the batteries and switch off the backup battery thus clearing the memory of all files.<\/p>\n<p>I was waiting for a dsub-25 male connector to arrive in the post up until a couple of days ago as I couldn&#8217;t get a cable made up with the various connectors I have lying around. As you can see from the photos attached to this post I decided to use a piece of breadboard to try and determine the correct connections for the RS\/232 cable. Initially I tried a full hardware handshake cable, but I think I&#8217;m missing the mark of what I need.<\/p>\n<p>I have got comms working between the ESP8266 module and the Tandy 200, but it&#8217;s far from perfect. Even at 300 baud I&#8217;m getting characters dropped. Having looked at various version of null-modem cables I&#8217;ve come to the conclusion that I&#8217;m going to have to implement software flow control within my ESP8266 lua program. For some reason I was missing the obvious issue that the MAX232 module I&#8217;m using is only connected to the ESP8266 module with TX\/RX lines, so there is no way in which this end could implement hardware flow control.<\/p>\n<p>The issues I&#8217;ve had with the Tandy 200 talking I think are down to the fact that the Tandy does require hardware flow control to be implemented even if it&#8217;s a case of looping back signals to satisfy Clear to Send\/Ready to Send.<\/p>\n<p>Next steps then are to look a bit more in to hardware versus software flow control and implement XON\/XOFF in my telnet client on the ESP8266.<\/p>\n<p><a href=\"http:\/\/bit.ly\/1PpT6KQ\">Image Gallery<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An update is well overdue. I&#8217;ve managed to lose another post as well, but it was pretty much a &#8216;I&#8217;m still on with it&#8217; post. I had a hard lock up whilst running the TERMINAL program and couldn&#8217;t clear it with the RESET button, so I had to pull the batteries and switch off the &#8230;<\/p>\n<p><a href=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2016\/01\/12\/handshaking\/\" class=\"more-link\">Continue reading &lsquo;Handshaking!&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Handshaking!","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[43],"class_list":["post-706","post","type-post","status-publish","format-standard","hentry","category-general","tag-rc201601"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p73JhD-bo","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts\/706"}],"collection":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":0,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}