In this thesis we will be using the Arduino, model Leonardo, to facilitate the gathering of data during our experiment. To gather the data we will also be needing a sensor. It is also necessary to write a program on the Arduino to specify which data needs to be collected, how often it needs to be collected and where and when to send the data once it has been gathered. On the other end, once we've received our data, we need to do something with it. For that purpose we are using a computer on which we will write a program to gather, process and present the data in a graphical user interface. Once the experiment has been finished the program will store the processed data in the computers' permanent memory. In our case we decided to focus on the ultrasonic sensor with which we will be measuring distance. The distance measurement will be used to observe the movement of a weight, first as oscillations on a spring, and afterwards as swinging on a thread. The reason we opted for this particular choice of sensor and experiment is the ease of variable control which will give us a better overview of the Arduinos' possibilities and its limitations. During the experiment we will pay attention to the experiments' feasibility in the classroom during a lesson and to the understandable display of the content to the students. For that reason as well oscillations are the optimal choice.