{"id":753,"date":"2017-04-01T15:46:49","date_gmt":"2017-04-01T22:46:49","guid":{"rendered":"http:\/\/zethus.ca\/wp\/?p=753"},"modified":"2017-04-03T19:10:15","modified_gmt":"2017-04-04T02:10:15","slug":"media-player","status":"publish","type":"post","link":"https:\/\/zethus.ca\/wp\/?p=753","title":{"rendered":"Media Player"},"content":{"rendered":"<p>This weekend&#8217;s project is to build a media player for use in a trailer when on vacation. \u00a0The requirements are:<a href=\"https:\/\/zethus.ca\/wp\/?attachment_id=754\" rel=\"attachment wp-att-754\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-754 size-medium alignright\" src=\"https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/IMG_2063-e1491085607438-300x289.jpg\" alt=\"\" width=\"300\" height=\"289\" srcset=\"https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/IMG_2063-e1491085607438-300x289.jpg 300w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/IMG_2063-e1491085607438-768x740.jpg 768w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/IMG_2063-e1491085607438-1024x986.jpg 1024w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/IMG_2063-e1491085607438-311x300.jpg 311w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<ol>\n<li>Runs on 12v<\/li>\n<li>Makes noise.<\/li>\n<li>Local Display<\/li>\n<li>Primitive controls<\/li>\n<\/ol>\n<p>So the simple way to do this is to use a <a href=\"https:\/\/www.raspberrypi.org\/products\/raspberry-pi-3-model-b\/\">raspberry pi<\/a> and a music player package. To make life simpler, a <a href=\"https:\/\/www.hifiberry.com\/products\/ampplus\/\">HifiBerry<\/a>\u00a0is used. It has a built in DAC and 2x25w class D amplifier built in. It also runs on 12V, powers the pi and is supported by <a href=\"https:\/\/volumio.org\/\">volumio<\/a>\u00a0and other packages (moode, rune etc) which are all derivatives, I think.<\/p>\n<p>The basic setup came up right away, with minimal configuring: Web server, sound, console on the <a href=\"http:\/\/www.ebay.ca\/itm\/HDMI-VGA-2AV-Driver-Board-Touch-Screen-Touch-Screen-Controller-7-800-480-LCD-\/181493377419?hash=item2a41d9298b:g:o88AAOSwDk5T6bGU\">7&#8243; display.<\/a><\/p>\n<p>Now the fun starts. \u00a0I want to replace the hdmi display with a smaller (eg\u00a0<strong>ILI9341<\/strong>\u00a0qvga) display, and use some buttons, and encoder to navigate and change volume, and shutdown etc.<\/p>\n<p>Update:<\/p>\n<p><a href=\"https:\/\/zethus.ca\/wp\/?attachment_id=760\" rel=\"attachment wp-att-760\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-760 size-medium\" src=\"https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/img_2066-e1491271642686-300x213.jpg\" alt=\"\" width=\"300\" height=\"213\" srcset=\"https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/img_2066-e1491271642686-300x213.jpg 300w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/img_2066-e1491271642686-768x546.jpg 768w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/img_2066-e1491271642686-1024x728.jpg 1024w, https:\/\/zethus.ca\/wp\/wp-content\/uploads\/2017\/04\/img_2066-e1491271642686-422x300.jpg 422w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>I&#8217;ve got the ILI9341 running using the <a href=\"https:\/\/learn.adafruit.com\/user-space-spi-tft-python-library-ili9341-2-8\/wiring\">adafruit<\/a>\u00a0driver and some python code (which kind of rubs me the wrong way as an embedded guy, but it does work). \u00a0Anyway here it a W.I.P:<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This weekend&#8217;s project is to build a media player for use in a trailer when on vacation. \u00a0The requirements are: Runs on 12v Makes noise. Local Display Primitive controls So the simple way to do this is to use a &hellip; <a href=\"https:\/\/zethus.ca\/wp\/?p=753\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=753"}],"version-history":[{"count":5,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":761,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/753\/revisions\/761"}],"wp:attachment":[{"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zethus.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}