You are making a mistake there. The amplitude of the pendulum is the distance from the middle (equilibrium). So why are you measuring height? Also you can't really do much other than keeping the length of the string large so that the arc at which the pendulum travels is rather straight. After all, you are measuring the distance with a ruler.