 Good evening and welcome to Adafruit show and tell I'm Liz. I'm gonna be your host this evening If you'd like to join the stream You can access the link in our discord chat on the live broadcast chat channel, and that's at Adafruit IT slash discord So first we're gonna hear from folks from Adafruit and then here from folks in the community and we're gonna start off with Pedro Hey, hello everybody. How's it going? We're doing alright So yeah, this week's a 3d printed project is a little snowflake so we designed a little holder for the LED noodles and I Designed the back cover to kind of secure the coin cell so it has a built-in on-off switch. I can quickly turn it on There we go So they're for the LED noodles. We got two different colors yellow and warm white It's so bright that it's kind of blowing out the camera, but it's gonna make some nice light So this this makes it good the kind of ornament or something you could put on the wall or Other decors, but it was fun to kind of come up with a shape It uses for the noodles and then because it's a snowflake the center hexagon That's where I actually have the wiring kind of hiding and it's behind the battery I'm not gonna take it apart, but I also added a JST cable so that you can swap it out so there's JST cables you can always swap it out and put in a different battery or Like a wire in a USB cable so you have a wall powered But yeah, just a kind of a quick kind of three printed noodle sign. We've got a bunch of Neon signs. We've been doing that a lot this year and Yeah, that's that's this week's project And got a learn guide up so folks can build it and wire it up and 3d print the the bits Oh, don't forget to plug the layer by layer on yeah If folks want to use fusion 360 to design with these we have a little tutorial on how you can make different shapes Yeah, get some nice fittings in that. Yeah, and then a sneak peek of what we were working on A took apart an iBook and we put an iPad in it to do some like retro like a case This is definitely something that Brandy wanted so I was like, oh, no, I got to work on a thing Cuz anytime your kid or your spouse wants to work on a project You kind of got to do it. So yeah, this one's been blown up on like the socials Everybody's making like a cool like a case for these so it's pretty cool Turn in the 3d hangouts that happened early in the morning You can see how I set up the the keyboard for it and the cool thing about it is you don't have to 3d print Like I see the way that most people do it They like completely print the entire like a lot of the body to get the like the keyboard and stuff like that to Fit we could not find one that would fit in there But the one that we have in the shop fits perfectly so Using like the magnetic right ankle dongle for the USB C Converting it to the regular USB a is making and everything work perfectly. So yeah, we'll release that next week Very cool. I'm impressed at how perfectly the iPad fits in there. I Didn't think it would work. Yeah, I was like, okay. Yeah, I'll do it, honey And then she orders it and the next thing I know she's taking it apart gutting it I'm like, okay Apple's plan all along, maybe Recycling this whole time. Yeah, and they're pretty cheap. I think it was like a hundred bucks for like a it might have worked I don't know. Maybe you can get it back up and working but just for the case and stuff itself. It's nice. I think right Yeah, yeah, very cool looking forward to seeing that and that snowflake is very nice as well. Yeah, it's a good tree topper, too All right, thanks folks Next we're gonna go to Jeff Good evening We've been talking about it for a long time and teasing it but the next keyboard converter is finally here So this is one of those classic 90s computer keyboards Interesting thing about it. It's got this plastic gasket that goes all the way around and the same styling is on the mouse and I don't know if that's a useful thing or it is just how they styled it But anyway About ten years ago Lamar wrote a guide with Arduino and I'm like now we have circuit Python and Qt Pi Qt Pi RP 2040 here in a 3d printed enclosure and the code is in a guide and some discussion and background and Yeah, so just continuing with the keyboard projects And I was really excited to get to do this on literally Lamar's next keyboard So she entrusted that with me for oh wow for the time being that's a big deal. Yeah, it is Yeah, and so if you want to come back around to me in a little bit I've got another funny thing to show you all right sure and we'll be sure have folks check out your new guide on that keyboard Yeah, very cool. Thanks, Joe So next we're gonna go to Scott's Thanks for hosting thanks for coming and thanks for having me So I've been working on this weird thing. I think it's pretty weird So micro dev is a community member and they added a co-processor Support so on the ESP 32 s2 and s3 the s3 has two main co process main processors And the s2 has one, but they also they have another one. That's an ultra loud low power processor That is there to be able to do like very basic things for you without turning everything on And micro dev added support for this I wanted to re kind of rework the API for it and now I had to figure out how to test it and This idea of having some helper code on another processor with circuit Python has like been kicking around in my brain for a while I think I showed like I developed these stem aqt boards here. Oh, yeah, and have Cortex M0 plus is the STM 32 G-zeros on them. So this is another thing I've been thinking about where you have some code running on another Processor that that circuit Python is working with And similar to the ULP on the ASP chip. So If you could pull up my screen So this is the complicated part Okay, this is the complicated part. So this is C code that is What runs on the co-processor? Okay, and the cool bits you can ignore all of this stuff This is like writing registers directly or setting me up to do that. But one thing that's cool is I you have Variables here that are globals and C And there's two different kinds there's these ones where they're not volatile and then there's these two that are volatile and Volatiles a hint to the C compiler that says like hey like if you load this from memory Don't like make sure you load it every time you use it rather than storing it in like a CPU register Okay, and you need that in case something else changes its value And so in the case here. So what I'm doing is I'm I'm taking the C code and I'm packaging it into Python Okay, look at my Python here You can kind of ignore this. This is To read and write memory But now what you can see here is in blink our class we have two Attributes, so these would be like function or object dot setting object dot count And these are the things that are volatile and see so this is Accessing that same memory that the C programs accessing but from Python So you'd be able to like dynamically Read or change what the program is doing while your Python's running as well. And then that third one That is not marked volatile is Here as a parameter into the class when you construct it So what this class is actually doing is it's controlling the ulp It's Constructing a version of the program. So these are the bytes of the compiled Program But then it patches it so it's patching that that third number the pin number into the program before it's Copied over to the CP the other CPU and run The idea being that you could pick a different pin that you want to blink on without having to do a full compilation of C code Which is I know it's complicated, but the goal the goal is that Yeah, the goal is from the outside, which we're looking on the inside here from the outside You'd be able to say I want to blink on the ulp and I want to blink on this pen And then you could also set like how fast you want to blink or whatever And treat it as if it's like this Python object that works a little weird Under the head so I'm playing around with that Unfortunately, it doesn't actually work. Otherwise, I would show a demo. I'm trying to figure it out It's actually like very hard to debug. I can't tell like What like with a normal microcontroller you can say like hey, what's your program counter? Where where are you at? Right, there's no way to do that with the ulp that I can tell Yeah, so that's that's your weird But the pitch here is that you could do some like very simple logic in a low-power processor to like complement Circuit Python, that's very cool. Yeah, and people always want to do multi-core multi-tasking stuff and this is kind of that Yeah, so I'm playing around with that and hopefully we'll get it working tomorrow Cool. Awesome. I'm excited to see where this goes and excited to try it out. What's out there? Yeah, thank you It's yeah, it's a weird one Awesome. Well, thank you Scott. Thanks Liz Okay, next we're gonna hear from some folks in the community We are gonna go with Flavio See you so I just wanted to do a show and tell You know journey sent out to show you a cool project. I did over this weekend And it was basically I had an ARP I had an RP 2040 and then I connected to a real Ethernet, you know to get it over the network and The reason yeah, the reason I needed it. Yeah, so yeah show my screen because it's probably I Pictures there, but I had an alarm and then I retrofitted with the ring alarm and I had these ports available But the emotion sensors didn't work on it So what I wanted to do is connect some little relays on it to pretend I'm opening and closing the doors And that's what this little gizmo here drives So I just took that RP 2040 loaded Circuit Python and I played a lot with the async IO Which is really great on circuit by Tony and it works great So I guess a little bit of in line with the scots talking about Multi-processing of having multiple things running at the same time even though they aren't really yeah, but anyway, so This I the code is here and then I guess I'll just show you real quick The part of it that I really enjoyed Which was the async IO and with a sync IO you just basically rate those little Subtests right and and it works seamlessly. It just works beautifully and I can have it changing colors and Do things so the the part that was kind of fun on it is that I am I So I started with my board right so I have some pictures in here And I started with the board and then I started soldering which is normally what we don't do much these days anymore But right it was so satisfying doing all this soldering and of course end up looking like a spaghetti at the end But it all worked, you know, and then and then a buddy of mine show me this this thing Which is kind of like I don't know how it took me so long to figure out the liquid electric tape Which basically allows you to seal, you know, all the soldering and everything so there's nothing exposed And it's really as good as electric tape except it's just super, you know, it looks like a little piece of rubber You know like right all the mess that I did is all gone Yeah, and then yes, so he just looks like that and these are the relays, you know, and this is that and then how I connected I connected to the little ring box Plugging in like that and and in that shirt off He was happy to look at the new doors and everything as if you know It was just connected to the real Sensors that I had originally and then I then I I'm always inspired by Pedro and You know as in and I 3d printed a little box for it, but I use I use the I'm not very good with fusion 360 I use a thing called on shape. Oh, yeah And yeah, and I guess some of you guys use that so yeah, so that was really fun And then I just use that and yeah, I could just Connect to it and 3d printed and any came out great Anyways, I'm all when I do little projects like this I'm always thankful to you guys because I'm able to pull this whole thing off within a weekend You know, we're just using circuit Python and all the awesome Libraries that you guys have to offer and then by the way, I controlled it using MQTT Also connects like super seamlessly with it. So anyways, it's great About um like the tutorials helping folks to work on their own project So thanks for coming by and I'm so free to drop any links in the chat too So folks can get a closer look at your project We'll do all right. Thank you guys. Awesome. Thank you so much. Bye. Bye Okay, next we are gonna go to DJ Devin Hello Hello, Liz Hello, Fabio speaking of spaghetti I have a whole bunch of nudes. This is the stuff that that goes into uh, the my dragon mask Well, this is a demo circuit of what is in my dragon mask. Okay, uh, and this is actually what was part of the the dragon this is another demo This is the original demo circuit of what went into the dragon mask, but it uses a proto board as ground So I had a big issue trying to find enough grounds It doesn't show it on this one, but on the actual dragon mask every single ground is like cut In a tiny little area and then soldered and spliced all the way around one wire that goes to one ground Oh Yeah, so if you need a whole bunch of grounds, uh, that that becomes a problem Especially in an enclosed space Um, so what I came up with was a little pcb for the cutie pie call that i'm calling the parent because it grounds to the bffs Uh, I don't know how well you can see that Yeah, we can see it Very cool. So every single one goes to ground on all the the Inside proto area. Uh, isn't a proto area. These are all grounds all ground. Okay. Yep So Let's see if I take apart This is all modular. So this is the inside of what it looks like when you need a bunch of grounds so these all Go to ground and then I've got the uh, the lipo bff And all of this ensures that it's all in a tiny little footprint so that I have more room to breathe than a mask That's basically what that comes down to And uh, oh yep and for my major project That I've been working on for a while that a lot of people know about Are my tr cowbells. Very cool. Yeah, this is a midi controller based on Todd botts. Uh pico step sync sequencer And basically it's just a large linear macropad and I do have it Lighting up in the sequences and it should function. I don't have any of the music stuff working yet And I was supposed to ship these out to a group of beta testers Monday and last minute did some more testing found a big problem The mcp chips and also in the guide it doesn't mention this. Uh, the mcp chips Have to have either three grounds Or have to have three positives three v three Um So that threw me for a loop because I treated it as a regular i2c And only uh, soldered the one ground Which left these two floating and I was getting all kinds of weird results because It does not like that at all. Yeah So that was an interesting thing that I found and um, so finally show up my board and this is the v2 Very cool. Great art on there too. Thank you. Uh, totally stolen from the internet I mean more cowbell. So we have more cowbell and uh, my name and papyrus font for filthy Excellent There you go. Well, thank you so much. You do Devin. Well, thank you. Have a great day. Thank you too Next we are going to go to make it hack in Hi, can you hear me? Yes, you can. All right. Um, I'm going to present my screen. Okay um, so let's see Boom, can you see it? Yes, let me add to the stream okay, so, uh We're gonna get to the hardware later But I am showing off a bot that I wrote for the digi key digi wish So what is going on here is uh, if you guys didn't know, uh, digi key is doing a digi wish Contest during the month of december and every day you can wish for a new product and they randomly pick someone So I thought it would be fun to write a bot to do that. So this is today's Wish um, and if you're on twitter still, uh, if you want to go to this one and comment down below What it does is uh, people can comment down below and the bot will pick a random Reply it'll then search the digi key uh catalog for that and then um And then pick one that's you know, it has to be under a hundred dollars and it has to be in stock Um, so I'm gonna demo that now and hoping that the demo gods are with me So here we go It's running off a pi zero wireless. All right, so I'm gonna run it. Um I'm gonna run it. Let's see. I want to actually upload the tweet. So hit one and um So it picked the magic smoke uh tweet um I don't think so it kind of if it doesn't find the first one it'll go through the other tweets and find one um, so this one actually Let's see I'm gonna refresh mine my twitter Get my profile see which one it picked So this is the one it picked. Um, it's actually an ate fruit product. So that's cool Um so Yeah, it kind of it just it picked the one it links the tweet right here that it that it shows And uh, yeah, so um my plan for uh the future is to Go on to get that on to like some microcontrollers So I have my pi portal I have a mag tag and if people want to like comment in the discord Which one they think would be better Funhouse and the matrix Portal, uh, I think I'm kind of leaning towards pi portal. Uh, I need to be able to save the Image from digikey in order to upload it to twitter. Um, I can't just like link the hyperlink I have to actually like download the file. So I don't know if all those are possible With all those devices, but um Yeah, so I might have that by next week, but um, if everyone wants to go comment And see if they get chosen for tomorrow. I would ever like to see uh, what gets picked Very cool. And I think you should get did you wish just for building this bar? That's very cool. All right. Well, thanks so much for coming by but Next we're going to go to mark gambler and then we'll go back to jeff to get a fun treat afterwards Say hey mark. How's it going? Hey pretty good. So I'm going to re aim my camera again at The giant led Matrix I still have so this is updating a project I uh worked on A couple years ago, but have now updated it for the new Uh libraries that just came out for the core For the fast pixel mapping And that jeff and tim both spent a lot of time working on Nice. Um Yeah, so now I could take what I did a couple years ago The tree animation doesn't really need the frames per second But in a second the giant scrolling text was not possible two years ago, right? Yeah Uh, so Yeah, and this is slowed down as I think to demo a couple weeks ago. It just flies by if it's not Uh Since I showed it last time added in some of the fading text um This hasn't been running long enough to really show but This is and then it's the icicle demo that was originally done by phil b in arduino That I updated a couple years ago I had about half the icicle showing last time and as they grew in length The frame rate just dropped now. I can run 15 strands No problem Uh I tweaked the original code that the icicles will grow over time as well and eventually break Uh like real icicles Excellent Yeah So after show and tell next step is putting this in my uh window and Getting ready to show it off It's great. I can remember I think when you did the tree a couple years ago. It looks really awesome. Um now I some big and Animation going so smoothly. So it's been cool to see this grow over time Yeah, it just worked out that uh The rate changes are done to speed everything up and make a lot more stuff possible Excellent. Well, thanks so much mark. Thanks a lot So good night And now we're going to go back to jeff So I've been spending a lot of time playing with this website called chat gpt from open ai And people have a lot of different opinions about it and I find that it's really great for playing with it and like Making up sort of fiction because it can make things that really look like You know like real things, but it's entirely made up. So if you want to bring up my window Yes, I thought well, can it do aida fruit and now I have to tab over to the same Uh window. So, you know, I asked it. Are you familiar with the electronics company aida fruit? And it is so I thought Can it get me fired from my job by doing a better job than I do I I have to admit earlier today about it the thought they crossed my mind like could you put in like a lurg guy job? That's that's funny. That's yeah, so that's Exactly what I did. So I asked it to write a project to use a sensor to detect when a bird is present And release bird seed using a servo motor. So just informal poll ask yourself. How do you think it did? Based on what I've seen there's price and words that sounded correct and So I mean, it's it just gives you the whole thing. Um materials needed tools Setting up the hardware programming the trinket So I didn't actually try this code, but this really looks like arduino code to me. I'll tell you um And oh and it it tells you how to test it and suggest further improvements And we really like this one at a microphone to detect the bird song. That would be fun That would um, but then I realized looking at this program It's going to read the pin and the first time the pin is high It's going to open the seed dispenser And so that's not going to work out all the all the seeds just going to come out because there's no close Yeah But you can come back and you can ask it follow-up questions And so I said well, you need to close the door again, and it says sure. Here's how you do that And I think this is right This looks like good arduino code to me and It explains everything what's going on And then I realized well wait It'll be oh, it'll be open the whole time the bird is there You want it to open and then let the bird eat and the bird has to leave and come back So I asked it to do that to him. It's like here's how you do it. You use a static variable. It was like a whole See lesson, and I was just so astonished Did this well Yeah, on the other hand I had to have a fair amount of knowledge to Evaluate what I was seeing and say oh here's a problem And it could maybe rewrite things to solve it, but it didn't recognize those problems Itself right and of course i'm anthropomorphizing it even to a degree that's inaccurate So then I said well, you know, I work on circuit pythons. So this was an arduino project Let's do the circuit python version and You know this kind of looks like python, but This doesn't exist. This this never existed. I researched it just in case it did so it invented this This never existed Yeah, this looks okay Delay is not python delay is arduino So yeah on the whole it didn't do as good a job at circuit python as it did at arduino And I really wouldn't recommend, you know, if you are not Experienced this is going to give you code that it explains exactly why it should work, but it's going to be wrong Yeah, and the explanation is going to be wrong and you're going to get tripped up But as an exercise for somebody who was more familiar I thought this was a lot of fun and I was super entertained and I I hope that all of you are are entertained and not Dismayed at the idea that computers are are writing code like this. Um, Well, I use it responsibly y'all Yeah, it's you know, great power comes great responsibility and I saw one artist who is talking about The whole thing all the ai stuff has come out. I feel like recently in the past couple days and they're kind of referred to it as almost like, um the equivalent of like microwaved food so And basically like, you know, if you're if you're having a hot pocket every once in a while, like it's fine But you shouldn't make a steady diet of it. So I thought that was a good analogy for it Entertaining definitely. Yeah, I need to still go and write some of my own code because otherwise we won't actually get You know the real stuff Fair but uh, yeah Well, thanks so much Jeff. Thanks for showing that. All right. You have a good night. Thanks for running this. It was fun Thanks for coming by And that is going to do it for show until the night everybody. Thanks for showing your projects in two minutes John park will be here with his john park's workshop. Have a good night, and I'll see you later. Bye. Bye