Cov txheej txheem:

Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws: 5 Kauj Ruam (nrog Duab)
Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws: 5 Kauj Ruam (nrog Duab)

Video: Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws: 5 Kauj Ruam (nrog Duab)

Video: Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws: 5 Kauj Ruam (nrog Duab)
Video: maiv npib lau lau lawm 2024, Hlis ntuj nqeg
Anonim
Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws
Kev Kho Kom Zoo Nkauj Tshwj Xeeb Xus - Daim iav Khaub Ncaws

Kuv tau ua daim iav khawv koob raws li kev kho kom zoo nkauj Xus tshwj xeeb. Nws yog qhov nthuav heev. Koj tuaj yeem hais lus dab tsi rau daim iav, txhua lo lus nug lossis yam zais cia me me. Tom qab ib pliag, cov lus teb yuav tshwm rau hauv daim iav. Nws yog khawv koob. hahah….. Cov menyuam nyiam nws heev.

Nws tsis nyuaj. Kuv tau ua nrog Raspberry Pi thiab ReSpeaker 4 Mic Linear Array los ntxiv lub suab sib cuam tshuam rau iav iav. Nws yog qhov ntsuas tau zoo los ua cov haujlwm ntsig txog lub suab. Qhov txuas yog raws li hauv qab no.

tus neeg hais lus-mic

Raspberry Pi wiki

Kuv zoo siab los qhia kuv qhov kev paub rau koj rau qee qhov kev lom zem hauv koj qhov kev lom zem Xus.

Kauj Ruam 1: Kev Npaj Khoom

Kev Npaj Khoom
Kev Npaj Khoom

Khoom siv:

Raspberry Pi 3B

ReSpeaker 4 Mic Linear Array (daim npav suab)

HDMI zaub

ob txoj kev iav

thav duab

SD daim npav

Npaj Mus !!!

Kauj Ruam 2: Tes Ua Tus Kheej

Tes Ua
Tes Ua
Tes Ua
Tes Ua
Tes Ua
Tes Ua

1) Xaiv koj lub vijtsam. Nws tuaj yeem yog tus saib xyuas qub. Tej zaum koj yuav tau pom kuv hais tias tshuaj ntsuam thiab saib xyuas. Tias yog vim li cas koj yuav tsum cais cov saib kom tsuas yog tau lub vijtsam thiab khoom siv hluav taws xob tawm.

2) Ntsuas lub vijtsam thiab khoom siv hluav taws xob, suav nrog qhov ntev, dav, thiab qhov siab.

3) Tsim koj tus ncej. Tej zaum koj yuav xav tau ib co ntoo thiab tshuab los ua ntawm koj tus kheej. Ntseeg kuv. Nws tsis nyuaj thiab koj yuav txaus siab rau txoj haujlwm.

Kauj Ruam 3: Khoos phis tawj thiab PCB txuas thiab sib dhos

Kho vajtse thiab PCB kev sib txuas thiab sib dhos
Kho vajtse thiab PCB kev sib txuas thiab sib dhos
Kho vajtse thiab PCB kev sib txuas thiab sib dhos
Kho vajtse thiab PCB kev sib txuas thiab sib dhos

Yuav ua li cas kom daim iav dav dav dhau los ua ib qho khawv koob? Tam sim no tus yuam sij los. Koj xav tau qee yam khoom siv thiab PCBs. Tsis txhob txhawj. Muaj ntau lub khw peb tuaj yeem yuav lawv.

Kuv siv Raspberry Pi 3B thiab ReSpeaker 4 Mic Linear Array ntxiv rau lub suab sib tham. Raws li siv 4 Mic Linear Array, peb muaj peev xwm txheeb xyuas lub suab Direction of Arrial (DOA) uas tuaj yeem siv los muab qee yam muaj tswv yim ua haujlwm. Peb tuaj yeem siv beamforming txhawm rau txhim kho cov lus qhia tshwj xeeb. Nws yog qhov ntsuas tau zoo los ua cov haujlwm ntsig txog lub suab.

Tam sim no koj yuav tsum txuas lawv ua ke raws li cov lus qhia ua haujlwm. Wiki suav nrog cov lus qhia ib qib zuj zus. Koj tuaj yeem rub tawm nws thiab ua raws nws. Qhov txuas yog raws li hauv qab no.

Respeaker-wiki

Kauj ruam 4: Software Modules

Software Modules
Software Modules

Yog, nws muaj tseeb koj yuav xav tau qee qhov software ua haujlwm kom tau txais cov khawv koob. Txoj haujlwm no yuav yog qee yam txuj ci thiab koj xav tau kev paub. Tab sis tsis txhob tso tseg. Koj xav tau qee qhov kev siv zog kom tau txais cov khawv koob.:)

