 and welcome to this lady. Hey everybody, and welcome to my desk. Here we are at this lady Ada doing some hardware hacking this rainy weekend, a couple of things I did. First up, maybe let's go to the computer and I'll just show off this playground note that I wrote, this might be handy. So one of the, I've been working on a little bit on some Arduino libraries. And one of the things that if you do Arduino stuff, you know, you open up the ID and it's like you have to update your libraries and usually that's not a big deal, but I have like hundreds of libraries that I manage. And the way I manage them is by, this is like my GitHub library folder, I get clone libraries. And then, you know, I can quickly do versions and versioning and, you know, get commits and branches and stuff. But one of the things that happens is sometimes I'm like, oh, I'm gonna do, you know, like fix a bug branch and I go into a branch, I do some stuff and I work and I forget that I have to switch back into the main branch from the GitHub origin. So that's something that happens. Another thing that happens is, you know, other people do commits and I have to pull the update and the ID will tell me, hey, you're out of date because like the property version doesn't match because it looks for this property version here. But, sorry, second. But I, you know, I don't remember and like then they have to go into the IDE and doing it takes a long time. And the last thing that happens, although this is now cleaned up, so you're not gonna see it, is usually there's a lot of folders that are called Arduino underscore number, number, number, number. And that's because when you update libraries in the Arduino IDE, it will always, it'll save the old library and old library version so you can like switch back and forth and create a new folder. But the folder isn't named the library name. It's named just like I said, Arduino underscore one, two, three, four, five. And so it's really hard to clean up. Like the folder, like this folder had like thousands of libraries in it because of like just 10 years of versions and updates. And so it's not possible to easily clean it up and get rid of the old versions of libraries. So all these things together basically meant that my library folder was getting like so unwieldy that like the IDE was thinking forever to start up and it was like being really weird and sluggish because I had to scan like a thousand plus, maybe 2000 folders. So what I did is I wrote this script called rename library folders, although I changed it a little bit. I started with just renaming and then I updated later. And what it does is instead of calling the library Arduino underscore number, number, number, it changes it to be called the library name underscore version with underscores so that it's really easy to tell like, oh, you know here I had a U8 G2 library, version 2.32.15 and then I updated it and I've got 34.22. And now I know like, oh, I don't need this version. It's very easy to delete and clean up versions that I don't need anymore. So like, for example, here, SPI memory, I have 3.3 and 3.4. Yeah, I can get rid of one of them. So, or like, you know, servo libraries. So this script, I had a chat GPT help with it. Hold on, let's see. Yeah, I had to help me write this script. I made some changes. It was actually really good about catching some of the weird things about like putty and P-link. So definitely saved me from a lot of Googling. I was like, hey, I got this error when I run the script. What is it? And it's like, oh, you know, you have to like set the SSH command on Windows. And I would have figured it out, you know, eventually but every time I remember to use P-link instead of SSH or then two years later, I forget. But regardless, I have the script up now and it's on the Adafruit playground, which is where I'm putting small projects. So, you know, this isn't like a full guide but I wanted to have more than just a gist because I wanted to explain like where this script came from and all the things that it does. But it's here in the playground and it's a featured note. So if you go to Adafruit.com and you click on playground you'll see it. And there's also a lot of other notes that people are doing. So, you know, if you want a free user account on Adafruit.com or you have one and you want to like put up some documentation for a project and you don't want to have ads or banners or logins required to view it check out Adafruit playground because it's where we're putting Adafruit folks and people in the Adafruit making and hacking community are putting stuff. So I think this will be handy for people especially if you're like me where you maintain hundreds and hundreds of libraries or even a dozen libraries. And you'll see even respect your do not track setting which I have on my browser. So you have to click through to show embedded links because it's an embedded gist. So and also I used Dolly 3 to create a nice image and give credit to the prompt and Dolly 3. So that's one thing I worked on. Another thing I worked on is I did a revision for the 3.5 inch TFT feather wing. We did the 2.4 inch TFT feather wing and that's in the shop now. I think I even have a demo running on this maybe. Let's see. Oh yeah, I ported the weather. What's it called? The Think Pulse weather. Can you go to the overhead real fast? If you have one of the new TFT feathers and you wanna run the Think Pulse TFT feather demo it's got the time in CST, but otherwise it's, why is it says Thursday? Okay, so it totally has a long time. Whatever, we'll fix that later. But I think the temperature is correct. It is chilly, it's overcast clouds. We're running here with a feather and it's got the new version, the V2 of the 2.4 inch TFT feather wing. So this code got updated as well for folks who like to run this code. Check it out on GitHub. Okay, and then back to the computer. Sorry about that. Small, it's probably like a detour. So I'm doing the 3.5 inch version of the TFT feather wing as well. So this one also has not been in stock for two years due to part shortages, part pricing, nuttiness, discontinuation. So, you know, updated the back lights to be a different driver that original driver's out of stock. Changed some of these components added a systemic QT port, changed the touchscreen driver. The TFT is also from a different supplier and so are the connectors for the feather. So, you know, a big refresh but ordered the prototype PCB. So hopefully that'll get revised soon and then I have a couple more boards to do. I'm getting like down to the last 10. A lot of the e-ink displays have to be redesigned too. All the e-inks got discontinued, you know, the new chips and every time a new e-ink display comes out, they're not meant for longevity. So I'm constantly rewriting the driver code for them just a little bit. And then finally, I've been working on getting the, let's go to the overhead. My pie camera board up and running again. So also has gone through like a bazillion revisions. Now it has an ESP32 S3. Let's see if I can get it to recognize this. Okay. So now you can see I've got the display and I had like a user interface so you can change the image resolution and then you can take photos, snap. And it saves a photo to the SD card and then this is the camera I'm using. It's a 120, I can't have it focus on everything. It's a wide angle 120 fisheye lens but I'm also trying out this which is a normal like 90, 70, 80, 90 degree lens that does not have a fisheye but does have autofocus. That's what this metal thing is for. So yeah, almost every component on this was also changed but I feel like I'm getting close to wrapping this one up. I'm going to add to these interface buttons. I have the speaker on the front. I had a microphone even though I don't think it really works. And then I moved the battery over the, this is like really hot over here. Obviously you can't tell what I can. The 3.3 volt, like this uses like 200 milliamps. Like it's a very high power chip when it's streaming graphics to a display when it's like constantly being read. So this is now going to be a buck converter and moved, yeah, move the battery over there. This is going to be a buck converter. And then I'm also designing one moment. Let me go to, do, do, do, do, do, do, do, do, do. Okay, you go to the computer and I'll show the, I wanted the front of the camera board to be like an LED wing for light effects. So like, you know, it could be RGBW. So you could have like white flash, but it could also have like color effects. So you could do like cool, like rainbow or blue or like color effects directly. Cause I was like, one of the things about this camera, I think it's really cool. It's like a Python powered camera, but it's like you can, like every phone has a camera. So I have to do something that makes it a little bit more interesting than just like taking photos. I mean, it's programmable and everything, but I thought having an LED ring in it would be kind of neat cause like you don't get that with an iPhone. So, so that'll be cool. And then we have a couple, this is written in Python. And we have, you know, the main library. It has a couple of cool things like you can do stop motion photography using onion skinning. So I can't really show it. I mean, maybe eventually I'll have some way to get the video into the computer. So I can show it easier. But it's onion skinning. And also there is, we have QR recognition. So we have like a little bit of like visual, like vision hacking capability. The camera itself is the OV5640, which is a five megapixel camera, but it can also do like, you know, black and white. And it can do of course like any resolution up to five megapixel. So if you're doing image recognition, so I think, hold on. I think, Python. Yeah, this code isn't public yet, but one of the examples is QR. So let me put this in here and then let me save this as can code Y and then open. Let's see if this works. Okay, so now it's in QR modes. Let's go to the overhead again and I'll see if I can do this demo. You can see this says it's your scan. So let me see if I can hold on. This is like I gotta auto focus the right thing. One second. Sorry. This demo is gonna be a little bit funky. Okay. So then focus on that. Close enough. Yeah. And you can barely see it. Hold on. It says, sorry, this is the challenge. Oh, you know what? Maybe, hold on. I think you have to reset it. Once it does one scan, I think it doesn't scan again. Live demo. Okay. There you go. So yeah, recognize as the QR code is Adafruit.com. So, you know, you can do a couple of things with this camera. Surprisingly, you know, even in Python, just because the ESP32 S3 has so much PSRAM, you can do like vision projects that normally would have taken, you know, like a Cortex M7, but like you can't get Cortex M7s from ST right now anyways. So, one more prototype out the door for this one. I think this project will be finished. So I'm just gonna really wrap it up with a bunch of like two year old projects, which is kind of nice. All right. So I think let's go to the Great Search. The Great Search, brought to you by DigiKey and Adafruit. Lady, I'd use their power of engineering to help you. Yes, you find the things you need on digikey.com. Every single lady and what's the Great Search this week. Okay. This week, I saw this person. They have a GPU board and they have some damaged connectors and they're like, I need to find this six pin terminal this power connector. Looks like something kind of went wrong with their power connection, but that's okay. Let's take a closer look at this. And then somebody's like, Digikey probably has it, but it's hard to search it. Well, we're gonna find it for you. So let's open this up in a new tab so we can really zoom in. Too much zoom, enhance. So this is, this isn't interesting because last week we showed how to search for a connector that we had on hand and we used calipers to measure like the pitch and the sizing and everything. This time we're gonna do a connector, a power connector match, but we're gonna do it by photo. So the one thing we notice is that this is two by three and it's a right angle connector. And you see that there's like these little notches here, but like not on this one, like this is a keyed connector. Not only is there like a notch here, but there is like these, you know, sorry, there's a key here but there's notches on the contacts themselves. But these are pins. And one thing we don't know what the pitch is. However, this looks like, you know, 0.1 inch. So this is like 0.16, 0.2, like 3.5 millimeter. It's not 0.1, it's bigger than 0.1. I can tell you that. It's not like 0.3, it's somewhere in between. So we don't know that. But I think based on this, we can figure out what the connector is. So let's go to dig a key and let's search for, it's not technically a pin header, but like it'll get us to the rectangular connector's zone. So we want a rectangular connector. And you know, there's like similar stuff here. So we know we're kind of in the right zone. It's like this right angle connector. So let's do the things that we do know for sure. So one, we know there's two rows and we know that there are six total positions, two by three. And let's just go with active because we want something that you can buy now that's compatible. All right, so it took us for a half a million down to at least 9,000 point search. And then positions loaded, you know, I'm gonna guess all of them. You know, I can't really see, but I'm gonna guess that all positions are loaded. So I'm gonna just select six dash and all to make sure that I get all of them. Okay, and then, okay, yeah, we're getting close, but these are all straight connectors. We want right angle. So let's look for that next. So panel mount no, board straddle no, through a whole right angle. That's what we want. We want coming out the side. So let's apply now we're down to 1,600. Okay, now we're, that's actually kind of, this looks pretty, this won't actually be it, let's even get a little closer even. So next up, we want to get that pitch. So again, we don't know what the pitch is exactly, but it's more than 0.1 inch, and it's less than like 0.3. So it's like this, it's between 0.1 and two. Maybe I'll say two as well, something like that. Okay, so let's apply this. Next we can do some things like, we can do the insulation color, which is like clear or white or transparent, not beige or black or blue. So I'd say natural or white. Let's see if that helps. And then row spacing is also gonna be not, it's at 0.1, it's definitely bigger than 0.1. Okay, so now we're down to like 60 options. So that's really good. We really cut it down. Fastening type, I don't know, ramp, glow wire, that is. Okay, so let's look at our options. Okay, so like I said, some of these are like very, very familiar. So it looks like this is actually kind of a generic connector because it looks like this and this have that same, you know what I'm looking for is that like square and then notched contact. See, it's like notched, square, square, square, notched, notched. So it looks like there's actually a couple different options. Some of these have board locks, which I can't see. I'm gonna assume that there's no board locking. Like the board lock is that pin in the middle that plugs into the board. I don't see that here. So I can't guess on whether it has it or not. Locking, ramp, contact shape. Yeah, these say board lock. And this one, sorry, which board lock. I mean, if you have board lock, you know, great, but I don't know that we do. I'm gonna say let's not get a board lock. So no extra features. And then, you know, I think that these two are definitely gonna, these look pretty good to me. So this TE connector, you know, it's got, it's got all the details looking correctly. Look at those, there's a couple options as well. Use some nicer photos of it. But yeah, I think that this wire connector is probably it. Looks good, up to 600, up to nine amps. So that's, you know, makes sense. It's a power connector. All right, cool. Well, I think that this is going to be my pick. So if you have a GPU board and you actually caught it on fire, good news for about 60, 50 cents, 60 cents, you can fix it yourself using a little solder and maybe some diagonal cutters. Check it out. This is my pick for the great search. How's your research? Where are you? All right, thanks so much everybody. We'll see you throughout the week with things going on and more. Thanks for joining us on this Sunday night. See you all next week. Bye everybody.