Modern Day Record Player Tutorial (RFID, Spotify API, Python, and Raspberry Pi)
ฝัง
- เผยแพร่เมื่อ 28 ก.พ. 2022
- Thanks for watching the vid! Detailed blog & Github Repo for this vid:
Blog: talaexe.com/moderndayrecordpl...
Github Repo: github.com/talaexe/Spotify-RF...
Materials:
I get a small commission if you use the following links to get the materials for your project!!:)
RFID RC522 Module with Soldered on Header Pins
🇺🇸 USA: amzn.to/3BVej0s
🇨🇦 Canada: amzn.to/3M6kun4
RFID Stickers (13.56MHz)
🇺🇸 USA: amzn.to/3hokkJv
🇨🇦 Canada: amzn.to/3JVox3A
Raspberry Pi 4
🇺🇸 USA: amzn.to/3hpanvm
🇨🇦 Canada: amzn.to/35A3Efj
Raspberry Pi 4 Power Supply
🇺🇸 USA: amzn.to/3IsTo7v
🇨🇦 Canada: amzn.to/35jZ2Ky
Female to Female Dupont Jumper Wires
🇺🇸 USA: amzn.to/3pnxWJw
🇨🇦 Canada: amzn.to/3IuTQSq
Speakers (any work!) - วิทยาศาสตร์และเทคโนโลยี
Immediately from when this video started, I saw potential for something cool - a 3D-printed vinyl record that holds the NFC sticker underneath the labels, and a tiny motor to actually run the record, while the album art is placed at the side. At 33 rpm of course.
Did you end up trying this??
brilliant idea
Nice idea!!!
Was thinking the same thing :)
Haha i was thinking the exact same thing
what an awesome project idea, love how it captures the tactile property of physical media while sacrificing as little convenience as possible
You've done a great job with this! I've seen other projects that use RFID, but your presentation is incredible. The wooden box idea is fantastic. Thank you for sharing :)
I just built this using a Raspberry Pi 3B+ and so far it is working great. I need to add more songs to my IF statments and may work on figuring an easier way to add new songs. Gives me something to play with.
Great video and blog with super easy to follow directions. Everything I needed to do was there. Probably the first project like this I have done without running into issues.
Thanks!!!!
Did you have to do anything different because of the different raspberries Pi model?
@@cinderellasunderstudy2937 Sorry for the late reply. I just noticed this. I did not have to do anything different. I followed her directions and everything worked fine.
I did get it working to read from a file so I don't have to build a long IF statement. I need to do a little more testing, but so far it works if you do things correctly. "the code works as long as you don't press this button". Haha
@@bretthampton2050 I know this is really outdated but what I did was made a function to actually write the album string to some ntag215's and then extract that when they are scanned. If there isn't already an album saved to the tag then I simply add the last album I played on my spotify.
So glad to see someone actually turn this into a real product. I've thought about the cards off and on for years, but doing it on a phone lacked some elegance. Seeing the hardware of a nice, inconspicuous wooden product really takes it to a next level.
That said, what about this:
- Cheap android phone (with headphone jack)
Put it in a nice wooden enclosure flush with the screen, screen exposed.
That way you've got both Aux and Bluetooth options,
and relative ease of setup for both playing music directly through spotify,
and even creation of new cards through apps like NFC Tools
I love the stuff you do :) The explanation was super detailed!!
Thank you for posting this
this is such a cool idea. i love the cute mini cutouts of the albums. i’m definitely gonna make this project. thank you for this tutorial!
this is a very solid idea for the future of physical releases. Could be a great balance between supporting the artist and keeping the convenience of modern audio tech
This is absolutely awesome . I was looking to do something similar with samples. Keep up the good work!
very clear instructions, very soothing voice, love it! Please continue making these tutorials :)
I had this exact idea. Good to see a polished prototype
Dude this is amazing!!! I wanted to do something like this for a long time but didn't know how to go about it... Thank you
Loving this project so much
this is very old, but we need you back with more sick projects!
incredible tutorial, was an enjoyment to follow
You're a real one for this, will try it
This idea is brilliant! Just brilliant!
absolutely love this! notification bell on!
Great project and superbly explained. Well done.
My music collector self would love if this was sold by artists/labels as official physical versions of albuns being sort of a digital download/mp3 system only needing a player table and speakers ... it'd be cheaper and cooler than CDs/vinyl and could come with more creative designs and also be more "useful" 😍💭 such a creative idea 👏
It does exist in Japan ;)
Great tutorial, very informative, thank you!
gaaf gemaakt, en het werkt, goed voor het feestje van morgen oud en nieuw 2023, happy new year
Sooo excited!
sick tutorial, thanks so much!
this is fantastic, amazing job with this video. very impressive!!!
Such a cool idea, well done!
This is amazing 😍 cant wait to try this myself
Wow, that's an awesome idea! Great Video too
I just saw the Yoto! video from Techmoan and the first thing i thought was cool idea but i bet a DYI version would be 100 times better and now I get this video recomended. The only difference would be to make it stop if the tag is removed, whitch would be like, you know, "playing" the record. Great Video!
great explanation !! 👏👏
Amazing video!
Interesting project for fun, thanks 👍
Hii! I love the video, your idea was super cool and detailed!! Just one question: Do you need a Spotify Premium account, or can a regular Spotify account work just as well?
excellent tutorial!
So excited to make this!
Been waiting since your tiktok 😊
Hope you like it!
@@talaexe Hey Tala, I am going to make this for my grandparents. Just wondering, is there any way to make raspotify always on because the whole point is that they aren't very good at technology so I want them to be able to use this without a phone.
@@harrydawso just make the application Run at boot and add another physical button to reboot the pi/ the program and that way is somehow the application stops, your grandparents just have to press that physical button
Liked the video after 10 seconds! I neeeeed this!!!
This is a really cool project
Just made it with an rpi 3. Thanks so much for doing this!
was it any different doing it on the 3 than it was on the 4? im planning to do this with mine but i have the 3 as well.
@@mariluzozuna1910 Nope! Was the same all the way through.
@@aldenloutit9790 sweet thanks!
my fav tech guru
Awesome ,good work 👏💯
I have an old Pi 3B sitting around and a 1 1/2 yo daughter who loves music. I'll make her own jukebox so she can play her favourites whenever she wants!
I remember seeing this on tiki's Tok and I wanna make one. Thanks for uploading thes video!
Sweet idea, however, an easy improvement would be to store a file that the python code reads in that houses all the RFID tags and corresponding URLS. Then you can look through that file instead of adding a ton of if-else statements! would make the code more readable, and make it easier to edit your album collection since you could also have a "Album name" section in the csv file or whatever you use to hold the album info!
Theoretically, could you add more parameters to make it more user-friendly? If this were given as a gift as the project sits now, the person would have to know how to add more code to add more songs. I propose the following solution:
*1.* Make the list of songs and ID's a JSON file that can be automatically updated with RFID IDs and song numbers that the program can refer to in the code; that way, manually adding more songs or editing the music that's attached to each RFID is easier.
*2.* Use an RFID Reader/Writer and a button that can be pushed to scan and read a new RFID and either change the ID of the RFID so that the IDs are sequential to the previously checked IDs and easier to read or have the program update the JSON file with the new ID.
*3.* Have the program listen for a new song to be played manually after the RFID is scanned, take the ID of that song and attach it to the previously checked RFID. Thus creating a new _"Record."_
I have no idea if this can be done, at least in this way. I would love to make these as gifts, but I want to ensure it's user-friendly and new _"records"_ can be made on the user's side regardless of their coding ability.
Let me know what you think 😁
way to mansplain, lol
@@zipkitty He just gives ideas, which are mostly good, how is this mansplain?
3 is good, might need a button to get the current song and bookmark it to the current RFID
Could also be a special RFID card that acts as a button.
@@magfal well I wrote up a better way to handle all of this and youtube decided to delete it thanks. So here is a quicker version: Have a JSON file of bound IDs, check if the RFID is in that JSON if not, start a pairing process where the next 30s-1m you can query spotify at an interval to check the currently played song, if it finds a song bind it to that ID, else cancel the pairing process. Unless there is a way to write some small bits of information onto the RFID card itself, then you could have the track id embedded on it.
@@thesombral1505because anytime a man speaks women thinks he's "mansplaining".
this is literally so cool
This is awesome! Just got mine working thanks to your video, really easy to follow instructions! Did you ever try it with Spotify playlists at all?
I did it - can even do personal playlists. Just replace the album tag w playlist in the if/else
this is awesome!
This can be further expanded by adding RFID tags to physical releases of movies, TV shows and games to pull up their soundtracks. Just imagine getting your favourite game and tapping it on the box to listen to the soundtrack.
I know a similar solution (phoniebox) i build for my kids. I love this kind of projects and saved your github link to recreate this project in future.
This is so cool!
Great one...🎉
Yay! Finally!!
This is a great video and neat invention!! Can I know how u learned how to do these kind of stuff? (Did you learn the electronics in school? - seeing that you know how to connect the different pins on the RFID reader to the corresponding pins on the RPi)
Love it, I will try to do it but to play files in the pi instead of Spotify
Awesome idea
This is a great idea.
This is so cool
So cool! If you ever make a kit let me know I would love to buy it!
ah i wish i found this for my final year project inspiration
very nice idea :)
Very cool.🎉
Brilliant!
Great video! One thing though, I NEED to know what your "Arabic Bops" playlist looks like 😂
this is amazing
Super cool🤩🤩
Amazing ✨✨✨✨
THIS IS SO COOL 🤩🤩🤩
Earned a subscriber
I loved the idea. I’m not into the raspberry thing, but ill try this sometime.
Also: the code could be a bit better. And you should implement something to add/create new Albums. Like doing an put method to feed an vector (I don’t know if this exists in English, i mean the x[1,2,3] thing)
this looks like fun project! will this work on a raspberry pi 2 as well?
1:50, those solders look nice
nice idea , keep it
Just here because I saw Cradles in the thumbnail 😂. Cool project!
I would not be surprised if this is the future of music.
Music is so cool man
This is sick!! Saw it on TikTok and had to check out the video. Do you know if it would work using an Arduino Uno instead of a Raspberry Pi? Or would the fact the Arduino is only a microcontroller make things too complicated?
You would need a way to connecto to the internet, thus making the Spotify API implementation way harder than you might thought
@@_STRIKEMEDIA_ you could run the Spotify api on the tablet and use serial to communicate the info to the tablet
Holy shit this is what I wanted to make for my grandma. The only issue is trying to figure out what service to use.
I wanted to make something really easy to understand for anyone but also let you use any video on TH-cam or file on local storage to make it easy. The biggest problem is trying to find a service no ads, or managing the internal storage easier.
Basically just have the box talk to TH-cam. Then using a phone and an app you could touch the nfc tag and program it with a video or playlist link.
If it was local storage based I guess you could have the pi run a webserver interface and you can organize playlists and albums from there and use the box itself to write onto the tags.
I wanted my box to basically be a simple minimalist radio with a single speaker and volume knob. Maybe make a second one that's hooked up to an actual stereo.
I love the idea and the video but I was wonder is there was a way to use the cards to skip and rewind songs with the cards or even buttons?
Is it possible to automatically change between devices in order to make it play wireless?
Love the project
Hi, just a question, is it possible to add a screen to the raspberry pi to show current song playing also???
this is badass
Is this inspired by a board game called DropMix? It was made by Harmonix, authors of the Rock Band video game series. You would have a board with 5 card readers and cards with various songs. You would connect the board to your phone and it would automatically make mash ups based on the cards present.
One cool thing is it you could stack cards, it would always read the last present card.
Awesome video! One question: Is it possible to add wireless speakers for this project?
Yes, the RPi can connect to wireless speakers via Bluetooth
Where did you find that holder for RFID scanner that connects it to the box? or did you make it yourself?
So i build this, a bit different but on base of your idea. But im asking myself can you like add buttons to the player for play, pause, skip, shuffle and that stuff?
had that same idea
Great idee. Do you have also a version for iTunes?
also we can add a gear motor to give retro look and it wil help in rotating the rfid tag
Is there a way to have the RF ID play songs that you would store on the micro sd in the raspberry pi? I would love to make that I didn’t have to have a Spotify or have any online connection. Some thing that could just pull locally from my little raspberry.
That's crazy you went to western
Could there be a way to make this an offline device; I believe just loading a usb with songs and modifying the program to fetch then audio file when the rfid card is scanned but I’m unsure. Also could that still account for playlist?
Hi! Incredible project @talaexe. I'll be starting this off soon! Can I use the Raspberry Pi Zero 2W instead of the Pi4 or 3B+ as it's significantly cheaper where I live? And would that affect the process of building this?
I think Z2W doesnt feature headphone jack nor USB (which might not be needed if you only want to change songs, but playback over your pc or tv) but aside from that it's fine
omg this video is so good i love it but one question: how do you know which wires to plug into which GPIO pin?
thank you!!:) can you explain what you mean?
Hey! Love the video, can you make a quick tutorial on how to set up the raspberry pi to the computer so we can start using the os? I’m just missing how to do that part
Hey! You can actually just plug it into a monitor, it’s pretty much a mini computer!
There’s 2 mini HDMI ports on the pi that you can use to plug into a monitor using a mini HDMI to regular HDMI cable
Got it! Thanks for the answer and congratulations on your video!
Where did you go. Your 2 videos are great. You shoul be making loads more
Hi! Great video. Will this work with Raspberry Pi Zero W? Thanks!
Hey great video! One question, would it be possible to connect the raspberry Pi to a smart speaker such as google or alexa for it to play on there?
had that same question let me know if you get a reply
Is there a way to store the Spotify track/album id on the RFID chip itself? For example, instead of having an “if else” statement for every track or album, (if id == this, then play this song) you could just have one statement that reads the Spotify id from the chip and inserts it into the context_uri variable directly?
You can write a text record to your RFID chip and read out this text instead (I do not know exactly how to do it with this api, but it is possible). In this case, the text could be the track id and the python program just inserts it: "spotify:track:"
yes, that's what I did!
That's what I did as well. Also, I programmed an rfid tag to write the current Spotify context to the next card presented, so the kids can "program" more cards without tinkering with the code.
@@benjamin1008 Hey, would you be willing to share your code? I'm very inspired by the idea and would like to build something like that for my kids as well :)
Hello and thank you for this great tutorial.
Is it possible to use this project without a screen? How can I boot up the RPI and use directly the RFID Reader?
I'm wondering the same thing!
I can't wait to change your music using the client id and secret.
I have a question this proyect can make it with a arduino r3?