 Good evening folks. Welcome to the Adafruit Show and Tell. My name is Melissa and tonight I will be hosting and We're gonna go ahead and start out with Scott here Hello I am like deep in the weeds of debugging. I'll show you my output anyway So I've been working on Sorry, I put the wrong thing there. I had not my windows shared with you. So I've been working on getting USB host working on the RP2040 And right now I'm like printing out a bunch of stuff. That's debugging I'm trying to get the IntelliQ's working which is this Corner of it here. It's this like touchscreen thing that I'm sure folks who have been around have seen but I've got it running into RP2040 feather here and I'm trying to load the firmware and I wrote the code that wrote to load the firmware and notice it was like really slow Like two seconds between 16 byte chunks, which is like way You shouldn't need two seconds or 16 bytes And I also just noticed that like if I'm doing something on the drive. It actually goes faster So there's something that's happening that some delay that's that's causing me to slow down And so the debug stuff that you have here is I'm logging to the UART. So I actually have a separate USB to serial converter and I I'm showing when the TUH so that's the host stack is running And those of you who use TO one cool thing about TO is you can actually put it in a mode Where it will do the diff the time diff between print statements It's really it would be handier if I didn't have so many prints But it's a great mode for if you want to be a little like kind of do some course timing for things You can actually just like print one and print another and you can see it'll show you the difference between the two That's a to to a tip I guess And so, yeah, I'm I'm working on USB hosts. I've got it working pretty well Maybe So what I'm doing is I had this dongle I showed last week With the IMX, but I'm gonna plug it in and see if that does anything maybe I can control see my running code Doesn't look like it This is for USB host. Yeah, so this is all USB hosts So the TUH is like this the prefix that tiny USB uses for the host side of things Yeah, so I I got it working with this keyboard that I showed with the IMX and now I was trying to get the IntelliQ's working and hitting this timing issue So I'm trying to figure out and you can see it even here like there's some two second weights here I don't know. I don't know why it's waiting two seconds. So that's the that's the tricky thing Why why is it waking waiting two seconds between things? Yeah, it's 2.13 something Yeah, but I was also seeing some like 4.2s So it was like it's a very weird number. It might have to do with like timer rollover or something. I don't know So yeah, I'm trying to figure out why that is and I like I thought it was just the sleep code and then I put a print in there and wasn't getting in the sleep code so like I don't know So yeah, I'm I'm deep in the USB host weeds, but making good progress Had some issues with multi-core So like core one people have wanted to use both cores on the RP2040 in Circuit Python and we kind of like push back and not doing that And so now we have this is our second case where we're using it internally So first one is Pico DVI. We're like it's busy. It's it's busy all the time. And then this is the second case where We're using it to do the USB the low-level USB transactions plus two Both PIOs and three state machines in those PIOs. So it's it's pretty intense in terms of resources under the hood But it should be pretty cool So that's what I'm working on. That's pretty cool. Yeah Yeah, and it did stop running my code because it's just showing to you each task now. Ah, it's weird. I Don't know why it's waiting two seconds every now and then but I'll figure it out. Okay Well, thank you. Thanks Melissa. Thanks for hosting. Yeah, and next we're gonna go ahead and have this come on Hello, I'm very excited for USB host very excited that Scott is talking about So this little device here is an IKEA air quality monitor, I think it's called the Vindricksening And it's fairly cheap. It's like 12 to 15 bucks and it's got a PM 1006 Air quality monitor in there So I thought it would be cool to get it to actually connect to the internet and log data And also with sort of Python. So this dashboard that you're seeing is my Adafruit IO dashboard and Inside which I'll show a second is a QT pie ESP 32 s3 And so it's taking the data from the PM 1006 over you are and then logging it up to Adafruit IO And so now I'm just gonna unplug it and Show you what it looks like inside to do that Oh Yeah, if you can make my video big that'd be great Inside I've got the Good angle you can see there's QT pie there. It's just hot glued and then it's just three wires going in there power ground and the you are going to RX and I was very excited I was able to do this without being Destructive to the electronics because there are test points on the PCB So I'm just pulling power ground and the data signal So everything else on the air quality sensor is running stock still so like the LED still works It's still pulling the sensor every I think it's like 30 seconds You can hear the fan power on but everything else is fine And so the QT pie is getting power through its battery pads under the USB And then just that RX pin. So this is going to be a guide So there'll be the circuit Python code and also I walk through how to do the dashboard setup and also How to do alerts with Adafruit IO too? So I set up so that you can get alerts if the air quality goes above a certain amount be a text or email So that should be out next week And yeah Cool. Thank you. Thanks. Thanks for having me on. Yeah Step we are gonna have no way Hey, hello. Yeah, so um this week I came up with a little 3d printed case for the feather RP 2040 with DVI So it's just a simple Yep, it's okay Yep, so it's just a simple case. That's not fits together. There's no screws needed It's got two mounting tabs so you can attach this to something else and there's a little slot here So folks want to have wires come out or cables They can do that and then the top cover Has some little features so it's not fits onto the case like that and then there's these little live hinges that allow you to Press the boot button or the reset button The little hole here is for the neopixel LED to shine through Yeah, and then we have a little hole here for the stem of QT So folks want to have a breakout board they can add that without having to take the cover off So you got the DVI the HDMI port here and then USB there So pretty straightforward. It's a lot like the USB host feather case So I'm gonna try to do one for all the feathers like this But yeah, I got the files up on the Adafruit learn system. So that's public I also have it on printables and I'll probably get it up on Thingiverse and other places too But yeah, really simple 3d printed case. No supports needed for anything Yeah, so that's pretty much it I've been having a lot of fun with the feather DVI and there's a lot of fun screen-saber demos that will be put together Okay, yeah, well definitely check it out when you have a chance and maybe make a case if you need to Cool, um, yeah, thank you and thanks for stopping by. Thank you. Bye folks and Last we have DJ Devon 3 Hello, can you hear me? Yes Okay So this is a continuation of my male Laura boombox which is RFM powered and Dan H had a suggestion to to do a rangefinder test. So this is battery powered with a ESP 32 s2 reverse TFT So just let me plug in a battery here So this will continually ping this so I took this out for a drive and So that I could see just how far it would trigger from and then I used basically a Wi-Fi camera with my phone in order to to actually look at The the mailbox to see if it was still triggering no matter how far out I went I got about 200 feet right around the corner. So for Everyone who's interested in doing like the RFM messengers. It's really not gonna go far unless you have this pole antenna like mounted on top of your house in order to go far about the farthest range you're gonna get from this In a suburban environment that has like, you know houses in the way because line of sight is very important It's probably just within the next couple of houses over like it's it's not going to go very far unless you're on a hill Looking down a mountain into a valley kind of thing, you know, I'm in Florida. So everything's flat. So it's not going to go very far So that's just what I wanted to show is the actual range that you might want to that you might get from an RFM That's pretty cool. Yeah Yeah, a little RFM range tester That's pretty cool. Yeah Thanks for stopping by I Thank you very much. Have a great day Looks like we have one more person to stop in This is Micah Hello, so I've been working on a lot of different projects recently but one of them has been a Desktop game paths, you know, then the regular game controller. You kind of hold like this. There's the joysticks Um, but I thought that isn't very ergonomic if you're sitting at a desk and you just kind of want to have your hands like this I got a split keyboard. So I thought I'd design one. So I did and let me just share my screen real quick Um, can you see this? Uh, let me add it to the screen there Yes So I did a little diagram. This is actually a few months ago of your hand on the Game controller. It's going to be two halves of it. So one for your left hand one for your right hand and That's so I just started with designing the left half Um, and there's a little joystick for your thumb d-pad for your index finger A trigger for your middle finger and two buttons for your ring finger and pinky And over here you've got I've got the 3d render So I designed what I think is a cool logo Um, it's cool like split and half game controller And I've got over here it says Um desktop game pad version 1.0 real gamers use joysticks because even though that's not really true, but I thought Um, and then here's the d-pad this little thing And this is going to connect to a joystick that I Um, that is a replacement joystick for the nintendo joy con for the switch And it's kind of messing up the the silkscreen is kind of messing up everything else, but there's a hall effect sensor here for a slider And a a couple other buttons over here And yeah, that's about it. So I'm excited to keep working on this and decided to show off my progress That's good Thank you for uh shown us Of course. Thank you for having me. Yeah And that's it for shown tell uh Stick around and uh ask an engineer will be on at 8 p.m. Eastern time and Uh, thanks for watching and thanks to everybody who stopped by