Arduino Controlled Spotify

Controlling the Spotify app using just 3 buttons wired to the Arduino and a Python script.

Aug 19, 2021

7492 views

1 respects

Components and supplies

1

Jumper wires (generic)

1

Alphanumeric LCD, 16 x 2

1

Breadboard (generic)

3

Resistor 220 ohm

3

Special Function IC, Push Button On/Off Controller with Debouncer

1

Arduino UNO

1

Female/Female Jumper Wires

Apps and platforms

1

Arduino IDE

1

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.

/

0
0
Latest commit to the master branch on Invalid date

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.

Image

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.

Image

Comments

Only logged in users can leave comments

akshithk

0 Followers

0 Projects

0