![]() ![]() This particular one im going to show you is generic to the yx 5300 chip that that this board contains, but this particular one is made by i i deepen and its a pretty nice little module that can play whatever sound or song you want. So if you check out the documentation, theres not a lot here, there are some ratings theres. Some answered questions that show you a couple of different options in terms of how you interact with this. But we can see that because theres an rx and a tx uh and then vcc and ground. This is a serial module that says serial mp3 player. So we have to figure out how to hook this up and instead of writing the serial code ourselves. Its best to find a library, thats easy to use that can play whatever song or sound. We load onto the sd card, so im going to show you the fastest way to get this working and show you some tips and tricks. How you can integrate this in the arduino code, so first things. First weve got our little board right here. We can connect it and then we can also load up our song onto the sd card. Okay, so first ill show you the electrical connections. Pretty simple in this example, so i do have an uh bluetooth speaker here. So ive got my bluetooth speaker, its got an auxiliary audio cable, so i am going to hook that up and then get ready to play through the serial mp3 player. 3.5 millimeter auxiliary, audio, cable jack. These pins are already soldered, which is pretty nice. Ive got ground, vc, ctx and rx, so im going to plug those into the breadboard anywhere, really is fine. Got lets see so first i got the ground: pin were going to connect this to ground im, going to make a ground and plus 5 volt connection to the arduino right there right there cool now, im going to connect to vcc to 5 volts on the arduino. All right next up, weve got tx and rx, so im going to make the yellow tx and the orange rx okay so were going to leave the tx and rx disconnected for right now. Well, come back to this when were wiring it up, because you actually have to flip the tx and rx for this particular board. It is the micro card, not not the larger card, so you got to make sure you have a micro sd to use this device um.Īt least i did to get this working so its kind of an interesting little uh nuance that we have to be aware of, but lets take a look at what the library looks like and look at a simple example code.īut first what i want to do is actually show how to get your own song onto the sd card, so were going to get a micro sd card all right, so ive got the micro sd card im going to plug it in over here in my computer, With my, i just have the standard micro sd card reader, which i can unplug in a micro sd card right here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |