{"id":5866,"date":"2023-07-15T18:18:33","date_gmt":"2023-07-15T16:18:33","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=5866"},"modified":"2023-07-16T09:37:52","modified_gmt":"2023-07-16T07:37:52","slug":"arduino-uno-r4-vs1053-mp3-shield","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/","title":{"rendered":"Arduino Audio Tools: UNO R4 &#038; VS1053 MP3 Shield"},"content":{"rendered":"<p>Today I was receiving my ordered <strong>VS1053 MP3 Shield<\/strong> and I was curious about it&#8217;s integration with my <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">Arduino Audio Tools Library<\/a> using the <strong>Arduino UNO R4<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno-300x276.jpg\" alt=\"\" width=\"300\" height=\"276\" class=\"alignnone size-medium wp-image-5867\" srcset=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno-300x276.jpg 300w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno-768x706.jpg 768w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg 894w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3>MP3 Streaming<\/h3>\n<p>The first thing I tried was the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/blob\/main\/examples\/examples-vs1053\/streams-url_mp3-vs1053\/streams-url_mp3-vs1053.ino\">MP3 Streaming sketch<\/a>. It was working &#8211; a kind of. Unfortunately the WIFI is providing the data <strong>not fast enough<\/strong>, so it is breaking up badly. What a disappointment: the same sketch is running perfectly on different ESP32 variants and the RP2040 Pico W.<\/p>\n<h3>Playing Audio with SD Library<\/h3>\n<p>Next I tried out the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/blob\/main\/examples\/examples-vs1053\/player-sd-vs1053\/player-sd-vs1053.ino\">Audio Player sketch<\/a> which uses the integrated SD card. The bad news here: the SD library only supports <strong>short file names<\/strong>, so my existing SD which contained long directory and file names did not work. I created a file with short names and that was working perfectly.<\/p>\n<h3>Playing Audio with SDFAT Library<\/h3>\n<p>So I tried the same it with the <a href=\"https:\/\/github.com\/greiman\/SdFat\">SDFAT library<\/a>. I had to create a <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/blob\/main\/examples\/examples-vs1053\/player-sdfat-vs1053\/player-sdfat-vs1053.ino\">new example<\/a> that shows how to set the SD up: for this use case it is critical to use SHARED_SPI! This was working like a charm also with <strong>long file names<\/strong>.<\/p>\n<h3>Conclusion<\/h3>\n<p>The combination Arduino <strong>UNO R4<\/strong>, <strong>VS1053 MP3 Shield<\/strong> with my <strong>AudioTools<\/strong> is a easy way to get into the world of audio processing! I just hope that the WIFI peformance can be improved in a future version &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was receiving my ordered VS1053 MP3 Shield and I was curious about it&#8217;s integration with my Arduino Audio Tools Library using the Arduino UNO R4. MP3 Streaming The first thing I tried was the MP3 Streaming sketch. It was working &#8211; a kind of. Unfortunately the WIFI is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5867,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[20,22],"tags":[44],"class_list":["post-5866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound","tag-uno"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arduino Audio Tools: UNO R4 &amp; VS1053 MP3 Shield - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino Audio Tools: UNO R4 &amp; VS1053 MP3 Shield - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"Today I was receiving my ordered VS1053 MP3 Shield and I was curious about it&#8217;s integration with my Arduino Audio Tools Library using the Arduino UNO R4. MP3 Streaming The first thing I tried was the MP3 Streaming sketch. It was working &#8211; a kind of. Unfortunately the WIFI is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-15T16:18:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-16T07:37:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"894\" \/>\n\t<meta property=\"og:image:height\" content=\"822\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Arduino Audio Tools: UNO R4 &#038; VS1053 MP3 Shield\",\"datePublished\":\"2023-07-15T16:18:33+00:00\",\"dateModified\":\"2023-07-16T07:37:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/\"},\"wordCount\":236,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/vs1051uno.jpg\",\"keywords\":[\"UNO\"],\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/\",\"name\":\"Arduino Audio Tools: UNO R4 & VS1053 MP3 Shield - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/vs1051uno.jpg\",\"datePublished\":\"2023-07-15T16:18:33+00:00\",\"dateModified\":\"2023-07-16T07:37:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/vs1051uno.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/vs1051uno.jpg\",\"width\":894,\"height\":822},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2023\\\/07\\\/15\\\/arduino-uno-r4-vs1053-mp3-shield\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino Audio Tools: UNO R4 &#038; VS1053 MP3 Shield\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arduino Audio Tools: UNO R4 & VS1053 MP3 Shield - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/","og_locale":"en_US","og_type":"article","og_title":"Arduino Audio Tools: UNO R4 & VS1053 MP3 Shield - Phil Schatzmann","og_description":"Today I was receiving my ordered VS1053 MP3 Shield and I was curious about it&#8217;s integration with my Arduino Audio Tools Library using the Arduino UNO R4. MP3 Streaming The first thing I tried was the MP3 Streaming sketch. It was working &#8211; a kind of. Unfortunately the WIFI is [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/","og_site_name":"Phil Schatzmann","article_published_time":"2023-07-15T16:18:33+00:00","article_modified_time":"2023-07-16T07:37:52+00:00","og_image":[{"width":894,"height":822,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg","type":"image\/jpeg"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Arduino Audio Tools: UNO R4 &#038; VS1053 MP3 Shield","datePublished":"2023-07-15T16:18:33+00:00","dateModified":"2023-07-16T07:37:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/"},"wordCount":236,"commentCount":2,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg","keywords":["UNO"],"articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/","url":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/","name":"Arduino Audio Tools: UNO R4 & VS1053 MP3 Shield - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg","datePublished":"2023-07-15T16:18:33+00:00","dateModified":"2023-07-16T07:37:52+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2023\/07\/vs1051uno.jpg","width":894,"height":822},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2023\/07\/15\/arduino-uno-r4-vs1053-mp3-shield\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Arduino Audio Tools: UNO R4 &#038; VS1053 MP3 Shield"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/5866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=5866"}],"version-history":[{"count":15,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/5866\/revisions"}],"predecessor-version":[{"id":5882,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/5866\/revisions\/5882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/5867"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=5866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=5866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=5866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}