Over on my Pet weighing project, i am using a PIR sensor to detect approach of the "subject". Once the PIR sensor goes high, the sketch takes a "base" value, and then takes the highest reading as its "read" value.
I think the PIR sensor is playing up, or maybe its thestrain gauges bouncing around all over the place....
Might it be easier to CONSTANTLY check, and average the readings, and then sort them depending on their value. ie: where the value sits, lowish (value of 50) can be taken to be the base value, and then if any sharp increases up past, lets say 500, are averaged and taken as a reading and logged. This would require the microprocessor to be constantly comparing the value, 24 hrs a day for months on end, but might eliminate some of the issues im having. Is there any problem with putting a microprocessor under a constant work load like this?