 What's up folks, welcome back to another 3D Hangouts. My name is Noah Revez. I am a designer here at Adafruit. Jodam, every week is my brother, Pedro. Good morning, everybody. I'm Pedro. It's credit-tuff here at Adafruit. And every week we're here to share 3D-printed projects featuring electronics from Adafruit. That's right. It's a show we combine through printing. Do you have all the electronics? We try to do a live stream while doing all this. Hello, everybody. Welcome to the show. We're hanging out in the Discord chat room. Pedro, give us a shout out to all the folks in Discord chat room. Good morning, everybody. Hanging out in all of the chat rooms, we are hanging out in the Discord at discord.gg slash Adafruit at the YouTube channel, as well as Twitch, Facebook, and Periscope. Good morning, everybody, hanging out. Shree, Andy Callaway, Michael P, Rosin. Good morning. Yeah, special projects to share today. And we're going to run through the housekeeping. And we'll jump back into the Discord chat room to say hello to everybody joining in. Had a little bit of issues with streaming, but that is how the game goes. Let's go to jobs.adafruit.com and see all the latest job listings. You can head on over to jobs.adafruit.com, see the latest staff. I'm going to run through them real quick. I'm seeing a new position for basic 3D modeling in the anywhere in the United States. Awesome. And I'm seeing a Make Inspires Maker Space is looking for a Maker Space manager in the New York area. How do you say this one? Chapaka? That sounds cool. I'm still seeing an AB content coordinator for New York, New York, for the New York Historic Society. All great things. If you're in the market for a new maker position or if you're an employer looking for some maker help, you can do so by going to the jobs.adjobs.adafruit.com. Cool, cool. Let's check out adafruit.com slash free and see all the latest freebies going on. These are going to get automatically added to your cart. And there's three different tiers. For orders that are $99 or more, you get a free half-size from a proto, half-size from a proto breadboard PCB. For orders that are $149 or more, you get a randomly selected STEM at QT breakout board. If you have an account with adafruit, make sure you don't get the same one twice. And for orders that are $200 or more, to get the STEM at QT breakout, the half-size from a proto and free UPS ground shipping for continental US only. So for the deeds, check out adafruit.com slash a furry. Give a shout out to the newsletter. This happens once a week. It's focused on products. So if you want to get the latest products that are added to the adafruit shop, you can go and subscribe to the new, new newsletter adafruit.com slash new newsletter. Shout out to all the folks that are submitting your stories and links to be featured on the Python on microcontrollers newsletter. Shout out to all 9,000 of the subscribers are on that. So if you are looking for a place to showcase some awesome projects with Python and microcontrollers, you can submit it to CPS at adafruit.com or hit up umbrella on any of the social channels with some hashtags. Thank you everybody. Huge shout out to Paul Cutler for doing up the Cirque Python show. Season two is back in action. And we have Melissa, who's on the adafruit team this week. So you can listen in on some backstory on Melissa. Cool. All right. And heading back over to the Discord to catch anybody who wants to say hello. Good morning, Jack Bruton and Connor McHarder. Morning to everybody. Vince hanging out in chat as well. Good morning. Jack says, oh yeah, baby, it's that time again. Yes. All right. Is that time for some? Ready for some cubes. Some pics of particles. Pics of particles. All right, this week's project is a six panel RGB matrix cube. This is a six sided cube. And it's... So dope. It's using the adafruit RGB matrix bonnet to daisy chain all of these together. And it's using the Raspberry Pi 4 as the brains. So let's make this a little bit bigger. These panels are, we have two different sizes of them. Two different cubes. This is the cube that uses a two millimeter pitch panel. And the thing about this one, it's a little bit more tricky to build because we have fully 3D printed frames that snap fit with the help of some magnets. This was a collab project with Philip Bergas, Paint Your Dragon. And it was quite the challenge on all fronts. So we're super excited to have it ready and out there for folks to maybe build their own. So this is the Pixel Sand demo. You might have seen it in some of the Matrix Portal projects. It was quite the challenge to make this work with six panels. It was even more of a challenge to figure out how to power the damn thing. So we're gonna go through all of that and more. Super awesome. Can I brag that this is the first LED cube? Yes. Hold on, let me snap that. You may have seen some cubes before, but this uses the accelerometer. No, no, no, this is a real LED cube. All the others you've been seeing, they are just one sided. They all go across all the panels. It's really tricky to get the typology correct and to get the particles to go across all six panels. So you can see. That's right. All six panels, not one side. All six. All six, yeah. So we're gonna take a look at how to build it and some tips on building it. Andy says, I sense Lars approaching. Yes, Lars makes his cube debut. We have a few demos, so let's run through this. This is the SAN demo that you guys might know already. It's using the LIS3DH accelerometer. We'll take a look at that in a minute with the details, but let's look at some different demos. So I'm gonna, I'm using terminal and I'm connected to the Raspberry Pi over SSH. So I can do a couple of different commands. So let's do the globe. Give me a second to type out commands. I gotta do sudo dot slash globe. So this is the Earth with the globe kind of script. So the Earth is flat, huh? But in a cube. In a cube, yeah. So we have a couple of different images that we can play with. We have some details on creating your own. JPEG slash PNG images for this particular demo. This takes just a JPEG and wraps it around to make it this spinning thing. So it's pretty neat. So let's do a different one. We have Jupiter. We can do Jupiter, I think. Yes, yes, here's Jupiter. So that's one of the stock images we were able to find from NASA. So there's the polar caps there. Be mindful of the, you know, the refresh rate is something that you get on webcams, but in real life, you don't really see it that much. Here's Jupiter. One of the things that we'll be wanting to do with the globe script is to make it so that you can change out the polar coordinates so that they're on a corner. So we can do that by adding a little setting to the script. So here it is as a polar, polarized. So you can see the polar caps here now in the corner and that's a kind of cool way to do it. So we have details on how to create your own maps and I'll do some, we also have a static image viewer. So let me get that going. Image viewer and then I have to say where the image is. So let's do this creature of habit here. Here's a little creature. It's Lars. Lars has made it into the cube. Look at Lars. Hi Lars, welcome to the show. It's good to have you here. This is Chen. This is Chen-E-Chen. All right, hold that up while I execute some more commands. So you can make some really bizarre images. Here we have another one. Get ready for this one. Who is that man? Who is this? Who is this? That's right. A very old John Park. We have converted him into a blockhead. No, he's in Minecraft now. He's in Minecraft. So should it's a JP for us? No, I don't have a shirt that I can put my... I'm just wearing his head. Wearing JP's face. I know, it's so cool. You two can make your own JP square head. Yeah, very pricey one head. But yeah. Shout out to JP for creating this on short notice. We needed a good free image to test this out. And JP's head ended up working out really well. He did a nice UV texture map of himself here. I thought we had a custom Lars icon. I can't find it in the chat room. Yeah, it might be, I don't know. Oh, is it only our Slack? So we can do other things like a Minecraft cube. Let's do the Minecraft cube. This is what we showcased in our YouTube video, just to show some text to show the different orientations. So we have all the back left, right, front, top, and bottom. And this kind of helps me figure out how to open the thing. So let's go ahead and open it. We recommend using panel number zero, which can also be referred to as panel top, to open it and to open it. We recommend, at least with this cube, because it's so close to the edges, we recommend using a tool like this here to get the magnets open. They are neodymium magnets, so they're pretty strong. Here's a look at one of the panels. Let's just go ahead and disconnect it, to do so. Yeah, we're fully replacing the stock frame from the two millimeter pitch panels. So they're about 120 millimeters. And we have two different versions, two different styles of tabs here. So we have these flat tabs and then these vertical tabs. That allows us to create the cube. And a really important thing that we learned here is to label all of these edges with these letters. Each frame has a different number indicator to allow you to know which panel is which. And they can only be attached one way, and that is for both cube designs. And that just makes it so that you can only configure it one way. And we want it to be hard-coded so that, because doing the math is quite challenging to do the orientation differently. So we want folks to build this in the exact same way we have. So that's why we added these. These little raised labels, you could use a Sharpie to kind of bring those out. I'm gonna try to focus, I don't have the webcam focusing tool open, so I'm gonna need a second to open it. All right, pushing all the links. Yeah, thanks. That's what we're gonna get in there. So yeah, we recommend getting a Sharpie and you could also do a filament swap, but we recommend using some good PLA that is sturdy and maybe a light color so that you can make these letters pop. Yeah, these magnets are quarter inch in diameter and an eighth inch thick. They are press-fitted into these little tabs. I glued them in place because I just want them permanently fixed, but they have a really snug fit and they have these escape holes so that if you ever get the polarity wrong, you could always try to pop them out before you glue them. And yeah, so that's a look at them. The way to get these frames, they are only going to fit one way on these two millimeter pitch RGB panels. So what we're doing is we have the orientations of the data in and the data out. They're marked here on the PCB and that allows us to know how to daisy-chain them. We also have these orientation arrows here that kind of shows you what the orientation is. And like I was saying, each one of these panels, the frames, rather, have a different number. It's six different frames and they start with number zero. So the last frame is number five and that just helps us ensure that when you're building the cube, you're going to get the correct orientation. So let's take a look inside the cube. To power the cube, we're using this super nice five volt three amp battery pack. It says so right there, three amps. We currently don't stock a battery that can do this. So we have a link to get to pick this up on Amazon and I'm just trying to get a look at the labeling here. So we have five volts, three amps and it has two USB ports here. We're using rather short USB cables so that it can fit inside there. Now to daisy-chain all of the panel's power, they come with these little power connectors. We have, we've kind of modified it a bit to remove some of the extra wiring and then we're using these power distribution buses so they're like screw block terminals and they're all sharing power and ground. It's starting to flicker, so you really, really want to be careful. I have taken this apart probably too many times because I just had to. So as I'm playing with it, it's flickering so I'm really afraid to play with it and there it goes, ah, oh no. Yeah, I have taken this apart so many times. You wouldn't want to do that, you know. But that's because you're building it. Literally, yeah. So just so you know, the first three times I've taken it apart is great but the more you do it with these screw block terminals, unfortunately you're eating into them so that's what's going on. I just need to retin those wires and get them in there but we have two of these distribution buses. That's what we have in stock. Maybe there's a smaller version but it's able to fit inside there. I need to screw them tighter in there. No, if you take out these wires, they are chewed up. You see what I'm saying? They're chewed up because I have taken them apart many times more than I'd like to have been. So I'd have to go and retin all the wires. You don't have to do that if you're first building it. Just throwing it out there. It's looking okay so far, right? Another thing is to be very, very careful with these panels. These panels have gone through many, many, many, many prototypes and along the way, a couple of pixels just kind of come off. Here's a few of them, just this show. Like that's just one of the things that will happen if you are brute-forcingly installing these panels. So be careful with them. Yeah, so everything's able to fit inside here. This is a smaller panel. One of the cool things that you can do is just they can all be separated. So here you can see like this label D. You just want to line it up with D and I. You line it up with I so there's no way to incorrectly do it because the labels, they all line up perfectly. You just gotta be careful with the data cables. We have a great chart that shows exactly how to daisy chain them together. So that's really cool. What else can I talk about? I'm just like dancing on, walking on eggshells here with this. Game of Life is a really cool demo as well. Let me see if I can fit everything back together. Paige is gonna take a moment to- Real quick looking at the comments and questions inside of the chat room. Mike P is asking, do the magnets affect the circuitry for the panels? No, they're far apart from the panels. So it doesn't seem like it's interfering with it in any wrong, in any bad way. The issues we were seeing with the flickering is, again, my wires are just chewed up. And then general comments from Jack and DeWester saying the math alone must be crazy. Yeah, we need to- Probably one of the best perturbs I've ever seen in a long time. Yes, this definitely wracked Philby's head. All the crazy math that's spanning across all six panels. And then Andy Calaway suggesting Borg cube. Yes, we've got something that looks like it. The Game of Life demo, kind of looks like it. Whoa. Oh, let me do it with color. I think it's K slash K3. Yeah. Yeah, so this one shows cases of color, this is a special version of Conway's Game of Life and it's been written to work with these six panels so that all the typology is going across all the different corners and sides. Let's get another look at it on this one. Hold it up, Pager, like this while I execute the can. Kind of looks like a firework exploding. Ready? Three, two, one. This is a really cool one. So yeah, all the cells are trickling across and then it's exploding and there's all sorts of different colors going on. I'm gonna show where you can see it spanning between the different ones. Let me run it again because it tends to kind of die out as life does. There you go. Run the life sim again. That's so cool. Very, very sweet. Conway's Game of Life running on a 3D cube. How cool is that? All these demos are written by Colby, by the way. That's a good one. And then Andy Callaway's saying that he's become a big fan of the Wagyu connectors. What are Wagyu connectors? Is that what those power cables are? Pretty cool. That's some of the Death Star. Ah, these right here that snap in. I think we carry these. Oh, those are cool. Yeah, if we could find one with seven, then we're being business. This is the Death Star in the globe code. The globe demo, rather. You can see it's kind of, maybe it doesn't translate, so not everything's gonna translate well with the globe demo, but it's cool to kind of see it rotating and crossing all the edges and stuff. So that's a cool one. Ah, one, we did not get a chance to get into. Jack was saying about the Matrix Rain code. Yeah, Lamar did a request. So what's cool about the software portion of it is that it can keep getting more demos, more features as time progresses, so that is one that I think Philby might still do. But you're more welcome to do a fork. The code is up on the GitHub, and you can submit a PR if you wanna do some improvements or some other demos. Yep, I did post the really, really cool, the GitHub link for the code, and the panels are in stock. Yes, they are. So now that I've talked about the two millimeter pitch, this is the finest pitch panels that Adafruit stocks. So let's go ahead and look at the 2.5 millimeter pitch panels. So you made another one? Yeah, sure I did. An even bigger one? An even bigger one. So these panels have curb cut frames. Curb cut frames. That means they have a 45 degree bezel and they're chunky bezels. They have really nice M3 heat set inserts. So I was able to create these brackets that feature the magnets and they're way easier to install. You don't have to swap out the bezel because the bezel is designed for like a cube the way that it just is. So what we have here is we went ahead and added, we printed out some labels. This is panel zero. Could also be referred to as panel top. And there are letters here match up exactly how the other cube matches. They have the exact same labeling system and they're in the exact same orientation as well but these are the same magnets. One, one fourth inch diameter, eighth inch thick. And yeah, it's really nice to do this one. It is bigger. I think it's like 160 millimeters. Maybe 200 millimeters but the frames, they stay here. So that's awesome. You can print these little brackets. You're gonna need eight of these and this allows you to pop off the bottom and the top panel and panels one through four are secured together with these corner brackets. So you have two sets of brackets. You have the top and the bottom brackets that allow you to snap these on and off and then you have this assembly here of four frames that kind of create the box without a top and a bottom. And they're firmly secured so these cannot be separated because they're fastened together with these M3 screws. There's one of the heat set inserts you can see. So that's the deal there. And then there are magnets that are press fitted into these corner brackets and that allows the top to just fit in there like that. You kind of just get a look at that corner there. There is a little bit of gap here, a little bit. There's a good amount of gap here. That's by design, because if we try to smash them closer together, you're gonna run into some issues where you won't be able to, the screws won't be able to fit in there. So you had to kind of balance that and well, the pie honestly gets hot. So it's good for ventilation and if you wanna power this like all white with white colors, the battery won't have enough juice. So you can always have the RGB matrix bonnet have a power cable through one of these edges. So that's another thing. But it's using the same power distribution rail. These aren't quite as chewed up because I did not have to take this one apart too much but it is a lot more room in here. We were able to fit two batteries. One for the pie and one for the bonnet. So let's kind of connect that up. So I need to plug this into the data in. All of these ribbon cables come with the panels. So do the power cables. Power cables are also kind of rejiggered a little bit so that there's not so much wiring but they're all using the same power distribution bus. Go ahead and plug in the pie. And real quick, MacGuffin and Jack are both saying the snake game. Oh, that would be so cool. On the cube with the LIS. Yes, I think a snake game would be cool. Also a Labrith type of marble. Yeah. Marble type game would be really sweet. So the pie is booting up. There is some code that you can do to do an auto start. I haven't done that yet because I'm still configuring some stuff. Yeah, I still gotta configure. But I'll go ahead and shut down our small cube. So it doesn't melt away. And then I'll get the bigger cube fired up on SSH here. And then other things is a voice meter with an ASCII, an ASCII voice meter. More suggestions on some cool demos. Oh, demos, yeah. Okay, I'm just getting my new terminal. Magic 8 cube? Oh, yeah, like shake it and get an answer, huh? And then I need to turn this on. All right, and then I should be able to cube it up. All right, I just need to plug in this battery to the RGB image exponent. The West says this might be a good application for Pogo pins. Oh. So if you can see, I just stuffed in the batteries. There's plenty of room for Doritos and other snacks. I gotta line up the J, H, L. So you can see here, there's the L. So I just need to rotate it. And now you'll be able to hopefully see this snapper here. Okay, cool. So let's get this camera going. So here is the bigger cube. There is some wiggle room in there for the batteries, but that's totally fine. Just want to be cautious of that. It's so much heavier, you guys, with your batteries. This is like 10 pounds. But it is a lot easier to build, in my opinion, because you don't have to replace the stock frames. Really make it easier to build. But these are a little bit more expensive. I believe these are $10 more each panel. And they're a little bit more power hungry, I can say. I've noticed trying to run some of the demos on here, kind of freak it out. So that's why we recommend getting a five volt, four amp power supply. Because our battery can only do three amps. The RGB matrix on it says you need at least a four amp. So it's just a miracle that this works at all, honestly. I think it's because there's a lot of black here, and that means they're not all lighting up. So that's why it's able to kind of get away with it, to be honest. So let me run another demo and see if I can, like I think the globe is okay. Here's one we didn't think of, a holocron. Oh, that would be great. A portal cube is another one from the game portal. The companion cube, rather. I'm gonna try to do the globe. So globe. So here's the globe, it runs pretty well. Even with like the power constraint, like not being perfect. That's still pretty good. But I think it's like when I tried running Lars and I tried running JP's head, yeah, I kind of had a heart attack. So let me see if I can do that. Python image viewer, math slash JP. Yeah, so unfortunately JP's head is a little glitchy. Cause it needs a lot of power. Maybe there's a command that can reduce the brightness, but just to be aware folks, that's what you're gonna get with the bigger cube. It really is better to power it off of a four amp five volt power supply. Cause again, the bonnet needs at least four volts to power them like full brightness. So we have a glitchy Johnhead here on the bigger cube. Looks pretty cool still. Yeah, for sure. And at least the demo, the globe, and whatever other one works. Let's see, what, let me CD into the maps directory and see what images of Earth, Adafruit, Boing, JP's head, Jupiter, Minecraft, Moon and Rubix. Do you wanna see Rubix cube? Yeah. Oh, I haven't seen this one. Let's do the Rubix cube. And then Connor's saying that may be a cool way to do a party game. Right. For people get a question or a request with the answer on top. Huh. Just like the you don't know jack game. Yeah, okay. Oh, I need to. That's a good one too. A little puff one folder. Simon says. You're saying this is gonna be cool. Hmm. Hem is saying that maybe there's a wireless charger so you could just plop it right on top. That would be brilliant. Yeah. Oh, wow, yeah. This one's a little glitchy too cause it's trying to do white. It's like I can't, I need four amps. Why would you give me three amps? 560 was saying some of the new USB batteries pack can pump out five amps of power. You just need to use the PD trigger to DC cable adapter that can spoof an e-maker. Yeah, y'all will be able to definitely get this run in there with no power constraints. Cool, those are all great tips. Those are in the Discord or YouTube? This isn't Discord. Okay. This was from 560. Is that the stuff that Lamar was showing off? The PD trigger, the USB cable. I missed it. The five amps? I may have missed that one. You sank my battleship with a speaker in there as well. Let's do, oh, it's just high. All these commands are in the line, but we'll walk through it a little bit. Mm-hmm. Jeff Bars loves the block heads. That's a good way to get all the family portrait. Get everybody's head on there. There was a Maker Faire project that was really, oh, okay. Well, I can't run the Minecraft one. That's fine. We'll have to do with a Sand demo. Yes, that's exactly what I'm talking about. The PD trigger cables says 560. Yep, that was the one that Lamar was talking about. Okay. We'll definitely pick those up. Yeah, for sure. Yeah, I definitely need to try that on this. So there's still some things to test out with the bigger cube. It just needs more power, y'all. So thank you for some tips. Yeah, bigger panels, more hungry, more power hungry. So what would y'all build? Which one, which version would you guys build? Everyone's a maze, the small one that's a little bit more tricky or the bigger one that needs more power. There's a trade-off, and that's sort of the balance you have to do. You know, one's easier to build, requires less to do printing, but yeah, there's some power things to figure out there. But I like the space here. There's a lot of space inside. The bottom can also come out too. And it doesn't seem like there's too much weight that pulls it down. There's what, one, two, there's eight total magnets. They're holding the top and the bottom together, so they're good enough to keep it all sturdy. I want to throw it to you, but you could. I want to make it pretty heavy. And again, to get the... These are like kind of sharp too, so you... Yeah, the edges can be. What I'm doing is just running the glow so I can get an idea of where I am. Like, where's the top? Where's the bottom? Well, that's the bottom, and that's the top because it's just the way we oriented it. This one, you can kind of get your fingernails under it because there's already a gap, but you want to be careful, by the way. And this is the kind of way to take it up, to turn it off, right? It's such a thing. So if I leave the USB cables plugged in, it'll probably die. But SSH is your friend. You want to run a pseudo halt command or whichever command to turn it off. And then, you know, they'll still stay on. You know, they tend to stay on the RGB bonnet, so I'm just going to disconnect this and disconnect that, which is looking pretty good. These batteries have a 10,000 milliamp capacity, which is right there. And again, these are three amps, so very cool. All right, let's take a quick look at the learn guide. It just went live a couple moments ago. Yes, I did post. I did post the guide link everywhere, home tweets and all the chat rooms. Cool. So that and the video, it is set to unlisted, so you can watch that as well. And then quick before we change subjects, Hem is saying, trying to get some of those TPU bumpers on the edges for a big LED dice. It would like mess with you, like you roll whatever six and it changes the snake eyes or whatever. Yeah, that's a ballsy one. All right, so we have some good things to be aware of. This is a quite advanced project. We recommend folks take considerations. It's quite pricey to get six RGB matrix panels. These are 64 for 64 RGB panels and they can be pricey once you add everything up. So you want to take that in consideration. You also want to consider that the 3D parts are designed specifically for these versions of panels. So if you want to get panels elsewhere, just be aware, they might have a different mounting system than the panels that we're talking about here. There are some tips here on like how to take care of your cube. You want to be very careful with it. As you've seen, as I was developing the prototypes for the frames, it was very difficult to not break the pixels. So that's the thing. But yeah, we have two grissions. The RGB matrix bonnet is for the Raspberry Pi. It just makes connecting a Hub 75 connector easier and has some extra pins and stuff that are broken out nicely. It needs a DC barrel jack power to power that separately from the Pi. So that's why we have a different, we have two batteries to the big one and one battery for the smaller one. The Raspberry Pi 4 is recommended. It's fine to use the two gigabyte RAM version. They're kind of hard to get right now, so just throwing that out there. This is our accelerometer. This is the LIS3DH, it's our favorite one. It's easy to connect to now that it has the StemAQT connectors. So you can just plug and play in these sensors now. It's just great. Some extra bits, the power distribution, a couple cables and some screws. You can use the black nylon screws for these two versions. Parts that you'll need to get elsewhere is the magnets. So the magnets, we say you need at least 48. I recommend getting more, maybe get 60 or 100 of these magnets just so you have more in case something goes wrong or for the next project. These tend to work really well. We've used them in like maybe three or four different projects now. These neodymium magnets. Yeah. The five volt, three amp USB batteries available on Amazon. You'll need two of those depending on the cube you want. And then we have this special USB-A to DC jack cable that works well for the bonnet. And there's some other end bits here. You'll need some other tools. Okay. The three pinning page has a couple of animations showcasing the CAD assembly. So for the smaller cube, you can kind of see how all the frames are connecting with magnets. The Pi and the LiS3DH are secured with some M25 screws to the separate bracket. That bracket also gets magnets and just gets attached to the bottom panel there. So that's the smaller cube. And the bigger cube has the top and the bottom panels that have magnets while the panels one through four are attached with these side mounts and screws. Very similar method to secure the Pi. Here in this animation, we don't include the Pi, but the Pi gets mounted to that green bracket along with the LiS3DH using similar hardware. Real quick. Hem is asking, could you replace everything with say 32 by 32 panels? Yeah, you could totally, Yeah, so that panel, the 32 by 32 panels, will have different mounting holes. Absolutely. Every time I've done something with a 32 by 32, the panels are always different. Even from supplier changing to the same. They'll move around. Literally the same skew number and it's a different thing. Like we've already went through this with our first sand demo game with the handles. Yeah, yeah, yeah. Like thankfully folks like Melissa remixed it and other folks have remixed it. All I'm saying is yes, you can definitely use our CAD as a reference point on how to get it right, how to get the orders right. If you wanna run this code, however, I don't know how- Scaling would work. How the code would scale to a 32 by 32. I guess you could run some other code, some of the default code, but yeah, it would be different. But yeah, I think we have the ground, some good reference now for folks to build different versions of this kind of cube. We have STL files available download for free. Also the source files, so we have a stacked file of each cube. We also have the Fusion 360 file of each cube. So they're all nice and editable. So things for their slice settings, when you're, if you wanna make the smaller cube, you're gonna need at least 150 millimeters on your 3D printer's bed. And we recommend some good PLA that you've tested and it's proven to be good. It's not gonna break away. I personally wouldn't recommend some of the silky type of filaments. It's very weak. Those tend to be very brittle and weak. Great for looking statues. For statues, yeah. Not so good for mechanical parts like this. Another thing to note is the line extrusion width for your slicer. We tend to use 0.4 millimeters and that tends to resolve the labels. If you can get a look at this, like, look how clean those labels look, right? So the number, it's important that your label look good and we have these screenshots to share how your G-code render should look like. So just follow the reference, you know, the line width and the line, wall line count. Sometimes you put more or less, but for tonnages, we're saying do two. This is gonna get easier with the new engine. The, I forgot the name of it, the Cura 5 is using because they're able to do variable widths. So that'll be a lot more easier to get a nice, clean, small details without having to do all the crazy work that we're doing here. But that'll be in the future. It's still in beta. Okay. You know, print one at a time and test out the magnets. They should be really snug fit. I wanted them to be snug fit on purpose and later in the guide, I'll show you some tips on how to install them. Real quick, Paul Cutler is asking if the Pi 3 will require different holes for mounting the Pi. I don't believe so. No, I think the Pi 3 and 4 have the same mounting holes. Yeah, the mounting holes are the same. The only thing that's different, which does not, which does not, yeah, it doesn't matter here is the ports. Yeah. It's the mini HDMI, it gets in the way of what the three had, the three doesn't have that. So for this, the mounting holes should work perfectly with the Pi 3. Yeah, and all the ports don't really matter that much. Cause they're all inside. Yeah, they're all inside. The Pi 3 has a micro-OB power or USB-C power. They're about the same location. So you'll just use a different style of cable. No, it is a B. Okay. It is a B. Yeah, it'll just use a different cable. I believe you could use a Pi Zero. I'm not sure. Don't quote me on that. I, maybe. Just to do static images, I'm sure you could, maybe. So if you wanna just do static images, yeah. All right. And then slicing the, oh boy, I need to update this. Slicing bigger cube brackets is what I should say. Yeah. So these brackets can be printed without any support material. They print vertically. And because of the geometry of the circles, they end to, the overhangs kinda catch themselves. So similar kind of slice settings. Here are the frames for the smaller cubes. You'll note that each panel has different labels on them. And here are the Pi mounts. They're slightly different. Just to accommodate for like the bigger cubes. We have two different Pi mounts and they're separated in folders in the STL download in the zip file. So they're separated. And this just gives a little bit of detail of which panels, the side and corner brackets, are gonna get mounted to for the bigger cube. So from here, this is where you wanna start like figuring out like, okay, do I wanna build the smaller one or the bigger one? So our pages here are just named as accordingly. So frames for the smaller panel. We run through prepping these out. Here's a little tip. I like using these vice grips to press fit, to rather force fit the magnets into the cubes, rather into the tabs. So that'll be fun. And then you can use glue if you want. I did. So yeah, removing the frames. We're actually using the existing screws that we take out of the frame. You get a lot of them. So save them in a little bag. We're gonna use them later here. So here you can see we're using the screws, just four of them instead of like eight or whatever they use in the stock frames. And then we have this really nice reference sheet for the frame labels. I recommend maybe printing this out on paper or having this on your device so that you can always pull it out when you're assembling the panels together. But yeah, with this image, this reference sheet, it shows you exactly the data arrows. Let's see if I can make it original. Yeah. So here, let's say number five, panel number five, you're gonna want to reference the arrow for the data in, arrow for data out, and then your orientation arrow. And then you'll want to add these labels to the edges of your frames, your bigger frames, because these are kind of already added in the smaller frames, just because we had to replace the frame, right? So we went ahead and said, ah, we might as well add labels to those frames. But still it gives you an idea of the orientation of installing the 3D printed frame. So here's a look at that. And really they're only gonna go one way because the frame actually has some capacitors. So if you take a look at this edge here, we're right there within like 0.5 millimeters of clearance. So we had to be very careful with these two tabs here, vertical tabs. So they're only gonna fit one way, and that's a good thing. Very well, okay. All right, so once we have those frames ready, we can start building our cube. Here we're gonna set up our pie mount with some magnets. You wanna test fit it before we install the pie mount so that we get the polarity of the magnets correct. That's a big thing here too. Getting the orientation to LIS 3DH accelerometer is very critical. So please reference this photo. The best way to see is just looking at the labels and looking at the placement of the mount. So hopefully this image is nice and clear. So folks, we'll get the orientation installed correctly the first time. So that's a big thing there. And here's another look at it. At the accelerometer, it's gotta be installed correctly, folks. So this one, this is like the back view of it. We're using M25 hardware and hex nuts to secure the LIS 3DH to the little pie mount. Cool, and then the pie, the Raspberry Pi uses M25 sized hardware as well. So we have four standoffs and those standoffs get secured to the pie mount. And again, just reference the labeling and where the ports are to determine the correct orientation of the accelerometer. Before installing the pie into the cube, you kind of wanna set up all the cables onto the pie. As I found, taken apart so many times, it's really difficult to start plugging in USB cables once your cube is already assembled. Once your pie is in the cube, how do you get to the cables? They need to be installed first is what I found. So you end up with this like octopus looking board with all these wires hanging out. Notably, it's just the RGB matrix bonnet has a USB cable and the pie has a USB cable. Also, the RGB bonnet needs two extra wires that are gonna screw into the power distribution bus. So that's why there are all these appendages coming out of the other pie. All right, so then from here, we look at the bigger cube assembly. A lot easier, you're just marking on the edges or doing labels. Here's the exact same reference sheet. What we really like about this is both cubes are ordered and kind of put together in the exact same orientations. So that's really good. So here, setting up the brackets and here's some animations to showcase how to determine the polarity of the magnets. That's really important. So that's why you're seeing an outside view and an inside view of how the side brackets are attaching to the bracket brackets. The top and bottom brackets. Side mounts and brackets. I need better terminology, whatever. So from here though, the built-in curb cut frames have these heat set inserts that are M3 size and they just screw into them really nicely. So I'm using these nylon screws. So we wanna get panels zero and panel number five with these brackets and then panels one, two, three and four get the side mounts. So that's what we're building here. So to start building the frame like the one through four panels, I recommend installing four side brackets to panel number one and then kind of bringing panel two to panel one with the edges, labels matching and then you secure that together. Then you do the other side. So connecting panel four to panel one with screws. So then you have three panels. It's almost closing it off. And then finally panel four attaches to panel three with some screws. And at this point, it's important to note you're gonna want a very thin screwdriver. Take a look at this photo and you can see it's close quarters, y'all. It's very, very close quarters. So having an extender bit like this works out, right? So this won't fit in the cube. So thankfully I can just do that and I'm just using this screwdriver bit extender to get in those close quarters. So you can use a jewelry style. We have that 45 degree angle bit too. Oh, that's a, well you need to turn it. You need to turn it. So how would that work with 45? Oh, because there's an arm. There's like a, I wouldn't recommend a drill here. No, you don't have to use the drill. You can use your, it's just like that. It's a bit, it's a bit. Okay, well, whatever tool you all got, it's close quarters. So you want a thin screwdriver. It's just that last panel that's hard to make, but you're essentially making this kind of box frame. And whenever you're doing that, it's hard to attach the screws. So that's what your box frame looks like. And of course you wanna make sure all the edges are matching, all the labels match. And then from there, we can start getting panels of five and panels zero already. Yeah, and this is where you wanna start installing the cables because you'll need the cables installed before installing the pie. So here you can see how the pie fits on top of panel number five. And like the power cable for panel number five is kind of being right angled to go underneath the pie mount. But yeah, at this point, you know, you have to do data cables and you can start plugging the data in from panel five to the hub 75 port on the RGB matrix panel. Yes. Okay. And then from here, we wanna set up the pie mount for the bigger cube. So this just kind of runs through that, being very aware of the placement of the accelerometer. It's gotta be installed correctly. So you wanna reference these images. Cool, cool. We're wiring up and preparing the RGB matrix bonnet. So in order for the bonnet to work with 64 by 64 matrices, you kinda have to do a little bit of jumper work. So on the back of the PCB, there is some jumper pads. So just wanna bridge pad E and pad eight. It's all documented here. And then we're using a jumper wire to connect GPIO number four to GPIO number 18. So you wanna do all that. All this is documented in the RGB matrix learn guide, but we wanted to break that out so that you know you're not missing that step. It's a pretty important step. Absolutely, otherwise it won't work. So installing the LIS3DH, we kinda have to solder to the bonnet, but you can easily connect a STEMI Q2 cable to the ports on the breakout. So that's nice. So we're just setting up that wire or that cable and then you're gonna wanna solder to VCC, zero clocks, zero data and ground. And that's kinda what it looks like there. But it's nice that you can disconnect the thing easily or plug it in easily after you solder to the course. Nice. Yeah, but all these steps, no matter you're building the big cube or the small cube, it's still gonna happen this way. Cool, next up is setting up the power cables. The stock power cables come like this. They come like in a pair of two and it has a lot of wires. Each connector has four wires. So what we're doing here is we're basically removing them and leaving two. There's, because they're kinda jumper cables, you can use a tweezer to kinda poke at the pin and release it from the plastic clip. So that's what I did here. And that'll just make it so you don't have to use all the wires when you're using the power. Distribution bus, you just kinda run out of ports. So that's why we're trimming these down and reducing the wire count. So if you have six panels, you're gonna have six of these cables. So you're gonna wanna prep each one individually and have them tinned and ready to secure to those power distribution buses. These two extra wires here are for connecting the distribution buses to the bonnet. The bonnet has voltage and ground screw block terminals and that's how it's getting power, external power to it, to those displays. So whether you're doing the bigger cube or the small cube, you're gonna need to set up these cables in the exact same manner. All right, from here we can start setting up our residue pie. You wanna get a fresh installation of pie or update it. We have lots of stuff here on setting up the library. So this is in the LED Matrix Library from Henner Zeller. We have some credit to him and it's a GNU, General Public License. And then you're gonna wanna install the script for the AidaFruit RGB Matrix Bonnet. So we walk you through that and we walk you through kind of just installing those scripts. The next page just walks you through getting up your first panel. So this right here shows you a nice diagram of how everything's connected. And then there's some more verbiage and then here's some scripts on how to get to the right folder and then how to execute the demo code that is a part of the library. So you wanna get these running first and then there's just a lot of little things to poke at if you are running into some things. But here is another really nice, what would you call it? A graphic that shows you how they're all days to change together. Cool. And these are from, they'll be very cool. So you wanna note that the first thing that connects is five and it kind of goes backwards from there. So panel five, four, three, two, one and zero. So if panel five is the bottom, well then panel zero is the top. That's just a random thing. Here's some more demo code to test out your panels to make sure that they're all working. This one I think shows you how many rows are connected. And yeah, you should see Hello World scrolling from left to right and all the matrices, which is crazy. That's a cool demo too. This long matrix panel. All right, and then we start breaking this out into mother pieces. Here's some things you need to install. This is the actual demo code for the matrix cube. It's hosted on GitHub, so you can check that out. Here's the demo's breaking out for you. So the image viewer, it's a static way to see the typology of the cube. So that's the image viewer code. Here's how to execute it. And then here's some other things here to know if like it wasn't coherent. Here's the rotating globe. You can run it this way. There are some options that you can use for the globe demo. So pulling out the specific JPEG image. This is how you would do that. And then yeah, or the Python version or the C version. We have C and Python versions for both of them. The C version runs way quicker. So if you want to do a really stellar demo with like the best frame rate, you want to do the C version. There's some more broken out documentation for all the, how did you can see? You can do it in seconds. You can set the sample per pixel. So there's a lot of customization you can do, which is great timing. I'm gonna need to walk through all of this myself. And then Conway's Game of Life. This is how you would run that demo. You have three different flavors of Conway's Game of Life. Oh my gosh. Yeah, I know, right? One that does colors, one that does a heat map, and then another one that does gray scale. All right, speed round since it's lunchtime. Holy moly, y'all. It's freaking 12. Oh man. Another week where I don't get to do a prototype. That's fine. I mean, it's because it's too cute. Which is, I need to mention that. I'm out of it. I forget who it was. Was it Jenny or Jacob? Why was it? Thirsty. Forget where they were. They were asking about next week's project. I think it was 5.6.0. They want to know where the lightning bolt lamp is. It's like, oh, that's next week's project. That's next week's project. I don't have time to talk about it. People want that now, but next week, next week. More code documentation. We run into the small cube assembly. This one's chronological. Just follow it through and you get all the panels attached. Yeah. But yeah. Just careful chewing up those wires when you're using the distribution buses. I mean, yeah, definitely thoroughly documented every step because it is a hassle to build this cube and get all the cables plugged in in the right order. It's a crazy build. I want to actually try this out after the show. It's called Auto Start on Boot. So there's some couple commands. There's a service you can create to get it running on boot. I don't have this yet, but I want to do that. And then we have a dedicated page on making images and some code for the various demos. So JP, shout out to JP. So if you want to do a crazy head, here's a good reference image to reference. And here's another one of the Minecraft block. And then just some more charts. Again, I recommend printing this out. And here's another image of the globe. What's in the box? Pain. Yes, I've pained out. Where does the corner stand? Is it in the other room? Oh, yeah, it's on the photo booth area. Yeah, we have a stand as well that uses M3 standoffs and screws. So you can stand it up and prop it at a corner angle. This is good for the global caps. Yeah, I think Hem or somebody in the chat room was asking. Yeah, we have a stand for a corner stand. Yeah, you can tweak it to make it fit better. I think the fitting here is okay. Just be careful with it. It's just a plate that prints like flat on your bed. And then I'm using standoffs to kind of elevate it. Because you kind of need that. I would use those rubber, what is it, a little rubber sphere? Yeah, those big ones. So the idea is that this fits in one of the corners. So just orient it. Be very careful not to break away any things. So that's how it looks like. I can't really get a good shot of it. Here, I just got it like that. Yeah, so it just stands on there like that. It just stands on there like that, so bam. Obviously the more, maybe print it with some translucent material, I think. I had pink already loaded, so it was like, okay, pink. But yeah, this is included in the STLs, in the STL folders for both cubes. And I use the same thing. They use the exact same stand. I guess I could do it this way. Oh, there you go. Maybe we'll make some different, it's more styled, more stylized stands, because right now this one's pretty basic. I didn't even include it in the list, the file list. But yeah, that's one way to attach it, right? To make it stand up. That's how we kind of made this just for the photos so that we can rotate it on a corner, because it's kind of the best way to showcase the right. All right, well this has been over time. Lots of things to talk about with the cube. We're gonna stuff. Some of the things that are out of stock though is the bonnet and the gradually pies. I would keep those webpages open, periodically refresh them throughout the day. I think the pies go out and is it in the morning when they've been setting stock? If there's any left? There's a pie project in the works that will notify you when they're in stock with a loud siren, so can't wait for that one. Maybe next week, I think. That's a Liz in JPGalab. Don't talk about it. It's gonna be awesome. Are you sure we can't, do we wanna save the dragon for tomorrow or just? Let's save it for next week. Really? Yeah, just quick comments from the chat room. People like JP's. Quake slash Doom 3 skin. Slash Minecraft. Macro reviews, yes, everything is on GitHub. STL files, the code, page walkthrough. Yeah, the STLs are hosted in the Learn Guide. I haven't published it to the other repost sites yet because time, but those will get out there shortly too. But right now you can grab all the STLs from the Learn Guide. They're hosted there as a file. Learn on GitHub as well. Check that out. All of the Learn Code and Guide goes inside there. Yeah, so you can put some issues and comments or do some pull requests. Yeah, we'd love to see some demos from other folks. Post that in there. Tonight we have, yeah, we're winding down the show. So thanks everybody. I mean, really appreciate y'all hanging out and listening to us. There's a bunch of banter I can't go over. On the Discord, very good read. Check it out, people looking for some crimping tools, some other wires, replacement five volt cables for RGB LED matrixes. So if you need more replacement cables, we have chat on that, the power rails, DINs. Yeah, different. Check in the Discord. I forgot the name already of those snap fit wire buses. They are called at Posted Link in here. It is the power distribution, seven by six solid brass. I saw somebody say there's other ones that like snap that don't require screwing. So yeah, try those out. There is, unfortunately, no for interwebfine asking if there is a kit that this could be bought for kids doing some STEM projects. This would be such a great STEM project, but no, there are no kits. Unfortunately with the supply and part shortage. Yeah, we don't know what we can, yeah. Yeah, we can't. It's really difficult to do these days. Yeah, because then we have to allocate parts. We can't sell those parts because they have to be all grouped together. I mean, eight of ox is like a kit too. That's why we had to switch to seasonals. Yeah. So yeah, just like I was saying before, have the pages for the products just or sign up. Get on the email alert list for that. Okay. Well, thank you everybody for joining us. We have more shows later tonight. We hope to see you on a very special edition of Show and Tell. It's gonna be hosted by JP with co-host Liz Clark. That's a DIY. We'll be there. So they will be hosting tonight. I can't wait to share more cube stuff and have JP's head looking at JP. You might break the internet. And then shortly after Show and Tell, it's at 7.30 p.m. Eastern time, by the way. At 8 p.m. Eastern time is when Ask Engineer happens for our Lamar and Phil with open source hardware news, new products, Python on hardware news, and more. Yep. Tomorrow's John Fox workshop. And then Friday is Deep Dive with Tim. Friday is at 2 p.m. PT or 5 p.m. Eastern. Sweet. We do the show every Wednesday. You've been watching 3D Hangouts with me and Pedro. We do the show every Thursday. I think one thing. I'm sorry, Wednesday. We used to do it on Thursday. One thing that we, I see Yanni and multiple people posting the chat rooms. Yes, happy May the 4th. We all dressed up. I know. I forgot to bring out our lightsabers and dark sabers. Check out the dark sabers project. This is the way, whatever. It's a great love project. Where's Grogu? Where's the baby Yoda? He's downstairs. He's in my room now. That's where I bought him. So yes. May the 4th be with you. I was gonna be a jerk and say, live long and prosper. Yeah. I'm beat to do it. We both could coexist in the universe. Well, thank you everybody. Good luck on all your maker endeavors. Hope to see you later tonight. With that. Until then, remember to make a great day, make a star wars day. No. No. Don't do that. See you later tonight. We'll see you tonight. Adios. Here is Lars.