 It's me John Park and you are here just in time for JP's product pick of the week It's the weekly show where I find a cool thing from the Adderfruit Product line and show it off to you. Sometimes it's a new thing Sometimes it's an existing thing a favorite oldie from the archives But I think what you're probably gonna want to do is head over to the product page, which is right here Oh ignore the ca-caw that was from last week. I forgot to change that but this URL and the What do we call these QR code that'll take you right to the product page Inside the product page you will find this video happening as well as a big gigantic huge discount Available on the product pick and you can get up to 10 of them If it's something you really love and want Just make sure that you check out pretty soon after the show ends because there's no coupon code or anything like that It is just simply Discounted during this show after the show the price goes back up the product is still cool. It's just more expensive So you know how that goes? So let's let's see what I want to do first off with this product pick is have Lady Aida Introduce it to us. So please take it away. Lady Aida Have a new STEM aqt board. This is an arcade LED arcade STEM aqt Breakout which lets you connect up to four arcade buttons with LEDs built-in And here. Thank you. It was a wonderful video of jelly shown off our 23 millimeter arcade buttons and they have LEDs in them and We had some people were doing projects They're like I want to make your midi fighters or I want to make an arcade interface But before you know it you're using a lot of PWMs. You have a lot of inputs Could you make a version that makes it easy to control these and in addition our red and yellow? LED arcades and other LED arcade buttons often need five volts for the LED there They're not designed for three volt logic and power And so there's a little mini boost converter on there That'll convert whatever voltage that's coming in to five volts So even if you're running this off of a Raspberry Pi or you know an RP 2040. That's a 3.3 volt logic and power board The LED will be lit and PWM'd with five volts. So it's I squared C to four button inputs and For PWM LED outputs with five volts max current drive. There is a resistor in series So if the LED doesn't have a resistor, you know, don't worry. You're not gonna blow out your LEDs It's it's like super safe no matter what Okay, you want to show it off? Yeah, I thought it showed off so This is the same, you know, I think it's one inch by three inches that our Other, you know, the Neo key and the Neo slider. So it's kind of a you know, what DIY interface using all the same size PCBs Here I have it plug-in played into a stem a Qt port on a Qt Pi And there's a little mic controller with four Address jumpers and is this connected over I squared C and it's reading The button press and you can see it's pulsing the LED PWM and 8-bit PWM number from zero to 255 and you can see a response of it is like even though this is over I squared C The button is red and the LED is written is is happening pretty much instantaneously. Do you sell those wires? Yes, these are arcade quick connects They're great for connecting to arcade buttons and micro switches very easily No soldering is required, which is why I particularly like this for if you want to add arcade buttons You just you know, you just plug the JST XH connector in and it's polarized and then on the other side these I mean they're They're a tight fit on purpose. I Kind of don't want to break this. Yeah Okay, okay, I don't know break it, but it's if you use pliers, you know, they pop right off But if you're using your hand, I don't want to you're not supposed to yank by the cable Don't do what I just did the demo gods are treating us nice tonight. Let's not let's not tempt it So yeah, you don't have to use these small le buttons. We also have ginormous ones But you'll just make want to make sure you have the right arcade quick connects for whatever size button you've got and LED You have a new stem aqt board. This is an arcade LED arcade stem aqt break out Whoops, I didn't set that to hold so it's gonna loop on and on forever. But yes, that is the board It's let me let me go ahead and grab mine. In fact, I'm gonna jump down to this overhead and we have a we got a fancy velvet mystery box this week so let me go ahead and Open that right up this week's product pick of the week. Oh, it is the LED One by four Arcade button board. That's right the LED arcade button one by four board in stem aqt format This is Switch cameras again This is terrific. This is again part of our line as lady a dimension of boards that you can use to build an interface So we have sliders. We have Neo keys for mechanical key switches and now we have these arcade buttons. So Imagine if you will hooking up arcade buttons before the era of this it was a lot of wiring you have four wires per button with these lighted buttons Because you've got the switch and you've got the LED Keeping track of those can be a bit of a daunting task. This drives the LEDs with PWM This reads the switches and it handles it all with that little stem aqt Connectable CSAW chip so the CSAW chip takes care of all the digital IO on this board all the PWM on this board And then it just is receiving and sending messages back and forth to your microcontroller over stem aqt So let's take a look in fact add a little bit of a demo let me switch back down to this camera here and I'm going to take a couple of Arcade buttons here and you can see I've got these little quick connects and I like to mark mine So I don't put them in the wrong slot here now These are polarized so you won't get ground and power messed up on the LEDs, which is good but the bottom one here is LED and The top one is for the switch and that's all it takes to connect up One board right there. I'll go ahead and connect up a second one just for fun You can do up to four on each board and then you can daisy chain a bunch of these boards together and get lots and lots of LEDs I'll show you an example of that in a second so One of the things I love about this is that it is a no solder System so you can plug in arcade buttons without doing any soldering at all If you're using something like this little microcontroller here, this is a Qt pie rp2040 It has the stem aqt connector built onto it so we can just plug into the board and again Your connections are made with zero soldering so I'll go ahead and put power to this This is running circuit python and I just have a simple Bit of code on here that will just light up a button when I press it And the Code for this we have PWM code as well Actually, I'm not using any PWM fading in this example like you saw in lady use example I'm just lighting them up or not the Ability to add multiple boards is terrific Also, the ability to use some of our other bigger switches so in sort of part two of the demo I have this here. This is a little button box. Let me move my camera a bit here Get a bigger view of the world. This is a button box I had built for a project with some funky different button types and inside there I've connected them up to another of these arcade button boards and then I just have my little stem aqt cable running there So what I'll do is plug that in to this board and I'm actually going to go into the code and Enable the second board. So these are on I squared C. So you need to you need to tell it you're using multiple I squared C So if we jump over to this Adam view here, I'm just going to uncomment two lines here and now it's going to look for a second I squared C device Which means we will have the second Board available so now you can see when I press any of these buttons here We get them to light up and the first set those are still working as well These by the way a lot allow us to Quick connect as well, even though they have some different sizes of cable We have three sizes of cable connectors for the the terminal lugs available So no matter which of these lighted switches you get in the Adafruit store You'll find we have connectors that'll Terminate in that JST to pin there at the at the bottom of the board now. I mentioned that we've got a Ability to put together a project that has a whole lot of these in it and in fact this one I built you may recognize my arcade MIDI controller and synthesizer this one has a Set of four of the boards inside of there because we're using 16 buttons and then I'm doing joysticks separately So that's a real mess of wiring if you're trying to keep track of that and drive that just the sheer number of PWM pins that you would need Gets to be pretty high So it's it's a real benefit to be able to use this board which drives the LEDs on PWM and it does all the digital IO so let's take a look at just a little bit of the code here And on the way to that actual answer question from the chat to ask what's the biggest button Adafruit sells? I forgot to did I grab one? Here you go Good question. Thanks for asking it. I believe that's the biggest one we sell right there And in fact, let's let's take a moment and plug that in just so you can see that one at work So what I'll do is Let's see if I've got the right cables For it. Let me go to a overhead again and show you this assembly In action here A little better get that out of the way a bit so these have a Quick connect pair for the switch that is this sort of medium-sized Connector and that's how easy it is to plug those in And then these switches are really nice because they actually color the the plastic based on positive and negative side of the LED so if I take The larger size connector the darker wire is ground so I can plug that in right there and This side can go It's a positive and now again since that polarity is keyed to What I just did there. There's no no way to plug that in wrong that will go in Famous last words, right? I will go in correctly there and there and Now I've got big huge giant button there with the LED built into it So taking a look at the code that's doing that you can see here Let me jump back to This view so I'm importing the kind of key things I'm importing are my digital IO so I can read pins and C saw so that we can do it on the board So the little arcade board is a C saw board and I'm importing the digital IO there as well Then I'm setting up the I squared C bus on this micro controller Which is actually on the second second bus and then I instantiate each of the boards I have two boards, so I call them C saw I squared C and give the address on the bottom of the board You'll see here we have Some little jumper pads that all you need to do is take a small knife and Scrape away the connection between two of those to change the address so you can set a whole bunch of different addresses on these to Get up to like 32 of these boards or something like that So here I have them on a sorry 0x 3a and 0x 3b and in fact these don't conflict with the Slider board I think that I think these are on pretty distant Addresses so you can you can mix and match a few of our input types of stemma C saw boards and Then I'm setting up the button pins on the board. So these use These little arcade boards use pins 18 19 20 and two of the seesaw chip For digital IO and they use pins one two three and four for the LED PWM And so I set those up as buttons I set those up as outputs for the LEDs and then my main loop here. You can see it's just dead simple it just Reads through every button Constantly which is why actually you're seeing I have a little bit of a delay on these It you can do this much smarter and faster with things like button masks But I'm just kind of pulling each of them and there's a little bit of a hit in the seesaw code for that And whenever one of those values goes too high, then I set the LED to high as well or vice versa so That if we take a look at the web page here That is the the board if you refresh your page You should see that we've got this half off right now. So four dollars 98 cents You can look through here for a bunch of info on the boards As well as links on the side for the different buttons some of the different buttons You can use as well as the cables you can use and then if we scroll down a bit you'll see Here's a project link for my arcade synth controller and there's this primary guide If we click on the primary guide there, that'll take you to a lovely Pinout and tell you how to use the board. It does have if you for some reason want to use Soldered connections you can you don't have to use the JST quick connects if you're trying to make a maybe a more compact build You'll see that there are actually pins broken out on here For the LED's and for the buttons And this is one of the newer boards We have seesaw boards that uses the ATtiny 817 microcontroller, which is mentioned here And this also goes through and tells you about the different addresses that you can set this to and how to pick the jumpers for that So let's see. I think that does it Let me Jump back over here for a second and we'll take a look Over in our YouTube chat and our disc in our discord. Let me know if you have any questions That we can answer here Yes, Susan says this is always this is I've always wanted a mission control panel. This is great Look at this. It's a lucky kid here with this mission control. This is great for driving this type of a project without going bonkers with all of your connections that you have to make and finding that many pins to use So Yeah, rich sad says not sure what to do with them, but maybe an instrument of some sort This is this is a yeah, really great for doing things like midi fighter Which which lady had I mentioned which is usually a three by three or four by four grid Arcade buttons Alright, well, I think that's gonna do it. Let me unplug this right here, so I'm gonna disconnect the power to the USB on the microcontroller and Look everything is plug-and-play. You can just pop everything off like that I had a little piece of wire ready to hang this. What a way we want to go. How about like that? Set this like so and That is the product pick of the week It is the LED arcade button one by four Which is a STEM a Qt based seesaw board that requires no soldering to hook up your lighted arcade buttons to your project And that is the product pick of the week Thank you everybody for stopping by don't forget you can head over to this URL right here if you want to pick up some right now while the discount is in effect I think we had a well a few maybe over somewhere over a hundred of these ready to go in the store when the show started So hopefully there's still in stock and you can grab some Thank you everybody for stopping by for Adafruit Industries. I'm John Park This has been JP's product pick of the week and I will see you next time