AiPi-PalChatV1 是一款接入了小智AI智能體的微型語音交互開發板,專為輕量級智能語音場景設計。
基于安信可 Ai-WB2-12F 模組主控,具備高集成度、高性價比等特性,支持離線語音喚醒與語音打斷功能,結合2W/8Ω 揚聲器與雙供電模式(Type-C + 電池),適用于快速部署語音交互能力的硬件創新場景。
Linux 平臺
請根據以下步驟逐步操作。
環境安裝
sudo apt-get install git gcc make python3 python3-pip
克隆倉庫
git clone https://gitee.com/Ai-Thinker-Open/xiaoan-ai_wb2.git
克隆完成實例
運行環境安裝腳本
進入SDK
cd xiaoan-ai_wb2
運行腳本
./prebuild-check.sh
成功示例
編譯測試
make -j
編譯成功示例
Windows 平臺
推薦使用WSL(Windows下的Linux 子系統)進行開發
安裝Linxu 子系統
使用 以管理員身份運行 PowerShell。在 PowerShell 下方指令安裝Linux 子系統:
wsl --install
成功示例:
重啟電腦(記得保存資料)
安裝Ubtuntu20.04
按住 shift+鼠標右鍵 重新打開 PowerShell,運行下發指令安裝 Ubutun20.04:
wsl --install -d Ubuntu-20.04
示例:
根據提示新建用戶名和密碼即可
VSCode 安裝WSL 集成
在VSCode 集成中搜索 WSL,并且安裝:
VSCode 打開WSL
在VSCode 的搜索欄輸入:>WSL 選擇 WSL:連接到WSL
在首次連接WSL時,會下載 VSCode 服務器,要保持電腦網路正常
連接成功示例
更換軟件源
用 終端使用下方指令:
sudo vi /etc/apt/sources.list
把內容全部替換為下方的源地址:
清華源
# 默認注釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消注釋
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse #
以下安全更新軟件源包含了官方源與鏡像站配置,如有需要可自行修改注釋切換
deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse # deb-src http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
阿里源
deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse # deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse # deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
中科大源
# 默認注釋了源碼倉庫,如有需要可自行取消注釋
deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse # deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
示例(阿里源)
更新源
sudo apt update
升級源
sudo apt upgrade
安裝開發依賴
sudo apt-get install git gcc make python3 python3-pip
審核編輯 黃宇
-
AI
+關注
關注
87文章
34146瀏覽量
275276 -
開發板
+關注
關注
25文章
5499瀏覽量
102080
發布評論請先 登錄
CAXA2011二次開發,CRX; CAX2007二次開發
AutoCAD的二次開發
ANSYS的二次開發技術
基于VC的Cadence二次開發

可支持快速二次開發的zigbee核心板
對功率計進行二次開發
SOLIDWORKS二次開發應用范圍與實例
上線!國產AI語音開發板,定制你的聊天伙伴助手,可直接調用DeepSeek/豆包/通義千問

評論