Jun 29, 2011 #1 X xxtigerxx Advanced Member level 1 Joined Jun 5, 2001 Messages 441 Helped 38 Reputation 76 Reaction score 32 Trophy points 1,308 Location Greece Visit site Activity points 2,890 i want to play a sound with a mega88 mcu. I want to store the sound in a memory (fix memory) and play the sound. The mcu has only pwm does not have a DAC. Does anyone have a algorithm and a schematic how to implement this Thanks in advance.
i want to play a sound with a mega88 mcu. I want to store the sound in a memory (fix memory) and play the sound. The mcu has only pwm does not have a DAC. Does anyone have a algorithm and a schematic how to implement this Thanks in advance.
Jun 29, 2011 #2 S srikanthsamaga Full Member level 3 Joined Dec 14, 2008 Messages 179 Helped 12 Reputation 24 Reaction score 2 Trophy points 1,298 Location 12°52′N 74°53′E Visit site Activity points 2,022 Low quality sound can be produced by square wave without using DAC.
Jun 29, 2011 #3 X xxtigerxx Advanced Member level 1 Joined Jun 5, 2001 Messages 441 Helped 38 Reputation 76 Reaction score 32 Trophy points 1,308 Location Greece Visit site Activity points 2,890 i do not want a very good quality. i want to send the voice throw the telephone line. So maximum frequency 4kHz.
i do not want a very good quality. i want to send the voice throw the telephone line. So maximum frequency 4kHz.
Jun 29, 2011 #4 S srikanthsamaga Full Member level 3 Joined Dec 14, 2008 Messages 179 Helped 12 Reputation 24 Reaction score 2 Trophy points 1,298 Location 12°52′N 74°53′E Visit site Activity points 2,022 I have produced some tones with 8051 long back using square waves, but IMO its bit hard to produce voice using square waves, because of variable amplitude present in voice.
I have produced some tones with 8051 long back using square waves, but IMO its bit hard to produce voice using square waves, because of variable amplitude present in voice.
Jun 29, 2011 #5 Tahmid Advanced Member level 6 Joined Jun 17, 2008 Messages 4,764 Helped 1,799 Reputation 3,590 Reaction score 1,663 Trophy points 1,413 Location Berkeley, California tahmidmc.blogspot.com Activity points 30,720 Hi, Read through these, you will get a lot of valuable information: AVR Freaks :: View topic - Atmega audio playback ELM - Simple SD Audio Player with an 8-pin IC Hope this helps. Tahmid.
Hi, Read through these, you will get a lot of valuable information: AVR Freaks :: View topic - Atmega audio playback ELM - Simple SD Audio Player with an 8-pin IC Hope this helps. Tahmid.
Jun 29, 2011 #6 hongphuc118 Member level 2 Joined Jun 25, 2011 Messages 52 Helped 4 Reputation 8 Reaction score 4 Trophy points 1,288 Location Ha Noi,Viet Nam Visit site Activity points 1,514 You can use DAC 0808 to connect to MCU