Cov txheej txheem:

Alias Project: 5 Kauj Ruam (nrog Duab)
Alias Project: 5 Kauj Ruam (nrog Duab)

Video: Alias Project: 5 Kauj Ruam (nrog Duab)

Video: Alias Project: 5 Kauj Ruam (nrog Duab)
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim

Alias yog cov lus qhia "kab mob" uas tau tsim los muab rau cov neeg siv tswj hwm lawv cov pab cuam ntse, ob qho tib si thaum nws los txog rau kev hloov kho thiab tsis pub lwm tus paub. Los ntawm qhov yooj yim app tus neeg siv tuaj yeem cob qhia Alias kom ua raws li kev cai tsim-lo lus/suab, thiab thaum kawm tiav, Alias tuaj yeem tswj hwm koj tus pabcuam hauv tsev los ntawm kev qhib nws rau koj. txhawm rau ua tiav koj tus kheej Alias thiab pib qhia qhov tshiab-sawv-lo lus rau koj lub cuab yeej ntse.

Kauj Ruam 1: Cov Cai thiab Cov Khoom

Yuav tsum muaj thiab Khoom siv
Yuav tsum muaj thiab Khoom siv
Yuav tsum muaj thiab Khoom siv
Yuav tsum muaj thiab Khoom siv

Cov khoom siv tseem ceeb siv hauv kev tsim no yog:

  • 1x Raspberry Pi3 A+
  • 1x Raspberry Pi charger 5v (dawb)
  • 1x ReSpeaker 2-Mics Pi HAT
  • 2x Me Me Hais Lus 16mm, piv txwv
  • 4x ntoo ntoo me me (kwv yees li 2 x 10mm)
  • Micro SD daim npav
  • Hlau
  • JST 2.0 txuas lossis qub Jack cable

Cov cuab yeej xav tau rau txoj haujlwm no yog:

  • Nkag mus rau lub tshuab luam ntawv 3d
  • Soldering hlau
  • Hlau stripper
  • Ntsia Hlau
  • Ib txoj hauv kev kom nyem micro SD daim npav ntawm koj lub computer

Nco tseg: txoj haujlwm no tsuas tau sim nrog cov khoom no.

Kauj Ruam 2: 3D Luam Ntawv Plhaub

3D Printing Lub Plhaub
3D Printing Lub Plhaub
3D Printing Lub Plhaub
3D Printing Lub Plhaub

Rau cov kauj ruam no, peb yuav 3D luam tawm lub plhaub

Txog tam sim no, peb tau muab 2 txoj kev xaiv:

  • Google Tsev (thawj)
  • Amazon Echo

1. Luam lub plhaub thiab tus tuav lub hais lus hauv ib qho xim ntawm lub tshuab luam ntawv 3D. Vim yog lub mesh hauv qhov khoom, nws yog ib qho tseem ceeb kom khaws cov khoom txhawb nqa yam tsawg. Peb muaj qhov txiaj ntsig zoo tshaj plaws luam tawm ntawm nws sab nraub qaum. (Saib daim duab)

2. Siv cov ntawv xuab zeb los muab lub plhaub kom zoo thiab du. (xaiv tau muab nws da dej acetone)

Kauj Ruam 3: Teeb thiab Sib dhos

Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos
Teeb thiab Sib dhos

Ua ntej sib sau ua tus Alias peb xav tau txuas tus neeg hais lus rau ReSpeaker lub suab npog thiab lub zog xa mus rau Raspberry Pi

1. Cov hais lus xov hlau tau muab tshem tawm thiab muab txuas rau ntawm JST 2.0 txuas lossis ib qho qub Jack cable. Cov neeg hais lus thiab cov xov txuas rau hauv lub tshuab luam ntawv 3D luam tawm. (Saib daim duab saum toj no). Nco tseg: Peb tau pom tias cov xov hlau tuaj yeem ua rau Google Tsev thaum muab tso rau hauv nruab nrab. Yog li kom tau txais txiaj ntsig zoo dua hauv Google Tsev sim ua kom cov xov hlau nyob ntawm ob sab.

