In measurement, the major problem encountered is dealing with noise reduction. Noise in the sensor is created due to a number of reasons such as noise due to external signals, complexity of measurement status and sensor quality... Therefore, it is necessary to avoid noise to achieve good results, thereby improve measurement accuracy. signals from sensors. Noise leads to errors between the measured value and the actual value. One of the solutions is to design a signal filter. In this study, the design of the Kalman Filter (KF) algorithm for the US-015 ultrasonic sensor is presented. The KF algorithm is designed to overcome the existence of noisy measurements on the sensor. The type of ultrasonic sensor used is US-015, capable of detecting distances from 2 cm to 400 cm. The KF algorithm is implemented using an ATMega 328p microcontroller on an Arduino Uno R3 board. Experimental results show that the KF algorithm is capable of reducing measurement noise of ultrasonic sensors.