Control multiple leds using only 2 connection wires

currentled

i want to control 5 led bulbs using just 2 wires .depending on some condition i want to turn a led with a specific color from 5 led set and only one led should on at a time.

here is a small explanation .

enter image description here

in my house we use water tank .if water level is max i want to show it by turning on specific color led.if water level is fine ..weak.. i want to show another color led on the motor switch .but distance between motor switch and tank is very big so i can't really use 6 wires for control 5 leds.

so what I'm asking is is it possible to control 5 leds just using 2 wires ? i'm thinking about pulse technique.for example if level is max i send a specific pulse/bit pattern so using small circuit determine which led should turn on. but for that i think i need 3 wires( 3 wire is also ok but led amount can be vary -10 led may be) .what is the cheapest and easiest way to do this ??i'm really new to electronics. if i can do this without using bit pattern it's lot better because detecting bit patterns quite complex to me. thanks

Best Answer

You could send an analogue signal over the two wires to power and signal an LM3914 Dot/Bar Display Driver. https://www.sparkfun.com/products/12694