• FIRST VERSION

    In the following we first deal with the acceleration measurements: we list the simple steps needed to play the activity, discuss the characteristics of the Gyro sensor, illustrate the algorithm and code, and finally show the main results. Then, in the second part of the document, we focus on the standard application of the gyroscope to navigation (pitch and roll). Examples and pictures will help to highlight why learning these topics with the mBot results attractive, simple and hence more effective.


    Through the text, useful tips leading to better results are mentioned and highlighted in orange color.


    The mBot is made to hang from a spring and perform an harmonic motion. From the gyro-sensor outputs, proportional to acceleration, the oscillation period is evaluated. Both mBlock (Scratch) and Arduino versions of the code are made available. In Arduino, the sensor data are shown in serial output and can be plot in an external software in order to get a deeper understanding of the equations of motion.


    ACTIVITY DESCRITIONSECOND VERSION