 The great search brought you by did you get into fruit? Thank you. Did you key every single week? We did a user power of engineering to help you? Yes, you find the things you are looking for lady to what is on the great search this week on did you key calm? Okay, so this week on the great search. We had a request and I love requests to send them in So puppy two three three one puppy asks us to please find them an analog magnet sensor so We've covered magnetometers before where you have I squared C or SPI output You know, I have a couple favorite ones like the TMAG series I think I'll show this is an I squared C Hall effect 3d sensors so I can read Magnets, but it's digital output and it's surface mount So I'm gonna guess that this person it wants a through-hole easy to use analog output magnet sensor that is Because I said analog assuming they don't want just a switch It's easy to do a switch where you just detect whether the magnet is nearby or not because it you know turns on and off a switch There's read relays that do it. Those are super inexpensive. They're mechanical There's Hall effect sensors that have digital output or open drain output, but they specifically said analog So let's find a magnet sensor that will read north or south on a magnet and give you an analog Voltage depending on how close it is and that will be used for proximity sensing So, you know, we're we're just gonna start by searching for magnetic sensors And that is a whole category So there's a couple different categories available here So we don't want switches. So they're solid state switches that are not mechanical. They're not reads They're not read relays. They're not like a mechanical switch They do use the Hall effect, but they have a switch output. So it's like digital output. Even though it's not a digital protocol We're not gonna do that. There's also Modules that are like fully enclosed if you're building like a finished good or a robot or like some automation You might want to ready to go, you know enclosed module, but we're gonna go with Linear compass IC even if it's not a 3d They're kind of called compass ICs Okay, so first up We definitely let's put back to stats. We can see all of our options so many options, so let's go with active and Let's go with through hole remember we wanted a through hole part for this person and I want some that's in stock and I'm gonna exclude the marketplace products You can see like just before even getting into like our specs. It's already down to, you know, about a hundred options Okay, then the output types so remember they wanted analog output So, you know, there's this dash and what that means a Wheatstone bridge would mean that it's a it's a resistor So you'd have to like do the Wheatstone bridge amplification. I wanted something that doesn't acquire external circuitry PWM, I'm assuming they don't want because PWM is hard to read because you have to read the pulse widths. I'm assuming they really do want analog Current or voltage the reason I say current is because you can always put a resistor to create a voltage from the current So let's see how this goes so Let's apply Okay, cool to see you come a couple options we've got here. So these are looking really good. There's these through-hole components Let's next up do voltage so they didn't specify a voltage and didn't specify a sensing range That is actually kind of important because depending on that how strong your magnet is You might want to either measure the earth magnetic field or a weak magnet It could be like end of those kind of like fridge magnets or it could be a really strong where earth magnet They didn't say but let's do the voltage supply first. So I wanted to work with three volts and five volts That's kind of my preference So let's look This is within range and I'm just shift clicking To pick up all of these three To five volts and three to higher volts versions now are Kind of cut our options in half And then the next question is The range the sensing range against they didn't mention it, but I'm going to say You know, maybe plus minus 20 and above so fairly strong You know, you want to have it be The range of your sensor should be matched to the magnet because you don't want to saturate if it's too high And you don't want to have the voltage kind of go up and down enough to be measurable by your microcontroller when it's low, so let's So care. Okay, so we're down to 40. I feel like that's a good place to start So let's look at pricing and see where we end up. So One thing I notice is that the kind of the front the front page of Degena when I search by price is all this DRV 55x series and that's kind of promising There's a lot of them in stock and they seem very popular and they're 50 cents a piece So let's look at one of these, you know, it looks like it's DRV 5053 and then letter letter letter So and the data sheets And a bipolar Hall effect sensor that sounds right linear output Hall of Sensor Looks like there's a bunch of different sensitivities available. So it can be As little as 11 millivolts per mille Tesla. So that's good. If you have a very strong magnet To 90 millivolts per mille test Tesla, that's if you have a very weak magnet Available in both surface mount sought 23 and sought to 92 so through Hall See wide voltage range no regulator required Kind of nice and what's neat is It's it's stabilized the analog the zero to two little analog output responds linearly to the applied magnetic flux density And distinguishes the polarity detection as well. So it's kind of nice so you can detect whether north or south a lot of Hall effect sensors will only detect one like either it's south measuring or north measuring. He doesn't tell you which one What's nice about this is it looks like the output, which is two volts. It's zero to two volts output It starts with the strongest north is up to two and as it goes down to the south side of the magnet it will Go down to v-min, which is probably around zero sounds like The men and it looks like there is so you can get it in negative or positive Polarity sensitivity and that they'll just be the opposite way. So you know, you can decide whether you want north to be positive or north to be negative North to be a high voltage or north to be a low voltage Let's see in v-min They don't actually see what v-min is, but I bet it's just zero volts. I think they're just saying like zero okay output voltage point To point two volts to 1.8 volts. So yeah, it's about zero to two and at Zero militesla like so no magnetic field detected at all. It's about one volt. So, you know Sounds pretty good. You can use this with three volts Logics or your feather or your Raspberry Pi Pico or you can use it with an Arduino You just won't get you know, just make sure you Know that you have to divide your five volt range down When you get the analog reading out, you'll have to like kind of scale it down to get to the zero to two-volt range But this looks pretty good and it's available in a lot of different Sensitivities and looks pretty solid and it's really inexpensive. So This is going to be my pick for the great search and there's a ton in stock So you're in luck if you need it if you happen to need 7668 go to town