Revolutionize Your Spotify Experience for less than $15!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this is a device I created to control Spotify it can play pause like and Skip songs without needing you to get out your phone or anything else and in today's video I'm going to show you how you can make one too for less than fifteen dollars so grab a seat because I'm about to reveal the secrets behind creating your very own Spotify control device and you won't want to miss it our first task in this project is to figure out a way to communicate with Spotify to do this we need to delve into the dark and Arcane Arts of the Spotify API you might be asking yourself what is an API and if you're not then whose am I hearing API stands for application programming interface and it's a way for things on the internet to request information and send commands to and from online services for example here's an API that tells jokes and here's one that lets you subscribe YouTube channels although the button below the video is much easier most apis are nice and simple like ordering a pizza you send a request for a large pepperoni with extra cheese and voila your pizza arrives but spotify's API is like ordering a pizza by first getting a secret key from the delivery guy then using that key to get him to wear a clown suit and only then will he take your order and bring you your pizza complicated right luckily for you but not so much for my Red Bull addiction and sleep pattern I figured all that out already and provided my code in the link in the description there's a bit of setup involved but there's a step-by-step guide to get you up and running along with the code with that part figured out the next question is what are we actually going to use for communication that's with esp8266 microcontroller comes in at just 2.50 each when you buy a pack of 10 it's an awesome option for creating devices that use the internet and anything else that needs wireless communication the SP is really the heart of this whole project not only handle communication with Spotify but also simultaneously read our inputs and give us our output luckily it's a beefy little guy and has no problem doing all of that speaking of our inputs let's talk about those next for volume control we are using a potentiometer it has three pins one goes to power one to ground and then the third outputs a different voltage depending on the position of the potentiometer we can read this voltage with our esp8266 to determine the position and adjust the volume accordingly additionally to pause play Skip everything else we're going to be keeping it pretty simple and only need four buttons on the output side we could really do whatever we want I experimented with a single LED and Morse code but that was not what the kids today would call user friendly in the end I decided to go with this small 1.8 inch 128 by 160 TFT LCD this bad boy can output over 200 000 colors at up to a staggering 5 frames per second so you won't be playing fortnite and watching Optimus Prime hit the gritty or whatever goes on over there we can definitely use it to show us the album art artist song title and the song progress for whatever we're listening to with all of that out of the way the only thing left to do was code everything together I won't bore you with the details but the process mostly looked like this write some code it doesn't work bash my head against the wall try again code code bash bash bash until finally everything was working how I wanted it to with everything wired up and after following the instructions for setup in the code documentation we can program the ESP and we're ready to go when you first turn everything on the ESP will connect to your local network and display its IP address on the screen go to that IP in a browser and it will walk you through getting logged in once that's done all you need to do is start spotify and a device you want to listen through and the artist's title and album art for the song will pop up on the display from here you can play pause like dislike and Skip forward and backward all from the device and really that's it you can now control Spotify without needing to do anything on your phone or computer I hope you enjoyed this video and if you did a like would be amazing and subscribing you'll make sure you don't miss the next one have a good one and I'll see you next time on make it for Less
Info
Channel: Make it for less
Views: 569,482
Rating: undefined out of 5
Keywords:
Id: SWiPIBWvgIU
Channel Id: undefined
Length: 3min 49sec (229 seconds)
Published: Sat Jun 17 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.