Arduino Controlled Spotify
Controlling the Spotify app using just 3 buttons wired to the Arduino and a Python script.
Components and supplies
Jumper wires (generic)
Alphanumeric LCD, 16 x 2
Breadboard (generic)
Resistor 220 ohm
Special Function IC, Push Button On/Off Controller with Debouncer
Arduino UNO
Female/Female Jumper Wires
Apps and platforms
Arduino IDE
Visual Studio Code Extension for Arduino
Project description
Code
Arduino & Python Scripts for the Project.
Arduino Script: This is a part of the software for the project written in C++. This part of the software receives the crucial input from the buttons wired to the Arduino Uno. Based on the input received from the buttons, it prints a keyword onto the serial monitor which is communicated to the Python script through the COM3 port. This part of the script can now receive the song name from the python script and output it through the 1602 LCD. Python Script: This is a part of the software for the project written in Python. This part of the software receives the keyword signals sent from the Arduino/C++ script through the COM3 port, and uses the PyAutoGUI module to automate the functions onto the Spotify app (i.e. previous track, pause track, next track). I updated this script to include a module for song detection called SwSpotify. The script can now send the song name to the Arduino through the COM3 port for display through the 1602 LCD.
Downloadable files
Circuit Diagram.
This picture shows the connections for the project. It is a bit blurry, which is why the main connections are listed on my GitHub @akkik04 and on the details page of this project.
Circuit Diagram.

Circuit Diagram.
This picture shows the connections for the project. It is a bit blurry, which is why the main connections are listed on my GitHub @akkik04 and on the details page of this project.
Circuit Diagram.

Comments
Only logged in users can leave comments