求推荐廉价STM32输出wav音频方案

2019-12-09 20:04发布

我要做的东西只需要能播放存在Flash或者直接在MCU里软件生成的,非常简单而且时间短的声音,比如虫子叫动物叫等,声音效果不需要很好(单声道,驱动0.5瓦扬声器即可)
我个人想法:
1. STM32直接DAC外接功放,但不知道带DAC的STM32最便宜的是哪个型号,功放芯片什么合适(一个小功率单声道功放即可),8002行不行
2. 带I2S的STM32,直接接音频芯片,但我估计这个方式成本太高,而我不需要MP3解码
存储我打算先看STM32的flash够不够,不够再加SPI Flash。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
47条回答
Divingbear
1楼-- · 2019-12-14 08:27
本帖最后由 Divingbear 于 2016-6-2 18:08 编辑

BTL (bridge-tied load) — an output configuration for power amplifiers, used mainly in audio applications.
The load (for example, a speaker) is connected between two amplifier outputs, bridging the two output
terminals. This can double the voltage swing at the load (compared with SE amplifier operation) if the
outputs are driven in opposite phases.
SE (single-ended) — signaling that is the simplest method of transmitting electrical signals over wires.
One wire carries a varying voltage that represents the signal, while the other wire is connected to a
reference voltage, usually ground. The alternative to single-ended output configuration is the bridge-tied
load (BTL) configuration. SE signaling is less expensive to implement; however the signal cannot be
transmitted over long distances or quickly, it has poorer low-frequency response, and a smaller voltage
swing (compared to the BTL amplifier operation).
达克罗德
2楼-- · 2019-12-14 12:06
TDA2822可以做成BTL模式,不知道8002A是否也是同样的工作模式
谁知道TDA2822和8002A哪个适合我的情况?

我昨天买了个LM386模块。效果不太理想而且需要5V供电
appleboy
3楼-- · 2019-12-14 15:07
M0有很多选择,M0的外设比M3做的好
appleboy
4楼-- · 2019-12-14 20:03
 精彩回答 2  元偷偷看……
达克罗德
5楼-- · 2019-12-14 20:27
appleboy 发表于 2016-6-3 12:06
1,换低内阻的喇叭
2,试试2路PWM同时推,需要OD

内阻是8欧
我试过互补PWM,不过不是OD, OD的话必须要接外部上拉吧?那和我直接内部上拉有什么区别?

PS,我看了下tb的音乐芯片,支持PWM的,发现它的电流高达100mA,也许这是为什么STM32不行的原因,STM32太低了,看来我如果一定要用PWM的话,就必须用三极管加大功率了
appleboy
6楼-- · 2019-12-14 22:22
达克罗德 发表于 2016-6-3 12:12
内阻是8欧
我试过互补PWM,不过不是OD, OD的话必须要接外部上拉吧?那和我直接内部上拉有什么区别?

我意思你两路PWM同步驱动,并联关系,为了提高驱动能力,但是有风险,所以要OD,不过太难了,还需要互补桥式,算是个馊主意,还是加驱动吧

一周热门 更多>