Comments: Live Spotify Album Art Display

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #1732135 / about 2 years ago / 1

    The 64x64 board linked in the project wish list contains slightly different input pins than the board used in the tutorial. Specifically, the tutorial board has 5 inputs A through E, while the board from the wish list does not have the D input pin. Do you know where you got your LED matrix you used in this tutorial, or is there another way to adjust the set up to work for the board you linked? Thank you!!

  • Member #1716224 / about 2 years ago / 1

    This looks like a really awesome project, but unfortunately I have been unsuccessful in getting mine to work and this is really not my area of expertise. I added "client.setInsecure();" before all 3 of the "client.connect(host,port);" statements in SpotifyClient.cpp. However, now I get stuck in a loop of error 400 Bad Requests.

    grant_type=authorization_code&code=AQAywHxrEKmFZXDCY4SFd9ErLYjY65pjsinKDdOX0HpohH5JZ0ZkxDLo6_MlIEwjDaM1hartr8noe9_kg_A5-FRu-eO5DDmaJ9bTRKMhImkZPbn_-J5vnBzNCEmOSykuWacTsxfEQKbjMb70uj4dI8gYUkERsiuAF8rQo6c5IRcEinWgnJqpEcH2OKMsIt551vPJKimlGoXNN84AdeIqNdadB_Y2FPao_uW-Mq7QCP-R4sfJVA0oYVIqHnzijMonJqShV0Qt9YJjSFr09wQmr75zHQzN1321o2-JAReUoTa4qaDKN7w&redirect_uri=http%3A%2F%2Fesp32.local%2Fcallback%2F Refresh token: Access Token: Requesting URL: GET /v1/me/player/currently-playing HTTP/1.1 Host: api.spotify.com Authorization: Bearer Connection: close

    HTTP/1.1 400 Bad Request HTTP Code: 400

    Body starts now start document start document HREF: Requesting URL: GET /v1/me/player/currently-playing HTTP/1.1 Host: api.spotify.com Authorization: Bearer Connection: close

    HTTP/1.1 400 Bad Request HTTP Code: 400

    Any help would be greatly appreciated!!!

    • Member #1804515 / about a year ago / 1

      Hi, I'm having the same issue, did you ever figure this out?

  • Test67543 / about 3 years ago / 1

    Is a 5V/2A power supply sufficient for the 64x64 LED board? I'm concerned about this as the board's max power consumption is 18W. In this case, would it be best practice to use a wall adapter with a higher current rating?

  • Member #1675525 / about 3 years ago * / 1

    Thanks for nice description of a great project. I got everything working, but I had to swap 'green' end 'blue' in the 'display.drawPixelRGB888(x, y, red, green, blue);' statement to get the colors correct. Also, i had to add 'client.setInsecure()' statements in SpotifyClient.cpp just before each 'client.connect(host,port)' statement after updating to 1.0.6 Arduino core.

  • Member #1625960 / about 3 years ago / 1

    Perfect project! Everything works as described. Sometimes it fails to get an image but could be solved by reattempting I guess. Have you compiled this with VSC-Platformio? For me it gets errors.

  • Member #1547326 / about 4 years ago * / 1

    I've been uploading the code but get the error in my serial monitor that the connection is closed. Is it a possible issue with my ESP 32 Thing or an error with my LED board. I've purchased the specific items from Sparkfun but having an issue with the connections from the updated board model could be the main issue or my spotify client id may be disrupting the signal. Another issue that is also happening is at the very end of compiling, the error message I'm receiving is Hard Resetting via RTS pin. Any assistance would be greatly appreciated.

    • santaimpersonator / about 4 years ago / 1

      Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

  • Member #850831 / about 4 years ago / 1

    I do not have an identical 64X64 LED matrix that was used in the tutorial. I have followed the wiring diagram and have guessed the rest of the pins like it has been suggested by Engladsaurus, and I have not had luck. I do not see any of the LEDs lighting up. I have gotten the code to work on the ESP32 Thing so I do not know how to proceed. I have tried to follow other tutorials to see if the matrix is operational but they do not have any wiring for ESP32 Things. Could there be an update to the tutorial that is compatible with the matrices that are sold by Sparkfun, or a wiring/test code for the 64x64 matrices to see if the matrices work as they are supposed to?

    • santaimpersonator / about 4 years ago / 1

      Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

      That being said, we can't help you with other hardware. However, the tutorial was written for the matrix panel we sell and it is linked under the Required Materials section; here is the product link in case you are having trouble finding it.

      • Member #850831 / about 4 years ago / 1

        I bought the matrix through Sparkfun through the product link and they are not the same matrix. At least not anymore, maybe whenever this was first uploaded.

        • santaimpersonator / about 4 years ago / 1

          The back of the display may not match the picture perfectly due to changes by the manufacturer. However, there should still be an in and out 2x8 pin connector, direction indicated by arrows; as well as a 4 pin power connector.

          That being said, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.

  • Member #1497527 / about 5 years ago / 1

    On the Matrix, I don't see any pins labeled D or OE on the PI, am I missing something or is my matrix not identical?

    • Your matrix probably isn't identical, do you have the 64x64? OE is sometimes labelled as P_OE, D should be your 4th multiplex input and will probably lie near to the other A, B, C etc... Honestly if you just have those two pins left to connect, guess and connect them to the recommended pins and switch them if they don't work.

      • Member #1497527 / about 5 years ago / 1

        Serial Monitor shows the ESP32 operating correctly however the matrix only ever shows a blue stripe that is 16 LEDs tall. After all other connections, the only remaining PI pins are 2 GNDs, connecting to either one simply changes where the stripe appears. Any advice?

        • Member #1497527 / about 5 years ago / 1

          Issue resolved. I am, in fact, a monkey. Guess that's why I'm AERO and not CS or ECEN. Carry on fellas, project works, is cool.

          • Awesome!! Sounded like a wiring double check to me. I prefer the errors where I'm being a monkey over the errors that get resolved magically. Glad you like it!

  • Member #1542334 / about 4 years ago / 0

    Excellent project, instructions are clear, managed to set it up just fine. The resolution on a single 64x64 panel is insufficient when the album covers are complex images. Is there anyway to daisy chain a couple of matrices together? What alterations need to be made for this?

    • santaimpersonator / about 4 years ago / 1

      You could daisy chain multiple displays. However, you would need to map the panels in the code and then remap the image overlay. It isn't as simple as it sounds and there is a good chance that you may run into memory issues for the buffer or in the timing of running processes. It took a bit of finagling to finally get the display to work without flickering constantly.

      If you are looking for a more high definition image, it might be easier and cheaper to display the album artwork on a regular monitor. However, if you really want to dig into it, I would check out this Spotify Remote Project (GitHub repo). You will also want to look at the PxMatrix library as well. That is how this project got started; good luck!


If you've found an issue with this tutorial content, please send us your feedback!