Indice degli argomenti

  • Introduzione

  • ACTIVITY DESCRIPTION

    The idea is to promote the learning of music through gamification and robotics.


    The activity will consist of creating and coding a "choreography" for the music of the film “flash dance”. It will be played by a mBot.


    In first place, it will be necessary to understand some contents of music: types of notes, their duration and the meaning of some musical symbols.


    Then, once the song has been chosen, every single note will have to be coded so that the mBot will play the song as if it was a musician.


    On the other hand, taking into account the duration of the different notes that form the song, a dance will be devised, where each movement will be designed according to the notes. The dance will also be accompanied by lighting effects.


    For the second version, “Lets Play Music”, we need two arduino cards for musicplayer. The ultrasonic sensor connects to the card switches between music. We will decrease or increase the volume of the music with potentiometer. In addition, we will show on the screen the play / stop, the decrease / increase of the volume.


    Important Note: To give basic electronic information to students; cables, pins, cards; Arduino card has been used in our project to ensure that circuits are built. It is targeted to use Raspberry Pi in later stages of the project.


    • Phase 1: The process of working with mBot and mBlock.

    • Phase 2: Arduino and mblock-S4a work process.

    • Phase 3: Raspberry Pi working process (Project students must be at least 8th grade).
  • FIRST VERSION

    This activity consists of coordinating the music a mBot plays, with the dance other mBot performs.




    To achieve this goal, students will have to decide how to split the sheet music in small pieces. They will have to design, in a coordinated way, what both mBots (musician and dancer) do for every single cut, for every single beat.


    Together with the music teacher, we studied the original sheet music and we decided to shorten it so that it was not too long. In the image below, you can see it shortened. This is the one we have coded.



  • SECOND VERSION

    For create the musicplayer, the potentiometer and ultrasonic sensor are supplied from the common cathode lead to the power generated.


    The potentiometer and the ultrasonic sensor are connected to the common anode via the gnd. To measure the potentiometer value, the analogue must be connected to any pine.


    The ultrasonic sensor is connected to digital number 2 pine.




    Cardboard can be powered by either a 9 volt or a pcbusb cable.


    The final image of our system. Our music players are now ready.