A friend of mine wants to drill a small hole in the top of his water softner and insert some sort of device that will convert the amount of salt in his tank to a voltage.
His current idea is to use multiple strings and weights dangling from a switch which is connected to a resistor network. As the the level of salt lessend the weights would activate the switch and put out a voltage depending on the amount of switches that were triggered.
Although this wa will work it doesnt seem to be the best idea. I was wonderin if anyone has a circuit such as a sonar circuit that could put out a voltage between 0 and 5V based on the distance the object is from the circuit.
His current idea is to use multiple strings and weights dangling from a switch which is connected to a resistor network. As the the level of salt lessend the weights would activate the switch and put out a voltage depending on the amount of switches that were triggered.
Although this wa will work it doesnt seem to be the best idea. I was wonderin if anyone has a circuit such as a sonar circuit that could put out a voltage between 0 and 5V based on the distance the object is from the circuit.