It's time to do something useful with our small 8-bit computer. Music box is a fun and easy project. It's not demanding from the hardware point of view but it can be a little bit tricky from the software point of view itself - ideal project to learn a lot and not to spend the whole day soldering. What we will need: an Arduino (of course) Piezo buzzer ... and that's all. Now a couple of words of what we want to achieve. Requirements Let's point them out: play monophonic melodies by generating tones (1 channel MIDI instrument) the notes will be send by the PC through the serial port our musicbox should be visible to the PC as a MIDI port be able to use MIDI player of choice on PC to play MIDI files on our musicbox The requirements are specified. Unlike most of the simple projects around which play the same melody everytime, which most of the times is hardcoded in the program memory and in order to change it...
Blog dedicated to popularize development for Arduino boards in pure C