I'm trying to make a weighing scale that works in a lift. I'm using load cells to measure the weight, let's say it's F. Then I use that weight F and g which i know is 9,81 m/s^2 to calculate the mass of the object like this.
F = m*g <=> m = F/g
This works when the lift is in rest (or when moving with constant speed) but when it accelerates the weight F increases and because of that the mass also increases. Is there a way to compensate this weight(/extra force) due to acceleration?