{"id":214,"date":"2018-04-06T16:59:56","date_gmt":"2018-04-06T22:59:56","guid":{"rendered":"http:\/\/www.infinitewave.ca\/IWBlog\/?p=214"},"modified":"2018-04-06T17:08:35","modified_gmt":"2018-04-06T23:08:35","slug":"the-a-b-channels","status":"publish","type":"post","link":"https:\/\/www.infinitewave.ca\/IWBlog\/2018\/04\/06\/the-a-b-channels\/","title":{"rendered":"The A &#038; B Channels"},"content":{"rendered":"<figure id=\"attachment_260\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 650px\"><a href=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-260 size-large\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB-1024x272.jpg\" alt=\"\" width=\"640\" height=\"170\" srcset=\"https:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB-1024x272.jpg 1024w, https:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB-300x80.jpg 300w, https:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB-768x204.jpg 768w, https:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/AB-1920x511.jpg 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption class=\"caption wp-caption-text\">The A &amp; B Channels Schematic<\/figcaption><\/figure>\n<p>The A &amp; B channels are identical. The A channel feeds digits to the Tape Time display, and the B channel feeds digits to the Locate Time display.<\/p>\n<p>Unlike the three line S channel, these are four line channels, or four bits if you like, meaning they can generate 16 different combinations of ones and zeroes. The circuit has the same pull-up and spark protection as the S channel, as well as the same\u00a0Hex Schmitt-Trigger Inverters. The four lines then enter IC2 on the A channel and IC6 on the B channel. These are SN74LS247N chips, which are BCD to Seven Segment Decoder\/Driver chips. They take binary-coded decimal (BCD) inputs on four lines and drive a display. We are all familiar with a seven segment display, whether we know the name or not. It looks like this:<\/p>\n<p><a href=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-272\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/8.png\" alt=\"\" width=\"36\" height=\"63\" \/><\/a><\/p>\n<p>The seven segments start at the top, go around the display clock-wise, and end with the middle segment. They are given the designations a, b, c, d, e, f, and g. Let&#8217;s say you wanted to make the display show the number one. You would probably turn on the two segments on the right-hand side (b and c) and turn all of the other ones off, giving you this:<\/p>\n<p><a href=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-265\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/1.png\" alt=\"\" width=\"36\" height=\"63\" \/><\/a><\/p>\n<p>Based on our input, this particular chip provides the following outputs:<\/p>\n<table  class=\" table table-hover\" style=\"text-align: center;\" border=\"1\" cellpadding=\"3\">\n<tbody>\n<tr>\n<th colspan=\"4\" scope=\"col\" width=\"15%\">A or B Input<\/th>\n<th colspan=\"4\" scope=\"col\" width=\"15%\">Inverter Output<\/th>\n<th colspan=\"2\" scope=\"col\">Decoder\/Driver Output<\/th>\n<\/tr>\n<tr style=\"text-weight: bold;\">\n<td><strong>A3<\/strong><\/td>\n<td><strong>A2<\/strong><\/td>\n<td><strong>A1<\/strong><\/td>\n<td><strong>A0<\/strong><\/td>\n<td><strong>A3<\/strong><\/td>\n<td><strong>A2<\/strong><\/td>\n<td><strong>A1<\/strong><\/td>\n<td><strong>A0<\/strong><\/td>\n<td><strong>Display<\/strong><\/td>\n<td><strong>Value<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/0.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/1.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/2.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/3.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/4.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/5.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/6.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/7.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/8.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/9.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>9<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/10.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/11.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/12.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/13.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/14.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-264\" src=\"http:\/\/www.infinitewave.ca\/IWBlog\/wp-content\/uploads\/2018\/04\/15.png\" alt=\"\" width=\"18\" height=\"32\" \/><\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Not much useful after the number 9, and I doubt the MTR-12 is using any of those.<\/p>\n<p>Everything that happens in the circuit after this chip is actually irrelevant to us, so I am just going to ignore it all.<\/p>\n<p>If I do what I did with the S channel, and remove all of the stuff in between the input and the useful information, I get this:<\/p>\n<table  class=\" table table-hover\" style=\"text-align: center;\" border=\"1\" cellpadding=\"3\">\n<tbody>\n<tr>\n<th colspan=\"4\" scope=\"col\" width=\"15%\">A or B Input<\/th>\n<th rowspan=\"2\" scope=\"col\">Value<\/th>\n<\/tr>\n<tr style=\"text-weight: bold;\">\n<td><strong>A3<\/strong><\/td>\n<td><strong>A2<\/strong><\/td>\n<td><strong>A1<\/strong><\/td>\n<td><strong>A0<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>9<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>0<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<td>&#8212;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>I did a little bit of analysis with my scope on the S Channel timing. The MTR-12 seems to be changing the state of the S Channel every 640 \u00b5sec or so. This means it is changing the state approximately 1575 times per second. That&#8217;s faster than I would have thought necessary, meaning every digit is getting updated almost 200 times per second. I guess that is useful when in fast rewind, or fast forward though, as the machine does move pretty fast in those modes. This also means that I have to keep my Arduino code lean enough so that it is long done any processing in a span of less than 640 \u00b5sec. I&#8217;m not sure if that will be challenging or not. I will have to do some measurements.<\/p>\n<p>The first digit activated by the S Channel is the Sign Digit. On the MTR-12, this is just a minus sign that shows up if you rewind to a point earlier than the point you have marked as zero. I&#8217;m not entirely sure what the MTR-12 will be sending for this. It looks like it only has the middle segment (g) connected on that display, so maybe the machine will be sending it a regular digit that doesn&#8217;t have the g segment lit, like a 0, 1 or 7, for no sign, and any of the other ones for the &#8211; sign. I am going to make a guess that it is probably a 1 for no sign and a 2 for the &#8211; sign.<\/p>\n<p>Time to do some experimentation, and some measurements for timing.\u00a0 Stay tuned&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The A &amp; B channels are identical. The A channel feeds digits to the Tape Time display, and the B channel feeds digits to the Locate Time display. Unlike the three line S channel, these are four line channels, or four bits if you like, meaning they can generate 16 different combinations of ones and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-mtr"],"_links":{"self":[{"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":24,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/posts\/214\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitewave.ca\/IWBlog\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}