2. Ntxiv mus, peb yuav tsum tau muab 5V rau Raspberry Pi. Txij li tsis muaj qhov chaw ntau sab hauv lub plhaub, peb txiav txim siab muab lub vuam 5V thiab hauv av rau GPIO pins ncaj qha. Koj tuaj yeem sim nrog lub kaum ntse ntse lossis hloov kho micro USB cable. Muaj qhov me me nyob hauv lub plhaub txhawm rau txhawm rau xaim tawm. Nyob ntawm koj cov xov hlau qee qhov yuav tsum tau ua.

3. Mount tus hais lus tuav thiab Raspberry Pi mus rau daim ntaub thaiv nrog 4 tus ntoo me me ntsia hlau. (Nyuaj nrawm los tiv thaiv 3D luam ntawv kom tawg)

4. Muab Alias sib dhos tso rau hauv koj lub cuab yeej. Yog tias qhov haum tsis du muab sab hauv ib co ntawv txhuam hniav. Nws yog ib qho tseem ceeb kom ua raws cov hais lus nrog lub microphones ntawm koj lub cuab yeej.

Kauj ruam 4: Software

Hauv theem no, peb yuav ntxiv cov software rau Raspberry Pi

Thov ua raws cov theem ntawm cov phiaj xwm GitHub nplooj ntawv. Qhov chaws tau teeb tsa los siv nrog Google Tsev los ntawm lub neej ntawd. Yog tias koj npaj yuav siv nws ntawm Amazon Echo thov hloov kab 21 hauv app.py los siv alexa.wav cov ntaub ntawv. Amazon: sound.audioPlayer ("data/alexa.wav", 0, "wakeup", Cuav)

Google Tsev: sound.audioPlayer ("data/google_home.wav", 0, "wakeup", Cuav)

Kauj Ruam 5: Qhia thiab ntsuas

Qhia thiab Calibrate
Qhia thiab Calibrate

Hauv cov kauj ruam no, peb yuav qhia Alias nrog cov lus uas tsim los.

1. Txhawm rau qhia Alias, siv qhov browser ntawm koj lub xov tooj thiab qhib raspberrypi.local: 5050

2. Tuav khawm kaw thaum hais lub npe tshiab txog 4-6 zaug. Ib qho me me yuav tsum qhia txog 2 vib nas this kaw lub qhov rais. Txhua lub npe yuav tsum haum rau lub sijhawm no.

3. Hauv qab cov ntawv qhia zaub mov, nyem Qhia Alias thiab tos ob peb feeb rau tus qauv kom kawm lub npe. Lub npe no tsis tas yuav yog lo lus tab sis tuaj yeem yog lub suab thiab txhua yam lus. Yog li yuav tsum muaj tswv yim! Koj tuaj yeem rov pib dua koj lub npe ntawm cov ntawv qhia zaub mov. Tswv yim: nws pab sau lub npe los ntawm ntau qhov chaw hauv koj lub tsev.

4. Sim nws! Hais lub npe thiab nug koj cov lus nug ib zaug koj pom lub teeb xiav ntawm lub cuab yeej lossis hauv koj lub xov tooj. Nco tseg: thaum kawm tiav tsis tas yuav muaj xov tooj txuas ntxiv lawm. Yog tias koj pom Alias tsis teb raug, sim qhia qee qhov piv txwv ntxiv. Lossis yog tias koj pom Alias ua rau ntau zaus, koj tuaj yeem mus rau cov ntawv qhia zaub mov thiab qhib lub suab tom qab. Qhov no toggles hom keeb kwm yav dhau thiab ntxiv ib qho tshiab kaw rau yav dhau los piv txwv. Sau thiab cob qhia ib yam li ua ntej, tab sis sim ntes lub suab tshwj xeeb hauv koj ib puag ncig lossis txawm tias cov lus uas zoo ib yam li koj lub npe xaiv.

Kev Nyab Xeeb thiab Kev Ruaj Ntseg
Kev Nyab Xeeb thiab Kev Ruaj Ntseg
Kev Nyab Xeeb thiab Kev Ruaj Ntseg
Kev Nyab Xeeb thiab Kev Ruaj Ntseg

Qhov khoom plig thib ob hauv Kev Nyab Xeeb thiab Kev Ruaj Ntseg

Pom zoo: