thanks for this. It is actually an alarm so it will sit dry all the time. Only if fluid enters will it be subject to electrolysis and then it won’t matter. Its part of another device, so it needs to end in two wires that are detecting the fluid.
I think I’ve answered my own question. I had the resistor between the input pin D10 and the connection to the power pin rather than as in the diagram. After swapping to the configuration in the diagram it is now much more sensitive. I suppose that pull down to ground is easier with no resistor intervening?
I would have gone about it differently, as I’d prefer not to be banking on the conductor being in the same perfect-state from day zero (especially if liquids are involved). Just a small amount of corrosion will throw the resistance around a lot.
With that said, DIY often leads to all sorts of creative solutions, all the best with it
And you can get our latest projects and tips straight away by following us on: