Homemade inclinometer