Inexpensive tune playback with an ATtiny85

With only an Atmel ATtiny85 microcontroller, some flat piezo elements and a coin cell battery you have enough electronics to create sounds and play a tune similar to those in a musical greeting card. The tune to play originates from a midi file, and is modified with a python script which results in code that can be added to the software which is uploaded to the MCU. And the results are pretty good:

This type of project could also be used to add sounds to stuffed animals, LEGO creations and anything else you can come up with. So to get started visit John's instructions here. And for more news, updates and items of interest, please follow us on twitter, Facebook and Google+.

At Little Bird Electronics we have a range of microcontroller familes and development tools - from Arduino, AVR, BASIC Stamp, netduino, PICAXE and more; at competitive prices and delivered faster than you can imagine. So check out our catalogue today and find something new to experiment with!


Previous article Day 1 Arduino Advent Calendar

Leave a comment

Comments must be approved before appearing

* Required fields