Hi, I’m starting to look at my second ever project with a Picaxe chip probably an 08.
I want to get rid of four mechanical pressure switches and replace them with a single sensor and have four on/off set points with hysteresis for each point.
I have seen the sensor that I would like to use it is 0 to 1 PSI and gives a full scale output of 45mV so I assume it is 45mV per PSI, and a 0 to 5 PSI with a full scale output of 115mV which is 23mV per PSI.
I will fit ether sensor depending on the overall scale that the unit will be expected to read.
I am assuming that I just wire the sensor into an analogue input and then set four outputs, may need an op-amp to lift the input voltages. My main problem is the program side of this project any help would be most appreciated.
I want to get rid of four mechanical pressure switches and replace them with a single sensor and have four on/off set points with hysteresis for each point.
I have seen the sensor that I would like to use it is 0 to 1 PSI and gives a full scale output of 45mV so I assume it is 45mV per PSI, and a 0 to 5 PSI with a full scale output of 115mV which is 23mV per PSI.
I will fit ether sensor depending on the overall scale that the unit will be expected to read.
I am assuming that I just wire the sensor into an analogue input and then set four outputs, may need an op-amp to lift the input voltages. My main problem is the program side of this project any help would be most appreciated.