 It's time for JP's product pick of the week. We have done it, we have arrived, we are here. Thank you so much everyone for stopping by. It is great to have you all here. If you are hanging out over in our Discord, welcome. Welcome one and all. The Rufus, the Sea Grover, Jim Hendrickson, let's see, DIY, hello, hello. Liz is appreciating my use of Anna Wintour in the thumbnail, thank you. Thin Man, Starman, Tyiff, DJ Devon 3, hello, hello. Over in our YouTube chat, we have Baths for Cars and Raspberry Pi stuff and computer stuff. Welcome, thanks for your patience in enduring the start that was a couple of minutes late. Mando5, hello, Randall Bone, welcome. Jeff Hunt, Devon's Workshop. Sorry if I miss anyone, but yeah, if you are somewhere else and you're wondering where the chat is, as you can see, we have chat over in YouTube and we have chat right here in the, that right there, that's our Discord server. You can get there by heading over to adafruit.it slash discord and then look for the live broadcast chat channel, that's, you can see it right there, live broadcast chat, that's the place to be during the show. So yeah, that was Anna. I was trying to figure out a good Anna for this because we have Anna, logs, which? Anna, logs, which? That's a hint, also the words right down there are probably a bit of a hint. And the link that was all over the place, but I'll give it to you again, there is the QR code and the link, if you wanna go check out, jump, start, head over there in advance over to the product pick this week, that's the URL, it's product 5892, head over there because this show is being broadcast from inside the product page and you can get a big huge 50% off discount on this week's product pick, simply by throwing them in your cart during the show and buying them before the end of the show. Sometimes you wanna check out sooner than that in case they all disappear, but I believe we had at least 100 of them put into reserves right before the show and then put into stock, so you can go and grab some of those because they are super, super, curl in there 50% off, but before I go any further, I'm gonna have Lady Aida talk about this week's product pick from her new, new, new, new, new, new, new segment and then we'll get into a little bit of a demo. So take it away, Lady Aida. It's the Max4544 analog switch. This is by SpecialQuest from ATMakers, but I thought other people could also use this handy board. So we sell relay boards that will let you like mechanically switch between two options and one common connection. So normally open, common, normally close and you can switch between the two. But relays, first off, they're a little slow. Second, they click. Third, they use a lot of power and fourth, they eventually wear out. If you want to switch analog voltage signals, you might use an analog switch instead. So this is a Stemma board. So it uses a Stemma JSTPH, not a QT. It's a two millimeter pitch connector. You, or you can use the breakout pins on the bottom and you provide it with V plus, which is the highest voltage that you could put through the analog signal that you want to, the normally open or common, normally closed. You give a signal and then the signal when it's high, one side is connected. When it's low, the other side is connected. You can flip between the two. And it's perfect for analog signals like NTSC or PAL or audio or sensor data. What it's not good for is power. It's not a mechanical connection. It's a analog pass-through connection with MOSFETs on the other side. And so you're not going to get, first of all, you're not going to get full electrical isolation. Of course, the ground is still shared. And second, you can't source power through it. It's only for signals. But if you want to like move a signal around, like audio is a perfect example, you want to switch one connection between two channels or two channels between one. The connections are bi-directional, but analog only and like I said, signal not power. And then another thing to watch for you can't have the signals go negative. They have to be within between ground and V plus, something to watch out for too. But otherwise, you know, there's no mechanical connection. It's like nearly instantaneous like five, sorry, it's a 25 nanoseconds to switch. There's no wearing out. There's no noise, there's no clicking. And very low RDS on, I think only like two to six ohms of resistance that you can detect. So it can be really handy for people doing analog switching. You want like a joystick signal or a potentiometer signal you want to move, like I said, audio or video. These are common things that people are moving around. You know, maybe some sensor signal you want to move between two off amps or something. The analog switch will do a great job for you there. Yes, it will do a great job for you. That is it right there. Where to go? Hey, look, look, look, this right here, it's my product pick of the week this week. It is a StemA analog SPDT switch using the Max 4544 chip. So this is a solid state switch. It allows you to very quickly switch signals between two inputs going to one output or vice versa. And it is for things like audio, for sensor data. You can use it for NTSC or PAL video. Allegedly, I wasn't able to get to work with this because I think there's a couple extra details I was missing, like 75 ohm resistor impedance matching or something. But the spec sheet says, yeah, you can do things like switch video with it. And it is pretty cool. What I want to do is, first of all, show you the page right here. This is the page for it. And you can see we've got a nice, let me go to this image, nice overhead view here, which we'll show you. We have a StemA JSTPH connector here, which is for this type of StemA 3-pin switch, or cable rather, plug it in there. And then we have versions with alligator clips on one end, different header pins on them. And so you can use that for something like plugging into some header pins on your microcontroller. That will give power, ground, and signal to the breakout, telling it what to do over here on. As you can see on that little green section there, we have the normally open and normally closed sides. And whichever one of those we tell it to switch to is what we're connecting to that common pole in the center there. So for example, two audio inputs from two sources going to the normally open and the normally close. And then the output there going to your amplifier, you can then switch between two audio sources super fast, near instantaneously. And you can do it silently, as Lady Aida said. No relays required. So it is super handy for that type of switching. And also as Bill Binko had requested for some assistive devices, switching between sensors or switching between switches that are used as controllers on things, really, really handy for that. If you take a look a little further down, you'll see we have a link to the guide, a little learn guide here from Liz. I think I have it open here in this tab already. And you can see we have an overview of it. You can check out the pinouts page here. We'll tell you how to run it. Now you don't have to use the JST connector, depending on your needs. You may want to solder on some header pins and put it down into a breadboard, into a Permaproto or other circuit. And then we also have a couple of examples of using it in Circuit Python, including the wiring diagram. This is helpful here, if you're gonna try this out. And the sample code both in Circuit Python. And a nice example there of switching between a couple of waveforms that Liz did. We also have the Arduino example. The nice thing here is you treat it just like a digital pin that you're sending a high or a low value to. That's all you need to send to the Stem-a-board. It handles all of the rest. So what do you say we do a little bit of a demo? So I'm gonna drop down to how about this view right here should do. So you can see what I have here, a Metro and it is running over the Stem-a for power ground and signal to the analog switch board. And then I have this orange wire is one audio input. This white wire is a second audio input. And then the green is the output for the audio, whichever one I'm switching to. This is connected to some little RCA cable connectors and I have another RCA output. And that's all going into a little powered speaker. So what I've got feeding into it are a little iPod. And I'm gonna start a little song playing on that. And then I have this Nintendo NES running Mario and it makes no sound until you actually start the game. So we'll start a game. And so now both of those audio sources are playing and they're running into the normally open the normally closed switch. I'm gonna turn on my powered speaker and what you'll hear is every four seconds the sound should switch between those two input sources. Turn this up. Switches to iPod, switches back to Mario there. So what I'll do so we don't get a copy strike is make this a lot faster. So over here in code I'll say every second. So now every second we're switching between those two sources heading to the output. Now make it a lot faster. So kind of like a little DJ fader you can get obnoxiously fast with this. You kind of listen to both of them at the same time now. Tyeth wants 95% Mario. All right, I'll turn that off because that's maddening. But you can see there it's handy. You don't have to just tell it to switch on a regular time there. Of course it could be based on sensor. Inputs you could have a couple of sound sources that change based on let's say a distance sensor someone walking into a room you can switch the audio that way. So it's interesting because sometimes you've got wildly different equipment sending out your signal, in this case two audio and it's easier to just talk to a little switch in the middle that's not mechanical that's not a relay but is instead something like this lovely little solid state switch. Yeah, Tyeth it's pretty good for as far as semi unplanned mixes go. And if you get the timing right you can kind of find the same tempo as the music and fit between the beats which is weird and wild. To do this as you can see in the code it's literally just digital IO, digital in out setting that pin, whichever one we've plugged in this case A0 into the stem of port as an output. And then in the main loop here it is just counting down the clock the little timer there in this case 0.04 seconds and then flipping and flopping the value of that. So what make it equal what it currently isn't. So just switch it back and forth and then repeat that over and over again. So it's just like talking to any digital in out pin set as an output and setting it to high and low or true and false and that will tell the max 4544, max 4544 what to do which output to send. You could also do this in the opposite direction so we could have one input going into the normally or rather into the common. So if we had just one audio source going but we wanted to decide to send it to that speaker or amplifier system versus that amplifier system, we could do that. Presumably you could do that with video. I didn't try it in that direction. I got a lot of crosstalk when I had two video sources going in which like I said makes sense, video is a little trickier but the chip can do it. So and it may be easier to say again I wanna have one incoming video source a composite video source in this case and then two possible outputs to go to two different monitors and able to turn it into a video switch. Seems plausible, but it is tricky. It's video, it's a magnitude trickier than audio. So that's what the code looks like there. Let me know what questions you have there. There's the boards there you can see down at the bottom we have I believe it's ground positive voltage which can be anywhere from I think 2.5 to 12 volts and what you wanna do is you wanna keep that switching voltage higher than or the same as the voltage of the signals that you are switching there. It's not a high current, high power thing you're not gonna use this as a power switch and then we have their signal the turn sideways normally open or as common and normally closed and those correspond to those same pins that you see there on the screw terminals. So let's see if we have yeah, check out the world we have persistence of hearing it's true you can kinda keep both of those songs moving. Ah man Randall hoping for street chicken I thought I had it on this little iPod I didn't street chicken would have been a good choice. Let's see baths for cars and Raspberry Pi stuff and computer stuff over in YouTube asks any other alternatives I believe this is the only solid state analog switch that we have in the Adafrit store there are other chips this is a popular one but there are a few other chips that you can look at in fact let's if we head over to the learn guide down in the downloads section here's the data sheet which I wanted to show four is from Maxim I think analog devices in Maxim are the two manufacturers probably also Texas instruments but those are the two main manufacturers for this type of little switch and this will tell you yeah operating voltage 2.7 up to 12 volts for your switching and give you info about operating temperatures uses applications battery operated systems sample and hold circuits interesting heads up displays guidance and control systems audio video switching so they claim video switching there for the chip but it's the details surrounding it that I think tripped me up in trying to set that up test equipment communication systems PBX cell phones ultrasound pagers so these are all gizmos that use them but you can now make your own gizmos with them and we have this handy dandy breakout that makes it very easy so I think if there are no other questions I'll just say head on over there that's the URL where you can go pick these up throw them in your cart there's no coupon code needed they're gonna be half price which what we say that was 295 no 298 we'll pick you up some of those lovelies right there and they're still in stock maximum of 10 per customer no resellers all right so I think that will do it thank you everyone for stopping by that's my product pick of the week this week it is the Stemma analog SBDT switch with the max 45 44 chip great for your industries I'm John Park this has been JP's product pick of the week bye bye