hey... why the sound is better now than the other video... I believe you said in the other vid... that you were using pwm... so this is not good for audio ?
I manage to pump up the sample rate of the AD, and because of that I get better sound. But now I have written all of the AD and PWM process in assembly. So now (except very high pitched sound) it sound great. It is now possible to hook up a SPI EEPROM to record and play sound from. But that still lack satisfying quality. /Kdg86
actually how this one works? you connect it from the pc or to a memory stick ? you programming in assembly or C ? my friend told me it was a bit dificult to a microcontroller play mp3 sounds... he saids it is over it's powers... so you coneccted the analog sound box wires to the microcontroler and made it change collors or you actually really playing it from a memory stick and the microcontroller?
The music is coming from the computer, in the analog cable. It goes in to the AD on the microcontroller and then the microcontroller displays the analog value.
It is partly written in C and partly written in assembly. I can almost promise you that there is no way a 8-bit PICMicrocontroller can decode MP3 format, but there is special MP3-chip that you can buy and connect to your microcontroller and from that chip get music, the PIC feeds the MP3-chip with data. /kdg86
hey... why the sound is better now than the other video... I believe you said in the other vid... that you were using pwm... so this is not good for audio ?
tiagofumo 2 years ago
I manage to pump up the sample rate of the AD, and because of that I get better sound. But now I have written all of the AD and PWM process in assembly. So now (except very high pitched sound) it sound great. It is now possible to hook up a SPI EEPROM to record and play sound from. But that still lack satisfying quality. /Kdg86
Kdg86 2 years ago
actually how this one works? you connect it from the pc or to a memory stick ? you programming in assembly or C ? my friend told me it was a bit dificult to a microcontroller play mp3 sounds... he saids it is over it's powers... so you coneccted the analog sound box wires to the microcontroler and made it change collors or you actually really playing it from a memory stick and the microcontroller?
tiagofumo 2 years ago
The music is coming from the computer, in the analog cable. It goes in to the AD on the microcontroller and then the microcontroller displays the analog value.
It is partly written in C and partly written in assembly. I can almost promise you that there is no way a 8-bit PICMicrocontroller can decode MP3 format, but there is special MP3-chip that you can buy and connect to your microcontroller and from that chip get music, the PIC feeds the MP3-chip with data. /kdg86
Kdg86 2 years ago
pm me if you can send me a schematic
carloto485 3 years ago
The set up is on a QL200 development board, available on ebay.
// Kdg86
Kdg86 3 years ago