 It's me JP. We're here for JP's product pick of the week. Thanks so much for stopping by We have people in our chats. Where are our chats? You may ask well check out YouTube We've got a YouTube chat and over there is Dave Odessa. Hello, and thanks for stopping by and then Check out our discord because that is our main chat And if you are somewhere like Facebook and you're wondering where the chat is happening go to a to fruit dot IT Discord and look for the live broadcast chat channel. It looks like that. That's the one right there and You can immediately join just by going to that a to fruit dot IT slash discord link jump on in and and hang out Let's see. What else is going on here? We've got a Very cool new product in the store. It's the one I'm gonna show today We're gonna do a little demo you're gonna get a big discount on it Just by heading to that URL right there. So go ahead and check out. It is product ID 5912 5912 If you go there either that URL or to that QR code You'll be on the product page and this show is being broadcast live from within the product page And it is half off. You don't need to use any coupon codes solve any puzzles do any tricks Just simply buy it at the price that it's at during this show So you can get a maximum of 10 no resellers allowed But while they last you can grab these for half off It's just as easy as throwing your car and checking out And the discount is automatically applied But before I say any more before I give you any more details about this Let's jump back just a little bit to the new new new segment that Lamar did on ask an engineer Take it away a little more Okay, I've got a lot of sandy 21 e18s And so you're gonna see a bunch of trinkets coming out as is the first one. This is by request Two versions of kind of the same trinket. It's got the sandy 21 power supply a little neopixel a reset button And then an sht 41 or on this one. We have an sht 45. This is basically It's wrong. Sorry now basically they are completely code compatible In fact, your code can't tell which one you've got this ht 41. I think is like 1.8 percent Humidity precision and the s ht 45 is one percent. So a little bit higher quality Some people really want, you know, the the extra precision that you get with the sht 45 Either way when you plug it in This is an Arduino and circuit python compatible mic controller board You plug it in and immediately start spitting out the temperature and humidity data Which you can then use to plot or to graph. I need it for down or if I go or you can You know pipe that data into excel or you can log it with python or you can use it in Visual basic whatever you just basically get the data coming out of usb Is it comma separated value file? There's also a touch sensor on the end That will that gold area if you touch it. It's a sensor. So you can use it as a secondary input If you want, there's a little keychain slot if you want to tie it to something And it's just meant to be very inexpensive way to just get Precision temperature and humidity data into your computer and you don't have to do any coding or soldering or wiring Because it's just like plug-and-play ready to go So I'll do a couple projects with this But I think there's a lot of people who are like, oh, I just want to get temperature and humidity data And then of course if you want it to be further away than your computer Just use a USB a extension cable which we have in stock with those three meter ones And then you can put this anywhere you like and measure the temperature and humidity that way Yes, indeed that is it right there. Look here's here it is in the overhead Little baby Trinkie the return of the Trinkie We haven't had new ones of these for a while and that little chip right there is the reason that's MD21 is the one We like to use on those And that right there that's the product pick of the week this week It is the sht 41 temperature and humidity Trinkie So a Trinkie is like a usb key or usb thumb drive sort of thing It just fits right into a usb port on your computer And this one can run circuit python. It can run arduino. It has as you'll see there. There's a little Carved out slot. I'll show that in the overhead in a second To thermally isolate the sht 41 so that it can do its temperature and humidity Things unperturbed by the actual heat of the board you'll notice on the end there That's a little capacitive touch strip. So you can just touch that to enter things to use that for user input There's also a neopixel built right on there. This can also be used for things like hid midi So if you wanted to build some sort of experimental humidity based midi synthesizer interface Maybe this is the one you want. You just plug it in and go Can store a little bit of code on there easy to iterate on Let's let's take a look before we go into a demo. Let's take a look at the site right there So product 5912 it is half off. It is $5.48. It's a real bargain And if you take a little scroll down here, you'll see we've got A bit of Stats here on it. So relative humidity accuracy is 1.8 Temperature accuracy plus or minus 0.2 degrees celsius on this one And then a little bit of more info on there if you click right here You'll see we've got the primary guide that lis wrote this actually covers both the sht 41 and 45 So if you see one or the other in the photos, don't worry all the code applies the same Really just the difference is that precision level on the 45 is a little higher And if you take a look here, we've got the pinouts Which are fairly minimal on it But sure enough, there's the there's the little pinout diagram for what we've got on there Which pins you'll find things like the touch sensor i square c neopixel And then we've got installation instructions for circuit python. We have circuit python essentials code here That's the the code i'll use in my demo and this shows you a couple of ways that you can Grab that data and display it on your serial port There's also an example here of logging the data using c python on your desktop So we have thanks to blinka the ability to use desktop computer scripts in python to read the data coming off of the chip and then you can do things like Publish that to ate a fruit i o which is really neat Uh and then here's the little little bit on that on the guide there And let's uh jump into a little demo i put together Just using that code. So here you can see I've got my trinky and as lady aida mentioned one really convenient way to use these is with a usb a extension cable so that just gives us a usb a port Right there and uh instead of reaching around to the back of a computer in this case Which is also going to give me some of the computer's heat coming out of the fans and vents This allows me to place that pretty much anywhere I want as a quick easy monitoring solution And you can see here this just slides right in And that's a thick enough board that it actually stays in there quite nicely I think we've got a maybe a two millimeter rather than a 1.7 millimeter pcb It's a thicker pcb. It works works quite well Just jamming it into the port there And now you can see this is up and running if I go over to my Serial output here you can see every two seconds. I have it logging the temperature in both Celsius and Fahrenheit so it's about 78 degrees in here right now and Humidity is at about 29 percent. I can probably skew that a bit either by just touching the the sensor that'll probably Warm it up a bit possibly Oh, it's cooling it. I'm cooler than I'm cooler than the air Uh, you can see the humidity jumped up there just because of some perspiration on my finger Or if I blow on it, so if we Give it a little warm hot breath there. We got it up to 83 degrees and about 80 percent humidity So you can see that it's working And then if you also do things like code it to use the touch sensor or the neopixel, you'll see those running on there So to to use this in code. It's really simple in circuit python. I'm just importing this adafruit sht4x Library i'm setting up i square c. I am creating the sht object on i square c And then the mode can be set in this case to uh, the no heat compensation high precision mode And then we are printing out the info about the Board when we first plug it in You can also then in your main loop go and grab the temperature and humidity off the board simply by saying sht dot measurements And that'll feed those two variables. And then i'm also setting up another variable here. That's running a little Equation to convert the Celsius to Fahrenheit and then i'm simply printing out those variables here Including the relative humidity and then every two seconds. We take a look at that again Uh, so yeah, something I says pretty low humidity. It is it is southern california. It is dry here Most of the time. So yeah, you have to be careful about static electricity. It's a it's a good point Let's see, uh dj devon 3 over in our discord says they have a nice snippet for a temperature adjusting algorithm useful for onboard temperature Sensors most sensors in the low humidity Environment don't require adjustment But if you're a human climate you can use an adjustment that deals with the humidity and I think we may have an example In the library example code that shows a way to use that Compensation as well, but if not check out over in the discord This link right here from dj devon 3. Thanks for sharing that All right, so Let's see. What else is there to say about it? Here's some pretty pictures of it. You can see front and back There's the little carve out for the chip itself that I mentioned and not much to it We've got three volt coming off of the Voltage regulator so five volt from usb then three volts goes to the chip And you got a nice reset button on there. You can use double click that to go into bootloader mode if you need to flash it Otherwise once you're running circuit python, you can just update it In real time by saving your code.py file to the drive This shows up as a little hard drive and then on the bottom side You can see there are some programming pins if you need to do some more advanced programming of the Of the samd 21 chip and you want to use some little pogo pins or solder to that You can use those at the bottom, but those are mostly for testing and and programming the chips at the factory And that is it that is the board nice and easy You can see there's also a little slot on there that you can A little slot on there you can use to attach a little string a little lanyard if you want to Have it on your wrist on a keychain on a necklace a nice Trinket earring or whatever you like Let's see. Let me know if there are any questions in the chats I will say hello to pixel tortell and yama school and kelly horn over on youtube Thanks for joining us and over on our our discord We have been joined now by who else here mike p dj devin 3 Todd bot c grover Liz blitz city diy mike p again. Hello. Hello. Hello. Thanks for joining some nice What else any other questions about this these are these are neat these are convenient these are really popular Chips for measuring temperature and humidity if you take a look at our Main site here out of the way in the download section of the learn guide you will see we've got a datasheet link here for The the chip itself for the temperature humidity sensor I'll give you all the details on that if you need More of the characteristics of it operating temperatures those sorts of things you'll find them in there Um The uh the question here this is a good one from mike p Could you use a usb a socket to type c plug adapter or similar to plug it into your phone? actually have a This is one of these sort of on-the-go cables for an iphone or ipad lightning connector has usb on That end So is possible if you have a serial terminal in this case you could probably plug this in and see See the data coming over there. I don't think it's a very high power Board so it shouldn't anger the the device So that's a that's a good question. Uh, yeah, you can probably use various adapters to plug that into mobile devices as well Let's see anything else. I think that'll cover it so Let's grab that out of there and we'll finish this up Don't forget to head here if you want to go pick up one or five or ten of these at the uh half-off price and That is my product pick of the week this week. It is the sht 41 temperature and humidity tricky All right for Adafruit Industries. I'm john park. This has been jp's product pick of the week and I will see you soon Thanks everyone for stopping by