Тёмный

Audio modules for electronics project 

Playful Technology
Подписаться 49 тыс.
Просмотров 52 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 167   
@ytfp
@ytfp Год назад
Loved this video, it answers a lot of issues to do with audio player modules in a very in depth way. The longer more thorough explainations are very much appreciated.
@Thunderchops1984
@Thunderchops1984 8 месяцев назад
Thanks for this vid. Novice here about to start an mp3 player project and this is very helpful.
@ozdagap1809
@ozdagap1809 4 месяца назад
The drive sort tool is an absolute godsend. The frustration with having to redo the audio file indexes after adding or removing an audio was incredible. I wonder why we are restricted to using the indexes and if there is a library that allows playing files based on file name strings. Anyway, thanks again my good man
@russelldicken9930
@russelldicken9930 5 месяцев назад
That’s really useful. I’ve not used audio much in projects. Thanks for sharing
@brjplummer9415
@brjplummer9415 26 дней назад
Fantastic details, you are too much ! Just what I need thanks. Brian
@steubens7
@steubens7 4 месяца назад
expected to hear about the vs1053b from the thumbnail! they do a lot more than play samples and you can write your own dsp code if the rom code doesn't do what you want. they can also play midi files with a given sound bank, or the included standard midi ones. thank you for making this video it will be helpful the next time i'm asked to figure out a dfplayer project :)
@davidc9441
@davidc9441 8 месяцев назад
Best youtube video on this topic by far. So comprehensive and helpful - thank you. So appreciated.
@robertedlund6357
@robertedlund6357 Год назад
Thank you so much for your vids! I am dabbling a bit at home with escape room games and your projects are amazing!!
@PlayfulTechnology
@PlayfulTechnology Год назад
Awh, thanks for taking the time to write a comment - that's really kind, and I'm glad you like them!
@optikalefx
@optikalefx 10 дней назад
Amazing video. Question. For the DY-SV5W, if you're using it with the ESP32 that only has 3.3v. Do you need a voltage converter to up-convert the voltage to 5v?
@PlayfulTechnology
@PlayfulTechnology 10 дней назад
No! Quite the opposite ;) All the DY players run at 3.3V logic. So, if you connect them to a 5V device, that's when you need the level convertor. For ESP32/ESP8266, just connect the Tx/Rx lines directly to the GPIO pins. This is explained at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8obcTTYtjQM.html
@Oli00ps
@Oli00ps 2 месяца назад
Regarding the latency test between the Flash player and the SD card player: You might want to redo that test with the following modifications. Buttons - make all wires the same length. Speakers - make all wires the same length and use two of the same speaker. You've introduced latency in the setup shown.
@pantalalabs
@pantalalabs Месяц назад
What you suggested doesn't make any sense.
@PlayfulTechnology
@PlayfulTechnology 10 дней назад
Electric current passes through a copper wire at almost the speed of light. You're really not going to notice any difference in latency because the wire to one button is 10cm, 10 metres, or 10 miles longer than the other.
@AdamWrightthegeek
@AdamWrightthegeek 4 месяца назад
This information was exceptionally useful, thank you for the great work in setting this up. I'm planning a hardware soundboard project, and although I'm well versed at scripting, this will be my first "from-scratch" electronics project, as well as my first foray into Python. The tricky part of this project is that the hardware buttons wont trigger a single sound file, but a random one within a specific directory. So I'm leaning towards the DY-SV5W board in serial mode, with Python code to choose a random index to send to the audio board when a given button is pressed. However, I'm unsure of how to know if the max number of files on the MicroSD card from the arduino to be sure the random index sent is within range of the amount of files in a given directory on the card. For that matter, can i even use directories on the card if the Arduino is just sending a single file index number? Is there a better recommendation for my project idea? Requirements: - i can drag and drop MP3 and WAV files to the MicroSD card like ../dir1/sound1.mp3, ../dir2/sound53.wav - i can press button1 to play ../dir1/[randomfile] or button2 to play ../dir2/[randomfile] With my amateur knowledge, i would expect that the file storage probably needs to be accessible on the board doing the logic, which would be the Arduino in this example, is that accurate? Furthermore, is there an Arduino board that can do all this on it's own without needing a secondary audio board like the ones on your video? I appreciate patience, as this is my first dive into the world of microprocessor boards, aside from casual RPi tinker projects.
@seanoconnor8843
@seanoconnor8843 5 месяцев назад
I would consider a 20W amplifier as a public address system. 1W is about right for the human ear in a normal room
@Mogeli
@Mogeli 11 месяцев назад
Hey Alastair, Just looking at the diagram you made for the DY-SV17F but the 5V line from the player is running to VIN on the arduino. Is this correct? I would have expected that you would want to connect it to the 5v pin of the arduino so you can power it from there
@slighter
@slighter 6 месяцев назад
This is great! One quick question: What value should the diode have that has to be connected to the DFplayers vcc/power supply?
@slighter
@slighter 6 месяцев назад
Same with the capacitor, btw.
@9Fahim
@9Fahim 3 месяца назад
is there a board and software that allows you to press a button and it sends a signal via USB that plays a sound/alarm of your choosing through windows operating system.?
@jonathanlevin7660
@jonathanlevin7660 7 месяцев назад
Great video! But for the larger form factor modules (DY-SV5W/etc) the only modes I managed to get working are the MP3 mode (pins are commands like play/pause/next/etc) and Serial UART mode. The other modes where pins select a track index did not work no matter what I tried, in any of the modules I bought (All AliExpress, but at least a couple different sellers 🤷‍♂)
@PlayfulTechnology
@PlayfulTechnology 7 месяцев назад
I've not experienced that problem myself. What setting did you push the DIP switches to?
@jonathanlevin7660
@jonathanlevin7660 7 месяцев назад
@@PlayfulTechnology It was a while ago, but I think I literally tried all permutations after getting frustrated. Pulling the pins either high or low just did not trigger the tracks (but in UART MOde I was able to play them by index, and in the default MP3 mode I was able to skip between them, all with the same SD card). Where did you buy your modules from? Perhaps Ill try one
@PlayfulTechnology
@PlayfulTechnology 7 месяцев назад
@@jonathanlevin7660 I've bought several batches from different vendors on AliExpress - I do normally use them in UART mode anyway, but occassionally use them in trigger mode and not noticed any problem - you just need to have the filenames saved appropriately on the SD card and the DIP switches set correctly.
@jonathanlevin7660
@jonathanlevin7660 3 месяца назад
​@@PlayfulTechnology a couple months later I finally figured out the issue.. As you said the filenames have to be correct, I had "0001.mp3" and the module needs specifically 5-digit names "00001.mp3"... The tutorials I saw claimed that the modules use the FAT index, so what matters is the order in which you copy them over. This is untrue. One would assume even if not at least it would sort alphabetically- but nope, specifically 5 digit numbers with postfix `.mp3`. Most "datasheets" for these also fail to mention this, but oh well! once known it's a very solvable issue
@PlayfulTechnology
@PlayfulTechnology 3 месяца назад
@@jonathanlevin7660 Ah, well done for figuring it out - and thanks for sharing the solution!
@DatFunnyPerson
@DatFunnyPerson 7 месяцев назад
34:53 could you also set it up that it just plays random songs as soon as you turn it on?
@ThomasDevOnline
@ThomasDevOnline 9 месяцев назад
Thank you for another great video Alister, How can we reach out to you for your support on a project we have? (Email or something) Great work. Thank you for all you do.
@mrsergej
@mrsergej 8 месяцев назад
Thank you for the video. Very informative. Would any of these (thinking of dy-hv20t) would play file once powered on, providing that relevant trigger button is in pressed position already? Thank you!
@Thunderchops1984
@Thunderchops1984 7 месяцев назад
@PlayfulTechnology Can you advise on selecting a speaker? I was planning on using the DY-HV20T in an RC car project (car stereo effects that sort of thing). If I’m powering this board with a 2s battery (7.4v), what size speaker should I use with the board? I have a few spare 4ohm 3W speakers which I presume will work, but I can get a larger speaker for better volume. If I’m powering the board with 7.4V will that limit the speaker power I can use? Cheers.
@Gorkilein
@Gorkilein 4 месяца назад
Yeah the flash version is better once you just need short or a few files. Then you don't need to pay the expenses of an extra SD-Card.
@JulieneGrandy
@JulieneGrandy 5 месяцев назад
Can't believe I just got rickrolled by a chip🤣
@modularmagick7654
@modularmagick7654 Год назад
Great video as always! WRT DY-SV17F, what is the purpose of the three pull-up/down resistors? Since there is only a single connection to each pin, it seems to me those pins could be directly connected to +3.3V or GND as appropriate. I've only needed them to ensure an input does not float in the absence of an input signal.
@PlayfulTechnology
@PlayfulTechnology Год назад
I'm not entirely sure why the inline resistors are necessary - like you say, to set a logic signal of HIGH/LOW, you would think you could directly connect them to 3.3V/GND, but according to the documentation the resistors are necessary in both cases. This is also the way that the DIP switches are implemented in the 5W/8F boards. You can try without, but be warned in case you get funky behaviour!
@DragonVisit
@DragonVisit 10 месяцев назад
Wonderful video. Do you know of any tutorials that show the code to use for either ESP32 or Arduino (have both) after buying either the 5W or 8F (will buy either). If not, how about either of the HT versions (will buy either)? Have been trying for weeks to get something working.
@45e668
@45e668 10 месяцев назад
I have a DY-SV5W, when I plug it into my computer with a micro-USB it doesn't show up and I cannot load files. I was wondering if you have any advice as to why this might be happening.
@777rudecat
@777rudecat Год назад
Any advice for someone who works an escape room as the only person willing to fix the effects and boards, I've been thinking about freelancing to other escape rooms
@AlexLlama
@AlexLlama Год назад
Excellent video, thank you for putting it together. Can you recommend a board that has very little latency that can be used to make an instrument? And do any support playing more than one track at a time? So if you trigger a second track while the first one is playing, they both continue to play?
@derWarst
@derWarst 11 месяцев назад
Maybe have a look at the Sparkfun Wav Trigger.
@AlexLlama
@AlexLlama 11 месяцев назад
@@derWarst great suggestion thanks!
@grahamhik9177
@grahamhik9177 Год назад
Amazing again i just love watching your channel, i have a question please, i am currently building an animatronic Parrot using an esp32 and controlling it with a playstation 3 controller. i dont know if you have used esp32 arduino in the fashion im hoping to do, i just love the idea of being able to speak through a microphone and the parrots mouth would open and close using servos as close to my voice speaking as possible. do you think this is something that i could possibly add to what i have already done with the parrot. Many thanks Alistair i hope you can answer my question. I am building it with 6 chans, with 6 servos even though that is a nightmare coding, so i am currently looking for an arduino coder that maybe able to put the sketch together (paid of course) for me if you know anyone.
@CraigOverend
@CraigOverend 8 месяцев назад
Do you know of and modules with triggers like these to play two voices at once? I've been using two boards with two speakers but am looking for a small single board, single speaker solution due to space constraints.
@AniMattronics
@AniMattronics 7 месяцев назад
The Sparkfun WAV Trigger has polyphonic playback. You can play any combination of sound files simultaneously.
@knoxscobie8647
@knoxscobie8647 Месяц назад
34:24 anyone know what board this is?
@PlayfulTechnology
@PlayfulTechnology 10 дней назад
That's a DY-SV5W.
@wqwwqwqqpoppopoo
@wqwwqwqqpoppopoo 6 месяцев назад
One thing that I think is worth mentioning, is that the WAV Trigger lets you play up to 14 audio tracks from an SD card AT THE SAME TIME. This is extremely useful and I have not found a suitable alternative that can do the same thing.
@PlayfulTechnology
@PlayfulTechnology 6 месяцев назад
That is true; whenever I've needed multitracked samples I tend to just trigger them off seperate devices (e.g. 4x DY-SV17F wired to the same ESP32), which works out cheaper unless you really need a lot of polyphony.
@Witsenburg
@Witsenburg 3 месяца назад
Hi, is there some way I can contact you about this? I have some questions about this playing multiple sounds at the same time.
@glenkenny
@glenkenny 17 дней назад
Which board supports 14 audio tracks at the same time? I just answered my own question. I found the Sparkfun WAV Trigger.
@relyk226notnroht4
@relyk226notnroht4 13 дней назад
I need to play a single song from a push button command im trying to get good sound quality i have a 10w 8 omh speaker any suggestions to piont me in the right directions simplest would be great im new to this field.
@RichardMartin-l8y
@RichardMartin-l8y 8 месяцев назад
I got rickrolled. 😀
@MakerProjectLab
@MakerProjectLab Год назад
This is a fantastic resource! Thank you for putting this together.
@PlayfulTechnology
@PlayfulTechnology Год назад
Thankyou!
@prodeous
@prodeous 8 месяцев назад
Nice video.. was looking for something as a Robocop soundbaord for my cosplay.. do any of the devices can "mix" audio tracks, or all play only one track at a time?
@crazybirdlady522
@crazybirdlady522 7 месяцев назад
I really appreciate this video. I am a senior, with no electrical engineering background. I make simple animated props for a yearly haunted house fund raiser for a 150 year old lighthouse. I am currently trying to add sound to one of my props. With the help of your video, I wired a DY-HV8F sound card with 5 different sounds, triggered by small push buttons. When I use an amplified external speaker, it works great. When I use a 4ohm 3w speaker, that I want to put in the creature’s head, I can barely hear the sound. I’ve tried adjusting the potentiometer, but it doesn’t have any effect. What am I doing wrong?
@jamesmadethis
@jamesmadethis Год назад
Oh my god you have somehow made a video that speaks to exactly the issues I was having with DFmini player!! Thank you thank you. I couldn't find answers anywhere about why my audio was cutting out on it. 🙏🙏
@jp040759
@jp040759 11 дней назад
This was great instructional video. I learned a lot and now understand these boards way better. Two questions regarding the DY-SV5W board. Is there a mode to play upon power up and continuously loop the same sound track when using the 8 input trigger mode? Is the 3.5 mm jack a "line level" output (or does the volume pot change its output) that will allow you to interface to a power amplifier source input of your choosing? THANX
@jblane001
@jblane001 16 дней назад
I'm working on a project with integrated sound, similar in theory to the Jawduino project. I'm using the DY-SV5W module and I don't think it's behaving as advertised. I'm using "I/O stand-alone mode 0", in which you trigger the module and it plays the song once and then quits. According to the documentation, and comments from several users, the busy line is active the entire time the sound file is playing. But what I'm seeing is that the busy line falls after about 100 milliseconds, long before the sound file ends. Any ideas? Does this match your experience?
@modelmaker2001
@modelmaker2001 9 месяцев назад
Great video. Very informative. I was losing my (small) mind with the DF Mini. Bought a DY-HV8F and I'm back in business. Just ordered more. Thank you!
@jahanzaibkhan4018
@jahanzaibkhan4018 3 дня назад
Can you suggest a module with following features; 1: call incoming, receiving, decline etc 2: music play with my phone via bluetooth. 3: cant connect buttons to it for volumes, next etc which directly change songs in my phone just like normal car lcd does. 4: serial communication is important ad i want to show the song name, length etc on my lcd. I am making a car navigation lcd with similar features like a modern car i.e calls music etc
@itolond
@itolond 2 месяца назад
NOOB question - seeking to run Audio from an ESP32 to a Medium Surface Transducer (4 Ohm 3 Watt) - I have been advised I need an AMP (TPA2012). the question is, do I need an SD card breakout, controlled by esp32, or is there an integrated breakout with an internal amp and SD for the output I require (alternative a solid state flash breakout)
@Backedone-ss5vw
@Backedone-ss5vw 3 месяца назад
Automatic arati player. What I need is a music player play audio file from SD card on a perticular time. Example: 1. Player should turn on at 06:00 am play audio track 1 for 26 minutes 44 seconds and turn off. 2. Turn on at 12:00 pm play audio track 2 for 19 minutes 55 seconds and turn off. 3. Turn on at 06:00 pm play audio track 3 for 22 minutes 12 seconds and turn off. 4. Turn on at 09:00 pm play audio track 4 for 16 minutes 11 seconds and turn off. Note: I am doing it with smart switch with scenes. Which turning on my Ahuja 250 amplifier and multimedia kit with USB TF AUX & BT. Timmer working fine but managing seconds are a problem here. And changing audio track every day is not what am looking for. Anyways managing adding blank audio to match the timing. I'm looking for fully automation. It's for a temple. Audio module with Arduino is a option here but I'm not a programmer. Is there any pre built device available please let me know? If anyone like to help me with this most welcome. I can offer a like a cup of coffee. Thanks in advance.
@devinmartin7626
@devinmartin7626 5 месяцев назад
Can i request some pro tips ? Ive got a pemenol pemenol 60W Voice Playback Module, PEMENOL DC 9-24V High Power Music Player Mp3 Trigger Amplifier 64Mbit Flash Storage Sound Board Supprt Sound and Light Alarm How the hell do you make the lamp trigger, im using the module to make a dance party bathroom 😅 and the lamp circuit is suppose to trigger a 24v relay that will controll the 110v overhead lights. My board is showing a constant 24v actoss the lamp pins whether its triggered or in standby.
@darrenjcosborne
@darrenjcosborne 4 месяца назад
Hi, great videos and content! Question regarding the DY-HV20T... the data sheet is a bit light on information... are you familiar with what logic level the pins are working at? I've seen videos with an Arduino connected directly, and discussions suggesting they work at 3.3V (hence I could then hook my esp32 directly to the board without a logic level shifter). Do you have any experience with this? Thanks in advance.
@mec-rc
@mec-rc 5 месяцев назад
Have you any experiance about looping mp3 tracks? I've used DFPlayer mini with Arduino as engine sound simulator, cyclic repeating engine sound track, but I hear a click sound when the loop restarts (triggered from IO pins, but same clicking result) I'm looking for another sound module for this, the DY-SV17F could be better?
@stephengrattage5219
@stephengrattage5219 Месяц назад
Thank you for the video. I have been struggling with a arduino project which involves a adafruit sound board. I’m trying to connect with serial to the board but also want to use a Oled screen which is i2c. I can get both to work individually but not together. Have you any recommendations. I am more than happy to use a different sound board if it will make it simpler.
@marchache
@marchache 2 месяца назад
Outstanding video. Nice to get recommendations from someone who knows what they are doing. Particularly liked the power wiring for the DF. Is the size of the smoothing/filtering cap critical (assuming the voltage can be handled of course)?
@marchache
@marchache 3 месяца назад
Great video! Have you explored using the USB pins on the DFMini for power and file transfer. I have a project in mind (dementia friendly music player) and was thinking of using commercial power banks to power the unit. Transferring files via this port to the onboard card would be much easier for caregivers. I've seen one video on this but... sketchy. Wondering if the same power conditioning should be used.
@djulien234
@djulien234 Месяц назад
Why do you need to connect both grounds of the DF Player (@4:30)? The grounds are both connected to the case of the SD card holder, so they're already inter-connected.
@SjwNz08
@SjwNz08 3 месяца назад
12years ago I had to make a system to play safety messages and some other audio tracks and at the time I was using a bu9437akv chip by ROHM. took ages to get this going and I wish these modules were around back them. I may have to redo the project soon so I will be using one of those modules in your video.
@310765
@310765 5 месяцев назад
I am going to use a DFRobot Min iMp3 player on my next project with an Arduino R4, I'm going to use a breadboard power supply to power the device independently using the 3.3v option, do you think this will be okay?
@bryanlaygond
@bryanlaygond 5 месяцев назад
What happens when the last (or only) mp3 file reaches the end? Do the DY modules loop back automatically? If not, Is there a way to loop the mp3 without the need of a microcontroller? Thanks for your video! I am more aware on how to approach my project now thanks to you :)
@Andrew-ps9zp
@Andrew-ps9zp 5 месяцев назад
Do you know what the speaker ohm rating should be for the df player mini? Also what power supply would you recommend? Thanks
@lwo7736
@lwo7736 Год назад
An advantage of the sd card version is rhe ability to remove the card, take it to your pc, mess woth the tracks and put it back
@PaulStanos
@PaulStanos Год назад
I have been encountering the sorting issue over time as I remove/replace/rename files, and my solution was to just delete all the files and begin again. Obviously, pretty annoying. Thank you for highlighting the DriveSort tool as a much better solution!
@spasticjackson9578
@spasticjackson9578 3 месяца назад
Brilliant ! Thanks for the bit at the end about naming and indexing. I have just started messing with the AI Thinker Audio Dev Board and the Koobok SD version. Tons of potential with these playback boards. Thanks !!!!!!
@TBoy58_405
@TBoy58_405 Год назад
Many thanks for your video. The DFPlayer mini has been my usual goto for sound and you’ve taught me something new about it (diode). My current project uses the DFPlayer Pro. It has some similarities to the Mini and some differences. Your section on naming was very informative and explained some of my Pro issues. It’s a pity the Pro was not one of your comparisons, but maybe another time. Thanks again 👍🏾🤓
@Atelier_Haserot
@Atelier_Haserot Месяц назад
An English guy is going to mispronounce ".wav" SMH
@SonnySmith-dz9if
@SonnySmith-dz9if 5 месяцев назад
what battery pack do you suggest getting for the DY-SV5W ?
@TheBadoumba
@TheBadoumba 8 месяцев назад
Dear Alastair. Thanks for all of that and your very useful comments. Is there any device allowing to play and control independently multiple audio files or do we need one board for each? I was looking for a way to build a 8 steps loop sequencer launching individual audio files and build a more elaborated Raagini Tanpura. Thanks 😊
@Kaasgeelheid
@Kaasgeelheid 18 дней назад
This video is insanely useful, thank you so much!
@romanokonechnikov6279
@romanokonechnikov6279 Год назад
Very useful video. I'm tired of DFPLAYER modules, so now I know what to use instead. Thanks!
@pamjeed321
@pamjeed321 7 месяцев назад
Thank you for informative video
@michaeln7305
@michaeln7305 2 месяца назад
I recently got afew of the blue 8 track flash drive boards, came with 8 MP3 files on them however when I add my own MP3 files only 1 will play, and only from the I01/RX tab on the board, I get nothing from the 102, 103, 104 etc tabs. These all work & play the included test MP3's. What am I doing wrong?
@michaeln7305
@michaeln7305 2 месяца назад
Ok Now have it playing the 4 sound files I want, controlled by 4 latching on-off switches, Only issue now is if I flip a switch it plays the sound file twice, then stops. Don't know why it plays each one twice...
@oscarfoxtrot99
@oscarfoxtrot99 Год назад
My experience with the DFplayer mini is the same I've never yet found one that performs 100% of the functions in the spec.But generally they are good enough and cheap. I would be interested to know how you would incorporate a variable volume control as this is often needed though
@PlayfulTechnology
@PlayfulTechnology Год назад
The DFPlayer has software-based volume control. So, if you're controlling it via the serial connection, you can issue a command like myDFPlayer.volume(10); to vary the volume supplying a value from 0 (min volume) to 30 (max volume). If you're using it as a standalone device you'll need a hardware-based volume control instead: your first instinct might be to put a rotary potentiometer into the speaker output, but this will change the impedance between the amplifier and the speaker. The "correct" solution would be to use an L-Pad attenuator instead, like one of these: cpc.farnell.com/c/pads/l-pad
@marchache
@marchache Месяц назад
​@@PlayfulTechnologywould a rotary pot be ok on the DAC pins for headphone volume control?
@vigneshkarthi3321
@vigneshkarthi3321 6 месяцев назад
I was thing of create a cheap ipod shuffle, then I saw your video help me alot.
@kennnnnethchua
@kennnnnethchua 14 дней назад
Thank you so much for this video
@fabriglas
@fabriglas 3 месяца назад
Whats the software he is iusing looks good!?
@turkeyplague
@turkeyplague 13 дней назад
Great video! Is there any way to query the DY series boards for the number of stored files when using the serial interface mode? You could just hard code a number into the Arduino that reflects this but would be good to be able to do this dynamically so that you don't have to recompile the code when you add or remove files.
@PlayfulTechnology
@PlayfulTechnology 10 дней назад
The serial interface is pretty basic and restricted to only those pre-programmed commands as documented here: github.com/playfultechnology/arduino-audio/blob/main/DY-XXX/UART%20mode%20user's%20guide.pdf However, one of the commands is described as "Check number of all music", so try issuing 0xAA0C00B6, and reading the two byte returned value
@WilmaWaldron-c5n
@WilmaWaldron-c5n 8 дней назад
Smith Sandra Perez Maria Lee Shirley
@ImperialLightandMagic
@ImperialLightandMagic 6 месяцев назад
Really struggling with a DY-HV20T at the moment. I got it to work once (although it played 3 tracks as if it were skipping to next) using a test sd card I had. I removed the sd card, changed the files to the one I wanted (playing an explosion only) and now it's lifeless. Did you find an documentation on the dip switches and modes, other than what's on the Aliexpress listings? Thanks, Patreon Steve
@PlayfulTechnology
@PlayfulTechnology 6 месяцев назад
What issues are you having with the DIP switches? I basically just set them to serial control and then leave them there.
@ImperialLightandMagic
@ImperialLightandMagic 6 месяцев назад
@@PlayfulTechnologyThanks for replying, in the end I had a combination of issues (faulty sd card...doh!) that contributed to my frustration. I was still unable to get it to do exactly what I wanted, but I worked around it, and it's now installed in an ER
@arbjful
@arbjful 10 дней назад
Is there a module for text to audio conversion? I want to send character data serially, and the text is converted input audio and played..
@PlayfulTechnology
@PlayfulTechnology 10 дней назад
TTS hardware does exist - it typically sounds very primitive though - like "Speak and spell" machines from the 1980s - you can even emulate it using software alone, e.g. with this library: github.com/bobh/ESP32Talkie.... or, if you just want to read one letter at a time, you can save separate audio samples as a.mp3, b.mp3, c.mp3 etc.
@V081WLBlue
@V081WLBlue 2 месяца назад
First 14min are a waste of time! Go to 14:18
@Dabaiko
@Dabaiko Год назад
Hi Alastair, thank you for your videos. I have been watching your projects for years, as you are the only person on youtube that handles some of the concepts needed for the weird things that I come up with and try to learn how to build. Recently I was researching this very topic. I found out you can play audio files from an ESP32 by wiring it directly to an sd card (easiest setup is to use a microsd and solder the wires to a sd to microsd adapter) and to a speaker. I found this setup to be the minimal option to be able to play random audio files with minimum number of items and space. I think there might be a way by using logic gates, a timer and a standalone dfplayer but if possible it would be quite more complex. I am sharing this option because I usually have very little room available, and I almost go mad every time I have to face the inconsistency of the dfplayer.
@PlayfulTechnology
@PlayfulTechnology Год назад
Thanks for the comment! You're absolutely right - you can play back audio files using only the ESP32 hardware (in fact, you can even do this on an Arduino [at very low bitrate] using something like the TMRPCM library: github.com/TMRh20/TMRpcm). I didn't mention this as a viable solution though, because it tends to occupy a large amount of the limited resources available on an embedded chip, both in terms of processor and memory usage. So, if you try to get your sketch to do anything else in addition to playing back audio (e.g. polling button input, reading a sensor, or applying any controller logic) you quickly run into timing issues and playback becomes unacceptably choppy. That's why generally I'd recommend offloading responsibility for audio functions to a dedicated audio chip like those mentioned in the video, and all the ESP32 has to do is issue a few simple byte commands.
@Dabaiko
@Dabaiko Год назад
@@PlayfulTechnology I didn't know that! Thank you so much for pointing it out.
@pinheadpuppet6755
@pinheadpuppet6755 5 месяцев назад
Are there any arduino libraries for the dy-sv5w? Or does it use the same library as the df miniplayer? I cant seem to find any online
@PlayfulTechnology
@PlayfulTechnology 5 месяцев назад
I use github.com/SnijderC/dyplayer in all my projects.
@22johnwatts
@22johnwatts 2 месяца назад
Great video, thank you.
@peterensinger1770
@peterensinger1770 6 месяцев назад
hi i have been looking for a small mp3 player but i do absolutely need the output to be stereo i have tried the df robot mini player board only to find it only outputs a mono audio i confirmed this by tracing the dac L and dac R pins they ultimately go to the same pin on the mp3 chip on the board i was looking at the other boards you show in the video but i cannot find any schematic diagrams or other specifications and or pinouts of the ic so i could confirm that those boards are indeed stereo via the 3.5mm jack i am not bothered about any on-board amplification as this is done elsewhere in the project all i want is a simple to control via a serial connection MP3 player that outputs a stereo audio. Can any one confirm if any one of these boards are stereo?
@ytfp
@ytfp 2 месяца назад
what you want is the dfplayer pro version (dfrobot)
@LauraBrand-b9i
@LauraBrand-b9i Год назад
What a great video for explaining all those DF player quirks! Can’t wait to try some of the DY versions you recommend! Thank you!!!
@JohnKonye
@JohnKonye 10 месяцев назад
Is it ok to use a toggle switch (always on after activating) to trigger sounds? I have a 5 switch panel for my car. Looking to make it seem like I have a Jarvis. When I switch on the first + lead to ACC, I want it to activate the "Welcome back Sir". that switch will remain on providing power to ACC. then When I switch the Coil Lead, I want a "Ready to start Sir". Possibly a few others, but is it stable to trigger multiple soundbites once with an always on switch? Did that make sense haha
@millenniumfalconnotes6628
@millenniumfalconnotes6628 3 месяца назад
Thanks for a genuinely useful video! So many other folks don't go into the actual nitty gritty on how to make the things work properly, but just hand-wave vaguely. This is far more useful! Now - if I could find a board like the ones you described here, but capable of stereo amplified playback and which autoplays on power-up... :)
@omot4372
@omot4372 Месяц назад
Thank you so much for this great introduction into different audio-boards and modules. That is and was so helpful. Great job!!!!
@dimarybachkovskyi2137
@dimarybachkovskyi2137 9 месяцев назад
Hi! It will be interesting video about VS1003 / VS1053 because it is using in many models of modern internet radio. There are several models of VS1003/1053 and VS1053 on the market now. And they are not same. PCM5102 and UDA1334 will be interesting too. Thank you!
@johnburgess2084
@johnburgess2084 7 месяцев назад
Thanks for that fun and enlightening video. I've just started messing around with audio stuff (via I2S), and have an ESP32 MCU and a Sparkfun WM8960 breakout board. So far, I can say that the WM9060 is complicated as heck, but you can probably do almost anything you can imagine with it (but maybe I have a limited imagination). Between the "Analog in" to "I2S out" section and the "I2S in" to "Analog out", and combining with Bluetooth and/or Wi-Fi, I imagine there's not much you cannot do with this breakout board. I'm still trying to figure out, when you read or write the I2S interface, how the code can discriminate between left and right channels in the buffer memory. Great fun, thanks again!
@ralfw7463
@ralfw7463 5 месяцев назад
Hi. Great video! I would liketo show the active file on an lcd. So do you know any such module which allows to read the filename from the storage device? Or let you stream the data to it so you can access the files via an sdmodule?
@PlayfulTechnology
@PlayfulTechnology 5 месяцев назад
These cheap audio modules only have a basic access to the filesystem of the SD card, and unfortunately don't expose it to allow any queries from the microprocessor either. To do that, I'd use a standalone SD card and then stream the data to an audio chip using I2S, but that's quite a lot more involved.
@ralfw7463
@ralfw7463 5 месяцев назад
@@PlayfulTechnologythangs for your reply. I have no problem with involved.. at least I guess. Just limited time. So bitbanging would be beyond scope. But as long as there is a library for it i thing i could manage.
@aafnx
@aafnx 7 месяцев назад
Hey! I am looking for the best microcontroller for a drum machine I want to do as a project. Ideally i want it to be programmed digitally but controlled via an analog controller. What would you recommend?
@lautungho1
@lautungho1 9 месяцев назад
hi bro, do u know how to make the DFPLAYER can switch the audio from between earphone and speaker when you plug the earphone jack
@Duggs1010
@Duggs1010 Год назад
Does anyone know if there any way to configure the DY-HV20T to be not-Interruptible? I've been trying to use the busy pin but have not landed on a working solution. Every time the board is triggered it will restart the song.
@richardnulli7755
@richardnulli7755 4 месяца назад
Many thanks for this informative Video. It fits to my actual knowledge deficit in this matter and have solved it completely.
@Marc_Wolfe
@Marc_Wolfe 8 месяцев назад
..... I2S
@StanleySeow
@StanleySeow 2 месяца назад
Good INFO on the DFPlayer circuits, TQ
@mydmcdelorean
@mydmcdelorean Год назад
Hey, great video. I need some help.... am using an MP3 trigger board to play a sound to sync with lights from a prop but there always seems to be a 1.5 sec delay for the MP3 to play when triggered (even using a relay). Do you have any tips as to how to make a sound play instantly as soon as a trigger voltage (high 3.3v) is applied so it syncs perfectly with the prop I am using (which triggers instantly). Delaying the prop is not an option in this case unfortunately. Thanks in advance as flashing of the lights needs to sync with the sound
@Videogame9559
@Videogame9559 8 месяцев назад
Hi great video very helpful. I like to control the skull jaw with a servo motor mover with a sound device that loads soft sounds. I can control the servo with the gpio pin pi pico but what's the best board to use to do this ?
@shrikedecil
@shrikedecil Год назад
Have the old iPad/iPhone "Airplay" connectors been figured out far enough to make on of these a car's entertainment system?
@ChrisD1984
@ChrisD1984 5 месяцев назад
This is an extremely good and thorough explanation. Exactly what I was looking for. Thank you very much.
@remip6135
@remip6135 9 месяцев назад
Just thank you so much for all of this information with everything wandering around on the internet! I wish this would be saw by more People You don't know how much it helped me
@Videogame9559
@Videogame9559 7 месяцев назад
Which is best board to trigger a servo move with sound file l taking skull to move the jaw
@DreamsOfTheMind-video
@DreamsOfTheMind-video 7 месяцев назад
Thank you, it helps me to make a choice between all the players! Great explaining to!
@doverivermedia3937
@doverivermedia3937 7 месяцев назад
This is SUPER helpful. Very clear & insightful. ... 🇬🇧
@andytrewin
@andytrewin 2 месяца назад
Wow ~ just found your channel, you are now top of my play list ~ excellent presentation, thank you. AndyT(Somerset)
@PlayfulTechnology
@PlayfulTechnology 2 месяца назад
Awh, thanks Andy - that's really kind of you to say!
Далее
You’ve Never Seen WiFi Like This
20:43
Просмотров 909 тыс.
ПОЮ ВЖИВУЮ🎙
3:19:12
Просмотров 878 тыс.
Triton Conference 2024: Morning Session
1:37:43
Radxa X4: An N100 Pi
20:48
Просмотров 30 тыс.