ultrasonic distance measurement based on NodeJS and Pi