low pass filtering and averaging several readings to reduce noise