I'm doing a project with an Arduino pro mini 3.3v that uses internal pull-up to detect changes on a reed switch sensor. I'm buying the reed sensors from AliExpress, and most of the time they work OK without problems, but in some random cases they suddenly stick together... if I tap on them, they open again and work properly... which is worse because it is hard to test if they will work for long term.
I cannot allow this to happen since what this sensor measures is the main purpose of the device, and I cannot sell a product knowing there is a good chance this can randomly happen, making the device unusable.
For now I'm using 2 reeds in series, and doing some failure detection in code. But I would like to ask if someone already had this problem, and ask for a good reed switch brand that is more reliable and maybe spare me this problem for good. I looked for good brands in the internet, but I haven't found enough information. I was thinking maybe also buying plastic ones since the glass ones break so easily.
FYI, the magnet is a small cylindrical 3mmx3mm neodymium magnet, which I guess is not too strong for a 14mm glass reed switch, at a distance of 2-5mm.
Thank you for your help!