Make Your Own Motion Activated Arduino Music Player With The Sparkfun MP3 Player Shield

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 24

  • @1stpagelocal
    @1stpagelocal Před 4 měsíci +2

    I wonder if I could talk to you and pick your heart about a little outdoor speaker/motion sensor project that I am working on ? Thanks

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před 4 měsíci +1

      Hi! I'm happy to help however I can. Feel free to ask here or email ( bmonsterlaboratory@gmail.com), or Facebook (facebook.com/profile.php?id=100059867144068)

  • @Autonate_42
    @Autonate_42 Před 11 měsíci +1

    Can you connect that to external speakers or does it have to be ones plugged into a pc or a laptop?

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před 11 měsíci

      hi there! you can use external speakers. You can use the 3.5mm jack or solder pads to access the output. I haven't done it yet, but i'm sure you can use the PAM8610 Amplifier Board with speakers from a stereo or TV and it would be fine. I like this amplifier - I have a short video of it here czcams.com/video/9WxcG1o-L9I/video.html I personally use the OontZ Pro Bluetooth Speaker because it's wireless, great sound, can be loud, and has a 3.5mm audio jack. check out the sparkfun page here for more info on the audio output. learn.sparkfun.com/tutorials/mp3-player-shield-hookup-guide-v15?_gl=1*1sumchz*_ga*NDE5NjE2NTQ2LjE2Nzc3Mjc2NzE.*_ga_T369JS7J9N*MTY5NTM0MTc3MS4yOS4wLjE2OTUzNDE3NzkuNTIuMC4w&_ga=2.133096782.1720854457.1695341772-419616546.1677727671&_gac=1.12639557.1695341772.Cj0KCQjw06-oBhC6ARIsAGuzdw0q4X9AFDscm13IqRAyPR9UmDg7CWWMWJauZKIfPm0M5wFwxfVrS2IaAm0LEALw_wcB
      I hope this helps!

  • @joebonomono5078
    @joebonomono5078 Před rokem +1

    Could this arduino run 3 seperate LED strips and the motion controlled sound at the same time, or would I need a separate arduino for each function? I'm building a small wall hung cabinet with seperate rear, side, and interior lighting along with sound when an object is removed from the cabinet. My current plan is separate strips, each 8 feet long or less, all powered by a 12V DC with four plugs, controlled by RGBW wifi Alexa controls. Sound is an afterthought and that's how I found you. Size is an issue. I have about a 3"Dx7"W space I can hide an arduino, pretty small, H = slightly variable, maybe 2" or 3". I figured white interior display lights, red glow emanating from the rear, and green glow on the sides. I also want to hear "yippee Kiyay MFR" whenever I remove a particular zombie blasting object from said display cabinet. Any thoughts?

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem +1

      Hi Joe. That's' quite a project! Sounds like a great idea as well. You can't run 3 led strips off this board. There are only 2 digital pins available, d5 & d10 (i believe). I would use the WS212b addressable LEDS - they are 3 wire 5v and there are several libraries for them (like FastLED). You could also look into the silicone led strips, sometimes called flexible LED tape lights. You could use an external power supply and control your led patterns with Arduino Nano. The mp3player shield and redboard together is 3"x2.25"x1" LxWxH. The Nano is 2"x0.75"
      be sure not to power your leds from you Arduino and don't over load it either. It can handle around 500ma. If you come across any questions...just ask👍

    • @joebonomono5078
      @joebonomono5078 Před rokem +1

      @@BMonsterLaboratory Thank you for your reply, theres a lot to consider here. I have built the cabinet, its old timey coffin shaped with a black and white penny tile interior. Im now working on the trim which will hide the interior lights and side lighting. The LED strips I bought and not the individually controled strips, theyre just color controlable with alexa, a remote, and an app. I think i had decided against adressable because it offered more function than I wanted. I imagine steady glows or pulses of the same color, not chasing or rgb chasing. However, now that im considering motion activated sound which would require the arduino I think I might just as well have the arduino control the lights as well, so it looks like i have to start from scratch with my light and sound set up now. Ill put together some parts and get back to you when im ready to code, ive never done it before but it looks do-able for me. I appreciate your time and thought.

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem +1

      @@joebonomono5078 sounds good. i'll be interested to hear back for ya

    • @joebonomono5078
      @joebonomono5078 Před rokem

      @@BMonsterLaboratory Off topic but related. I imagine an arduino could also be used to fash a 24v infrared spotlight? I'm considering an alien attracting device which would flash the binary code of whatever message I transmitted. A little camping fun which wouldn't attract civilians attention unless they could see my spectrum with their own device. I've been looking for a way to control the pulse, I think arduino may be the method. Am I correct?

  • @ununquadiumjorgensdottir1038

    Is it possible to create similar device, but instead of motion sensor it would detect the electricity? I need something that plays the music when it's plugged in and stops the moment it's plugged off

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem +1

      Hello! Will the electricity be a 5v supply? It would need to be for this relay but there are also 12 and 24v relays (and 3.3v i think). If you look at the mp3 player guide it will tell you how to switch the mode. There are 3 3.3k resistors that you can remove to change the mode. There is a mode listed on the manual that sounds like continuous play mode but you'll have to remove the middle 3.3k resistor to switch to that mode. instead of a motion sensor you can simply have a 5v switch in its place to trigger the relay. I have never changed modes, so I'm not familiar with this process. If you like, I can email the manual to you. I'm sure there are other options out there if you're uncomfortable removing the resistor and setting this up.

    • @ununquadiumjorgensdottir1038
      @ununquadiumjorgensdottir1038 Před rokem +1

      @@BMonsterLaboratory Thank you! I'd love to get the manual if it's not a problem 😁

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem

      @@ununquadiumjorgensdottir1038 email me at bmonsterlab@yahoo.com and I'll send it tonight 👍

  • @abdalrahmanabouzied6983
    @abdalrahmanabouzied6983 Před 5 měsíci +1

    Hi. Using your code, the music doesn't stop when no motion detected. How to fix it ?

    • @abdalrahmanabouzied6983
      @abdalrahmanabouzied6983 Před 5 měsíci +1

      I'm using a different cheaper version of the VS1053 shiled

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před 5 měsíci

      hey there! If you are using the VS1053 MP3 Shield, which operates at 3.3V logic levels, you will need to be sure of compatibility with your Arduino board and make appropriate modifications to your code and connections. Also, you may need to use a level shifter or voltage divider to interface between the 3.3V shield and a 5V Arduino board. Shields typically have their own library for controlling its features, so you may need to alter code. I haven't used that particular board but just from looking over the specs, this is all I can come up with.

  • @ediri8354
    @ediri8354 Před rokem +1

    will this work with seeduino?

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem

      Hi Ed! This shield was designed with the Arduino Uno R3 with ATmega328P footprint in mind. The Seeeduino V4.2 is an ATmega328P microcontroller, so it should be fine. If you're using other versions of Seeduino you might want to check the Sparkfun website to see which pin you need to change for a proper connection. here's a link learn.sparkfun.com/tutorials/mp3-player-shield-hookup-guide-v15?_ga=2.235354689.1570880332.1673483952-410158282.1636115518&_gac=1.189047257.1673483952.CjwKCAiA2fmdBhBpEiwA4CcHzXQBa_nlaSw7XwXbw9SXlRoS3MYvSLpS97cLQ7bEA0W5TLmgYQ1vXhoC8XYQAvD_BwE

  • @18psutton
    @18psutton Před rokem +1

    Can u do a motion mp4 player please

  • @AeroKimchiX
    @AeroKimchiX Před rokem +1

    Is this possible without the LED?

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem +1

      Yes. Just remove it from the code as well. I just added it for a visual.

    • @AeroKimchiX
      @AeroKimchiX Před rokem +1

      @@BMonsterLaboratory thank you for the response, I’ve been trying to use this without the LED and can’t get it to work. How do you get the live output of the code working? Again thanks for the response

    • @BMonsterLaboratory
      @BMonsterLaboratory  Před rokem +1

      Are you using the code I posted on Facebook? The code for this project can be found on Facebook. search #mp3uino. Use that and if you have it set up as I do, it should run as is... without altering anything. If you remove the led it should still work even if you don't modify code. If you need any help, just ask....no prob! 👍