 Welcome to the show. It's me, JP, and it's time for JP's product pick of the week. And here we are. And by we, I mean me and you, all of you. Thank you for stopping by to watch. And thanks for heading over to the chat right there in YouTube as well as Discord. If you're wondering where the chat is, maybe you're watching on Twitch or somewhere else. Most of our chat is on Discord. You can head over to adafru.it and jump right in the chat. You'll get an immediate invitation to join. It's a fun place. It's hopping. The channel you want to go to is the hashtag live broadcast. And that's where it's all going on, live broadcast chat, I should say. So without any further ado, I want to direct you to this product page. You're going to want to head here and watch the show from inside that page so that you can get a gigantic 50% off on today's product pick of the week. You can go to this URL. You can go to this QR code if you have some sort of device, a camera that'll point you there and get you where you need to go. And if I head there right now without revealing too much, okay, that reveals everything. But there it is. You're going to see that the show is happening from right in there. So you're not going to miss anything. And if you head to that page, you can get 50% off on today's product pick. And it's a good one. So without any further ado, what I'm going to do is have Lady Aida tell us all about it. So Lady Aida, from the not too distant past, please take it away. That's right, sliders. It's sliders time. I've had it listen to that like 5,000 times. So we've got the slider Trinky. This Trinky, look at this. It's a Trinky. It's a Trinky. It's a Trinky. It's a Trinky. We have a character that I'm going to be debuting soon. Yeah. So let's go to... Okay. So it's fully assembled on like the other Trinkys because there's only one slide touch diameter that would fit. Basically, I just picked a small slide pod that we have. And on the bottom of the board is a Sam-D21. It's got a capacitive touch pad and two neopixels. That's kind of it. It's very, very bare bones minimalist. And the goal here is you can use Arduino, you can use Circuit Python, plug them to a USB port. And then you just have like a potentiometer and like that's it. It's like really, that's all it does. And you can touch the end for a capacitive touch pad. The light's up. Yeah. So here it is. So it slides into the USB A port. I will say, you might be thinking, what if I slide and I keep sliding? Will it pull out? Yeah. It'll eventually pull out. Well, yeah. It does exactly what you would expect it to do. Exactly what you think. So just be aware. Just, you know, you can slide in and then if you slide out, just stop when it stops. So another thing is there's the capacitive touch. If I touch it, it just turns yellow. It's on. So it's a way to demo. It's got a little hole that you can attach to a lanyard. There's the two neopixels that are individually controllable. Now the neopixels, I kind of wanted to have an underlighting. It does shine through the body, but I'll say that because the body of the pentatometer is made out of like FR4, it gives it a yellowish cast. So you're not going to get all the different colors. You get yellow and you get green and you get red, but the more subtle like pinks and blues don't come through. They do come through on the side. It's just a trade-off. I think, you know, you're not going to get like full resolution every color, but you're, it's fine for notification. And then, you know, you can program as an HID device or you can have it. You know, I actually had it hook up into my Philips Hue lights and I was reading with my desktop, I would read the value of the pentatometer and I would use it to dim or lower the lights in the entire house, which is kind of cool. So it's just a pentatometer with USB. Very simple. It's a Trinkie. Hey, you know what? In fact, I'm going to head right over there to my cabinet of mystery drawers of cool stuff, TM, and grab my own. So hold on one second. Let me go grab grab one right over there. My goodness, there it is. In fact, look at that cool animation right there. My product pick of the week this week. It is the Slider Trinkie. This is a 10K potentiometer on a USB stick based on an AtSAMD21 Cortex M0 and it has a couple of underlit neopixels and capacitive touch on one end. You can plug it right into USB. It can act as a MIDI device. It can act as a USB HID keyboard, mouse, game controller, as well as raw USB serial. And it's also a little thumb drive. So it has a little bit of storage on there. I think it has 256 megs of flash on there. 256K, Neopix has 256K of flash. That would be amazing. So what I wanted to do is first of all, throw that up there because isn't that a cute little logo or a little slug? Snail? Is there a difference? Cute little guy there. That's the Slider Trinkie logo. And now what I want to do is give you a little bit of a demo. Before I do that, I'll mention head to this URL and go pick up some because someone said there are 72 of them in stock right now, a maximum of 10 that you can get. And they're 50% off. So if you have some big ideas and a couple of USB hubs and you want to plug in and go to town, pick some up now. This one, by the way, comes preassembled. So there's no soldering required. It's just ready to go. Ready to plug and play. So first demo I'll show you here. Let's go to a, let's see. How about this view plus this view? That ought to do it. So you can see here I've got one of the Slider Trinkies ready to go. And I'm going to plug it into a USB extension cable here. So this is plugged into my main computer. And you're going to see over here in my terminal, I have a serial output coming from the Slider Trinkie. So as I change the position of the slider there, you'll see that we get a slider value of 0.1 up to 1. And you can, of course, turn those values into anything you need for the use you have in mind. And you'll also see there's a touch value there, which is floating around 192. When I touch it, it jumps up to about 1,000. And it knows that it's been touched. And it says, touched. So those are a couple uses. This is just some demo code that comes on it. And this was done in Arduino. Uses the touch to turn on and off the LEDs. And it uses the slider to go through the rainbow. So now what I'm going to do is jump over to a different demo. And here what I've got is a, let's see. How about we'll go to this view of the world, and like so. So what I have here is a separate machine. This is a little laptop of mine. And I have some DJ software running on here. And what I'll do is I'll hit play on one of the, there's two tracks running simultaneously. And they're beat matched and in sync with each other. And what I can do is use the slider here to crossfade between the two decks. So let me hit play on the other. So you can hear there's a couple of Bartlebeats tracks. So hopefully you can hear that well enough over my AC and things. So this is a really cool use for this. And the way I'm doing that, in fact, let's have a look at what's going on over here in Adam. And I'll switch, let me switch that off there. Okay, so here is the circuit Python code that I have running on this one right here. And what's happening is I'm importing some of the libraries that we need such as time, board for board definition, analog IO, so that we can read the potentiometer. And then I'm using USB MIDI in this case. So I've established USB MIDI and Adafruit MIDI as well as the NeoPixel and set up the MIDI to use the control change library, which is usually a dial from zero to 127. That's pretty typical for MIDI. This software I'm using is able to be configured to look at a MIDI input for moving that cross fader around or pretty much anything in the program can be set with CC changes in MIDI. I set up the MIDI and then I've got a little bit of a function here for doing color as a hue, saturation and value. And then here's the bulk of what's happening. While true, I have this variable called CC value that is based on the slider value. So slider dot value just grabs that slider's value, that analog value, and then I'm dividing it by 512 to get it down to the zero to 127 range that I need. And then I just have a little bit of code there that will check for a change so that I'm not constantly spamming it. If there's a change, then I'm gonna print that value out to the serial port. I will send that controller change value over MIDI over USB MIDI, and then I'm also changing the colors of the NeoPixels and sliding them depending on which way I go. So that right there is all the code it takes to do this little cross fader. And as you can see, when I switch back over to the Tractor, the DJ software there, you can see that little virtual cross fader in the middle is moving as I move this one. It's pretty responsive, but it's also a lot nicer to use the actual cross fader here than a virtual one with your mouse. It's a lot more satisfying. I don't have touch setup to do anything on that, and that partly it's because I wanna keep a finger on that. So like Lady Aida said, we don't fling this out of the side of your USB port, so I wanna hold that. And one other trick that I have going on is there is a 3D printed insert that the Ruiz brothers made that allows the Trinky, the Slider Trinky, let me pull one out here, I have one that just got lodged into, actually I'll unplug this one. So you can see, oh yeah, they're staying behind now. There it is. So this is a little insert that grips the top of the USB port, and that's kind of what is better than just it on its own can be a little bit wobbly, so you might lose contact there depending on the USB port. If you hold it, you can use it pretty well, but this little 3D printed gripper takes about a minute or two to print, goes in and it grabs both the top and the bottom of the USB port the way it was meant to be done. So if we put that in there, you get a nice stable fit. So not entirely necessary, but a good idea. Works pretty well. Oh, you can see there, I wiggled it out, so now it's not gonna be happy with me. Let's stop on here. All right, so let's see, are there, I'm gonna pop back over to the, let's bring this guy up here, to the chat and see any questions. DJ Pro is another cool DJ software, someone said. Yes, you should be able to use this, by the way, on iOS, Android, Mac, Windows, Linux. It'll work pretty much on anything that is ready to receive USB, HID, USB MIDI. Let's see, the other thing is that this does have the little lanyard there, so you can kind of carry it with you wherever you wanna go. You may wanna print out a little cover for it so you don't chip off any parts using your keys, if you put it on the key chain. Let's see, anything else? I think that's about it. So once again, a reminder that this beauty, this slider trinky, you can head right over here to this here page, let me jump back to my Chrome browser. And let's see, if I reload there, do we still have them in stock? We have 57 of them in stock, great. So some people have gotten some. I'm glad if you've put it in your cart, make sure you hit go, because it's not really reserved by being in the cart, you actually have to purchase it. And you're gonna get the 50% off until the end of this show, and you have a little bit of a grace period as well. We, I believe, don't have the guide up for this yet, but if anyone is desperate for it, I can post this code up on a gist. I'll show the code again there for anyone who's curious or anyone who's doing screenshots of that. The only trick of it really is that since this has the board definition and the modules, libraries all built in with this kind of use in mind, you don't have to actually drag over extra libraries for a lot of the things you're gonna do with it. And you'll notice the board when I define the analog input, it's this pin called board dot potentiometer. So it's not board D or A0 or something like that. It's actually got a name that's really easy to use. So that's how I'm setting that up in there. Let's see, any other questions over in YouTube or on our Discord? No, looks like we're all good. Okay, well, hey, look, there's too many of me. What's that guy doing there? Okay, so that's gonna do it for today. That's my product pick of the week. It is the slider trinky. It is a fader on a USB stick and it has a couple of underlit neopixels as well as a capacitive touch button on it. And it runs circuit Python and Arduino on the Cortex M0 that is built right on there. And that's gonna do it for today. So I'm gonna go ahead and set that on my last remaining pegboard. I've been stealing them from other places to get this thing ready to go. And that'll do it. So thank you all so much for stopping by and just to let you know, I will not be doing a show next week. I'm gonna be off next week. So no show on Tuesday or Thursday of next week. But this Thursday I do still have my John Park's workshop show. So come on by, we'll build something fun. All right, thanks everyone for Interpret Industries. I'm John Park and this has been JPE's product pick of the week.