I'm trying to build an LED water sensor for a school project, and I want to do something like this:
However (as I understand it, please correct me if I'm wrong) the above design poses a limitation in that once the light is on, all the lights before it are on as well. So if the water level is just above level C, LEDs for A, B, and C would be lit.
Is there a way to add logic/wiring that would only have the highest level up LED on? So if the water level is just above level C, only the light LED for C lights up.
Any suggestions will be greatly appreciated!
Thank

However (as I understand it, please correct me if I'm wrong) the above design poses a limitation in that once the light is on, all the lights before it are on as well. So if the water level is just above level C, LEDs for A, B, and C would be lit.
Is there a way to add logic/wiring that would only have the highest level up LED on? So if the water level is just above level C, only the light LED for C lights up.
Any suggestions will be greatly appreciated!
Thank