ESP32播放网络音乐与麦克风接收

本文使用esp32结合MAX98357音频放大器模块播放网络音乐,同时用INMP441模块作为语音输入进行测试

第一部分:播放网络音乐

需要用到esp32开发板、 MAX98357模块、喇叭、连接线

一、准备工作

  • 库安装

1,首先到GITHUB下载「ESP32-audioI2S」
        https://github.com/schreibfaul1/ESP32-audioI2S/
2,解压。
3,把解压的文件放进Arduino IDE的libraries文件夹
  • 接线 

MAX98357与单片机接线如下:

VIN ---------- 5V

GND----------GND

DIN------------25

BCLK----------27

LRC------------26

这里注意esp32开发板在arduino框架下,34 35 36 39 脚只能作为输入,将他们作为输出引脚会报错

接下来将喇叭正负极接到放大模块对应位置

二、软件部分

### STM32CubeMX Version 6.10.0 Download and Information For obtaining the specific version of STM32CubeMX, such as version 6.10.0, one should visit STMicroelectronics' official website or repository dedicated to software releases. The latest versions are typically available on the homepage; however, for older but specified versions like 6.10.0, navigating through the archive section might be necessary[^1]. Once at the site: - Search for "STM32CubeMX". - Navigate towards the downloads area. - Look specifically for archived versions where users can find a list of all released versions including detailed release notes that outline changes, improvements, bug fixes, etc., which is crucial when targeting an exact version number. Regarding installation after downloading, it follows standard procedures applicable across various operating systems. For integrating with development environments like MDK, ensuring corresponding device packs are installed remains critical. Device selection within tools like CubeMX requires having these packs because they provide support files needed by both IDEs (Integrated Development Environments) and configuration utilities alike[^2]. ```bash # Example command line instruction to check current version post-installation may vary based on OS stm32cubemx --version ``` --related questions-- 1. How does installing different device pack versions affect project compatibility? 2. What new features were introduced in STM32CubeMX from V4.17.0 to V6.10.0? 3. Can projects created in earlier versions of STM32CubeMX open seamlessly in later versions without issues? 4. Where can developers access comprehensive documentation about each STM32CubeMX update? 5. Is there any significant difference between using STM32CubeMX online versus offline modes?
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值