DCB5d

[Mini Project] STM32 Electronic Keyboard and Bluetooth Music Player

 
Overview

This work is a modified version of an open-source project by a master programmer, and some issues remain, as mentioned in the attached "Introduction." However, it is sufficient for a microcontroller course project or learning project. The original
open-source project link
begins with the TPA3116 power amplifier circuit, the core component, which connects to the speakers for sound output.
The power supply section
contains some miscellaneous components; these are mainly for connecting to the 32-bit chip.
The Bluetooth module, audio acquisition module, and TFT screen can be purchased from Taobao. The Bluetooth module has a built-in song switching function; simply connect it according to the resistor values. The audio module outputs analog signals, which need to be converted using the ADC pin of the 32-bit chip. The TFT uses hardware SPI, so find the correct SPI pin on the 32-bit chip (configure directly using CubeMX).
Next is the 32RCT6. The reason for choosing this chip is its fewer pins for easier soldering, and because a DAC function is required. The RCT6 chip was selected based on the table below.
Remember the components you learned before? Connect them to the pins (the pin positions are your choice; details will be explained in the CubeMX configuration
section later). I won't go into detail about the software; interested readers can download the attached "Introduction" and code package and refer to them.
Component purchase instructions:
Surface mount components are mostly 0603 packages. Use two resistors to divide the voltage to obtain 6V. I chose 0805 packages; you can choose to solder either 0805 or 0603.
For the RCT6 chip, TFT screen, MH-M18 Bluetooth module, and MAX9814 audio acquisition module, just find stores with high sales volume on Taobao.
The C1 and C5 capacitors are CBB packages; if you don't want to buy them separately, you can use ordinary capacitors.
I bought a six-pin 50k rotary potentiometer.
Finally, thanks to everyone who shared their learning experience in open source. I learned a lot during the process. Although the result isn't perfect, it's sufficient for a microcontroller course project.
It's less of a project and more of a review of my learning experience, haha ​​(a little self-deprecation).
There are two versions! The second version is based on the problems in the first version, so just treat the first version as a joke.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 21:06:44

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号