Making Musical Tones with Picaxe
We can make musical tones with the microcontroller Picaxe, which has the tools to create monophonic tones and hundreds of examples of folk music or Christmas for example. Use picaxe to produce some tunes is a fun and entertaining tool. My first melodies were Christmas and the source code is in Basic.
Chip-08 M2 differs from PICAXE-08 that comes in its internal code implemented a number of additional commands, also has the possibility of using interrupts, control commands servos, reading infrared sensors and temperature.
The Programming Editor application has a wizard to create a melody code designed personally or loading an already or import existing monophonic ringtone for mobile. These ringtones are widely available on the Internet at RTTL format. Only it works on the PICAXE-08M and this can only play one note at a time (monophonic) not allowing the use of polyphonic sounds.
To program the integrated circuit you must use the Picaxe programming editor. Once we loaded the melody we can change. The output set in the micro to play sounds is the output2, but you can also select another exit to accompany the melody with flashes of a LED. You can download more than one hundred musical tones at the end of this tutorial.