Kuv muab cov ncauj lus ntxaws ntxaws. Nws tuaj yeem pab koj ib txwm nyob hauv qhov yog.

1) Teeb Raspberry Pi

Rub tawm tus kheej tus duab pi , uas suav nrog daim npav daim npav tsav tsheb thiab qee lub suab cuam tshuam txog pob khoom (Tsis txhob siv cov ntawv me me rau peb xav tau lub desktop ib puag ncig los qhia GUI). Peb tuaj yeem sau daim duab rau SD daim npav nrog rufus (me me tab sis tsuas yog rau lub qhov rais) lossis ether. Yog tias koj tsis muaj cov keyboard ntxiv los nkag thiab teeb tsa Raspberry Pi , koj tuaj yeem teeb tsa WiFi teeb tsa thiab pab kom SSH ua ntej thawj zaug khau raj. Ua li ntawd, Juse ntxiv cov ntaub ntawv npe ssh rau khau raj muab faib ntawm SD daim npav, uas ua rau SSH, thiab tom qab ntawd tsim cov ntaub ntawv npe wpa_supplicant.conf nrog cov ntsiab lus hauv qab no, hloov ssid thiab psk nrog koj li

lub teb chaws = GBctrl_interface = DIR =/var/run/wpa_supplicant GROUP = netdev update_config = 1 network = {ssid = "WiFi SSID" psk = "password"}

Fais fab ntawm koj tus Pi siv Pi's IP lossis raspberry.local (xav tau mDNS kev txhawb nqa , xav tau los nruab Bonjour ntawm Windows) txhawm rau nkag los ntawm ssh (Ntawm Windows, putty yog cov neeg siv ssh yooj yim).

2) Txhim Kho Daim iav

Txhawm rau teeb tsa Magic Mirror software pob (tsuas yog khiav)

Cov lus txib no yuav clone MagicMirror repository los ntawm github rau ~/MagicMirror , teeb tsa node, npm thiab lwm qhov kev cia siab. Tshem lawv yog tias twb tau teeb tsa.

3) Txhim kho Magic iav modules: MMM-Remote-Control thiab MMM-kalliope

cd ~/MagicMirror/modulesgit clone https://github.com/kalliope-project/MMM-kalliope…. git clone https://github.com/kalliope-project/MMM-kalliope…. cd MMM-Remote-Control npm nruab

thiab tom qab ntawd ntxiv kev teeb tsa ntawm MMM-Remote-Control thiab MMM-kalliope rau moddules ntawm ~/MagicMirror/config/config.js

{module: "MMM-kalliope", txoj haujlwm: "upper_third", teeb tsa: {title: "", max: 1}}, {module: 'MMM-Remote-Control' // tsis suav nrog cov kab hauv qab no los qhia qhov URL ntawm cov chaw taws teeb tswj ntawm daim iav //, txoj haujlwm: 'bottom_left' // koj tuaj yeem zais qhov qauv no tom qab los ntawm cov chaw taws teeb tswj nws tus kheej}, rov pib MagicMirror kom pab tau qhov teeb tsa tshiab. Siv cov lus txib hauv qab no los ntsuas seb peb puas tuaj yeem xa xov mus rau MagicMirror curl -H "Cov ntsiab lus -hom: thov/json" -X POST -d '{"ceeb toom": "KALLIOPE", "payload": "kuv cov lus"} 'https:// localhost: 8080/kalliope

4) Kho tus qauv huab cua

Los ntawm lub neej ntawd, huab cua txheej txheem siv OpenWeatherMap suav nrog , peb xav tau sau npe OpenWeatherMap kom tau txais tus lej API thiab sau tus yuam sij rau ~/MagicMirror/config/config.js

5) Teem Google Assistant

Mus rau Kev Taw Qhia rau Google Assistant Library los teeb tsa thiab teeb tsa Google Assistant Library Tom qab tso cai, peb tsuas tuaj yeem ua haujlwm mirror_with_google_assistant.py pib Google Assistant rau Daim iav.

Kauj ruam 5: Npaj! Tham nrog Koj Daim iav

Npaj txhij! Tham nrog Koj Daim iav
Npaj txhij! Tham nrog Koj Daim iav

OK! Yog tias koj tau ua tiav txhua cov theem saum toj no, koj tau txais daim iav ua khawv koob zoo li dai kom zoo nkauj hauv koj qhov kev lom zem Xus. Tam sim no, koj tuaj yeem tham nrog koj daim iav. Cov lus nug twg koj xav paub lossis qee qhov zais cia? Yog tias koj xav qhia koj txoj haujlwm nthuav nrog kuv. Kuv yuav zoo siab heev.

Muaj lus nug ntxiv, tsuas yog teb thiab qhia rau kuv paub.

Pom zoo: