{"id":17255,"date":"2020-07-26T09:07:18","date_gmt":"2020-07-26T07:07:18","guid":{"rendered":"http:\/\/cornay.co.za\/wp\/?p=17255"},"modified":"2020-07-26T09:07:18","modified_gmt":"2020-07-26T07:07:18","slug":"vintage-aircraft-controls-turned-usb-button-box-2","status":"publish","type":"post","link":"http:\/\/cornay.co.za\/wp\/2020\/07\/26\/vintage-aircraft-controls-turned-usb-button-box-2\/","title":{"rendered":"Vintage Aircraft Controls Turned USB Button Box"},"content":{"rendered":"<p>The Gables Engineering G-2789 audio selector panels aren&#8217;t good for much outside of the aircraft they were installed in, that is, until <a href=\"https:\/\/imgur.com\/a\/W4oCyuZ\" target=\"_blank\" rel=\"noopener noreferrer\">[MelkorsGreatestHits] replaced most of the internals with a Teensy 3.2<\/a>. Now they are multi-functional USB input devices for&#8230;well, whatever it is you&#8217;d do with a bunch of toggle switches and momentary push buttons hanging off your computer.<\/p>\n<figure id=\"attachment_423569\" aria-describedby=\"caption-attachment-423569\" style=\"width: 400px\" class=\"wp-caption alignright\"><a href=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" data-attachment-id=\"423569\" data-permalink=\"https:\/\/hackaday.com\/2020\/07\/25\/vintage-aircraft-controls-turned-usb-button-box\/gablesbuttons_detail\/\" data-orig-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg\" data-orig-size=\"1200,815\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"gablesbuttons_detail\" data-image-description=\"\" data-medium-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/gablesbuttons_detail.jpg\" data-large-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg?w=800\" class=\"size-medium wp-image-423569 lazyload\" data-src=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/gablesbuttons_detail.jpg\" alt=\"\" width=\"400\" height=\"272\" data-srcset=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg 1200w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg?resize=250,170 250w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg?resize=400,272 400w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_gablesbuttons_detail.jpg?resize=800,543 800w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/272;\" \/><\/a><figcaption id=\"caption-attachment-423569\" class=\"wp-caption-text\">Tracing wires from the panel switches.<\/figcaption><\/figure>\n<p>With the Teensy going its best impression of a USB game controller, the host operating system has access to seven momentary buttons, twelve toggles, and one rotary axis for the volume knob.<\/p>\n<p>Right now [MelkorsGreatestHits] says the code is set up so the computer sees a button press on each state change; in other words, the button assigned to the toggle switch will get &#8220;pressed&#8221; once when it goes up and again when it&#8217;s flicked back down. But of course that could be modified depending on what sort of software you wanted to interface the device with.<\/p>\n<p><a href=\"https:\/\/hackaday.com\/2018\/07\/24\/milspec-teardown-c-1282-chaff-controller\/\">As we&#8217;ve seen with other pieces of vintage aircraft instrumentation<\/a>, lighting on the G-2789 was provided by a series of incandescent bulbs that shine through the opaque front panel material. [MelkorsGreatestHits] replaced those lamps with white LEDs, but unfortunately the resulting light was a bit too harsh. As a quick fix, the LEDs received a few coats of yellow and orange paint until the light was more of an amber color. Using RGB LEDs would have been a nice touch, but you work with what you&#8217;ve got.<\/p>\n<p>This isn&#8217;t the first time that <a href=\"https:\/\/hackaday.com\/2019\/06\/13\/up-your-game-with-a-battle-tested-input-device\/\">[MelkorsGreatestHits] has turned an old aircraft cockpit module into a USB input device<\/a>, and we&#8217;re certainly interested in seeing what the next project will look like. Though we&#8217;re perhaps more interested in finding out where all all these old school airplane parts are coming from&#8230;<\/p>\n<p>source <a href=\"https:\/\/hackaday.com\/2020\/07\/25\/vintage-aircraft-controls-turned-usb-button-box\/\">https:\/\/hackaday.com\/2020\/07\/25\/vintage-aircraft-controls-turned-usb-button-box\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Gables Engineering G-2789 audio selector panels aren&#8217;t good for much outside of the aircraft they were installed in, that is, until [MelkorsGreatestHits] replaced most of the internals with a Teensy 3.2. Now they are multi-functional USB input devices for&#8230;well,<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/cornay.co.za\/wp\/2020\/07\/26\/vintage-aircraft-controls-turned-usb-button-box-2\/\">Read more <span class=\"screen-reader-text\">Vintage Aircraft Controls Turned USB Button Box<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-17255","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/comments?post=17255"}],"version-history":[{"count":1,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17255\/revisions"}],"predecessor-version":[{"id":17261,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17255\/revisions\/17261"}],"wp:attachment":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/media?parent=17255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/categories?post=17255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/tags?post=17255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}