Dear picaxers,
I would like to use sensors (acting as switches) to get info on levels in a vessel. I have a working circuit where the liquid closes the sensor contacts and turns a picaxe digital input on.
What I am wondering is: is there a simple way to duplicate this (say 10 switches) and combine them into a single (rather than 10) analog input? Is there some kind of simple voltage adder circuit so that the first switch closing caused 0.1 V on the input, the closing of two caused 0.2 V etc.
Any help would be appreciated.
Arnie
PS. Condolences to Microzed Bob's family
I would like to use sensors (acting as switches) to get info on levels in a vessel. I have a working circuit where the liquid closes the sensor contacts and turns a picaxe digital input on.
What I am wondering is: is there a simple way to duplicate this (say 10 switches) and combine them into a single (rather than 10) analog input? Is there some kind of simple voltage adder circuit so that the first switch closing caused 0.1 V on the input, the closing of two caused 0.2 V etc.
Any help would be appreciated.
Arnie
PS. Condolences to Microzed Bob's family