{"id":28145216,"url":"https://github.com/78/xiaozhi-sf32","last_synced_at":"2025-05-14T22:16:57.053Z","repository":{"id":282363569,"uuid":"943711650","full_name":"78/xiaozhi-sf32","owner":"78","description":"Build your own AI friend via Bluetooth by SF32","archived":false,"fork":false,"pushed_at":"2025-05-07T08:35:05.000Z","size":10382,"stargazers_count":26,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T08:37:35.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/78.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-06T06:26:49.000Z","updated_at":"2025-05-07T08:35:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf079458-c777-4a41-9a8d-0319938d8f8a","html_url":"https://github.com/78/xiaozhi-sf32","commit_stats":null,"previous_names":["78/xiaozhi-sf2","78/xiaozhi-sf32"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/78%2Fxiaozhi-sf32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/78%2Fxiaozhi-sf32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/78%2Fxiaozhi-sf32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/78%2Fxiaozhi-sf32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/78","download_url":"https://codeload.github.com/78/xiaozhi-sf32/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235686,"owners_count":22036966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-14T22:14:33.146Z","updated_at":"2025-05-14T22:16:57.028Z","avatar_url":"https://github.com/78.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 小智聊天机器人\n本示例通过互联网连上小智机器人的服务器，实现了一个有语音和显示的聊天机器人，互联网底层基于蓝牙PAN协议。\n\n使用办法：\n1. 需要在手机上启用通过手机蓝牙上网的功能\n2. 将板子开机后连上蓝牙（名称默认为sifli-pan）\n3. 根据屏幕显示，连接小智正常后，通过按下按钮开始跟小智说话，说完后放开按键。\n4. 添加新设备到管理后台：对话时会显示：“请登陆到控制面板添加设备，输入验证码“xxxxxx””\n- 第一步：先创建智能体，确认提交后\n- 第二步：添加新设备，输入提示语中告知6位数字的设备 ID，然后点击“添加设备”按钮，设备添加后将自动激活，并显示在“设备管理”列表页面上,之后重启设备开始对话\n- 后台地址：https://xiaozhi.me\n\n```{note}\n- em-lb525板子测试通过。\n```\n\n## 工具链\n参考[上手指南](https://docs.sifli.com/projects/sdk/v2.3/sf32lb52x/quickstart/get-started.html)安装工具链，本项目支持Keil 5.32及Env自带的GCC编译。\n\n## 获取代码\n因为仓库包含了子模块，请使用`--recursive`参数克隆仓库，参考如下命令：\n```shell\ngit clone --recursive https://github.com/78/xiaozhi-sf2.git\n```\n\n\n## 编译和烧写\n1. 打开env\n1. `cd`到`sdk`目录，执行`set_env`设置编译环境\n1. `cd`到`app\\project`目录，执行`scons --board=em-lb525 -j8`编译项目代码\n1. 编译生成的镜像文件保存在`build-em-lb525_hcpu`目录下，在编译的目录下执行`build_em-lb525_hcpu\\uart_download.bat`烧写镜像文件，具体方法参考[上手指南](https://docs.sifli.com/projects/sdk/v2.3/sf32lb52x/quickstart/get-started.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F78%2Fxiaozhi-sf32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F78%2Fxiaozhi-sf32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F78%2Fxiaozhi-sf32/lists"}