Magnet finder

Hey, what is a magnet finder? Simple, what it says it is; it can find magnets. Read the full article.
Where do you want that for?
Ah, I explain. I am a volunteer at a Repair Cafe. And lately we are offered more and more with complicated coffee making machines for the home-barrista.
And because these machines are expensive the designers have the option to build in safety measures, like the check if all the removable parts (which the home-barrista should clean regulary) are present before the grinding, boiling and coffeemaking takes place.
Recently I came upon such a machine which would not function at all because certain trays were not installed. At least that is what the microcontroller inside the machine indicated with a red icon.
But everything was installed. So the search for the switch which indicates the tray present was started. And failed. Because a mechanical switch is not the ideal component in an area of coffeebeans, grinded coffeepowder, water, steam and electricity. So the designers opted for a proximity switch. Somewhere in the removeable parts are small magnets installed. And on the opposite side, safely in the enclosure of the machine is a Hall sensor informing the microcontroller that the part is correctly inserted.
So, if you had a magnet, you could simulate the presence of the part?
Yes, I could. Except I had no magnet with me. And I like electronics, so I like to find a electronical solution.
Will a simple Hall-sensor do the job?
You are right. Instead of the Hall-sensor in the coffeemachine, the finder exists of a small handheld enclosure with a Hall-sensor, running on two AAA cells. When it detects a magnet, it triggers a BC557B transistor, which lights up two bright green Leds. That's it.
Really, that is all?
Quite almost. There is also a manual switch to switch the whole thing on and off. And a capacitor which let the leds flash when you switch it on. Handy to know that the finder functions. Otherwise you might end up searching with a defective finder.
I want to know more. Maybe I like to build one myself.
Go ahead. It is a very simple device. I put some pictures of mine, together with a schematic and a layout of a strips print in the “Project Elements”.
Ah, I explain. I am a volunteer at a Repair Cafe. And lately we are offered more and more with complicated coffee making machines for the home-barrista.
And because these machines are expensive the designers have the option to build in safety measures, like the check if all the removable parts (which the home-barrista should clean regulary) are present before the grinding, boiling and coffeemaking takes place.
Recently I came upon such a machine which would not function at all because certain trays were not installed. At least that is what the microcontroller inside the machine indicated with a red icon.
But everything was installed. So the search for the switch which indicates the tray present was started. And failed. Because a mechanical switch is not the ideal component in an area of coffeebeans, grinded coffeepowder, water, steam and electricity. So the designers opted for a proximity switch. Somewhere in the removeable parts are small magnets installed. And on the opposite side, safely in the enclosure of the machine is a Hall sensor informing the microcontroller that the part is correctly inserted.
So, if you had a magnet, you could simulate the presence of the part?
Yes, I could. Except I had no magnet with me. And I like electronics, so I like to find a electronical solution.
Will a simple Hall-sensor do the job?
You are right. Instead of the Hall-sensor in the coffeemachine, the finder exists of a small handheld enclosure with a Hall-sensor, running on two AAA cells. When it detects a magnet, it triggers a BC557B transistor, which lights up two bright green Leds. That's it.
Really, that is all?
Quite almost. There is also a manual switch to switch the whole thing on and off. And a capacitor which let the leds flash when you switch it on. Handy to know that the finder functions. Otherwise you might end up searching with a defective finder.
I want to know more. Maybe I like to build one myself.
Go ahead. It is a very simple device. I put some pictures of mine, together with a schematic and a layout of a strips print in the “Project Elements”.
Discussion (4 comments)
tontonchristobal 3 months ago
C'est un montage idéal pour les débutants ! Il y a bien longtemps je me suis initié à l'électronique avec ce type de construction.
Ion Trap 3 months ago
Hans Grilnberger 3 months ago
I am missing a protecting resistor in the base of the PNP-transistor. According to the datasheet the hall sensor output is open drain. According to the schematic it is driving a base-emiter diode (0,6 to 0,7V). At least one of this parts is overstressed. I propose to add a resistor of about 470 ohms up to 10 kOhms in the base line of T1 to avoid overstress for the emiter-base diode and the open drain output of the hallsensor.
A similar issue applies to the collector line of T1. You are relaing on the inner resistance of the battery to protect the emiter-collector line of T1 . I propose to add a resistor of about 47 to (let's assume) 180 Ohms - depending on the LED-current to avoid overstress for the collector-emiter leg in T1.
regards
Hans
NECV20 3 months ago
You are right about your remarks. I would have implement them as I would have noticed the need for them.
The stupid thing is that with the selected LED's nothing troublesome occurred; nothing broke down, nothing became hot. So I thought, why bother to make things more complicated than necessary.
Although I can image that if you keep a magnet to the finder for a long time, something might go awry. But who would do so?
Noerbe 3 months ago
This sounds like searching für your keys on the open table with a metal detector (as long as you're not blind or it's not competely dark).
Things are completely different, if the sensor in the machine is an inductive sensor and the counterpart a simple piece of steel. But your hallsensor would be as useless as the screwdriver to find the counterpart in this case. Solution: Next time take a small magnet with you, stick it at your steel screwdriver and you'll be prepared for everything!
NECV20 3 months ago
But as I stated in the article I love to fizzle around with electronics. And that is what this magnetfinder does.