 the show. It's me, John Park. It's time for another episode of JP's Product Pick of the Week. So if that's what you're here for, you have made it. Thank you so much for joining us. If you want to join in on our chat, we have our Discord server up over at Adafru.it slash Discord. Look for the live broadcast chat channel. That's it right there. Hello everyone for stopping by. Also, a lot of people over there in the YouTube chat. So hello and thanks for stopping by. David Odessa, Sarah Pierce, Johnny Bergdahl, Marie Meyer, Connor McCarter. Thank you everyone for stopping by there. If you are somewhere else like Twitch and you're wondering where the chat is, then check out our Discord. That's a good place to come and chat anytime. But during the live stream, you'll want to check out the live broadcast chat channel. Let's see what else is going on. Grab a sip of water here because it is hot. It is hot in Southern California yet again. Let's see what else is happening here. We've got a great big huge discount during this show on this week's Product Pick. You can go right there to that URL or to that QR code and you will end up on the product page. Inside the product page, you will find this video playing so you can go watch it from right within there if you like. You can also throw a bunch of this week's Product Pick in the cart for that 50% off. We've got going maximum of 10 per customer. No coupon code needed. So just throw them in your cart and make sure you hit buy before the end of the show because we will then pop that price right back up to the usual full retail price. So head on over there. That's the URL you want to go to. $257.69 is the product ID number. Before I say any more, let's have Lady Aida tell us about this week's Product Pick. So please take it away, Lady Aida. The Audio BFF. So this is an add-on board for Stem and QT boards. We just showed off the ESP32 SD QT board and those QT boards are very minimal. We don't add a lot of extra hardware on them because we figured, hey, you can just plug in little boards on the back. These are VFFs. And we made one that has a microSD card and we also made one with an I2S amp and I needed for a project something that had both a microSD card and I2S amp so could play audio clips, long ones, ones that were too long to store on the internal flash memory of the S3 chip or the S2 chip. And so this is what I created. It's got a picoblade connector for the speaker. It's got a 3-watt I2S amplifier. It's, by default, it's 9 dB gain and stereo mix output. And then there's a little Molex microSD socket. You can plug in up to 64 GB cards and then use Arduino or circuit Python code. We've got plenty of both to read audio files or any whatever. It doesn't have to be audio files, although that would make sense because then you'd play them through the I2S amplifier and you get really good quality audio much better than using a DAC. You're going to get your full 16-bit audio. And then if you really want to, you can, of course, stack another one. I have two speakers. So you've got your semi-QT, sorry, your QDPI board, like this ESP32S3, or you've got the RP2040. And then you're like, okay, but I want to have microSD and speaker. You can solder headers onto this. And then what you can actually do is also solder this board directly. But in this case, I put socket headers on it so I can remove it for live demoing. That works quite nicely. So you get really nice quality audio. And I protect this originally for the Torhacker board because I wanted to have something that could play long audio clips like up to two or three minutes. And it looks very nicely. Circuit Python is what we recommend because we've got the best I2S wave playback support there. But you can also use Arduino or ESPIDF if you like or whatever. Yeah, look at it right there. That is the little bugger. Oh my gosh, it's cute. It really is your best friend. This right here is the product pick of the week. This week it is the Audio BFF. This is for QDPI and JOW boards. And it gives you both a microSD card reader and an I2S 3W amplifier. So it is perfect for plugging in over its little picoblade connector, a small speaker and playing audio files with this just stuck right onto the belly side of a QDPI. So what I want to do is show you here's a here's a little demo of one that I've put together. I'll show you this on the overhead in a second. But you can see how just tiny that is. That's the little package right there with the Audio BFF and a QDPI RP2040. And you can see I've got a speaker plugged in right over that little picoblade connector. So let's go. You know what? In fact, before I go to the overhead on this, I'll give you an audio demo because I can just hold the little microphone up to my lav mic here. And what I've got set up is there's a little microSD card there with a bunch of audio samples. I actually grabbed some samples from the video game portal. And then there's the user button here on the RP2040. So what I'm going to do is every time I press that, I'll play one of the WAV files that's sitting right there on the root of that SD card. So here we go. Check it out. Hello, and again, welcome to the Aperture Science Computer Aided Enrichment Center. We hope your brief detention in the relaxation vault has been a pleasant one. For your own safety and the safety of others, please refrain from Whoa, you're doing please proceed to the start and stop. You're doing quite well. Please be careful. Quit now and take will be served immediately. Take, for instance, the floor here will kill you. Try to avoid it. Through no fault of the Enrichment Center, you have managed to trap yourself in this room. So that's just too much fun. I love those audio samples. That's off of off of the game portal. But you can see here, it's really fast to play. I can flip through these actually each time I click this, let me let me go to the overhead now. Now that you've heard those close up, I'm gonna switch the view around a little bit. And I'll show you a really cool feature of this that makes it just fantastic for things like props, cosplay, little sound toys, little wearables. What were some other examples I'd come up with that I thought this was helpful for like art installations, any little cosplay things. This is a really nice setup because it's so small. And having your sound files on an SD card means that you can swap them out really easily if something changes or if you have a different sound pack you need for something. So first of all, let me show you it with the setup we have right here. So there it is the audio BFF. And I'm using some little short feather headers there are short headers to plug it into the underside of a QDPI RP2040. There I have grafted one of these nice enclosed speakers. It's a four ohm three watt speaker onto a little Pico blade connector wire there. We sell those separately if you want to hook your own speaker up and then you can just plug it into that little port right there. And then I'm using that user button there. So when I press this Okay, so those are all these portal sound effects. What I can do is take that SD card out, grab a different SD card with different samples. I'm just going to slide that in. And I'm going to reset the code just because I don't have anything in my code that's going to detect that. Maybe that's possible in this code. I'm just hitting reset. And now I have totally different set of sound effects. These are like little eight bit sounds off of freesound.org. So it's nice and loud to let me place it up near my my lav mic here you can hear him again. And I think this is at about 0.65 or so point 0.7 volume on the mixer voice that I'm using. So you can use this for sorry so you can use circuit Python or Arduino works really particularly well in circuit Python because we have such great wave playback support, as well as the audio mixer. If you want to take a look at the code that I've got here, let's let's switch over to this view for a moment. So this is based on Lady Eight as demo on the main guide page. I'll show you that in a moment. And I just made one small change rather than using random I have it working its way through a sorted list. So it will each time press the button play the next one in the list. That's the big change there. But otherwise the same as the demo code. So we set up the card chip select the data, the L LR clock and the B clock for the I2S audio. I am setting up audio bus IO over I2S audio there with those pins. Then we are using that button that's built on. This code is kind of cool because first thing it does is it just checks for any wave files on the flash storage built onto the QDPI. So if there are any, you can keep those consistent always have those available. But then the next thing it's going to do is go and check your SD card. So here we have checking the file system for an SD card. If it's there, we're going to go ahead and mount that. And then we're going to add to our wave files list any files that are there. I'm also doing a little filtering to get rid of dot files or things that aren't ending in dot wave. And then we go and when a button is pressed, we open up a wave file so that gets opened that quickly right off of the SD card, which is fantastic, opens up just the one file there. And it'll even deal with different sample rates between files because we're only opening one at a time. I think I have 16 bit for all of these here. And then the mixer voice you can see here is set at point six when we press the button, we play it and then we increment our counter so that we can when it's done playing or when we press again to stop, we can go to the next one in the list. So really simple to use this is the basic example that you'll find right here if you go to Adafruit and go to product ID 5769. This is the product page for the audio BFF. You can go ahead and click on the little learn guide link that's right here. You'll usually find these in the lower section of a product page. So if we click on that, you'll see we've got all of the overview info on here. If you scroll down, you can get links to some of the cables that you can use with it such as this little little Molex connector picoblade, the one I'm using right there. Then we can check out the pin out. And this will tell you what pins are used for what. So this one, as Lady Aida said, the amplifier, it's the Max 93. Is that 3785? No, 98357, I thought. No, 257a, what the heck is going on here? There's different info everywhere. Oh, I think that's a typo on the silk screen. Yeah, I think it's the 98357. That's funny. So this is a three watt amplifier for four to eight ohm speakers. It has a couple of neat features here. One, you can select the gain. So it is by default at a nine DB gain. There are jumpers on the top there that allow you to change that to a six DB gain or a 12 DB gain, depending on your needs, just by soldering that connection or slicing a connection. And you can also use stereo sample files in case that's just more convenient for you. It happens to be what you have. The amp is in a mode where it will take the stereo and mix it down to a single mono channel, which is great. Which means if your stereo file had some stuff panned right and some stuff panned left, you won't just only hear the left channel. They actually get sort of summed in the middle there. So it plays those for you. So this will show you how to switch out different pin jumpers if you need to use the pins for something else, as well as setting the gain. And you can also make a different choice as far as stereo mix. That's the default, but you can also say I just want to play right, I just want to play left channel. And then we have sample code there for using insert the Python and Arduino as well as downloads for the fab files. If you want those. Let's see, let me know if there are any questions. Marie Meyer, could you use a PIR to trigger the audio? Yeah, that would be a really great. It's a great idea, really nice use of this type of board. You could use a little PIR sensor proximity sensor. I can't remember if we I think we have some PIR sensors that work over I square C, which makes it really nice and plug and play because we've got that STEM acute connector right there. So you could plug in a little sensor board. Any, any sensor board you want could be based on temperature humidity. Some CO2 sensing. There are light sensors, there are you could use probably a little microphone. So those will all work really well in combination with this board. Another question we have is about MP3s. Yeah, I haven't tried it, but I think there's no reason you couldn't play back MP3s as long as the board you're dealing with has the horsepower for it. I think we can do MP3 playback on RP2040 without too much trouble. So I don't think that would be a problem. I haven't tried it. So you'll you'll want to maybe dig around a little more before purchasing this for that purpose. But I believe that would work. Let's see any other questions or thoughts. I think that covers it. OJ Thinkster says thinking of replacing the guts of a staples that was easy button with this for custom messages. That's a great idea. I love that. I was just just testing things out. I happened to have a little poke ball here little Pokemon. It's like it's a coin bank poke ball. I just took the speaker there. Whoops. See how sturdy this is and it happened to fit in there pretty well. And now with my just with my little user button example, we get a pretty easy to set up prop type of effect using that for audio. Since you can use boards like the ESP 32 S2 S3 you could do Wi-Fi based things. And it's also possible depending on your setup to stack some BFFs with stacking headers. So if you wanted to add a little battery BFF and a lipo battery to have get rid of the need for the long obnoxious USB cable that that's possibility as well. So let's see I think that is going to do it. So let's let's wrap this up. Don't forget head on over to product ID 5769 to grab these for just $2.98. This will work I think with pretty much any of our QDPI boards. I can't think of any that would would have a problem running this. So I love the RP 2040. It's a great one to grab but try it on try it on other boards if you want to. It's one of the reasons I like using the stacking headers or the little header pins short headers so that I can plug and unplug and make different little arrangements. But if you want to you can also do the the straight solder it straight on to there if you like. All right, that's going to do it for today where the heck did it go? It's so small and I'll lose it. There we go. That whoa, what's the screen doing here? That is my product pick of the week this week. It is the audio BFF for QDPI and Jao with 3 watt I2S amplifier and SD card reader for Adafruit Industries. I'm John Park and this has been JP's product pick of the week. Thanks everyone for stopping by. We'll see you next time. Bye bye. Welcome to the aperture science computer aided in much been center.