{"id":17054,"date":"2022-07-12T23:42:25","date_gmt":"2022-07-13T03:42:25","guid":{"rendered":"https:\/\/scruss.com\/blog\/?p=17054"},"modified":"2022-07-23T10:37:11","modified_gmt":"2022-07-23T14:37:11","slug":"it-works-it-works","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2022\/07\/12\/it-works-it-works\/","title":{"rendered":"It works! It works!"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1008\" height=\"752\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/miditastic.jpg\" alt=\"on a messy desk, a small USB midi keyboard is connected to a Korg NTS-1 mini synthesizer via a small micro-controller board that acts as a USB host for the Akai keyboard, converting USB MIDI to traditional MIDI for the Korg\" class=\"wp-image-17055\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/miditastic.jpg 1008w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/miditastic-320x239.jpg 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/miditastic-160x119.jpg 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/miditastic-768x573.jpg 768w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><figcaption>Akai LPK25 keyboard has USB MIDI out, but the Korg NTS-1 only has regular MIDI in. The little board in the middle acts as a USB host for the Akai and MIDI source for the Korg<\/figcaption><\/figure>\n\n\n\n<p>This is great: <a href=\"https:\/\/github.com\/gdsports\/midiuartusbh\">gdsports\/midiuartusbh: MIDI DIN to MIDI USB Host Converter<\/a> allows your USB MIDI instruments to act as traditional MIDI controllers. It uses a <a href=\"https:\/\/www.adafruit.com\/product\/3500\">Adafruit Trinket M0<\/a> to act as the USB host and MIDI output.<\/p>\n\n\n\n<p>I modified gdsports&#8217; design very slightly:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Instead of using a 74AHCT125 Logic level converter and driver, I used a FET-based <a href=\"https:\/\/www.sparkfun.com\/products\/12009\">SparkFun Logic Level Converter<\/a><\/li><li>Instead of a 5-pin DIN socket, I used a 3.5 mm stereo socket.<\/li><\/ol>\n\n\n\n<p>And it works!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"492\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb-1024x492.png\" alt=\"breadboard showing Trinket M0 microcontroller board, logic level shifter, audio socket breakout and two resistors\" class=\"wp-image-17060\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb-1024x492.png 1024w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb-320x154.png 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb-160x77.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb-768x369.png 768w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2022\/07\/Trinket-M0-MIDI_Host_bb.png 1208w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Breadboard layout for MIDI-standard 3.5 mm output (Korg). The resistors are both 220 ohm, and the boards need 5 V power<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is great: gdsports\/midiuartusbh: MIDI DIN to MIDI USB Host Converter allows your USB MIDI instruments to act as traditional MIDI controllers. It uses a Adafruit Trinket M0 to act as the USB host and MIDI output. I modified gdsports&#8217; design very slightly: Instead of using a 74AHCT125 Logic level converter and driver, I used [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[3221,3106,229],"class_list":["post-17054","post","type-post","status-publish","format-standard","hentry","category-goatee-stroking-musing-or-something","tag-midi","tag-synth","tag-usb"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-4r4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/17054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=17054"}],"version-history":[{"count":3,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/17054\/revisions"}],"predecessor-version":[{"id":17061,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/17054\/revisions\/17061"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=17054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=17054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=17054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}