当前位置:网站首页>How to burn the KT148A voice chip into the chip through the serial port and the tools on the computer
How to burn the KT148A voice chip into the chip through the serial port and the tools on the computer
2022-08-04 23:38:00 【Qingyue Electronics】
1.0 KT148A programming principle introduction
KT148A voice chip how to burn voice into the chip, need to use serial port and computer tools here
The required tools are as follows:
- PC-side audio compression software---we provide---the purpose is to convert specific mp3 or wav audio files into files that KT148A can recognize
- USB to TTL serial port tool---recommended to use CH340G USB to TTL module---very versatile and easy to use on the market
- PC-side download tool software---we provide---the purpose is to download the voice file into the chip
1.1 Step 1 - Generate Audio File
1. This can generate mp3 or wav files by TTS synthesis software.You can also find live recordings, etc.
2. After obtaining these audio files, you can listen to the effect yourself
3. The effect of the audio must be completed in this step, including, trimming, removing the head and tail, adjusting the volume, etc.
1.2 Step 2 - Convert Audio Files
1. Use the tool software provided by us, the format can only choose F1A, and no other format can be selected, otherwise the converted file cannot be played
2, the sampling rate and code rate, you can choose flexibly, generally recommend "sampling rate 16K", code rate 6K, the effect isvery good
If space allows, feel free.If there are more voices, it is recommended to use "sampling rate 8K, bit rate 8K"
3. Add files, select the output directory, and finally click Convert
- He will generate the original audio file into a file in xxx.f1a format, note that this file cannot be played on the computer, it can only be downloaded to the chip to decode and play
1.3 Step 3--Download audio using serial download tool
1. Be sure to short-circuit pin 5 of the chip to the ground before powering it on. When you hear a "beep" from the speaker, release it.
2. At this time, the chip will automatically enter the download state.CH340G USB to TTL module is recommended
3. Connect the serial port module to the computer. The TX of USB to TTL is connected to pin 2 of the chip, and the RX of USB to TTL is connected to pin 3 of the chip.Then together.
4. Click on the upper computer, open the serial port, the baud rate is fixed at 115200, select the import file, and then click "Download All", wait for the completion5. Note that after the download is complete, you can use the chip's pin 4 to trigger it to listen to the downloaded sound file
1.4 The complete test environment is as follows
Here is also the test board using the KT148A chip
Plus CH340G usb to ttl module
This builds a minimal system for testing
边栏推荐
猜你喜欢
Basic web in PLSQL
直接插入排序
App测试和Web测试的区别
Xiaohei's leetcode journey: 95. Longest substring with at least K repeating characters
OpenCV:10特征检测
MySQL基础篇【子查询】
安全软件 Avast 与赛门铁克诺顿 NortonLifeLock 合并案获英国批准,市值暴涨 43%
[Happy Qixi Festival] How does Nacos realize the service registration function?
Ab3d.PowerToys and Ab3d.DXEngine Crack
Vscode连接远程服务器(一套配置成功)
随机推荐
[Cultivation of internal skills of string functions] strcpy + strcat + strcmp (1)
Controller层代码这么写,简洁又优雅!
深度|医疗行业勒索病毒防治解决方案
上课笔记(6)(2)——#742. 周末舞会
DNS常见资源记录类型详解
社区分享|腾讯海外游戏基于JumpServer构建游戏安全运营能力
kernel hung_task死锁检测机制原理实现
4 - "PyTorch Deep Learning Practice" - Backpropagation
对“为什么一些程序员很傲慢”的解读
NebulaGraph v3.2.0 Release Note, many optimizations such as the performance of querying the shortest path
加解密在线工具和进制转化在线工具
【无标题】线程三连鞭之“线程池”
三、实战---爬取百度指定词条所对应的结果页面(一个简单的页面采集器)
情人节---快来学习一下程序员的专属浪漫吧
Basic web in PLSQL
Laravel 实现redis分布式锁
基于Appian低代码平台开发一个SpaceX网站
使用代理对象执行实现类目标方法异常
4-《PyTorch深度学习实践》-反向传播
怎么将自己新文章自动推送给自己的粉丝(巨简单,学不会来打我)