Hello,
I am working on a small audio circuit, which, due to size constraints, I want to power with a typical CR2032 coin cell battery (this is also a convenient battery option for replacement). In the current design (see attached image), I am using an ATTINY45 to produce a differential PWM signal from PB3/4, which is then amplified by the TPA2005D1DGN audio amp before going to the speaker.
My issue is that the amp is not actually amplifying the signal going to the speaker. In fact, the speaker is much louder when I connect it directly to the controller. I have spent a lot of time going through datasheets to figure out why this is happening, but have been unsuccessful.
I contacted TI about this issue, and they suggested utilizing a power source that could provide up to 450mA. I connected the 5V/500mA power supply from my Arduino Uno to the system, but that did not change the outcome.
Other potentially important details:
A couple of questions:
Thanks for your time,
gillyman
I am working on a small audio circuit, which, due to size constraints, I want to power with a typical CR2032 coin cell battery (this is also a convenient battery option for replacement). In the current design (see attached image), I am using an ATTINY45 to produce a differential PWM signal from PB3/4, which is then amplified by the TPA2005D1DGN audio amp before going to the speaker.
My issue is that the amp is not actually amplifying the signal going to the speaker. In fact, the speaker is much louder when I connect it directly to the controller. I have spent a lot of time going through datasheets to figure out why this is happening, but have been unsuccessful.
I contacted TI about this issue, and they suggested utilizing a power source that could provide up to 450mA. I connected the 5V/500mA power supply from my Arduino Uno to the system, but that did not change the outcome.
Other potentially important details:
- Amp Input Resistors: 20kohm (recommended minimum is 15k)
- Speaker: 8 ohm, up to 1 W
- The system will be in standby mode most of the time, with the ATTINY and amp in low power (reason for the button). The power drawn from the coin cell will be negligible during this time.
- I need to maximize the volume because this device will be used in a noisy environment. For reference, I would like the output to be capable of a similar volume to current-gen iPhones.
- I am programming the ATTINY with the Arduino IDE.
- Eventually, I want to produce a more complex tone than a square wave, so I don't think a piezo-buzzer is the best option.
A couple of questions:
- Is there something obviously wrong with my circuit design that I am missing?
- Is there a simpler way to achieve my end goal (i.e., loud, simple, energy-efficient, compact speaker)? For example, I was thinking about using a MOSFET with the gate controlled by the ATTINY...
Thanks for your time,
gillyman
Attachments
-
31.2 KB Views: 11