I built a Spotify Music Player
One Sentence Summary:
A DIY touchscreen Spotify player using Raspberry Pi Pico2 and Primro Presto, with customizable controls and ambient lighting.
Main Points:
- The project uses Primro Presto with a 4-inch touchscreen and Raspberry Pi Pico2 chip.
- Presto comes fully assembled with features like USB-C, SD card slot, LEDs, and optional accessories.
- Setup involves flashing firmware, installing Thonnie IDE, and creating a Spotify developer app.
- Spotify credentials are generated through a GitHub helper script after authorizing access.
- The code is uploaded via Thonnie, with Wi-Fi and Spotify credentials configured in the script.
- The display shows current or recent Spotify track cover art, updating periodically.
- Tapping the screen reveals controls for playback, shuffle, repeat, and other functions.
- LEDs change colors based on album art, enhancing the ambient experience.
- Challenges included API call frequency affecting taps and limited support for special characters.
- The project is open source, encouraging contributions and customization for future improvements.
Takeaways:
- Use the Primro Presto for a ready-to-go touchscreen display with minimal assembly.
- Follow detailed firmware flashing and app authorization steps for seamless setup.
- Customize your Spotify credentials and device preferences for optimal control.
- Leverage the open-source code to modify display features or add new functionalities.
- Consider the hardware limitations and plan for potential UI or character support improvements.