Professional Documents
Culture Documents
In this video I explain how to play monophonic Nokia melodies, a simple way
using the scores of the old Nokia Composer. There are hundreds of tunes that
you can adapt to your Arduino without having knowledge of music. Code
compatible with all cards.
Easy assembly and use few materials. The program is adaptable for any
application.
As a bonus I leave the Christmas theme to be used in their end of the year
projects.
Materials:
1 Piezoelectric buzzer.
1 Arduino UNO.
1 Power supply.
Mode of use:
playMusic (pin, melody, tempo, factor);
pin: is the pin to which we will connect our piezo.
melody: variable where the notes are in Nokia format
tempo: speed of the melody in bpm
factor: variable to change the tone of the melody, you must play with this
value between 1 and 60 to get the best response from the piezo.