 Hey, what's up folks? So come back to another 3d hangouts. This is the live special edition with guest Liz Clark Hey, we're gonna have a special lined up show for you Thanks JP for kicking off the special a day. It is circuit pylon day We're hanging out in the discord chat room. We'll give some shout outs to folks But before we do that We have our a little bit of housekeeping we got this morning as we do with every show So let's start off with circuit Python day schedule. There's a blog post. How nice So this will let you know When all the streams are going on basically a full packed day with a little bit of an intrude somewhere in there Check out the blog post if you want to know exactly when stuff is happening So, yeah, let's Talk about the next thing that I usually do. Hello, everybody There's a lot of people it's early we just had lots of coffee so we're all hyped up and ready to get started so Pedro You would then shout outs to everybody hanging out in all of the chat rooms You can join like you said at discord.gg Slash eat a fruit. We're also hanging out in the twitch over at twitch slash Eat a fruit and here's all the links over there. We're also in the linked in the periscopes Did Facebook agree? Yeah, it's just checked green check. We're good. Check. We're good on all the places. So welcome everybody The discord chat rooms were hanging out. So shout out to skrr Chess mess JP Jepler all the crew and more Yeah, we're hanging out so let me kick off the housekeeping stuff a to food comm slash free if you get Stuff you get free stuff. Let's take a quick look at the freebies this week If you spend 99 dollars more on your order, you'll get a free pcb coaster with a golden a to free logo Perfect for your coffee. I'd love to get one If your order is 149 or more, you'll get that coaster plus kb2040 keyboard. That's a lovely rp2040 board If your order is 199 or more, you'll get the coaster with the golden logo the rp2040 keyboard and free UPS girl shipping. It's back That's not and If your order is 299 or more you get all that stuff I just said plus a circuit playground express a to food comm slash free for the details These get automatically added to your cart. No need for a coupon Having said coupon you can apply this coupon with your freebies It'll get you 10% off your order If you type in code Cirque pie day all lowercase. I think I think case matters That's pretty much the intro that we do normally and then I head back over to discord See gifts memes banter Yanni school Well congrats to chess mess bamboo printer has arrived very cool. Whoa, very cool. All right Very good. Very good So we're gonna do things a little bit different normally we talk about project of the week and then we talk about prototyping then shop talk We're gonna kind of look at a couple of of Liz's projects Well collab projects our collab projects and kind of your journey Onto a to fruit circuit Python itself how it's been these past Five six, but yeah, I'm old now. So, okay Okay So first up, let's talk about Liz's first circuit Python project and that is Summer here. Where is it? Yeah, this one Let me bring up the screen great All right, this is your first circuit Python project. How did it come about? Yeah, Tulsa experience writing So I had just started. I think I'd done one guide at that point for Adafruit knows um a Snow globe that used me code and this is also one of my first 3d printed projects I had just gotten a 3d printer and I want to make a little ring light for my GoPro That was also using for time lapses for my 3d printing and so when I Was chatting with PT and the more about hey, hey, do you want to? Guide on this. They said sure, but you should also try to write the code in circuit Python So which I was like a little concerned to do because I'd like just kind of sort of figured out how to do Arduino So the idea of doing another programming language was like really daunting to me but It ended up working out. I remember struggling a bit But basically all the code is doing it's an RGB w Neopixel ring. So what the pot is doing is it's affecting the the level of white from 0 to 55 mapped to the the pot and So that way you can adjust the brightness and you're not dealing with the red green or blue It's just the white And so that also means that you're not getting like that kind of like weird blue white that you get when you turn on all the The normal RGB LEDs. So that was my first circuit Python project. It's using a trinket M0 If you want to go to the 3d printing Since this is a 3d printing show as well. Yeah one sec I would like to talk about just neopixels and LEDs in general is the best like first project Yeah by the project a neopixel goes a long way like this can be adapted to so many different things it could be a Light installation a fun art project or something as useful as like, oh, let me add a light Yeah, you can control the brightness to and I feel like with doing like microcontroller projects I can really satisfying to have The LEDs because you're getting like instant Gravication and if you have something like the pot controlling it like you are seeing in real time what your code is doing And I think that that like really Makes it for a really good experience especially like I always like to do projects first stuff that I can then like use in real life. So like the light is like useful and so that then like motivates me to like work on it And so I always recommend to folks if you're like trying to get started like think about something that you would like that maybe you don't necessarily want to buy And then you can like make it and make it custom for your needs. I think that's a kind of a good way to get into stuff for sure What was writing circuit Python like in the early days like resources? What did you use to kind of reference to like how can I? code for a neopixel so I We were talking about this a little before we started streaming and I think the essentials guide Existed which I still reference to this day because I'm really bad at like remembering the syntax of stuff So even when I'm starting a project, I'll be like, how how do I set up digital? I again and kind of build out from there. So I want to say there was Based on looking at this code and some code we're gonna look at after I think I was looking at like the analog example. It shows you how to read a plot and map the value and Then the basic like neopixel Example to especially because it says pics pin and num pics and I know those are kind of the set in variables that are used So Yeah, I remember looking at the essentials guide there. It was still pretty new. I was it was like circuit Python 2 Yeah, so They're the resources were kind of like just starting so it was a little a little tricky, but Then it I have to say the resources grew like exponentially. I want to stand like that that year All of a sudden like there was just so many projects to reference everything So it made it a lot easier and this became one of those references because in the early days like well How do I make a light and how do I adjust the brightness of the pot? Well, there you go You were the one that kind of contributed to that. So the light is packed with so many circuit Python projects Hundreds of them probably I don't know the exact number, but I want to say I want to say most projects now Um, oh, yeah, but in circuit Python Yeah all right, so after The highness getting high off of the of your first successful learn guide. Well, it's not your first But your first successful circuit Python based learn guide. Yeah, um, the next one is Let's do some colors yeah, uh, so I'm sure my thought process here was like, okay, I just controlled the The percentage of white what if I did like Controlling the rgb and I could do like this mixer thing so uh with this project like you're using three pots and each one is affecting the red green or blue and then the Neopixel strip there. Um, we'll show that color, but that's also shown on the lcd Um, and it's showing like added together like what the color is uh, and then those leds below the pot are actually just regular Red green and blue led just looks like an indicator thing. Um So we were also talking like we might want to remix this To make it into like a game where like the screen will tell you what color To mix and then you have to mix it in and then it'll say but um, I I Yeah, I think Probably coming from the gopro project. I like the idea of Mixing with pots and then for extra credit. I was asked to do a hsv. Uh, which is huge saturation and I forget what the v stands for but I did that and And I was looking at this like Uh, I you can tell I was really new because I I did three functions Where it could have just been one function where instead of having it like hard coded what pot i'm reading like I could have been passing the The pot as a variable. Um, but You know, it shows growth. It does work. Python's very forgiving, which is nice. Um, but uh, and then If you scroll down a little bit, yeah, you can see the lcd message like I Learning the different stuff with that you can do with um string manipulation and values In python. I always find to be really cool. Like if you get one bit of data, it's really easy to Be like well, I know it's an integer, but I actually want to be a string I want to show it on a display or vice versa. So that's something I use a lot in projects And this was the first time I was able to really, you know, try that out This is a big step up from just making a light You know turn on um, so you you got the the lcd You got a couple pots neopixel and rgb leds Um, so that's uh, that's pretty cool. Yeah, and you said you built it. Yeah So I like this project so much Like the idea of it that I actually built it. I 3d printed it Um, and soldered the parts together and got the code running and it worked on first go And uh, I think I we shared it on 3d hangouts In 2018 or wherever this was whatever year it was built And it was a lot of fun for me personally Um, we're big disney fans me and paedro and Back in kind of classic epcot days um, there was this uh Pavilion that had this experience A kiosk where it was a game and you had to mix the colors with sliders to Uh, to like get to to win the game basically and there's big things and That right there is a kind of the same idea is like, oh, you have these sliders or in this case the pots To get this to match the color that that's given to you That's really cool and we might redo it and now that we have really good audio support Yeah, we have prop maker feathers rp 2040s so we could really have it like Be this super cool elaborate game. Yeah, and the wiring's also easier now because like there's a stem a version of the lcd Or we could do i spy for a really nice Yeah color display so it Yeah, a lot of a lot of progress and like yeah on all the short amount of time Right, so the hardware is a lot easier to work with the software is a lot easier to work with Um, we have the led animation library so you can have some fun animations going on And you can scale that up to be as big as small as you want so huge we could recreate the epcot You know pavilion it's a whole room a whole room There is these giant pink buckets and the paint bucket would change color It was so free we go up with the LED paintbrush. Yeah, oh again, remember to change the colors just using the color sensor to see what Like color that you dipped it into the uh bucket That whole experience was super cool. Right. This is when Gavin loved this project because he was able to relive that since you know They tore that whole building down like it's just a hole now Jane back now we're going in the epcot mode. It used to be like about learning and discovery. It was almost like a museum, but like Yeah, that was the whole goal to learn how things work and this fired about the future This is definitely cool because it can teach you like, you know, what web colors you can actually use What is going to be able to play That reminds me guy Dupont did a similar project. I think he sells on his Etsy where um, it's a color dialer and I I want to say I don't want to speak but I think it can send it as a string Um, when you send it so if you're doing like web design, you can like kind of dial in the color and yeah Yeah, and for like the kids being able to see okay. This is what orange is and hex colors You know as they're walking through the world It can be like in matrix mode and be like, oh, that's zero zero zero. Oh, that's fff. Whatever. Yeah, right Color for that is so it's really good that's still that in the kids mind of being it's the fun and the learning tool I think that's what's that have it in the back of their head to know what color Encode what colors are. Yeah This was your first snap fit case too. Yes, and I did it kind of upside down Where um, like the front should really be the panel piece. Um, but exactly the back I did it as the panel um And so I remember assembling I was it was it was a little a little tight a little tight But it worked out but I I had like just started 3d printing. Um, and I referenced your snap fit video The snap fit lives on. Yes. I love a snap fit. Cool. Um, and you know, this kind of taught you how to Document as well like learning. Yeah, I see I did photos on my um, like tv table. That's the nice wood grain there So All right, um, so that's a huge milestone Really really cool After that, we're going to go into some future stuff. We're going to go into iot. Yeah, so the reason why um I'm here. We collaborate a lot with code and projects and so Uh, this project um is because you insisted on installing octoprint. Um, and which is amazing I was just too lazy to set it up before. Um, but as you were setting up, I was like, well, could circle python do something with octoprint Like could it be a project? Uh, so I started looking into it and there's octoprint as this cool mqtt plugin And adafruit.io has mqtt support. Um, so a lot of the guide is actually Documenting how to do all the mqtt stuff that can be a little finicky Um, but what ended up coming out of all that is this um, lovely octopus enclosure Um, and it uses a feather isp32 s2 with the reverse mount tft So it has the buttons and stuff and so right from here you can like talk to octoprint and get data down from it as well So while a print is going Um, it'll show you the progress at the bottom And like on this main menu here, it just shows that it's operational So your printer's on and I could like heat it up or cool it down Or do kind of a refresh thing Um, and I've got the little octoprint logo there Um, and so this was a really fun circle python project because using display i o and it's talking It's using adafruit.io is the mqtt broker So it was a really fun project to work on. Um, and I know some folks have worked on it So it's always fun when people make the project that you spend time working on and are able to utilize the documentation you put together So um, and you also have a version that's um, unfortunately not in octopus case It's just a standard Which is fine, I guess And I did release a version of the case where it doesn't have the wonderful tentacles or the head It's just like kind of like so far case. Um, if you want like a simple box, which I guess I understand um but Talk about the design a little bit with these tentacles. I did a sketch for one of them and then I Did a pattern around and then extruded uh, so and trying to get the shape was like a little tricky. I used um Spline so it's called. Oh, yeah um, and Did that and so I was really I'm really happy with this base because it holds up really nicely and that's just attached with the screw That's a little loose right now, but then It's a cool feature. Yeah Yeah, uh, so that's that's one of my more favorite projects and it's again, it's like useful like I don't have to like log into the monitor and see how the print's going or you know, you haven't for big get up Um to check the printer. Um, I can just like have that at my desk or we've put it on the coffee table We're like watching a movie or something and I can just like at a glance know how the print's going so Use it every day. It's it gets daily use whenever the printer's on I have to have it on Um, and I really love the the hardware because it's an all-in-one board. It has a built-in screen There's no soldering here Yeah, it's such a great piece of hardware the buttons are already built in for you. So You you packed a lot in the screen too. So you're able to add these lovely full color icons Um instead of having labels. Yeah icons. It's really nice. I know what the fire icon means means preheat Refresh icon means reload and for the icons and what I do with this way a lot So that I'm not like bringing in a bunch of assets to this play out because I can like really kind of cram up the memory is um, I'll do kind of a layout in illustrator And if stuff's going to be static on the screen then I will kind of export that as an image so like when you're seeing the side icons And the octopus and everything and the line even like that's a static bitmap that gets loaded on and then it's just the text That's getting updated and the status bar is an asset in display. Oh, but by doing that Then you're not having to like Load all these little bitmaps and also be really finicky about how the placement is on the screen you can just have this kind of like Almost think about it as like a desktop background that and like you can control before getting into code like where everything's placed and then upload it because if you just put in your screen dimensions as your canvas size and whatever Like program you like to use then you can use that as kind of a real world view so I recommend that for um display projects if you get frustrated trying to place things perfectly in code Yeah, yeah, that's a great tip This uses a lot of circuit python So having really good display Uh support is is amazing the progress bar Uh is a really good piece to to showcase that. Yeah, I really like that feature. That's really fun That makes this project so much better to have like a status bar. Yeah, and just be able to tie into it um Adderfoot IO It's free for folks to try out if you want to check that out It's free for two devices And I think 10 feeds or so. Yeah, check out Adderfoot IO If you want to do IO projects, this project does benefit from the IO plus Just full disclosure if you want to have like all the feeds because The mqtt plugin has a lot of stuff you can monitor So if you don't want to like monitor all the feeds you can configure that Within octoprint and I do show how to yeah show that Um So, yeah Yeah, it's all documented here and all of the uh The individual chunks of code are broken down and documented very nice. So I try on that. Yeah, it's all good I do that. So if folks are trying to do their own project, I can see like, okay I don't want to like recreate exactly what you have here But I want to see like how you can use the buttons to do stuff Then I can then someone can go in and be like, okay. I'll copy and paste this chunk Yeah, yeah Hmm folks don't know about it. Definitely check it out and um, it's Customizable so folks want to create their own build you can because it's circuit python You could make it run off a pi portal. Yeah, your display. Yeah, definitely could you could even use the feather dbi Displayed on a big dba display. Yeah, so you can have like this custom, you know, kind of like cnc Yeah, how they have these big things Have a big stop button Oh, yeah, really do that for folks that have their own print farm or the schools Yeah, schools school. Yeah Would be a good Project build for the students. Mm-hmm. Yeah, paul cutler is saying he was able to reuse your box for different projects Oh, excellent. That's so cool. Yes. So yeah, not only the case, but like you were saying before the code He can rip that apart and reuse all of that It's cool. Very awesome Cool. Hey, shout out the guy in the pot. He has this gift from his dial toner. Good. Excellent. Thank you for posting that Excellent. I'm telling you saying that. Yeah. Thank you for uh separating all the sections of the code and uh being descriptive Makes it very Going extra mile. He says that's great. I try to write it like what would I Look for when I'm So put that out into the world Yeah, just scrolling through the you know It can be daunting. There's so much And as lamar and pt say like the learn system is really like for us when we go back Yeah, I remember how did I do that? So I often future you to go back and be like, okay, this is how I did this check the code Yeah, I'll have like multiple past projects open when I'm starting a new project. Okay. How'd I do this? How'd I do that? Uh-huh. Just mushing together into this weird pizza All right, cool. Let's see. All right Next one Uh more iot. There you go. Yeah this time with cow Cow to tell us about your Experiences with the pico w Yeah, uh, so I wrote um one guy that was like getting started at the pico w and just showing um examples at Westarga python, um for that was like kind of basic Like io examples and things. Uh, so I knew we had an http server library, but I didn't really Know how it worked. I hadn't really seen folks use on the learn system and so I tried to make one so it's Basically what it does is it's passing html code As a server so then like I can go onto a web page and did open it up on my phone okay, um and a load and so full screen I don't know you'll there you go Yeah, so this web page is being served from our lovely cow And it's a cow because everyone was calling the pico w a pi cow So very very good pun. Love that. Um, so when I there's Uh as temperature monitor there that little to be thing um And it will show that on the screen and also shows your ssid And your ip address, which is what you log into and then on the Actual server it will also display the thing and then there's buttons that can control stuff on the cow So like if I press the party button Then the party It's a slow fading rgb led which I really like to use and also a party pair It comes on the screen because who doesn't want that It's such a cool way to interface with your projects that might be embedded in a kiosk or something like that You you're serving up the web server. You don't really need well. You do need Wi-Fi, right? I mean Yeah, because it basically it's anything that is on our cats are just tearing around Uh, you can like I I basically wrote it as an example so that you could see like how buttons work and how you would do that in a larger project Like this by itself is not necessarily that useful. Um, but it's showing you like how you would take data display it How you would log in how you would use? Buttons to control things like I just press the party button again and now we turn off the led and the display goes back to normal Um, so this I kind of wrote it just to have like an example out there and also to design a cute cow case Yeah, um, it it it kind of leverages the the cheap hardware of the Change that of the pico w. It's a you you get an iot board for six dollars It's an rp2040 It's it's got full circuit pilots. Of course you get all the bells and whistles from circuit python libraries Um, oh, and it's using um the the bottom the pie cowbell Ah, right. That's an add-on board and so that gives you a stem of qt port And gives you like places to actually solder to right. Yeah. I love me extra ground pins So if folks are still using the pico w check out the pie cowbell Um And a reset button. Oh my god the reset button. Yeah All right So again, we got circuit python. You can use whatever display you can use a tft and oled You can do the dvi output if you'd like with a couple code changes So you can have like a giant kiosk that's uh controlling a robot or taking a picture and You can go to your phone to log into it and interface with it So yeah, you don't have to have these physical buttons You can use your phone or a tablet or something like that that's connected to wi-fi Yeah, so a really good example of like iot Hardware physical computing and circuit python. So very very cool um Yeah, it's a really good resource and then for the 3d printing, um, I Did this in uh fusion and again use the spline to make some nice, you know Cow swatches and there are three versions of the lid if you don't want a cow But still want to be a little, you know sassy You can do just a pie print a cow prints there or you can have it be plain if again, you just want a little box But uh, this is done with uh color changes. Um, so basically almost every layer you're changing color to get it But I think it's worth it because who doesn't want a cow server. Yeah Yeah, very photogenic cow. Yes I like how you have the cut out for the the pico wc. No, you have to let everyone know It's on a pico w Trend Yeah, yeah, great use of you know the color swapping technique. That's uh, I really love using that. Yeah, it's really nice so good uh good tips um Any other bits you want to talk about like in the I will say that the http server Uh library got a really nice upgrade from foamy guy. He did a lot of work on it And this code has been updated to work. But so oh sweet. It is easier to do some stuff now Just syntax wise. So if you've been curious about an http server, which I'm sure everyone is You can check it out. Um And you know read the docs is really good for uh checking out. Um, how everything works and everything so I have a background in web design. It's so nice to see html Like it's just raw html I've never used html. So actually that was the harder part of the project. I like didn't know what I was doing But I figured you got a crash course in html. Yeah, I was like I was like, I remember some of this from like having a myspace page when I was But otherwise I was like, I don't know right but hey now folks if they haven't played with html This is gonna get you far because it's got all the elements that you need You have a header you have a body of text you have buttons. I actually don't even know how you did the button So it's the whole html is passed as an f string Which then like you see the where the cursor is attempt test That's how you're passing in the variables from your surga python code. That was the tricky part That was like really the thing to figure out. Um, so passing as the f string So you can get your variables in because a lot of html server projects They have it as a separate file that then gets passed in Um, and so I was trying to figure out how to get stuff from the code in was Um the part that was annoying But figured it out. That's a great example I'm glad you have a an actual temperature sensor because you're taking a sensor reading from the real environment and then Displaying it on the the display. Yeah, that's really cool And of course you got a gif that is it a gif it's not a gif is it it's like uh, Oh, it's a um, yeah, it's a bitmap right a tile grid. Yeah, so it just scrolls through so much good stuff in this How do I get a gif playing? Oh, I can use a bitmap sprite. Well now we have gif support So now we have a gif support so people could just people could do that a gif But if you're limited on like, uh, ram and space. Yeah, you you probably want to do a sprite sheet Yeah, uh, so lots of stuff iot display gifs parrot cow parrot cow So many animals all the stuff. Yeah, and if folks want to get it right you can get all the assets by clicking on the Download project bundles you know all those all those lovely libraries Very convenient feel that instead of the little cloud we need a fly icon there for all the buttons I think there is a mascot art. Oh, yeah It's a cool fly. Yeah See clever is saying that he voided the f-string problem in a house key project by just exposing a second URL and returned, uh j s Uh variable That's a cool tip. All right All right, that's a lot. This is why we love the discord. That is why their name is clever. I guess Very clever You're pointing there. Jeff's non-calibration. Yes. Yeah Jeff um Yeah, this is a good piece of the Pie cow w as well with chat gpt Nice arcade button. Yes. Thanks for the blog post to jeff on what is bundle fly if you want to read more about it Yeah, awesome yeah That was really critical to get A easier solution for folks to get their projects up and running and bundled project bundles like Took a lot of internal work. Yeah, um to get that running. So shout out to the internal aetherford team For making the magic. Yes. It is magical. You are the Exhaust our lives. All right. It's getting better and I like that you pointed out that Um tim foamy guy did an update and made it easier like these projects aren't stuck Yeah, being out update they get updated. Yeah, that's so great and you get all that with circuit python um Super cool I think that's all the projects that we wanted to talk about. There was a lot of stuff um We got we got 20 minutes. Uh, thank the rocket one if you want to go Oh rocket, okay I don't have it loaded but I can just type in rocket. Let's see what shows up so many so many rockets All right, so this is a collab pager. You did the design Um, let's do the code. Mm-hmm. So pager, why did you how did you get inspired to make this project or design this project? Well, like a lot of projects lamar's like, hey, I saw this cool thing. Can you make that? I asked you Why did you come up with this? Yes, I think it was definitely inspired by some of the Nightlights that a lot of the kids use and there was a really cool rocket based one And she was like, oh if you use like the switch here to make it look like a command center and yeah, man The kids loved it. So the cool thing that um was added was uh, Liz had added the ability to first off Adjust the audio on here. So volume And then super cool using the exact same thing because I was going to put two buttons on there one for the light Brightness on for the audio, but you just have it on So when you push in It goes into the brightness modes. You can adjust how bright you want the nightlight to be And then you can't really see it there. It's not really powerful enough to push the fan that's in there There is a little fan inside there and uh, you know sways the Uh, the flames around it's a gentle roaring fire Yeah, but definitely one of the kids most favorite projects because again, it looks like a little command center It's useful as a nightlight and they can go in there and control how bright they want it to be or the white noise too Absolutely works for putting the kids, you know, lulling them to sleep. So Definitely one that had to go in there and steal out of the rooms Thanks so much and uh, some of the things that we're using inside here. I don't even remember Uh, let me open it up. Oh, larka In here So it's a prop maker feather wing Now we have an all-in-one board so it makes it easier The build would be so much better now because you just use the screw block terminal. Yeah, the sandwich gets thinner There's that one there So a couple neopixel rings and stemma rotary encoder makes it easy to To to use one with stemma. You got that speaker that you can connect right into The feather wing or if you got the prop maker feather all-in-one board It'd probably be easy to adapt this and it's kind of oh, yeah, it's using an i2s amp. Yeah Yes on the on the wing on the wing right Cool cool. Yeah, and then you you're able to control the volume in software rather than having a pot With the mixer library in serga python, which i've been using a lot with all the prop projects We've been working on recently as a really easy way to just control the volume Usually with like a rotary encoder And you can just map the range and it's really nice because if you've ever tried to control volume with a potentiometer It can get a little Not great So doing in software is really nice. And that's also a fun way to be able to Mute mute it too rather than having to like reinstantiate it and everything you can actually just keep the file Playing in the background and then have it so that the volume gets dropped to zero and then come back up So that's a fun trick Mostly seen here. It's got the mp3 library. Shout out to jeff epler for working on that. That is very So you're very nice to be able to have mp3 decoding. Yes on in circuit pythons So you can have really small file sizes Of your audio files and these big waves and just being able to drop the audio files onto the circuit python drive Um is really excellent because otherwise if you're doing it With other programming languages, sometimes you have to like make it into this header file and it's like a whole thing So being able to just take the file and drop it on and also being able to switch them out Easily too like to try different things. Um the sound effect on this is actually um nasa open sources there Audio files. This is a space recording. I think of if I remember correctly Saturn's rings Saturn's rings. That's what you said. Yeah. Yeah. Um, so that was that was fun to hunt down too So cool Neopixels Saturn sound effects. How you go led animations Rotary encoder control different modes. This thing's gm packed Gm packed with lovely jelly I'm hungry jelly. Yeah. I want to make it with jelly. All right. Um, so you broke down everything here Like there's Saturn is a source of intense radio emissions Uh, you broke down everything here So it would be kind of easy to adapt this to the new feather rp2040 prop maker. Yes. Yeah Um, and if you're looking at the learn guys we've done recently for all the props There is the mario wand the lightsaber and the adibi. Um, it's it's based a lot on on this one Really? Um, where um, if it wasn't already pre-existing, um, you know, just getting Neopixels audio and things to play nicely together, um Really easy with circuit python Yeah Very cool Uh And for when the kids get older and get actually interested in, you know, sort of modifying this Yeah, go back plug it in and actually read back what the code that was on there is Yeah You know Yeah All right, I think that was it I guess the last here. Oh the minifighter. Yeah Yeah, so Sure. Yeah, I mean, yeah I use this thing every day. So as a musician, I'm a big fan of arcade buttons. Um Shout out to dj tech tools for coming up with this idea back in Maybe like 10 15 years ago. Yeah, it's basically a midi controller that uses arcade buttons and uh I wanted to collaborate with you. Oh my gosh on this project because uh, you've done quite a few midi projects and I hadn't seen something like this where you can um change the the midi note mapping on the fly with a little five-way switch um And displayed on the screen and the pico had just come out. Yes. Where's my Again, we have a window letting everyone know it's running on the pico because that is how the internet works And it's fun because it's a little acrylic cut out. Yeah, that's cute Yeah, it's cute into install Tell me how it was writing code for the display and Hmm How is this a little tricky is because I hadn't done it before And that's why I like collaborating With both of you because you'll have these ideas for the projects And be like, can we do this this this? I almost kind of sometimes will refer to it as like a code deli like hey Can I get a little bit extra mustard a little extra made? Yeah, yeah, we're fairly very hungry. Uh, so um, I but I like that because it It lets me kind of stretch from what maybe I would have just done on my own So having the idea of the display and being able to change the button because that was your experience when you tried to do a finger drumming and stuff you really want to be able to change like what's controlling what um, it was challenging at first, but then um I remember when I finally got I was like, uh, because there's actually I think there's two Uh, you can do different um splashes in um display. I oh and so there's a splash that shows like the whole Like matrix of buttons and then there's a splash I'll show you like the one that you're affecting and how you're changing it And I mentioned earlier like being able to like manipulate data, um in python really easily So that's another one where I'm taking that midi note number that exists and is being sent But I'm transferring it into a string so then it can be shown on the display and that makes it really easy um to do that rather than Having these separate assets that you're trying to you know control and write You can just take the data that you are manipulating and kind of send it around and transform it um Yeah, you came up with the ux I had the initial idea But you really came up with a good way to kind of display like what does an edit mode look like for this particular button And we have the led Blank um for the button that you're affecting um that you've uh selected Okay, um get a live demo here. Wow, uh, and you use the magnetic thing. So that's nice. They let you know I use it every day Yes, yeah, he drums while I play guitar. Yes Give it a second to load up Um, is it plugged in all right? I thought it was Hmm Too much it was too much for it. Yeah, um, it's on Well, while we're here, um, it's also using a stemma. Oh, it came out. It heard me. Um, I can do it Uh, so yeah, it has a little circles to which is another display. Oh asset. You can like bring in different shapes Some and it mimics this and you have a stroke that lets you know what thing you're selecting what note you're about to change I remember doing that was a little tricky trying to figure out how to do that Yeah, oh being able to go back and look at super getting all the directions to work It's so intuitive like I think I like how How intuitive it is, but it really was I was looking at the code recently and I think there's a more streamlined way I can do it by the time. Oh, um, you might need to Do that streamlined way for when a Gavin usually comes up with like suggestion or not suggestion but like Um ideas ideas. Yeah, and I think that's gonna need we're gonna need that for that fast wrench Whatever thing that he wants. Oh, right. Yeah the fast wrench. Yeah Yeah, so this is cool. So the the button blinks to let you know. Hey, I'm changing this button And so I always know what I'm changing and then this is what note I'm changing Yes, and then you do select to Change it back and then it will show you what note it's changed to on the little display. Yeah, the five-way Navigation switches are pretty handy. I like these a lot. Yeah, and you do a little pcb for it. That's right Yeah, you can actually 3d print it or get it made Or mill it if you'd like if you have access to one So super cool super robust MIDI notes. I'm a huge finger drummer. Yes, um Yeah, so display io you can carry it around you can carry it around for all your midi needs On the subway, you know your midi notes packed in a nice little thing. Yeah, there's a lot of wiring and stuff, but that's just That's just a day of the game with these But uh, really cool to have um the buttons light up and have a built-in led um And what i was saying while we were waiting for our friend to come to life was um, there's a there's a stemma Multi flexor in here And that's how we're able to get enough io to control the leds individually the buttons individually and also the switch Even though the pico has a ton of pins. Um, we still need a little extra help from our friend And it's the led driver Mux if I remember correctly. Yeah, the awd aw 95 2 3 It's a it's a fun one rolls off the tongue. It does. Um, it's nice all but Yeah, so that's uh Using muxes. I've done it a couple times with these kind of bigger Music projects, whether they're robots or controllers. Um, just to get more io and um, it makes it really really handy Yeah, for sure. Yeah Yeah, love stemma because like daisy chaining. Um, the screen to the to the driver. I love a daisy chain. Yeah I actually want to redo this project with the the stemma rotary encoder And potentially some new pixel leds. So they're they're I hope and we can do an an update sometime this year um, so yeah That is uh, the last project we'll end up with If you're a fan of uh arcade buttons and Making sounds with them. Yeah, check out our our pico mini fighter a couple of people have done it. Yes. Um, and actually, uh, shout out to remy who Did a modification to the circuit python code when you can like, um Save is a json. Oh Something like a it's not quite a json. You can have like a configuration file Similar how we used to have like the secret stop pie and now we have say it's a tumble It's a separate file that you can have these different midi mappings in and you can like load them up So that's how cool. That was something I thought about the time, but You know We You could keep iterating on a project for forever. We have time limits. So You can be out of control. So, um, I I think next time I definitely want to like look into that Um, and that's something I've considered for other projects too being able to Have these kind of different configurations for variables We have like 15 circuit pie drives hooked up right now. Oh my god Yeah, i'm surprised me was just like, okay, it's like, whatever you want, man Yeah, so this uh, this is the presets that pie and I have my array of midi notes and I have Things and you press the center button to hold down to switch between those And I think it's using the debounce library so that you can change or that you can detect The long press versus the short press. Yeah, there's a lot of different ways you can do fun Button presses and circuit Python. There's keypad. There's debounce. You know, yeah, yeah Cool. Cool. Um This is the wrong code. Actually, this is the d20 code. I can tell because this is But it's fine. I'll play it and overwrite my code. I've had that Be careful. Everything's fine. But that's just a quick look at At that and it's just a good Example of how the circuit the community can contribute back and like add their own features to it and I get to benefit from So shout out to Remi for for doing that, plus seeing it up on github. It's it's out there. Yeah And that's that's why we released everything. Yeah, that's why everything's open source That's one of the benefits of having an open source project is folks can contribute back Real quick question on the acrylic window That needs to be cut. Uh, I think you need a cnc because of the way you have that bevel, right on the yeah, yeah It's just not a straight cut square rectangle 25d kind of thing. Yeah Um, I mean you could print it too. I guess you could print it. Yeah Yeah, you could definitely print it with uh some clear filament or have it 3d printed in resin clear resin JLCPCB would probably charge a dollar for it You just be shifting on that. Yeah, the 3d printed pieces are Really good right now. Yeah There's some cnc services too like pinoco right to try Send cuts and send cut send. There's another one. There's lots of services these days to get the Some of these things built Orcas have no window. It's fine too. Yeah I think that is it for our schedule. Yeah, we're gonna Someone else bouncing on. Yeah, we're gonna bounce. Next is the synthio panel. Oh, I'm looking forward to that. It'll be really fun Yeah, before we go, don't forget if you want to order anything Just support all of us in the community. You can use coupon code get 10 off your order If you need some hardware whatever is in stock get it Cirque pi day is the coupon code. Don't forget the blog has um The schedule which I have closed my window, but we're closing it off anyway, so Thank you everybody for watching Bye folks Yes, we'll get a blink of cake