 Our lady was this everybody and welcome To show and tell it's me lady Ada We're here. We're Ada fruit with me. Mr. Lady Ada the different factory behind us This is where we do all our manufacturing and testing and shipping and coding and kidding Electronic goodies that you love to make stuff with and we've got a bunch of people from the ita foot community and more come on by We're gonna be here for another 30 minutes or so can show off your project with the rest of the world We should be great and that any I will we won't even grade you or blow you off the island everybody wins So starting off with Sean Sean I think is standing in for Kevin this week. Is it true? Did you key? I am so much you got going on this week. All right So as per normal demo day, my thing is not working, but I'm happy to show what I have made Oh, what is it? This is an RP 2040. You probably can't see the little raspberry pi logo on it And I made it to be kind of like a Pico Exactly so it's Pico compatible It's a Pico that's Pico compatible And so the idea is that I would stack a Pico on it with these, you know, Arduino style through headers these long headers and then I attach my Do-do-do-do-do do-do-do-do I attach my what is this the SWD port to the back like so And it's a debugger shoe. So the idea is I've got a little the little things printed on the side here That are the numbers for the And then the Pico boot is running on my RP 2040 on the bottom one and then so this just sits nicely in a breadboard and It ideally gives me step through debugging without having to do like the second breadboard with all the wires and whatnot I just thought it was a silly thing. I can make with the RP 2040 to show off And I learned a whole bunch of things about laying out the RP 2040 namely QFN's stink to solder by hand I was able to do it in the oven. That's like right here Yeah, all sorts of bridged connections came by with the hot air tried to refix it So I learned how to do QFN's which was fun every four millimeter to their task. Yeah, they're they're not easy That was that was fun reworking those got that to work so I could boot into it I also learned that if you're gonna be doing layout if you're gonna be doing your own RP 2040 board You probably want to stick with wind bond Q spy memory chips because I tried a non wind bond one and that straight didn't work It didn't execute execute in place. I think is the term. Yeah. Yeah, so and so I tried non wind bond So definitely order wind bond or you have to like write a custom Header file for your RP 2040 like recompile Everything if you're doing like Pico boot and then load that I that was like a future project Yeah, try the generic a three, but yeah, this is like the first thing Scott and I like when we're doing RP 24 We're like, oh, this is gonna be really confusing for people because it's where that you would Program a microcontroller and it doesn't start like no Here's a new thing that you have to deal with when you're doing development on top of everything else All right, quick question Sean. So you called this a shoe or a boot because this is you know, there's shields There's hats. There's fats. There's one goes on the bottom though. It goes on the bottom So we calling it. Is it a shoe shoe? I called it shoe shoe. Okay What if it went on top though? Well, if it was one on top of the Pico, do you have it? It's a raspberry beret, right? I like beret, right? I raise good that the the hats were just for the big pie though That's the other thing. I didn't want to Sorry, no naming starts. So this is a shoe not a boot. It's a shoe The reason I didn't call go with boot is because if you type in raspberry pie or raspberry like Pico boot That's a different thing on the internet Yeah slippers sandals. Yeah flip-flops that But that's good to hear we can refer to this chat as one of the first times folks were calling what the thing goes underneath right now It's a shoe. I'm calling the shoe. It's a shoe Eventually someone will ask me like why is it called this? It's like well, here's a URL Timecode a URL on Chantel. All right guys think I'll show The only other thing the reason it wasn't working is I'm running into USB issues So if anybody has any pointers, please let me know in the chat or if or if you want to go to the video It's Digi Keys YouTube channel where I have I talked about how I made it. It's a longer video I went to like all the design decisions and whatnot USB is just straight not working sometimes it works on a good day when it's not cloudy outside like it It enumerates on my computer and then today it's just like no device descriptor failed I'm like, well make sure nothing's connected to pin 15 That's used for USB Yeah, I don't think so. It's everything nothing should be connected except for like SWD and you are past Well, just check it and then make sure you don't have another be 2040 already plugged in because you can't have to plugged in at the same time and Then Which might not work and then I second check your crystal oscillators and your resistors or in line resistors should be Yeah, that sounds right. I'll have to like I can like probe them again and check them But like I got it to work a couple of times for the video and now it's just not working tonight I it's cloudy outside. So no, that's good. I'll go through that list and check them. So thank you All right. Good luck and thank you. I'm looking forward to when you work on the next shoe because then you could say Oh the next shoe just dropped Oh Hello, can you hear me? Yes So I don't do a lot of JavaScript in HTML, but Web Bluetooth now that I've got file transfer stuff checked in the circuit Python It's now a question of like what how do we actually get files over there? So I We know web Bluetooth is interesting just because Chrome has it and is everywhere In particular Chromebooks and Android as well has web Bluetooth support. I think so I've been playing around with web Bluetooth This is my proof-of-concept demo. So what I've got here is I've actually got Oh wrong camera. I'm using my cat cam I've got this clue here. It's running circuit Python Super late latest on the code. That's not even checked in but it's battery powered It's not even connected to USB But what on my test page here? I can say request Bluetooth device and it doesn't show anything So I'll hit cancel and I know you can't see that But then after that I can hit this connect to Bluetooth devices. So now it's connected It's discovered everything and if I hit this bond button what it does is it? It connects up to all the file transfer stuff and then it actually loads code.py so this is the code.py as Off of the device itself. I'm not sure why there's nulls here So I'm gonna have to figure that out. There are many nulls But what I could do is if I type like print It's starting to try to write the files back to the device I just haven't debugged it why it's not working yet. So this is cool I like you know, I know that if you can get the the workflow to be as smooth as USB It could be so fun to have a wireless Bluetooth Circuit Python or Wi-Fi device and you're like typing code to it and as you save the file it instantly Runs it. I mean like that is the that's what I love so much about circuit Python. It's so fast to develop Right. So what I have to do USB stuff like Sean is promise all is be cable. Okay. You don't need it Yep, exactly. Well, though the RP 2040 doesn't be Lee but the way that I have this working is that Every time you change the text it waits like half a second or 750 milliseconds just like circuit Python would and then Gathers all those changes and sends those off to the device. So it should feel relatively similar and Hopefully just as good Alright, only this missing is image magic. So I'm not gonna get that involved Well, I want to do the serial repel stuff too. So I'm gonna get some rippling Serialing stuff coming out as well. It's got you're doing a deep dive this week. Yes I'm taking days off next week. So I will be around on Friday. Okay, everyone tune in to Scott's deep dive You're gonna be showing this off. Yeah, okay. Yeah, hopefully it'll be working If you want more Scott Friday deep dive. Yep 2 p.m. Pacific No friend. All right, don't pay drop what you get going on this week Hey, what's up folks? so this week we got inspired by the Fun little keycap here we thought it'd be a cool idea to see if we can make this into a keypad and just like instead of a single key So here it is. It's a it's not many keys, right? We have four keys, but we thought it'd be fun to make it into a kitty posh a and Lamar you said Yeah, you can build that under what condition if you get Liz to to do the party parrot So we set it up as kind of two things you can be USB keypad But I can also do MIDI and you can just really easily change it in the code So I thought it'd be fun to kind of do a little a little dancing parrot Yeah My hands are covering it, but you get the idea And it's running off of the the cutie pie which was right in the rp2040 And it uses just about all the pins because it's it's a spy connection So there's like eight wires for it, but it works really well for it. So if folks want to make a cute Maybe the cutest keypad. I might be a little biased on that It's all 3d printed we got snap fit parts That all spent snap fit together Type two of the characters so the party pack goes back and forth with that just just type on two of them So it goes back and forth I've learned a lot actually on the snap fit stuff So it'll probably do a little bit there on this one, but you can check out the learn guide It's up there boss lady approved. Okay Your speed up this week on Ask an engineer. Excellent pokeball. Yep. Nice nice dragons on your shirt. Thank you guys apparently they're from sleeping beauty If you're if you do if you have someone on staff who's a dragon extric which we do Jeff what you got going on? Oh, I love you guys. You're the greatest So I've been working for the last couple weeks on cameras It all started with the OV 7670 on the Grand Central But we've now brought it on to two other platforms. We can do the RP 2040. I Don't recommend assembling it like this, but you can if you need to and The newest addition is on the ESP 32 s2. This is actually live running a test pattern ESP 32 s2 including this board with a dev kit called kaluga Which we chose because it has the camera connector built right in And if you were watching closely, you would see that there were kind of two different styles of camera We originally supported the OB 7670 But we've added support for the OB 2640, which is just a little nicer a little newer More pixels so It's been fun adding support for these parallel capture peripherals and a little less fun Debugging the initialization code for these but it seems to be working pretty good We've got a guide on the learn system and as always we'd love to see what you do with When you hook up these cameras to circuit Python I'm also I like that you did a really good job Abstracting away the camera in it from the camera code because it means we can there's only new cameras coming out Right. A lot of code is like so hard-coded to like this. It has to run the h1 m 11 It's like this is now you can run, you know any any number There's new cameras and new ink displays coming out every day. I know So just yeah, so okay to support another camera There's all that you have to write is a circuit Python library You know in Python to do the I2C configuration and then the image capture part that does the low-level IO is the same On every camera we've done so far, which is to so there'll be a gotcha there But we'll handle that when you get to it. Okay, I'm excited We want to do more image stuff and AI stuff and I know this is like it's the one step on a huge mountain This is one step. It's one step But it's also in a sense one of the harder steps because it's so platform-dependent the rest of it's gonna be software So hopefully not as bad one of our long-term goals is to make the easiest and a low-cost Digital camera that you build yourself. So imagine that you build your own camera and it's circuit Python powered so that is on it's one of the goalposts for this and Deppler is our star kicker Well, Phil B also gets big credit for doing the initial 7670 code so that got me kick-started on this. Yeah On the shoulders of Giants giant dragons dragon dragons. Thanks so much Jeff. All right. You're welcome. Good night Thanks. Have a good weekend Brent. You just launched something. Yeah, so it's secretly around now We've been secretly working on but not really secretly We show videos. It's kind of not very secret. It's it's not very secret But it's kind of secret we've been working on a new service for a different ioco whipper snapper and now It's in beta, which is really exciting which means if you have one of these three boards or A metro esp 32 s2 that i'm going to work on support for tomorrow You can actually participate in the beta by DMing me on discord and you need an adafruit.io account So like what this is is it's a no-code interface for adafruit.io. So like the funhouse has a light sensor and I have it Plugged in over here And if I click light sensor and click treat component it immediately sends the value Every 30 seconds to adafruit.io Just really neat. That was it. That was done. That was it like the Component is dynamically configured. Oh turn it over so that the value goes to zero. Yeah Turn it over turn the board over. Oh, oh the board over. Okay, so in like 30 seconds six six seven two right now Okay, it's below the screen, right? Oh, I think I just I put my finger over it And I uh, I bridged something hold on All right, live demo. Oh, it's offline. That's kind of it's a good demo You want to know how it when it disconnects it goes offline? Yeah, so it goes offline and then it reconnects Yeah And it should send you value these are all things that we like worked on like what if you accidentally disconnect it? What if the you know sensor? All right now it's off Okay, so we have to wait 30 seconds for it to update right We should Okay, so you know it's four four. Yeah, so so yeah Yeah I've somehow made it brighter by flipping it over and also bridge the contact by accident Okay, so that's how fast it is that's Yeah, it's really quick to configure components And then when you disconnect and reconnect all the components reconfigure on your board as well So like the state that you're seeing on this website is the state of the board at any time All right, so how if people watch this and like that I want to get involved in this beta How can they ask politely to get included in the beta? So you had messaged me on discord on Brent. Are you and you would just say hey, I want to Not privately in the Adafruit IO channel Oh, right. Sorry in the help with Adafruit IO channel. Yes. That's right. Don't dm Brent I'm okay with it, but we could post in that channel as well and post the channel At me at Brent or you can post in the forums Yep, there's actually a whipper snapper sub forum on the Adafruit technical support forum And do you need to have an IO plus account or can use a free account? Nope, you can use a free account or an IO plus account There are some limitations at the free account because it's a slower data rate There are less components you can make But you can use either with Adafruit whipper snapper That sounds interesting. All right, so people should go to The Adafruit forums go to the whipper platform and post a message right now Again, you have to have an Adafruit account anyway, so you might as well make an Adafruit account Post there and then with your username and then if you're very polite Brent we'll invite you Only if you're polite Pretty please With sugar on top Okay, we'll have some videos. We'll have some more examples of this But we're you know kind of building this on the open We've been talking about this for a bit and this is our soft launch for some Folks that are in the community and more. Thanks so much Brent and uh, I'll report out to You said by the end of it by the end of june Yeah, yeah by the end of june and we're at the end of june Yeah, then june you got right on time in a few hours. You actually had a really good, um, you gauge the time well Which is actually quite impressive. You're like, well, I think we'll be able to launch beta at the end of june Yeah, I figured it's about that time and then We'll have some other announcements this summer. Okay. Good work. Thank you so much, Brent Yay Liz place out Well, Liz is a white square It's gonna be kind of a weird demo. Um, so I'm starting to work on a bluetooth, uh mouse that you control of gestures Um, so I'm using the feather sense Um, and I'm going to switch. This is just a blank powerpoint slide. Um with the mouse as a laser So this is using my laptop mouse. So I'm going to plug in the sense And now Making the laser go across the screen with the sense That's kind of fun Yeah, so I just got like a quick demo going this afternoon So like I need to fine-tune it and stuff and think about using the gyro to affect the speed Oh, how fast you're twisting it means it it can actually go a little farther. Yeah I don't know how you're showing Yeah, so just a Just starting with this, but it should be pretty how do you how do you click the mouse button? Um, so I don't have that yet. I'm just uh doing the The kind of moving around. Um, but I have um like some buttons and it's going to kind of be um, it's going to kind of uh be um a remote for um A raspberry pi I'm using to run like Netflix and stuff. So it'll um probably have some other uh controls as well Okay, how about for the mouse button when you put your finger over the light sensor? Oh, because that way you wouldn't even have to do why or any other hard work It'd be good for accessibility because then you wouldn't need anything you could just use it as is Yeah, that that's really cool. Yeah, I'll I will work on that check out the other there's a light sensor You know proximity sensor built in so you try that Okay, we'll do there might also be a button on the blue. I don't remember if there's an extra button. Um There'll be a user button. Yeah, there is there's the user switch. That's right. Okay, great. You could try that too Cool, we'll do wow amazing. All right That's everywhere. All right next up. Oh JP a wild JP has arrived Hey, what's going on? Is this working? Can you hear me? Yeah Hey, great. Okay. I had my computer restart right in the middle of waiting to get on so I'm glad it's all working again That was a quick uh rebuild of a bunch of stuff So just a couple things I wanted to show speaking of inputs and in in one case weird inputs Uh, so first one, not so weird, but this is my beautiful new ate a fruit macro pad that I have just started playing around with coding on And if you check out my little atom session over here on the right, I'm just using it as A keypad. I just have zero through nine a and b assigned to some of these keys with a little bit of Lincoln lights going on I started playing around with some ideas of doing uh Sort of a cheat sheet for what your different keys mean on the display here And then also have a little brightness with my encoder push there the button in the rotary encoder as well as Reading some values there and displaying them as I as I play around with that That knob there So that one is exciting lots of fun projects in mind with that And then the other one was actually I'm going to unplug this and show you Uh, this is our little new trinky qt 2040 And the thing I love about this is that it plugs right into usb port on your computer So you don't need a cable and you can plug other st Uh, uh, s stem of qt types of sensors on top I chose to plug in my nintendo We Chuck accessory Add-on that we have and now this is a fully Usb compatible mouse that I can plug right in by adding just that little dongle basically to the end of the the existing Product there. So with that plugged in If I swap over to photoshop real quick, you'll see i'm able to use this As a mouse cursor just with the the thumb stick And I can pull the mouse button down just using the little z button that's built right into our Our non-characterial emulators, you know what I mean? Like have it work with a we emulator for sure Yeah, yeah, definitely and you could also read accelerometer, which i'm not doing you can read the c button Uh, so there's a lot you can do with it and you can use different uh tools So if you if you switch around with keyboard shortcuts, what tools you're using you can now go and use like the pink bucket fill Or whatever you want to do um, so kind of an interesting way to Really quickly and inexpensively make a fully fully custom Add-on for pretty much any of these accessories. They all speak i-squared c We have a library for using the we chuck and guitar and drums and turntables and all these different Uh, we accessories that are dead cheap dirt cheap even by new by mused You may have some in your garage or in your basement and then uh plug them right into our little Trinky qt 2040 there, which i'm super excited about it's a neat little package Yeah, the the point of having that qt 2040 was phil and I kept coming out with trinkies And I was like, I actually'm not gonna be able to make every trinky. So let's make a God trinky And then the super trinky and then you can plug any qt breakout that we have and because like this is a good example It's like I would have been cool to make a wheat to usb adapter But like you can just do this and then bolt it on and you're done And then you get uh, yeah all the programmability in the world that you want because sometimes these things exist out in the world as like a Purpose built thing that says, okay, you're dying to play guitar hero on this device. And so here's the dongle But ours uh is really straightforward for for coding it to You know, I have it actually running in two different acceleration modes If I push a little bit or I push a little harder It goes faster or slower and you can just fine tune it for for your needs in uh in the circuit python code Which is available as soon as you plug it in it shows up, uh as a drive I actually did another demo. Maybe you guys are going to show it from uh From yesterday, which is using the u2 i f which i'm really excited about because that turns the trinky into essentially a usb Uh bridge between python on your computer and whatever the heck device you want to plug in over over stem of qt onto it So it really opens up a whole ton of ton of possibilities for you there Yeah, I always wanted to have it like a unified system where it's like we have one driver and the driver is the same everywhere And I it's like we're finally getting to it Yeah, no, it's very cool And we've had some some devices that are just that just that bridge But I kind of love the trinky for the fact that it's Both it's a it's a straight up rp 2040 qt pi type of device, but then it's also um able to be used as this bridge and u2 i f mode so All right We'll be playing some of your videos tonight and then don't forget everybody thursday jp's workshop you can learn all About come on. I will we'll be doing some cool stuff. Yeah macro patty kinds of stuff. I think so See y'all All right. Thanks everybody. That's our show before we go. Um all the shows are the same next week It's it's going to be a holiday on monday But I put it in the chat if you're gonna get an ate a box or you want to get an ate a box Or you're worried about part shortages and wouldn't it be great to like pre-order something that might be really cool This is kind of the way to do that. So ate a box.com. We have less than 200 slots open We have thousands that are going out So now is the time if you want to support ate a fruit and all the shows This is a good way to do it too ate a box.com. It'll be shipping next couple weeks And with that, uh, thanks for making this the best half an hour of our lives every single week The longest running and biggest show until online in the world Hey different show until we'll see everybody next week. Thanks everybody