Hey guys,
I wanted to try outputting sounds using a PIC, but there's a few things I'm not sure about.
I was thinking of trying both using PWM and a DAC. Since I don't have the DAC yet, let's start with PWM.
I'm thinking, PWM->Low Pass filter (cap + resistor) -> Op-Amp or amplifying circuit -> coupling cap -> 8ohm, 0.5W speaker.
What I'm not sure about is the calculations for the output voltages of the Op-Amp (and current drawn)(Or do I need some other amplifying circuit?). Is 8 ohms for a speaker technically resistance or perhaps inductance? Is it important to remove DC for speakers?
For DAC: DAC-> Op-Amp or amplifying circuit -> cap -> Speaker.
Thanks for any help. If been looking around the net for these answers, but I've been having rotten luck.
I wanted to try outputting sounds using a PIC, but there's a few things I'm not sure about.
I was thinking of trying both using PWM and a DAC. Since I don't have the DAC yet, let's start with PWM.
I'm thinking, PWM->Low Pass filter (cap + resistor) -> Op-Amp or amplifying circuit -> coupling cap -> 8ohm, 0.5W speaker.
What I'm not sure about is the calculations for the output voltages of the Op-Amp (and current drawn)(Or do I need some other amplifying circuit?). Is 8 ohms for a speaker technically resistance or perhaps inductance? Is it important to remove DC for speakers?
For DAC: DAC-> Op-Amp or amplifying circuit -> cap -> Speaker.
Thanks for any help. If been looking around the net for these answers, but I've been having rotten luck.