当前位置:网站首页>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
边栏推荐
- ClickHouse 二级索引
- 4-《PyTorch深度学习实践》-反向传播
- 深度|医疗行业勒索病毒防治解决方案
- I was rejected by the leader for a salary increase, and my anger rose by 9.5K after switching jobs. This is my mental journey
- d枚举生成位
- 游戏3D建模入门,有哪些建模软件可以选择?
- Day118.尚医通:订单列表、详情、支付
- 容联云发送短信验证码
- 【CVA估值训练营】财务建模指南——第一讲
- The role of the annotation @ EnableAutoConfiguration and how to use
猜你喜欢
随机推荐
App测试和Web测试的区别
Flutter启动流程(Skia引擎)介绍与使用
小黑leetcode冲浪:94. 二叉树的中序遍历
学生管理系统架构设计
NebulaGraph v3.2.0 Release Note,对查询最短路径的性能等多处优化
未上市就“一举成名”,空间媲美途昂,安全、舒适一个不落
没有这些「伪需求」,产品经理的 KPI 怎么完成?
uniapp 分享功能-分享给朋友群聊朋友圈效果(整理)
#yyds干货盘点#交换设备丢包严重的故障处理
中日颜色风格
The role of @ Import annotations as well as how to use
407. 接雨水 II
Service Mesh landing path
招标公告 | 海纳百创公众号运维项目
使用OpenCV实现一个文档自动扫描仪
PID Controller Improvement Notes No. 7: Improve the anti-overshoot setting of the PID controller
学会反射后,我被录取了(干货)
安全软件 Avast 与赛门铁克诺顿 NortonLifeLock 合并案获英国批准,市值暴涨 43%
【SSR服务端渲染+CSR客户端渲染+post请求+get请求+总结】
The role of the annotation @ EnableAutoConfiguration and how to use





![[Cultivation of internal skills of string functions] strlen + strstr + strtok + strerror (3)](/img/96/946bbef52bd017ac6142c6b7485a86.png)



