 It's me JP and you are here just in time for JP's product pick of the week of the first week of August Welcome and thank you for joining us. If you're in the chat somewhere and you're wondering why is it so quiet? Where is everyone? Why is twitch chat a wasteland? That is because we are mostly over on our discord So if you want to check it out head on over to adafru.it Slash discord and look for the live broadcast chat Channel and you will find the people in here. We're also keeping an eye on the YouTube chat. So hello Hey tackle the world Dave Odessa Dave Echols Gavin Bell nice to see you all. Thanks for stopping by and Over in our chat. Thanks Jim Hendrickson and C Grover And I believe or our good friend Todd bot just stopped by a different chat actually to say hello and I am glad to have you here. What is happening? Oh my goodness DJ Devon 3 With the fast photoshopper II appreciate it. Yeah, Lars is a pal too Admittedly so look at this cutie though, huh? This is a little golden retriever lab puppy that we're Taking care of and raising for a little bit So let's see. What have we got going on today? I first of all will encourage you to head over to That URL right there and that QR code if you are interested in checking out this week's product pick of the week You will find that this show is broadcast from inside of there So you won't miss a beat if you watch it from in the shop inside the show inside the show inside the page Which is in the shop and I say that because this week's product pick is I believe half off And you can get up to ten of them without a need for a coupon code or anything So if you want to get some throw them in your cart and just make sure to Purchase them go through the whole Purchase process before the end of the show because we do turn off the discount right around the end of the show So you might have a few minute grace period But if you want to be sure to get this week's product pick then head to that URL right there It's product ID 5 7 7 0 you can go go check them out right now if you want But before I say any more about it I'm gonna have lady Ada go and tell us about it in her new product segment. So take it away lady Ada The I2S amp BFF. I love these BFFs We have our QT pipe boards and see has their shower boards and maybe you want to be making very small projects Well, we've had a bunch of BFFs that add Neopixel level shifting that add battery support. Oh, we have one that's coming up with iSpy And one of the things that I thought would be really useful to be able to have high quality audio come out because a lot of the QT pies that we have don't have Analog outputs and you maybe want to make a little music player or prop or some toy that makes audio Sounds so the I2S amplifier is a great 3 watt amp. You'll use this three pins And on the ESP 32 and RP 2040 and NRF 52 840 Qt pie and shower board you can use any pins I will say this doesn't work in this configuration with the samd 21 it could work But you'd have to cut the traces and rewire it and Let me see if I've got my demo. So Let's go to the overhead Again, I don't know if this will work, but we'll try If not, I can just show it off. Oh, yeah Okay, so I've got music coming out of here so you can hear the audio So this is actually streaming using the ESP 32 And it's connected to an mp3 server that's streaming our frequency Record that tom white did So here at Adafruit So it's streaming the audio out and it's sending the data where I2S which is digital Which then is connected to this Molex picoblade connector. So to keep it nice and small. We're using molex picoblade You can you know, I just grabbed one in the shop We have the little pigtails and I soldered it to this 4 ohm 3 watt speaker, which is the max You can drive with this by default it's set up to be Stereo so you see this r and l you leave them empty and it means it's mixing the left and right channel So it makes a stereo output which will sound great for 99% of use cases If you ever just want the left or right channel, you would solder One of those bridges closed It's also connected to a 0 a 1 and a 2 for the Data pins so in the back. I think yeah the default is d it is a 0 Left right word select a 1 and bit clock is a 2 but You can cut these traces and then there's these little pads you can solder to and you can like solder little wires if desired to connect to Other pins again for the sand B 21 you'd have to do that. What's nice is the um Rp 20 40 esp 32 series and at r 52 at 40 can use any pins for itus So, you know, you can use those defaults or you can change them as desired And it gets you nice high quality digital audio. So if you want to make Music players, I mean again, this one is streaming. But what you could do is um, Associate on the rp 20 40 which has eight megabytes of onboard storage with the q-spy flash in circuit python You can easily play fairly long audio clips. It even supports mp3 through i2s Arduino also has some i2s support, but it's not as good. Honestly a circuit python which kind of we've really tried to make it have Uh first class support for streaming mp3 or wave files This esp 32 demo is an arduino. It's just one of the demos that I found published for i2s mp3 streaming And that works fine too. You can also use 8 ohm speakers But you know form 4 ohm 3 watt will get you the most audio so For like 5 bucks, you've got digital quality audio coming out with a classy amplifier I really love the max 98 357 chip on here. It's a very good quality Audio amplifier and it makes for a lovely little board to add to your Stem aqt or shell Ah, yeah, look there it is right there Look look how cute this right here Is my product pick of the week this week. It is the i2s amplifier b f f It's your best friend forever for your qt pie or xiao board Which you will just place back to back with a qt pie And then in code you can call the pins that have been selected There's three pins used as well as power and ground In order to send really nice high quality digital audio out to a speaker the speaker can be Up to three watt four ohm Or eight ohm speaker and like lady. I said we have a nice little pico blade connector there that you can Plug in some of our speakers come pre wired with that you can also splice your own on depending on your needs And what I wanted to do is Let me show you a nice little demo of this. Let's go back to this camera view here And you can see we get that Zoomed out just a little bit. That's a bit it's a bit aggressive. Uh, hold on zoom Come on out. There we go. Yeah, it looks pretty good What i'm gonna do is i'm gonna turn on Uh another microphone that's going to pick this up so you can hear me and uh the bff Over the speaker there pretty well, I think And I will go ahead and start that audio playing. I'll show you the code for this in a second But here we go. Let's uh, let's let's see. I'll explain what's going on here. So I have my bff hooked up to the back side of a qt pie rp 2040 Uh, and then you can see I've got a nice little speaker plugged in there And these speakers sound really good when they are coupled with a sound board So they have an adhesive ring on them that you press to your enclosure. They're made for things like tablets and Laptops so they work really well nice and flat pressed up against the enclosure Uh, and I'm going to go ahead and start the couple samples couple samples couple samples I have playing here a couple sounds sound samples And let me know if you can hear that Pretty well, otherwise I can move the mic around and and try to uh increase the gain there Wait a moment Uh Yeah, cutie pie cutie pie specific microphone actually have this nice little it's a guitar cabinet amplifier Or microphone rather And it could be louder Okay, let me crank But you know what I'm also going to raise these up just a little bit I'll guess that Okay, uh Volume pretty low for hearing the sounds much better. Okay, good So just to explain this will make it a little easier when we when we uh Pump up the volume since David S. I think that's pumped Good So this will make it a little easier when I show a excerpted video of this I'll explain again what this is. So here you can see I have the i2s amplifier bff Soldered to the back side of a cutie pie rp2040 and then I've just plugged in one of these nice little Speakers that have the picoblade connector. So you can pull that right off depending on how your setup is Is meant to be put together This is playing three wave files that I have actually all playing at the same time and then I'm just Changing their output levels in the mixer an audio mixer All happening inside of circuit python and they're just looping sounds And you can see this will work really well for projects that are maybe small props little enclosures costume things sound players toys little synthesizers, uh and the like so Really nice easy basically plug and play if you want to see what's going on in code here The key thing here is that I am setting up on Audio bus i o I have audio equals audio bus i o i2s out And then I've selected the three pins that I need for the i2s audio. So those are board a0 for the audio data pin a1 for the word select or lrc pin and then board a2 for the bit clock pin With those set up as the audio object. I can then open up a bunch of wave files I have three of them in this case on the onboard flash of the cutie pie Then i'm setting up the mixer with the number of Voices that I have samples in this case three And then I take all of those and I start them playing with their levels down And then I have since these were mixed at different levels. I have I'm playing them back At different levels as well. And so in my main loop here. I just go through and adjust the The mixer voice level there so that we can hear individual sounds if we want we can actually Play them all at once. Let's let's just make a racket here. I'll set them all to a level of one And I'll just leave them there So we'll layer them. So we'll hear the first one add the second one on top And now the third one Starting to blow it out there a little I'm peeking that That speaker by playing them all at such a high level So what I'll do is I'll go ahead and stop that right there with the control c So code is really straightforward here is a look at these Front and back one second. So you can see this is the max 98357a amplifier i2s amplifier It has jumpers on it so that you can cut the built-in pin Definitions if you don't want to use a 1 2 and 0 as intended you can then jump her to other Pins on here, especially useful if you're on a board like the m0 that doesn't have the same Default pins as most of the other cutie pies that we're intending this for and you can see on the bottom there this little pads for each of those pins that can be Can be plugged into Just jump or wired over to different pins there Let's see. What else is there to know about it? You can change the Left right or left only or right only audio So if the i2s audio you're sending to it is stereo this will kind of do a mix for you Which is nice improves the the quality, but you can also go in and jump her those to If you have some other use in mind I actually have mono samples on here and even though it's trying to do the stereo mix thing It sounds fine. I haven't experimented with it to hear how that changes if I jump her that but that would be worthwhile to do Uh, if you want to check out the main page here, like I said, this is product 5 7 7 0 You can see they are normally only four dollars 95 cents right now. They're two dollars forty seven cents half off during The show right now. So just throw them into your cart. You can get up to 10 of them And you don't need a coupon code. You'll just be able to buy those at At that price during the show You can see here we have include one molex picoblade two pin cable if you want to get one of these This will allow you to then solder on to some other speaker Or you can grab, uh, I don't know if we have it listed down here. Let's let's just type in speaker I have one of these little mini oval speakers with short wire We also I believe have one with a regular length wire. Those may be the only speakers we have that come with the The picoblade connector on there. So you can you can look through, but you should be able to drive any three ohm Rather up to three watt four ohm or eight ohm speaker that we have here you're Sorry one watt. This is a one watt speaker not three watt Let's see other info if you click on the learn guide link in the main product page You'll see we've got a nice guide here from catney give you an overview of the board a little info about your pinouts connectors i2s pins the setting setting the jumpers to different Pins the through hole pads for jumpering those if you want to as well as the left right channel jumpers So this defaults to a stereo mix, but you can go to the right only or the left only depending on your needs Little hint by the way sneaky trick that should work With this, um, I haven't tried it, but uh, if you Need extra sounds and you've run out of uh space sometimes you can get away with using a stereo Left-right mix and just jump over to left or right only and actually have them be two completely different Sounds, uh, those may end up being the same size as individual monos or you may you may be able to compress things a little further with that so It's an it's an option for if you want to have kind of two sound banks and don't want to use extra buttons and code You you could potentially have stereo files that are actually completely unrelated left and right channels and just flip between those on that Using a slide switch on that That little solder pad Then there's info about using this inside of circuit python as well as arduino a little demo there You can see that has a different speaker connected up to it Uh, and that's a typical setup there. You can see with some Using some header Socket male and female pins there on the one I did here Uh, you can see This actually I'm going to unplug this from usb and the speaker Uh, so in this one you can see I got it pretty low just by using the headers that come with it Just these male headers. Uh, I did not trim these you could trim these to get uh, this a little low profile I left these on here in case I wanted to sort of wire wrap Any additional outputs or buttons, uh, but keep in mind you've got your Stemic qt connector. So if you do want to use some sort of, uh, i-square c based input or other sensors accelerometers Key pads and so on you can plug them into here. Maybe a rotary encoder There's a lot of ways to to add interface or even Add a display over that stemic qt Um, and you will not disturb the i2s audio here. Those are on different pins So it becomes a a pretty versatile little package and look how look how tiny it is It's basically the size of of this little speaker here. So you can really mush this into a small space Uh, let's see anything else. I think Uh, oh here's a question from youtube Uh Will headphones work asks dave etchels, uh, I don't Think i've ever tried running headphones off of this amplifier. I don't see why not Um, but if anyone has tried it and or has has info to the contrary, let me know Um, it wouldn't be too hard to use a little headphone breakout. We have either just individual Um Mono 3.5 millimeter or stereo ones and you can solder both channels Um, there's a there's a chance that'll work Um, I would try it. I I don't see a reason why wouldn't it's not designed for it But I think you might be able to get away with uh with using headphones. Um, let's see O.g. Thinkster wishes there were better samples well Get one and put your favorite samples on and then they will be for you personally better. Um for me These are my favorite. That's just because i'm using those samples right now for a for a project a different project Uh, Gavin bell asked does the bff stack with the lipoly or neopixels work? Yeah, so you can stack these if you use long stacking headers and add a little battery lipo battery bff You could add a neopixel one So long as you with something like the neopixels are Setting it for a pin that isn't in use. So this uses zero one and two You can use different bffs to stack onto here the lipoly battery one doesn't use any any pins So unless i'm forgetting something so you should be able to do The lipoly add on to this and and uh audio all in one, which is a really nice nice idea. I like that All right, I think that it's going to do it for questions Penpego says you can play bad apple on it. Yeah, there you go Our headphones the right ohm resistance. Yeah, that would be the question. I don't I just don't know actually I don't know if you can do Your typical headphones. I don't know if they're Three ohm four ohm. I'm not sure what the typical resistance is but yeah, that could be the um The kicker there. Yeah, uh, and a really good point actually that Penpego made is You can check the downloads page of the learn guide for the datasheet and this will Potentially answer your question as far as your ability to drive headphones or different Um impedance Uh outputs, so they say this one. Let's see sometimes they'll give their their use case Uh for this Usually it's up at the top though, so I've probably passed it if they have it Uh, yeah notebooks notebook computer cellular phones tablets Um presuming speakers I don't know if it would say if it's a headphone driver as well Good question. Sorry. I don't know the answer. But yeah, if we um, come up with a good answer for that We'll add that to the product page All right. I think that is going to do it. So Uh that let me go ahead and grab where'd my spare one go? I they're so tiny. They're easy to lose there. They are That Right there is my product pick of the week this week. It is the i2s amplifier bff for cutie pie and jow Brayden fruit industries. I'm john park. This has been jp's product pick of the week. I will see you next time. Bye. Bye