{"id":7534,"date":"2020-01-27T10:55:46","date_gmt":"2020-01-27T18:55:46","guid":{"rendered":"https:\/\/www.dognmonkey.com\/techs\/?p=7534"},"modified":"2021-03-19T11:06:22","modified_gmt":"2021-03-19T18:06:22","slug":"rotary-encoder-for-android-tv-box","status":"publish","type":"post","link":"https:\/\/www.dognmonkey.com\/techs\/rotary-encoder-for-android-tv-box.html","title":{"rendered":"Rotary Encoder for Android TV Box"},"content":{"rendered":"<p><script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.3\/jquery.min.js\"><\/script><script src=\"\/idogjs\/swipebox\/src\/js\/swipebox.min.js\"\"><\/script><script src=\"\/idogjs\/swipebox\/lib\/ios_fix.min.js\" \"><\/script><script src=\"\/idogjs\/swipebox\/src\/js\/swipe_l2.js\" \"><\/script><link rel=\"stylesheet\" href=\"\/idogjs\/swipebox\/src\/css\/swipebox_title.min.css\"><br \/>\n<em>I&#8217;ve been looking for a rotary encoder to navigate my Android TV Box for my Audi MMI 2G Apple CarPlay and Android Auto. I found a rotary encoder using digitspark attiny85 on <a href=\"https:\/\/www.thingiverse.com\/thing:2970774\" target=\"_blank\" rel=\"noopener noreferrer\">thingverse.com called the knob<\/a>. I modified the codes to get it working. It doesn&#8217;t seem to work on Mac due to usb driver, I used Windows which works flawlessly. We need to <a href=\"http:\/\/digistump.com\/wiki\/digispark\/tutorials\/connecting\" target=\"_blank\" rel=\"noopener noreferrer\">setup driver<\/a> and <a href=\"https:\/\/www.arduino.cc\/en\/main\/software\" target=\"_blank\" rel=\"noopener noreferrer\">Arduino IDE<\/a> for the board. I&#8217;ve been building the <a href=\"https:\/\/www.dognmonkey.com\/audi\/apple-carplay-for-audi-mmi-2g.html\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-blue w3-round-xlarge\">Apple CarPlay and Android Auto for my Audi MMI 2G.<\/button><\/a><\/em><\/p>\n<p style=\"text-align: center;\"><em><a href=\"https:\/\/github.com\/dognmonkey\/KY-040-Rotary-Encoder-for-Android-TV-Box\/tree\/master\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-green w3-round-xlarge\">You can download the sketch here.<\/button><\/a><\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><a class=\"swipebox\" title=\"Pins_assignment\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/z_digitspark.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7536\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/z_digitspark-200x112.jpg\" alt=\"Pins_assignment\" width=\"200\" height=\"112\" \/><\/a> <a class=\"swipebox\" title=\"Pins_definition\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/z_digitspark1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7537\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/z_digitspark1-200x112.jpg\" alt=\"pins_definition\" width=\"200\" height=\"112\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been looking for a rotary encoder to navigate my Android TV Box for my Audi MMI 2G Apple CarPlay and Android Auto. I found a rotary encoder using digitspark attiny85 on thingverse.com called the knob. I modified the codes to get it working. It doesn&#8217;t seem to work on Mac due to usb driver, <a href=\"https:\/\/www.dognmonkey.com\/techs\/rotary-encoder-for-android-tv-box.html\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":7540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[493],"tags":[1244,1349,1348],"class_list":["post-7534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-7-1-2","tag-digitspark-attiny85","tag-ky-040"],"views":1317,"_links":{"self":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/comments?post=7534"}],"version-history":[{"count":3,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7534\/revisions"}],"predecessor-version":[{"id":7987,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7534\/revisions\/7987"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media\/7540"}],"wp:attachment":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media?parent=7534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/categories?post=7534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/tags?post=7534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}