 Stopped screaming Clarice. I don't know why I'm doing that. I don't know why I don't know why that image ended up being today's thing What's uh, what's going on with that there, huh? I? Don't know Howdy, hi rich sad. Hi Scotty be me up and see Grover Thomas Beach over on YouTube Asks how much I'm gonna cost him this week That's up to you Hi Gary Z. Hey oats and honey Mike P. Nice to see you all And here we are it is time for another JP's product pick of the week That's me JP and I've got a cool product for you this week What I like to do is first send you to a place head to this magical URL This is product ID to 9 to 3 So you can head there always by going to a to fruit dot it slash and then the product ID number to 9 to 3 Hey trout SGG nice to see you over there on YouTube. Hey, but Abby getting ready for the next a to box unboxing I am mentally preparing Yes, emotionally physically It's true So let's see what do we got? Yeah, head to this URL because that's gonna take you to the product page where this week's product is 50% off What a bargain and we usually do a maximum of 10 Per person when we have these great prices going half price in this case no resellers and It is good during this show only during the time frame this block of this right here live stream Once it's over. It's over no special secret code to type in or anything like that You just buy it at a reduced price if you like it. So how do you know if you like it? Well the first tool in my tool belt for Giving you the choice Giving you the information so you can make it an informed choice is to have lady aida tell us about it So let's jump back in time a little bit lady aida take it away. Yay to tell you feathers It's it's twinsy feather time brother and sister Maybe two sisters we have the non latching relay feather wing and then the latching relay feather wing and these are two mini relays They're not going to turn on and off your fridge They're for 60 watts or less of power and check out the Data sheet for the de-rating and and you know what current requirements you have But for a lot of stuff like maybe you want to switch Solenoids that use AC power or you're controlling like a doorbell ringer or like a small motors or you're a small Appliance actually a lot of stuff is pretty low power these days if you you know you want to turn on and off your DVR Or your Wi-Fi? Router that will probably be under 60 watts. This is that's a perfectly fine use of this relay wing and there's and there's two but either It there's latching and there's non latching can you spot the difference? Well, they're a little bit different explain the difference because I personally really like latching relays But you know they're a little bit more complicated to use so a non latching relay is what most people think of when they think of a relay So the latching relay feather wing you see it has two pins set and unset So instead of having a single pin it actually has two pins and the reason it has two pins is unlike the You should if you don't put me like in the relay. I'm gonna put you in the relay. Okay. Whoops Okay, sweet so unlike the Normal Relay feather wing where you have to have the hi Instead of having the set Having the pin high and the relay closes and then when it's released It's open because every time you have that relay coil activated It's drawing for 50 milliamps that coil takes a lot of current to keep on The latching relay what you do is you just pulse the pin high for 10 milliseconds So you turn set high for 10 milliseconds and you can drop it low And then it will click on and there's a little plastic piece that latches it in place So whatever you set it to it'll stay that way even if power is lost Even if you don't have the coil activated so you can set and unset and that's good when you are running on battery power So you want to have a lot less Current drop you don't want to have to hold the relay open and if you don't care if you want it so when power is lost it can Stay in the last state like for safety. You might want like a relay feather wing connected to a Lamp or heater you might want it if the power is lost or it loses connection with Wi-Fi to automatically turn off That's something that's a little easier to do with a normal relay Then with a latching relay, but it depends on what you want to do and again with a latching relay You need two pins one for setting and one for un-setting. You have to alternate them to turn it on and off All right, that sounds pretty convincing. I want to go grab one myself So let me just head back there to my wonderful and majestic cabinet of mystery drawers I'll be right back. Yes, there it is right there. Look at it That's this week's product pick of the week. It is the latching mini relay feather wing I really like this. So this one is a little fancier in some ways Then your typical relay which is non-latching which means you send it a Control signal and it closes the relay and then when you're ready to stop sending that that Closing that switch you have to release that signal, which means the coil is always activated It means you're gonna have to leave the device on that's talking to it and if there's a failure With that device then it's gonna change its state So nice thing about these is that you don't feel like you're kind of constantly pulling that magnetic coil shut because it internally It has a little plastic switch that gets thrown and it kind of flicks it between on and off much more like a regular light switch We don't have to spend energy leaving it in one position or another and the same is true of this So it's a feather wing. It means it flops right right smack dab on top of a feather and it has a little Terminal block that you solder on when you get it So if you add that terminal block, you don't have to use it You can you can solder your power directly to it, but I like to use that So you started that on generally you just need two wires going into it in the center in the common wire you have the Essentially the the line that you're trying to open and close so one side of your your power if it's AC or DC source coming through and the other is sort of where it's headed off to and that can be either the normally closed or the Normally open side of that. So let me show you one that I've got right here in action I'm gonna drop down to this little down shooter right here and Let's So here you can see I've taken the feather wing I've put it on this little feather tripler here. So I've got a feather RP 2040 controlling things I have a little OLED feather wing that has a couple buttons on it so we can see a display and use some buttons pretty easily and then you'll see right here with the Latching feather wing what I've got What I've got are my power source coming in so actually I have a 24 volt power source that powers a Ring light. I'll show you that in a second. It The power comes from essentially the transformer the wall transformer To the feather wing and then when the feather wing is closed It will send that power along and over to the device that I'm trying to control You'll also notice that since this one uses one control signal essentially a digital pin on our microcontroller To close the relay and a different one to Reopen it we have two wires here that we need to wire up before we use this So these are the set and the unset Controls and I have them in this case run on. I think it's pin D 11 and 10 is what I chose we can look at that and code in a second So you have a little bit of soldering to do there I Used a pretty big obvious wire there so we can see it and in fact I don't think I soldered those in on once I think those are just shoved in so hopefully it doesn't cause any issues for it So to see it in action now what I'm going to do is you can see here. It says mini latching relay if I press a That closes the relay and you can see the big glow on my face and around the edges of the frame there It's because it's just lit up this big powerful ring light and then I can press a different button here to Change that state you could program that to be a single button if you want so this is latched closed in the closed position And then this is latched open and like I said if we put this into the latched closed position It is going to stay there even if I kill power to this whole little setup. So I'm going to yank the Power going to my feather that means that this is not energized It's not staying closed by virtue of a magnetic coil It's staying closed because it has this little internal mechanism a mechanical switch and when I power it back up it doesn't change the state of it And this is not the case with a typical relay. It will change as you power on power it if it had been in the energized position So now I can go put this in the open position. So there's no no power running through it And again when I unplug and replug we don't see any change in state there, which is pretty darn cool To show you what this gizmo is you can see I have a pretty large Scale let me change that focus there for you wrong way a little better, okay So here you can see I've got my little latching relay connected to my feather This is the ring light that has a 24 volt Power adapter coming from wall power ac to dc 24 volt, but we could use ac with this if we wanted to This is all in the sort of turned on position and color temperatures been preset So now when I tell my relay to power it it lights it up just as if we had plugged it into the wall And then I can latch that open or closed So that let me show you in code How that works? I'll re-focus here just because it's fun to look at that there is Gonna look like this so you jump over to Adam here This is In circuit python you could also use this with arduino if you wanted to but I'm running in circuit python so I'm porting some libraries here and really for using the Latching relay feather wing all we really need is some digital IO. So that's the critical line there to be able to Send a control signal on either pin d11 or d12 actually those are the two that I'm that I'm using in my code here But any two digital digital control signals that can go from zero to three volts would be enough Five is fine as well. I believe Then I'm setting up some stuff for having my display and using my little feather wing OLED feather wing here setting up the buttons that are on board there This is the key part for my my relay though. I have a pin I'm using pin d11 that I'm setting as an output pin and D12 as an output pen pin and those are connected to those on board Set and unset pins there then in my main code here When I press a button what I'm doing is setting a Pin to high so I'm setting in this case the set pin value to true pausing for a Little millisecond there and then I'm turning it back off So all you need to do is pulse this you don't have to have a constant signal to it So I chose to do it that way wouldn't hurt it if you had it constant But here it just pulses that digital pin for a moment Pulses that digital other digital pin for a moment and it sends it between closed and open So That is that is the basics of using it. It's really simple as long as you know how to blink an LED You could do this of course in code. This this doesn't have to be Based on a Button press we could have this thing blinking for us And in fact, let's just for a little fun bonus we can we can do that on the fly here So what I'll do is Just change this code around a little bit here and how about we say set pin value equals true Time sleep How about three-quarters of a second? So 0.75 set Let's do the unset pin Value equals true. Actually, I'll toggle these so let's do the set pin Value equals false. There's more elegant ways you could do that, but I'm gonna be real heavy-handed about it here Again time sleep About one second for this. It's a little bit of an uneven and then we'll we'll reset that so This will go to false All right, that looks plausible I'm gonna resave the code here and Oh, let's see if I've it's unhappy with me, what did I do? Let's let's open up screen Oh, I've got that great underlighting on me here Digital at no has has no object value. What? Oh capital V that's why there we go So here's the Little guy in action there. Let's go to a full screen of that Okay, so you probably wouldn't want to blink this hundreds of thousands of times But since it's a mechanical relay and not something solid-state, but here you can see that with the little Mechanical relay controlling power running to my ring light here, which is a Let me turn that off. That's enough of that which is a Wall power type of device we get the ability to control something with much much higher Voltage and current needs than we could do with just the microcontroller and a battery Gussy Goro says that light is ominous. It is I pull the plug on that shoot. All right, so Let me know if there's any other questions in the chat, but that is the basics Oh my gosh mission accomplished someone said it is out of stock now. All right. Well, I can stop Stop pushing it, but of course you can always head to the product page and Fill in the little email address Let me reload this it'll say it's out of stock You fill in the little email address hit notify me and then you'll get an email when those are back in stock Unfortunately, you won't get it at this discount price. This discount price is just good now I don't know how many we had in stock, but hopefully a lot of you are getting your Getting your relays headed your way and you'll have some fun Playing with those love to see what kind of projects you do with them again You know this there's possibility of doing holiday lighting and lawn type of projects with it You can use different types of sensors to trip the relay so things like distance sensors are a lot of fun to put in there Let's see any other questions Sorry, yes, Rufus that was 10 milliseconds not one millisecond. Thank you for the quick math help All right, I think that's it I Kds what happens if you set both pins to true does one pray take priority? I don't know. I'll tell I'll try that out I'll I'll try that out after the show and let you know what I what I end up finding out about that Probably it'll get someone will win, but it'll whichever one's a little easier for the mechanism to go to but it'll it'll probably Struggle because I believe you're energizing coils on two sides of the thing instead of a spring so See Grover says that was a short relay race Because it is out of stock alright Thank you everyone for stopping by so Let's throw a little impromptu Hanger on here so I can put that up on the wall That's my product pick of the week this week. It is the latching mini relay feather wing That's gonna do it. I will see you on Thursday for the John Park's workshop I'm also gonna be hosting show and tell tonight So if you're interested in coming and bringing something to show just check out the blog post that'll go up Little I think in the morning tomorrow and then right before the show but come by show until tomorrow evening And that's gonna be at 7 30 Eastern time And then there'll be an ask an engineer right after that and I believe we've also got a Three hangouts tomorrow morning, but you can check your live broadcast Announce and live broadcast chat to double check on those things. Alright. Thanks everyone. I will see you next time. Bye. Bye