Location detection plays a crucial role in various applications. In this study, a machine learning (ML) method using inertial measurement unit (IMU) data was developed to determine direction with the Global Positioning System (GPS). In this study, an electronic board was designed using an Arduino Mega, Altimu-10 IMU sensor, GPS module, and SD card module. This electronic board was placed on a car to create a new dataset. This dataset consists of 1952x11 data. The dataset was obtained using accelerometer (x, y, z), gyroscope (x, y, z), compass (x, y, z), and GPS sensor data. The Decision Tree Algorithm was proposed for direction determination in this study. The angles between each position and the previous position were calculated using the latitude and longitude values obtained from the collected data. Then, the data were divided into 4 classes: North, East, South, and West, based on specific angle ranges. Finally, a direction detection model was developed using IMU data in the proposed method, achieving an accuracy of approximately 82.11%.
Read full abstract