[Kayvon] just completed building this chiptune player based on a photo microcontroller. The hardware truly couldn’t be any type of simpler. He selected to utilize a PIC18F2685 just since it’s huge sufficient to store the music data directly as well as it let him get away with not utilizing an outside EEPROM for that purpose. The output pins feed a digital to Analog convert (DAC) chip, which in turn outputs analog audio to an LM386 OpAmp. The white trimpot sandwiched between the chips controls the volume.
The genuine work on this job went into coding a program which equates .MOD data into something the photo will be able to play. since of the memory limits of the chip it is not able to directly utilize all of the instrument samples from these files. [Kayvon] composed a program with a great GUI that lets him tons in his music as well as page with each instrument to fine-tune exactly how they are being re-encoded. The audio track from the video after the break doesn’t do the job justice, however you will get a great look at the hardware as well as software.