Im working on a water tank that needs to be filled to a certain level and then release its contents into another tank.
This happens every 10 days or so. The dispenser tank holds 1 Litre.
I would like the ability to change the desired dose if required. In order to do this i need to know how much water is going into my dispenser. The way i want to do this is to have 40 conductive sensors up the side of the dispenser.
This will give me 1 sensor every 25ml, problem is this would not work on my 16f877 chip that i plan to use for the entire project. After looking about i find that using a big voltage divider (40 outputs) might be the answer, at each point where the resistors meet there will be a tap point, this point i would like to read at 0.125v, every sensor that is underwater will allow its coresponinding output to be added in series, this will allow the voltage to rise in increments of 0.125v and this can then be read using ADC.
I think that using 40 resistors between a power source might be a little ott. So basically im wondering if there is a better solution here.
If possible i would like to still use the ADC on the chip.
Hope this makes sense.
Cheers
This happens every 10 days or so. The dispenser tank holds 1 Litre.
I would like the ability to change the desired dose if required. In order to do this i need to know how much water is going into my dispenser. The way i want to do this is to have 40 conductive sensors up the side of the dispenser.
This will give me 1 sensor every 25ml, problem is this would not work on my 16f877 chip that i plan to use for the entire project. After looking about i find that using a big voltage divider (40 outputs) might be the answer, at each point where the resistors meet there will be a tap point, this point i would like to read at 0.125v, every sensor that is underwater will allow its coresponinding output to be added in series, this will allow the voltage to rise in increments of 0.125v and this can then be read using ADC.
I think that using 40 resistors between a power source might be a little ott. So basically im wondering if there is a better solution here.
If possible i would like to still use the ADC on the chip.
Hope this makes sense.
Cheers