initial upload of ir distance meter calculation