This is a detailed tutorial how to play an audio sample stored in the program memory of the ATMega micro controller used by the Arduino mega 2560. It is also applicable to other Arduino types and stand alone AVR MCUs.

More Sophisticated solution will follow in the next part.

Used software:
Audacity –
bin2h alternative –
Arduino IDE –


Leave a Reply