 It's me, JP. And it is time for JP's product pick of the week. So I have a pick for you. First thing I wanna do is say hello to everyone over in the chat. Thanks for stopping by over in our YouTube chat. We got Dave Odessa, Tackle the World. If you're wondering where the rest of the chats are happening, check this out. This is our Discord server. You can go to adafru.it slash discord. Look for the live broadcast chat channel. And that's where you'll see such fine people as Jim Hendrickson and Mike P0451 and Gary Z. Hello and welcome. Thanks for stopping by today. If you are not familiar with the format of the show on Tuesdays like today, I pick a product out of our vault or a new product, in this case relatively new but not super new one. And I give you some demos. I give you a massive discount on it. You'll get this week's product pick for 50% off right there at that URL and you can watch the show from inside the product page. So head on over there. You don't need a coupon code for the discount. It's just priced low during the show itself. Throw it in your cart, check out, buy some. You'll get them for a great, great discount. And maybe you'll have some cool ideas of some projects to do. Let's see before I go any further however, what I'd like to do is have Lady Aida jump back a little bit in time and give her take on this when it was a new product from the Ask an Engineer new product segment. So take it away, Lady Aida. Quad, rotary, so much rotary. It's the code because it's so quadrophonic. If you like rotary encoders and you want to connect a lot of them to your project, you'll quickly run out of timers or interrupt pins. How to do it? You could use one of these quad rotary encoder breakout boards that we've designed. We have ones that have been with one rotary encoder but this one has four that comes with a blank PCB. So you decide what encoders you want to solder in. There's also neopixels underneath. I'll show an example of that if you have clear shafted encoders which are not that common, but if you do happen to have them, the neopixels will shine out the top, which is super neat. And then the rotary encoders are read by an onboard AT tiny microcontroller and then converted to iSquared C that you can query. So you connect it up to your microcontroller, microcomputer, Raspberry Pi is great because it can't even read encoders at all. It doesn't have the real-time GPIO control or you can connect it to your Pico or circuit Python or MicroPi, whatever and read the four encoders and control the neopixels. So I'll just show the demo on this overhead real fast. Just hold on to me. You said it. There's nothing worse than, stay good, live demo. Okay, so you've got rotary encoders and then of course, these are just metal ones that I've soldered in. I don't have the knobs on, but imagine there's knobs. Also, by the way, you don't have to have them soldered indirectly here. If you have large rotary encoders, like we showed the really big, like 60 millimeter encoders, you can just solder the three wires to here and then use this as an encoder reader. It does not have to be the standard PEC-11 footprint encoders. Although if you do want to use them, they're ready to go. And this is the four by one inch footprint, which matches with our other long STEMIQ keyboards. And then again, if you happen to have, I have like one sample here of a encoder that has a clear shaft. We don't stock these yet, but hopefully soon we'll be able to get some. Then the neopixel shines through and you can use a translucent knob to have the color come through. So this is like, you know, green. I mean, it's incredibly bright. That's nice. You can see, it's not actually, that's a brightened person. It's just like collimated at the end. So you have nice pink knobs. So this is an easy way to add a ton of encoders. There's also the bottom of the board, three address jumpers you can cut. So you can connect up to eight of these at the same time and get just a ridiculous number of encoders. And there's also an interrupt pin, which you can have toggle when either the button is pressed. So you press the button and here it is detecting the encoder switch, or when the encoder is rotated and that way you're not spamming the I squared C, ask it constantly, hey, something changed, something changed. You can do that of course, but if you wanna save I squared C and get better performance, you listen to the interrupt pin and it'll tell you, but then you have to wire one more pin up to your quant encoder breakout. So all the encoders encoder away, we've got code for Arduino and circuit Python for this board. So it's ready to rock. Don't forget, you need to pick up four encoders to go with it. Hey, music. Yeah, that's right. So this is right here, the beauty, the little product pick of the week right there. That's my product pick of the week this week. It is the Quad Rotary Encoder Breakout Board with STEM at QT and I square C. So this allows you to use rotary encoders with the little push button. So you can also click an on and off button, rotate and it gathers up all the data from those four encoders, sends that message over I square C to your microcontroller. Couldn't be easier to wire up. You just use a STEM at QT cable or you can if you want to solder in some header pins and put it on a breadboard or a permaproto. You can also control these four neopixels here, which as Lady I said, if you have the clear encoder shaft version of a rotary encoder, then you can see those glowing up through the top. I don't have any of those so I can't demo that. I wanna get some of those, but I do not. So what is there to say about this? Let me start off with, here is the product page. So if you head on over here, you can see right now, this is product ID 5752 and it is on this deep discount of $3.75. As Lady Aida said, don't forget you also need to pick up some rotary encoders if you don't have any, maybe a STEM at QT cable so you can plug that into one of your microcontroller boards, but that if you take a look will give you some info about the board and some links to the learn guide, primary learn guide as well as a project learn guide that Liz put together, this four by four rotary encoder MIDI messenger, which again, that's 16 encoders. That would be pretty difficult to get running just straight up on your microcontroller using GPIO pins, but it's actually a piece of cake if you use these boards, which have the little seesaw chip on there that can do all of the sort of local processing of the encoders for you and then just send those easy messages over I square C. There's an example of one of the rotary encoders that you could get, you get four of those, plug those in, those will work great. You can also look for other encoders, as Lady Aida mentioned, like the big 60 millimeter ones that we have. On the demo, I'm using some of these little add-on knobs just cause they look cool. You can get different knobs for these, they're D-Shap knobs. And here is your learn guide. So if you had here, you'll see, got some info about the pinouts, including the address jumpers for I square C. So if you wanna run more than one of these or if you have some other conflict with an address of a device on I square C, you can simply cut the little jumper pads that are on the back there. In fact, let me bring up image there. Can you see those on there? I'm looking at my little monitor. Yeah, where are they? Where'd they go? Where are they hiding? There they are. Right up in the middle. Right up in the middle here, you can see right at the top there are three little jumpers. So you can cut combinations of those to get different addresses up to eight of these. So you can have eight of these, eight times four of these, lots and lots of encoders, depending on your project, that could be exactly what you need. And if we head back to the learn guide here, this will tell you all you need about setting up both the I square C as well if you wanna use the interrupt pin, you can. There's also LED on there that'll blink when it's experiencing an interrupt. And then we get to some examples. So there's some circuit Python code we also have at a library for Arduino and these are all using that onboard seesaw chip. So there's a lot of nice code examples for using those. What I thought I would do now is give you a little bit of a demo. So let me jump to, let's just jump to this view first. And let me show you what I've got here. Let me move this over to the side a little bit. Hey, come here, USB-C cable. All right, hold on. Just get that view there. You can see that pretty well, right? So what I've got here, a little QT Pi with the Stem-a-QT connector that is running to a little 14-segment alpha numeric display and then I have my breakout board for the quadrotary encoders. You can see I have this on one of our little swirly gigs to mount it and that also means you can see some of that reflected light, those colored lights coming up from the NeoPixels. So this is kind of a nice demo I think because it shows you one of the advantages of using encoders over something like a potentiometer is we have definitive stops in this case. It's a detanted encoder. These all have little stops. So each little kind of click that I get to, we can update some value. So in this case, I'm just sort of using these as a little animated indicator. And then we also have the little push encoder so I can click on those and get the little dot sign to show up. So there's an example of using these encoders. This, of course, could be something driving motors, robots, servos, steppers, speed control. Could be MIDI interface, could be video synthesizers, could be other bigger NeoPixels displays. And you can see also in this demo those underlit NeoPixels there as I scroll through these values will run through a little hue rainbow. I can show them a little more prominently there. And when you click them, we have it going to a kind of a white light. It's a little blue tinted here, but that's the white light on there. So that is the sort of dual function of those, particularly useful if you have clear shafted encoders and you put clear knobs on them or skip the knobs, then you'll see those nice and bright. So let's take a look at how this works. Let me grab my code view. So I have this running in CircuitPython. And the relevant things here are that I'm importing from Adafruit seesaw, the seesaw library, NeoPixel, Rotary IO and Digital IO. And that means that the little chip built right onto here is handling, reading the Rotary Encoder, reading the click button with Digital IO, writing to those NeoPixels. All of that is handled onboard by this chip. We just send messages back and forth with iSquareC. If you look, I also have a little setup for my segmented display. I'm setting up seesaw on the iSquareC bus that's built right onto that little QtiePy. Oh, I have an extra me view. I'll get rid of that one. And then here you can see, this is actually the demo code that Lamor posted for the Rotary Encoder board on the main learn guide. We have set up here of a list called encoders and that is setting up all four of the encoders on there as well as this one called switches. And that sets up all of the four click switches that we have, sets the switches to input with pullup, sets the NeoPixels again, using seesaw. So all of that's handled right on the board, nice and fast and easy. Some little setup for the position states so that we can tell if we've changed positions or not. So we're not constantly updating as well as the default starting color setup. And I've got some bit masks for lighting up those little segments on my display. And then in the main loop, what we do is we are grabbing a list of positions based on asking for all four of the encoder positions. And then for each of those, we just check and see, did any of them change? And if so, then I'm gonna use the new value to update which of those segment predefined bit masks I'm lighting up. And then we also check and see, okay, if any of these switches are updating, we'll go ahead and update the color there. And I'm also turning on those little single segment dots. And that is it, it's really easy to use, really simple to query. These are also some other fancier things you can do in the library with your encoder, encoder position. But the basics of it are it will just let you know it just increments one or decrements one as you turn that, each little click of it. And it's really good for this type of a use, I think. So easy to set up, easy to use. And you can use this with a Raspberry Pi using Blinka. You can use CircuitPython, a microcontroller. You can use Arduino on other microcontrollers. So let's see what questions we have. Let me jump back over to, oh, there we go. There we are. That's what I was looking for. Hold on. Discord and that, I moved some things around so I got lost, let's see. Any questions? Would the 5752 fit in the 50734 key silver aluminum keypad shell enclosure? That's a really interesting question. I thought I had one over here. Do I know? I don't have it. Do I? I wish I did, I don't know where it went. I do have the 16. This is an aluminum enclosure for a keypad. And looking at that, I can say that it aligns nicely. Let me grab this. This actually lines up. Can you see that? It lines up pretty nicely. So there's a chance it might require some modification. I'm not sure when these go end to end they might push that off center. So there's a possibility to fit in that four key aluminum enclosure, that'd be a nice, I don't think we have any prepared enclosures for this other than you could modify from Liz's guide the 3D printed case that she built for the MIDI project. Let's see, other questions. I don't know the answer to this one. John Millen asks, is the interrupt pin open collector so it can be bussed across more than the one board? I'm not sure. So that'd be a good either thing to check in the main learn guide or ask during ask an engineer during Q and A section. That's a good question. I'm not sure the answer there. If anyone knows in the chats, please pipe up and we'll answer that. Okay, so I think that covers it. Am I missing anything? Let me know. So here is, once again, there's the URL, 5752 is the product ID. As we said, these are currently half off and I think we still have them in stock, so that's great. There by the way, if I scroll down a little bit, you'll see this large, almost combination dial lock looking encoder. That's another one that would work in a sort of solder wire in version. It's not gonna fit on the board, but you could just wire those. And again, if you had four of those and you didn't want to use up that many pins on your microcontroller or didn't have enough, this is a little board that could sort of sit in between your big, huge encoders and your microcontroller and it would deal with all of those individual encoders and send those messages over I square C. All right, so I think that'll do it then. Before we finish up, let me switch over to this view and say that, that right there is my product pick of the week this week. It is the Quad Rotary Encoder Breakout with Stemma QT. It's also got NeoPixels and I square C. I'll mention that too for the little video later. That's my product pick of the week this week. It is the Quad Rotary Encoder Breakout with Stemma QT over I square C and underlit NeoPixels. Rated Fruit Industries, that's gonna do it for today. I'm John Park and I will see you next time. Thanks everyone. Bye bye.