The audio player based on STM32F103 microcontroller can support multiple music formats and supports the lossless format Flac. Music songs are stored in the TF card, but please note that only memory cards with FAT32 partitions are supported, and the font files must be placed under the root directory of the memory card. It is powered by a large-capacity lithium battery and has a TP4056 lithium battery charging IC integrated on the board, which can play nearly 10 hours of low-bitrate audio in mp3 format. The main control chip is STM32f103RCT6 and uses the hardware decoding chip VS1053.
Charging input voltage: Typical value is 5.0V, cannot exceed 5.5V Lithium battery capacity: 1500mAh, fully charged can play continuously for about 10 hours Charging input: TYPE-C interface inputs 5V voltage for charging, you can directly use ordinary mobile phone charging heads , the maximum charging current is 1A. If the heating is serious during charging, the charging current can be reduced by setting the sampling resistor of TP4056. Charging time: about 1.5 hours
Supported music formats: support MP3, WMA and lossless FLAC format music storage device: support SD card (note FAT32 partition), maximum support 16G Optional sound effects: enhanced, treble, normal, bass, surround playback mode: sequential playback, single playback , all loop play, single loop play other functions: browse sd card files, one-click power on and off, battery display, normal shutdown can keep the current settings, automatic shutdown when the battery is low, support song switching, fast forward, fast rewind, pause
1.Flowchart
The display page has a total of 4 pages. After starting up, you can mainly switch between these four pages: startup page, setting parameter page (no effect, for decoration), browsing file page, and playing song page. On any page, you can press and hold the function switch/power off button for about 2 seconds to shut down. The function switching key, function - key, and function + key are only available when playing the song page. Note: The volume button is set on the side and uses SMD side-mounted buttons. If it is found to be upside down, it can be changed by the program.
Short press or long press the previous song button and next song button to browse files, short press the play/stop button to enter the song play page or continue browsing the next layer of folders.
On the song play page, short press the previous song LAST or next song NEXT button to play the previous song or next song, and long press the previous song or next song button to fast forward and rewind. Short press the function switch/power off button to switch between the three functions of mode, sound effects and volume.
Due to circuit problems before, revisions were made, and this issue is the third revision. The bare board is very inconvenient to use, and the appearance is not good-looking, so I made a shell, which is 3D printed.
Since it uses a state machine and does not run the system, the program is relatively complicated. For specific details, please refer to the operation process mentioned earlier. If you need a program, you can download the attachment for extraction. At the same time, the attachment contains Chinese font files. For font installation instructions, see readme.txt . Note: The reserved program burning interface is SWD, which does not support serial port burning.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet