There are smaller microcontrollers than the ATtiny13. Some ARM chips will in shape on the head of a big pin, as well as even in Atmel world, the ATtiny10 is available in a small SOT-23-6 bundle – a size usually reserved for surface install transistors. The ‘tiny13, though, can be programmed with just about any type of ISP as well as is available in an 8-pin DIP. It’s the bare minimum if you’re seeking to break out of the world of Arduino, as well as you can do some quite awesome things with it, like playing some holiday audio with an SPI Flash chip.

[Vinod] tried opening up a inexpensive cam pen, however in the program of disassembly a few traces broke. He was now entrusted to a 4Mbit SPI Flash chip. This was undoubtedly the time to check out what might be made with a little microcontroller as well as a big amount of Flash. as well as the Attiny13 audio player was born.

The circuit utilizes one PWM for audio out, as well as reads audio directly from the Flash chip. The UART on board the ‘tiny13 is utilized to update the Flash, as well as there’s likewise a switch to choose between play as well as record. If you’re counting, that indicates there are 4 pins for the Flash, 2 pins for the UART, 1 for the switch, one for the audio output, as well as the power as well as ground rails, all in an 8-pin package. That’s a quite awesome method to utilize one pin for two different functions.

You can inspect out a video of the job in action below.