Step level indicator

MisterBill2

Joined Jan 23, 2018
27,530
Certainly the function can be achieved with just a few CMOS logic gates. No programming and no processor, and not much power wasted.
AND, beware that aluminum CERTAINLY will corrode in a nasty manner. Use Stainless steel.
 

MisterBill2

Joined Jan 23, 2018
27,530
OK, you can do it with one IC and three transistors. A CD40147 priority encoder using the inputs one, two, and four, and the first three binary outputs. It will still require a positive 5 volts into the tank, and then the outputs each driving the base of an MPSA13 darlington transistor. Depending on the supply voltage, probably each LED will need a dropping resistor. The IC will want a five volt supply, probably. So only 7 parts unless the LEDs need the resistors. The CD40174 was in my RCA digital IC book. Not sure if it is still available. It is a decimal to binary priority decoder.
You can do the same thing with NAND gates. Actually, probably with AND gates as well. I need to stop and draw the truth table for that.
 
Last edited:

WBahn

Joined Mar 31, 2012
32,852
There will be a remote physical panel and a web page.
That's a very different situation than what you describe in your first post.

You don't need your sensing circuit to turn on LEDs at all and it doesn't matter whether more than one is active at the same time. All your sensing circuit has to be able to do is inform your controller which sensors are currently covered. Your remote display then uses this information (which can be processed in between) to turn on the appropriate LED.
 

sghioto

Joined Dec 31, 2017
8,634
If it helps below is a latching circuit using transistors based on the design in post #14.
Component values dependent on Vcc supply and LED current.
1759786674821.png
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,530
Certainly the digital logic ICs are available as thru-hole devices. Those SMT ICs are way too small to experiment with.
Iwas only suggesting the full-size thru hole ICs.
 
Top