I'm sure it has been done many ways before, but I'm just thinking through the logistics of building a custom sensor to use with the picaxe.
The sensor itself will be a capacitive fluid level sensor that varies the frequency of a 555 timer. A picaxe (08M?) will use the count command to read the frequency; it will read a temperature probe and then work out a temperature compensated level of the fluid.
My question is how best to send this information to another picaxe. I'd thought of a constant serial stream from the sensor, but then realised that the receiving picaxe would lock up if the sensor failed due to waiting for serin.
What other clever ways are there of communicating a number between 0 and 100 [percent level](preferably only on a single i/o)?
regards, Arnie
The sensor itself will be a capacitive fluid level sensor that varies the frequency of a 555 timer. A picaxe (08M?) will use the count command to read the frequency; it will read a temperature probe and then work out a temperature compensated level of the fluid.
My question is how best to send this information to another picaxe. I'd thought of a constant serial stream from the sensor, but then realised that the receiving picaxe would lock up if the sensor failed due to waiting for serin.
What other clever ways are there of communicating a number between 0 and 100 [percent level](preferably only on a single i/o)?
regards, Arnie