 Welcome to the show, it's me, JP. It is time for JP's product pick of the week. Thank you everyone for stopping by, for joining us on all of the different video streaming places that we have. And some of those, we're keeping an eye on the chat, actually just YouTube. So hello to Tiaf Gundry and Lama School and Dave Odessa. Thanks for joining us over in the YouTube chat. If you're somewhere else and you're wondering, hey, where is this chat? Who's he talking to? You head on over to our Discord, which is that right there. It is at adafrew.it slash discord. And you can look for the live broadcast channel, live broadcast chat channel right there, that one. Trying to point at it. Display is not mirrored, everything's backwards. Join up in there, people are hanging out. So hello, DJ Devon3, BlitzCityDIY, Cgrover, Jim Hendrickson, oh actually DJ Devon3, that was from a yesterday chat. I don't know if you're here. Thin Man, hello, welcome. Doing well, yes, thank you. Hey, Todd Bot, and we have the three dots of typing because Mouse is typing. Will this be another wild sheep chase? Retired Wizard, hello all. So yes, hey, DVD over in our YouTube chat. Thank you for stopping by. So let's see, first of all, I will send you on over to these URLs. We have actually a double header today. We have two very similar products, so we decided to put them both on sale. They're both, I believe, 50% off. I'm just gonna double check my browser over here in the background. Yes, half off. We stashed a bunch of them, so thanks to Jelly and the new products team and Travis, everyone over there who's making this work behind the scenes. It's appreciated as a lot goes into this. So we have a bunch that got stashed and then they are made available during the show. You don't need a coupon code or anything. You just simply go to these URLs or these QR codes and buy some, throw them in your cart. They're gonna be half off, listed price, up to 10 per customer, no resellers allowed. And I believe you can get 10 of each of these. So if you had some big, big plans with today's product pick, then go for it. But as is custom here before I say anymore, I'm gonna let Lady Aida jump back a little bit in time and tell us about this week's products picks. So take it away, Lady Aida. It's a UPDI friend. Yay, UPDI friend. Everybody's favorite buddy when it comes to programming AT Tiny AVRs. So modern AVR chips, the latest AT Tiny chips, use a new programming interface called UPDI, which is basically a synchronous one wire UART, which means it's much easier to wire up and manage than SPI with a separate reset line. You do need to have a little bit of specialized hardware to interface with it. And so that's what this is. It's based off of an open source design that I saw by Stephen Wagner. He did such a good job. I was like, I wanna make this and sell it because I wanna use this when I'm programming these chips. So if we go to the overhead one, yeah. So it's got USB type C and a CH340E USB serial converter which works perfectly fine. I've used it up to 200 kilobit per second. It's got a power LED and you can select between three or five volt logic and power. The power comes from either 500 milliamp LDO regulator for three volts or from USB for five volts. So you can actually like use it to really power chips. There's also a little TX LED that will blink red when data is being transmitted. And there's a 1K resistor between the RX and TX lines. Basically I use this every day when I'm programming 80 tiny chips, especially since I'm shipping it with a USB, sorry, a JSTSH cable. So the cable you see here comes with it and it plugs into the little connector and it gives you the power, red, ground, black and data line white so that I can plug it into a breadboard so easily like you can see here. And it powers the project as well as it lets me do by programming. And in theory it can also do debugging although to be honest I won't use it for programming. But pop the demand. The high voltage version of our UPDI friend, look at this beauty. So we have the UPDI friend that we put in the store a couple of weeks ago that lets you program your favorite 80 tiny UPDI programmable chips but will not give you that 12 volt pulse needed to unbrick chips that were fused to use the UPDI pin for reset or GPIO. Now, most people don't need that but if you do need that because you want to use that GPIO or you have a chip that requires the high voltage pulse this is a similar UPDI programmer but has a little boost converter, gives you the 12 volts and then when the RTS serial line toggles which the UPDI serial programmer will do automatically on serial port open you'll get that pulse and it'll let you program the chip. So very handy. Yes it is, that's right. So this is the product picked of these, right? These are the product picks of the week this week. It is the UPDI programmer and the high voltage UPDI programmer. These are serial USB serial programmers which you can use with your 80 tiny chips. So for example, we have these cute little they usually say seesaw on them, little seesaw boards but these are 80 tiny 818, 817 and 1616 chips that we have on these convenient little teeny tiny boards but how do you program them? These come with a seesaw on them for a particular use but these are basically little nice chips that you can program in Arduino pretty easily but to program them you need something like this. So the UPDI programmer has the three pins on there for power ground and data, plug them into power ground and the UPDI pin on this board and then you can program away inside of Arduino and this can be a little tiny standalone programmed board which is way, way cool. I wanna show you some demos of that. First though, let's go to the product page. So we've got this right here, this is product 5879 and this is the UPDI programmer you can see today right now during this show until the end of the show it's $3.48, quite a bargain and this one, the bigger brother this one is the high voltage version. These work essentially the same the only difference being that this one is capable of sending out a little 12 volt pulse upon serial contact with the chip so that it can reverse a bricked chip if you have a pin that has been set to be a reset pin or GPIO pin, it needs to be toggled with that 12 volt to tell it, hey we're about to reprogram you but otherwise they are the same they are this right here by the way to get specific there's a lot in that photo so that's what they look like and in fact I've got a little set of images here I made of that one right there that's the UPDI friend top and bottom and that right there that is the high voltage version of it so you can see it's just a little bit longer a little bit bigger. So how do you use these? Let's do a little bit of a demo shall we? I'm gonna jump over to this view of the world so you can see here I've got my UPDI programmer I have this little three pin JST SH cable that it comes with I just happened to put some heat shrink tubing on mine to keep the wires neat and you can see I've plugged it into a tiny little breadboard right here and that is going into the power VIN on my little board I wanna program in this case it's the 1616 ATT tiny 1616 I've got ground and then I have the data pin going to the UPDI pin on the board there you can see I've got a bunch of these little LED noodles little nudes plugged into there as well and when I plug in the UPDI programmer little UPDI friend there you can see I've got it set to five volt because this is a board that can handle the five volt power and logic could switch that to three if you want in fact it'll just make everything dimmer in this case but I'll leave it set to five volt and now if you look in my Arduino session over here I have a little set of PWM pins four of them on here and right now I'm just fading one of them but I've got these channels set to four I've changed this back to just look at that channels variable and so I'm gonna re-upload that to my little ATTiny through my little UPDI friend and the way I'll do that is just simply head into upload using programmer so this has been found on my USB serial ports list I've set up Arduino to know that it's programming this board and this chip and it's fast when I hit upload using programmer you're gonna see it is going to very quickly make the connection upload send the code and boom now I have all of these four pins doing PWM stuff now the neat thing here is I can unplug the UPDI friend I can in fact pull that entirely out of that breadboard and now I can battery power this so you can see I have a little three AAA battery pack plugged in so I turn that on and now I've got this little programmed chip on there UPDI friend doesn't need to be plugged in anymore we're done with that even though it was providing power before now I've got battery power and I've made a really neat little low cost super low profile tiny little lighting controller here you could program that to have GPIO inputs so that maybe there's buttons or knobs that are involved with it you can get pretty elaborate that little chip there can handle a lot but the nice thing is it doesn't have the sort of weight of a USB to serial converter built onto it it doesn't have the USB power circuit on there so instead we can just plug in a little battery pack into it and off we go with a very cool low profile chip there and let's see yeah that's all there is too so we've got a few of these I had another similar example here here's another one of those and I put some header pins on that so I can program that same thing UPDI programmer plug into it tell it what to do and then that code is uploaded to the chip and we're done with the UPDI friend ready to go program something else with it so let's see if we plug this back in just for fun just so you can see how that works I'm gonna turn that power off by the way before I move on from this I'll just show you what I did here was I took a since there's only one ground pin on here and I wanted to maybe not have to use the breadboard in this other setup I just took a battery pack and attached it to the red and black wires of a JSTSH4 pin since this is a STEMIC UT board it's made for that and so I'm powering it through that that's totally legit right there I promise I think it is but if I wanna go and program it again I'm gonna plug in power ground and look for that UPDI pin it's labeled on the bottom side on the top side it doesn't have a label on that one pin right there but it does have pins numbered above and below it so it's not too hard to find and so battery pack is essentially off plug that in and you can see it's powering the whole thing nicely and now we can go back over to Arduino I don't know if you'll be able to see if I switch which sketch I'm showing no you won't so I'm gonna stay with that one but I'll just change the number of channels that I'm driving here to just be one and it'll just send that oops I'm doing the wrong thing here this is a mistake that I made our guide now tells you how to do this properly we have a nice guide I'll show you in a second I went and did upload we're not actually upload we're doing upload using programmer there just doesn't happen to be a button for that but command shift you will do it or you can do it up in the main menu so there it goes it's blinky blinking it's got the little power LED on there it's got a little serial transmit LED and now you can see I've reprogrammed my little AT tiny with just a single PWM pin on there so let's see if we head over back to the site so yeah there are these two if you look at either one of these you will see down below I think we've got links for all three of these or at least two of these AT tiny breakouts which are a likely thing that you'd want to program and if you take a look here we have this nice guide Adafruit UPDI friend from Liz Clark and this tells you how to set it up you can check out overview here this basically refers to both boards it was it was written for the first one without the high voltage but the high voltage follows the same exact procedure here the pin out here you can see if you don't want to use the JSTSH you can wire or add some headers put that in a breadboard for the UPDI power and ground pins and that's about all there is to it not a lot not a lot in the pin out and then there's this really nice page on how to set up Arduino for programming one of the AT tiny chips using your UPDI programmer and there's both build your own so this first example shows using an FTDI or rather a serial cable USB to TTL serial cable and a resistor to make a programmer or now just use this guy it's dead easy you will add a board manager URL so that the Arduino board manager can use the tiny mega core board and then you'll set up which chip you're using set the clock speed and set the programmer speed and then you can compile it and upload it using that upload to programmer command you can see right there upload using programmer and then this will take you through a blink test you can use any of your typical Arduino commands from that point forward and send it to that little board let's see questions let's look over in the chat thank you Todd Todd like the demo yeah these new noodles are fun I was doing this version originally that was gonna show some of our little teeny surface mount LEDs that are on wires that I've used for some of my miniatures lighting but they and they're neat but then I realized hey wait can you give me some of these noodles and it'll look even cooler Rufus says if I buy the high voltage version is the low voltage version needed or will the high voltage one do all the chips and not damage anything with that 12 volt pulse yeah I'm just using the 12 volt one it'll work the same it just gives you that extra capability to flash the UPDI pin all these chips will are fine with that if you're using any of our AT tiny breakout boards you'll be fine so I would say if you think you'll ever wanna turn that into a eek that one last GPIO pin or use it as a reset that UPDI pin can be switched over to be GPIO but to reprogram it you'll need that 12 volt pulse to say hey wait okay stop being a GPIO pin for a second we're gonna program you so if you're debating if you think you might ever run into that situation then you can get the high voltage one which is this one right here so it's a dollar more today normally those are three dollars more so these are normally 6.95 and 9.95 today they are 3.48 and 4.98 so a dollar and 50 cents more roughly what else Tyath says now we need someone to suggest a good slash mischievous reprogramming idea for some quad rotary encoder Csaws yeah so that's I love that idea Tyath I was thinking about this so if you look in our search here for Csaw a few of the STEMA QT breakouts like the PC joystick the mini i2C game pad Neotrelas feather some of these might be a SAM D21 so you wanna double check which ones use that AT tiny but where's the where's the joystick or the rotary encoder so this one right here if you look at this what's on you are you an AT tiny let's check the guide I can't remember what's on you if anyone knows in the chat let me know but all right that could take a while to find out but yeah so a lot of these little STEMA breakout boards have a AT tiny on them so you can reprogram one of these to be a standalone board it doesn't have to be plugged in over i2C to a microcontroller oh sorry yeah thanks someone mentioned I can't you can't see my window okay so I was just looking over here here is this rotary encoder i2C breakout that Tyeth mentioned this is running a little Csaw chip I think it's the one of the AT tinies we made some of these with SAM D21s until those became impossible to find but I suspect this one's a AT tiny let's see do we mention oh no this one's a SAM D09 maybe we have I don't know if we have both now but yeah if you find AT tiny STEMA breakouts you should be able to reprogram them as just little standalone which is pretty neat what else Tyeth also has to do this different Csaws have similar ADC resolutions I believe that the AT tiny ones do if you look at AT tiny breakouts this is a guide that has the 816 and the 1616 and then the 817 I think the difference on these is mostly memory I don't believe they have different resolutions on the ADCs so let's see yeah so here's the 817 AK flash 512 bytes RAM 128 bytes EEPROM same same same and it's a 10 bit so 910 bit ADC 910 bit ADC yeah I think those are the same so yeah but if you're looking at those boards if you're looking at those cool seesaw boards and think you want to program them this is a nice way to do it and let's see Rufus said most folks are well advised to check the include three wire connector wires oh do we not have those automatically I thought those came in the bag anyway what is this oh I think that might be if you want a socket yeah so it comes with the comes with this one which is the header pins if you have a use case where you've got mail header pins on your your little seesaw board there your little AT tiny board then you might want to check that that and get them that just gives you more more options but the one it comes with is this this pin version you don't need to add that on we should probably make that a little clearer in case it's not does it do we say includes we should say on here somewhere jstsh cable included for quick plugging into a breadboard or you can get the socket one here or with a pin header here that's an extra so that's what it comes with right there hope that wasn't too late Rufus otherwise you may have ended up with some extra cables maybe not a bad thing and yeah these are three pins so these are not going to fit into a accidentally fit into i square c those are our stem i square c are four pin so you won't you won't be accidentally plugging the wrong thing in there okay what have I got anything else this is the url that's the place right there if you want to go check those out and happy hacking with these these are really neat really makes life easy for for plugging in and programming those boards okay I think that'll do it so let's wrap this up I'll you know what I'll pull that pull that cable out of there and say that right there is my product pick of the week this week whoops why is this window here make that clean that right there is my product pick of the week this week it is the UPD I friend and UPD I high voltage friend for programming your AT tiny chips for Adafruit Industries I'm John Park this has been JP's product pick of the week and we'll see you later bye