Cov txheej txheem:

Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build: 13 Kauj Ruam
Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build: 13 Kauj Ruam

Video: Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build: 13 Kauj Ruam

Video: Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build: 13 Kauj Ruam
Video: Абонентский терминал GPON NTU 1 от Eltex 2024, Kaum ib hlis
Anonim
Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build
Ntu 1. ThinkBioT Autonomous Bio-acoustic Sensor Hardware Build

ThinkBioT lub hom phiaj los muab cov software thiab khoos phis tawj khoos phis tawj, tsim los ua thev naus laus zis los txhawb nqa kev tshawb fawb ntxiv, los ntawm kev tuav cov ntawv me me ntawm kev khaws cov ntaub ntawv, ua ntej ua tiav, xa cov ntaub ntawv thiab pom kev ua haujlwm ua rau cov kws tshawb fawb tsom mus rau lawv qhov kev faib tawm thiab Bioacoustic metric sau ua haujlwm.

Cov qauv no tseem tab tom txhim kho thiab zoo li no kuv xav kom tos kom txog thaum txhua qhov kev qhia hauv ThinkBioT koob ua tiav.:) Txog rau hnub tim xov xwm khaws qhov muag ntawm ThinkBioT Github ntawm

Kauj Ruam 1: Sau Cov Khoom

Sau cov khoom uas tau teev tseg hauv Daim Ntawv Ntawm Cov Khoom Siv (txuas nrog). Cov khoom siv hluav taws xob tseem ceeb tau teev tseg nrog lawv cov npe khoom lag luam thiab tsis hloov pauv tau, qhov seem suav nrog rooj plaub tuaj yeem hloov pauv rau qhov sib npaug sib xws.

Kauj Ruam 2: Sau Cov cuab yeej xav tau

Txhawm rau ua qhov qauv no thov xyuas kom koj muaj tsawg kawg yog cov cuab yeej hauv qab no;

  • Lub Hwj Huam Laum nrog 24mm qhov pom, thiab yas loj haum me ntsis teeb
  • #1 Phillips taub hau ntswj taub hau
  • Cutters sab (los yog txiab txiab)
  • Pliers me me (rab koob qhov ntswg lossis tus qauv)
  • Tsom iav kev nyab xeeb

Thov nco tseg: Pliers yog nyob ntawm yeem thiab tsuas yog xav tau rau cov neeg siv uas pom cov khoom me me nyuaj rau lis

Kauj Ruam 3: Npaj Cov Ntaub Ntawv

Npaj daim ntawv kaw
Npaj daim ntawv kaw
Npaj daim ntawv kaw
Npaj daim ntawv kaw
Npaj daim ntawv kaw
Npaj daim ntawv kaw
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv

Hnav looj tsom iav kev nyab xeeb, laum qhov rau cov khoom sib txuas hauv qhov thaiv.

Koj yuav xav tau 3 qhov

  1. USB waterproof vaj huam sib luag mount txuas - siv lub qhov pom lossis cov cuab yeej siv me ntsis.
  2. Microphone enclosure - siv lub laum loj
  3. SMA hla dhau qhov txuas (M-M)

Yog tias koj tab tom siv Cov Ntaub Ntawv Evolution 3525 peb pom zoo kom khawb rau hauv lub vaj huam sib luag tiaj tiaj ntawm sab nraud ntawm lub thawv ntawv. Txawm li cas los nws yeej nyob ntawm seb koj npaj siab yuav teeb lub tsev li cas, tsuas yog xyuas kom cov khoom sib txuas nyob hauv qab chav kom tiv thaiv los nag ncaj qha.

Thaum drilled koj tuaj yeem ntxig lub microphone rau sab saum toj thiab txuas SMA thaj cable thiab USB thaj txuas (muab nrog Voltaic V44).

Kauj Ruam 4: Txhim Kho Stretch ntawm Raspberry Pi 3

Nruab Stretch ntawm Raspberry Pi 3
Nruab Stretch ntawm Raspberry Pi 3
Nruab Stretch ntawm Raspberry Pi 3
Nruab Stretch ntawm Raspberry Pi 3
Nruab Stretch ntawm Raspberry Pi 3
Nruab Stretch ntawm Raspberry Pi 3

Ua ntej yuav raug teeb tsa hauv tus qauv Raspberry Pi 3 yuav tsum tau teeb tsa thiab muaj lub kaw lus ua haujlwm. Hauv Raspberry Pi ib lub koos pij tawj khoos phis tawj lub kaw lus ua haujlwm tau khaws cia ntawm daim npav SD tshem tawm.

Kuv siv Samsung Micro SD EVO+ 128GB.

Txhawm rau nruab Stretch rau koj daim npav SD;

  1. Rub tawm Raspbian Stretch los ntawm Raspbian Stretch. Thov nco tseg: ThinkBioT tab tom siv Stretch raws li Coral Edgetpu cov qauv tam sim no tsuas yog ntsuas txog version 1.13.0 ntawm TensorFlow, uas tsis tau sim ntawm Debian Buster.
  2. Xyuas kom koj daim npav SD raug teeb tsa raws li Fat32 raws li phau ntawv qhia no.
  3. Ua raws li ib qho ntawm cov lus qhia hauv qab no (nyob ntawm koj hom kev ua haujlwm) los sau Stretch duab rau koj daim npav SD. Windows, Mac OS or Linux
  4. Xaiv tau, txuas koj lub raspberry HMDI chaw nres nkoj rau lub vijtsam ntawm qhov no.
  5. Ntxig koj daim npav SD hauv lub qhov ntawm raspberry Pi thiab txuas nws lub zog. Thaum pib peb yuav pom zoo siv tus nom Raspberry PSU kom ntseeg tau tias tsis muaj lub zog ceeb toom tshwm sim thaum txhim kho software.

Thov nco tseg: Kuv tau xaiv tag nrho Stretch version) raws li qhov tsis sib xws rau 'Lite' version raws li qhov kev txuas wireless thawj zaug tau yooj yim rau teeb tsa nrog cov duab teeb tsa. Cov yam ntxwv ntxiv yog neeg xiam los ntawm ThinkBiot cov ntawv thaum lub cuab yeej nyob hauv hom haujlwm yog li GUI yuav tsis xav tau lub zog loj dua hauv lub tshav pob.

Kauj Ruam 5: Txuas rau Koj Lub Network WIFI Hauv Zos ntawm SSH

Txuas rau Koj Lub Network WIFI Hauv Zos ntawm SSH
Txuas rau Koj Lub Network WIFI Hauv Zos ntawm SSH
Txuas rau Koj Lub Network WIFI Hauv Zos ntawm SSH
Txuas rau Koj Lub Network WIFI Hauv Zos ntawm SSH

Txhawm rau teeb tsa tus qauv koj yuav tsum muaj peev xwm txuas rau Raspberry Pi los pauv cov lus txib thiab saib cov ntaub ntawv teeb tsa. Thaum xub thawj koj yuav pom nws yooj yim dua los siv cov duab duab sib tham kom txog thaum koj tau txais koj li SSH txuas nrog. Peb yuav pom zoo tias tom qab pib teeb tsa koj txuas ntawm SSH lub davhlau ya nyob twg ncaj qha rau kab hais kom ua, raws li tau hais tseg thaum kawg ntawm kev qhia.

  1. Ua raws li kev qhia ntawm no txhawm rau txuas rau peb Raspberry Pi
  2. Nws kuj tseem pom zoo kom nruab Winscp yog tias koj yog tus siv wndows, vim nws zoo heev

Cov Lus Cim: Nyob ntawm kev ntseeg tau ntawm koj li Wifi peb tau pom nws tsim nyog los txuas los ntawm peb lub xov tooj ntawm tes hotspots. Kev teeb tsa qhov no tseem yuav pab koj sib txuas lus nrog koj chav nyob hauv thaj chaw uas tsis muaj WiFi sab nraud. Tab sis kev saib xyuas yuav tsum tau ua kom koj tsis txhob tshaj koj cov ntaub ntawv txwv!

Kauj Ruam 6: Nruab Witty Pi 2

Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2
Nruab Witty Pi 2

Lub tswv yim Pi ntse tau siv los ua kom lub sijhawm ua haujlwm thaum koj Raspberry Pi tau siv zog ua haujlwm thiab tig nws rau thiab Tawm thaum lub sijhawm ua haujlwm ThinkBioT.

  1. Ua ntej qhib lub davhlau ya nyob twg ntawm koj li SSH kev sib txuas lossis hauv ib cheeb tsam pom qhov Desktop xaiv, rau cov ntaub ntawv qhia yuav ua li cas qhib thiab siv lub davhlau ya nyob twg sib tham thov nyem rau ntawm no.
  2. Ua raws li teeb tsa hauv cov ntaub ntawv Pi ntse.
  3. Nco tseg: thaum nug "Tshem tawm pob cuav-hwclock thiab kaw ntpd daemon? (Pom zoo) [y/n]" teb y. Thaum nug "Koj puas xav teeb tsa Qt 5 rau GUI khiav? [Y/n]" teb n
  4. Thaum lub khoos phis tawj raug teeb tsa tshem tawm Raspberry Pi los ntawm lub zog siv thiab teeb tsa lub rooj tsavxwm ntawm Raspberry Pi yam tsis tau siv cov ntsia hlau.
  5. Txuas lub Raspberry Pi rov qab rau lub zog thiab siv cov lus qhia hauv Wittty Pi cov ntaub ntawv sib qhia lub sijhawm thiab kaw Raspberry Pi. Txhawm rau kaw thiab pib koj tuaj yeem yooj yim nias lub pob Pi ntse los ntawm tam sim no.

Kauj Ruam 7: Mount Cov Txheej Txheem Txheej Txheem hauv Cov Ntaub Ntawv Txhawb Sab Hauv

Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv
Mount System Cheeb Tsam hauv Cov Ntaub Ntawv Txhawb Sab Hauv

Kuv siv qhov pheej yig acrylic Raspberry Pi cov ntaub ntawv los teeb tsa peb cov txheej txheem txheej txheem, koj zoo siab tos txais los hloov qhov kev txiav txim thiab kev teeb tsa. Kuv siv 2.5M kev teeb tsa nruab nrab ntawm txhua txheej kom tso cai rau huab cua thiab siv lub qhov sab hauv los txhawm rau txhim kho cov khoom siv.

  1. Mounting lub raspberry Pi (thiab txuas nrog Witty Pi): Siv cov ntsia hlau & mounts uas tau muab nrog Witty Pi txuas nws mus rau ib qho ntawm cov hauv paus phaj
  2. Mounting Google Coral: Siv 2 x nplaum txuas hlua txuas txuas rau Coral mus rau lub hauv paus phaj ntawm cov hlua txuas raws li cov duab saum toj no
  3. Mounting RockBlock: Ua tib zoo siv ib qho kev tshaj tawm hauv lub rooj sib tham ntawm lub rooj sib txuas ntawm lub qhov thiab lub qhov hauv lub hauv paus phaj, tom qab ntawd ntxiv cov nplaum nplaum txuas rau hauv qab chav tsev thiab txuas hlua kom tsis txhob txav chaw nyob ib puag ncig. TSIS TXHOB hla cov hlua khi kom zoo li koj tuaj yeem ua rau Rockblock puas. Ua kom ntseeg tau tias koj xaiv tus ncej ncej ntawm qhov siab sib xws rau Rockblock so ntawm txoj hlua khi txuas.
  4. Peb pom zoo kom ntsaws rau hauv RockBlock cable ntawm qhov no vim nws tuaj yeem ua tau txawv txawv thaum chav nyob tau muab tso ua ke.
  5. Txiav txhua txoj hlua ntev txuas kom zoo zoo nrog koj sab txiav thaum hnav koj lub tsom iav kev nyab xeeb.
  6. Txuas tus kheej cov ntaub ntawv txheej ua ke nrog cov ntawv tshaj tawm, koj yuav xav tau cov pliers ntawm qhov no nyob ntawm qhov loj ntawm koj txhais tes.
  7. Thov nplaum nplaum rau theem pib ntawm cov ntaub ntawv tiv thaiv tam sim no.
  8. Tsis txhob ntsaws rau hauv RockBlock thiab Google Coral ntawm qhov no.

Kauj Ruam 8: Nruab TensorFlow Lite

1. Qhib lub qhov rai davhlau ya nyob twg tshiab, xws li ntawm Raspberry Pi Desktop lossis ntawm SSH kev txuas thiab nkag mus rau kab lus txib hauv qab no los ntawm kab kom ntseeg tau tias koj Stretch installation tau hloov kho. Thawj kab sau cov hloov tshiab, kab thib ob txhim kho qhov hloov tshiab thiab thib peb rov pib dua raspberry Pi kom rov pib dua tshiab nrog cov ntaub ntawv tshiab.

sudo apt-tau hloov tshiab sudo apt-tau hloov tshiab sudo reboot

2. Tam sim no txhawm rau teeb tsa TensorFlow Lite 1.13.0 nkag mus rau kab lus hauv qab no kab ntawm kab. Dab tsi tshwm sim hauv txoj cai ntu no yog qhov xav tau rau TensorFlow Lite tau teeb tsa, tom qab ntawv ib qho dhau los raug tshem tawm yog tias lawv muaj (txhawm rau zam kev tsis sib haum xeeb) thiab tau npaj ua ntej binary ntawm TensorFlow Lite tau rub tawm los ntawm kuv lub chaw cia khoom thiab teeb tsa.

THOV NCO NTSOOV: Raws li qee qhov ntawm no yog cov ntaub ntawv loj heev nws tuaj yeem siv qee lub sijhawm los teeb tsa thiab xav tau kev sib txuas hauv is taws nem ruaj khov thiab muab lub zog zoo. Kuv pom tias kuv txoj kev txuas xov tooj cua Australian tau ua rau cov txheej txheem cuam tshuam tsis tau yog li yuav tsum siv 4G txuas ntawm kuv lub xov tooj txawb uas ua haujlwm tau zoo.

sudo apt-tau nruab -y libhdf5-dev libc-ares-dev libeigen3-devsudo pip3 nruab keras_applications == 1.0.7-tsis-deps sudo pip3 nruab keras_preprocessing == 1.0.9-tsis-deps sudo pip3 nruab h5py = = 2.9.0 sudo apt-tau nruab -y openmpi-bin libopenmpi-dev sudo apt-tau nruab -y libatlas-base-dev pip3 nruab -U --user rau lub log thuam sudo pip3 tshem tawm tensorflow wget https:// github. com/mefitzgerald/Tensorflow-bin/raw/master/tensorflow-1.13.1-cp35-cp35m-linux_armv7l.whl sudo pip3 nruab tensorflow-1.13.1-cp35-cp35m-linux_armv7l.whl

3. Kuaj koj kev teeb tsa nrog cov ntawv hauv qab no, yooj yim ntaus nab hab sej3 (hauv lub davhlau ya nyob twg) kom pib ua kom nab nab sai sai (qhia los ntawm >>>). Tom qab ntawd koj ntshuam TensorFlow (yog li koj tuaj yeem siv nws txoj hauv kev) thiab siv cov txheej txheem version uas nws rov ua tus lej version yog tias koj kev teeb tsa tau ua tiav, tom qab ntawd koj siv tawm () kaw qhov nab npawb sai.

nab hab sej 3

>> ntshuam tensorflow >>> tensorflow._ version_ 1.13.0 >>> tawm ()

Kauj Ruam 9: Nruab Google Coral Edge TPU

Google coral yuav siv rau kev hais qhia thaum lub sijhawm ua haujlwm cais thiab xav tau teeb tsa nrog nws tus kheej firmware. Zoo ib yam rau Tensorflow teeb tsa qhov no xav tau kev nyab xeeb rub tawm ib puag ncig yog li rov ua koj li kev sib txuas hauv network los ntawm cov kauj ruam dhau los.

  1. Tsis txhob ntsaws rau hauv Google Coral usb tsis tau, qhib lub davhlau ya nyob twg (ib qho hauv zos ntawm raspberry Pi desktop lossis ntawm SSH).
  2. Ua raws cov lus qhia ntawm https://coral.withgoogle.com/docs/accelerator/get-started/#set-up-on-linux-or-raspberry-pi txhawm rau nruab thiab sim Google Coral firmware.

Kauj ruam 10: Nruab ThinkBioT

Image
Image

1. Qhib lub davhlau ya nyob twg windows hauv zos ntawm koj lub Raspberry Pi desktop lossis ntawm SSH.

2. Nkag mus rau kab kab hauv qab no txhawm rau rub tawm ThinkBioT Installation script.

sudo wget -O installThinkBioT.sh https://github.com/mefitzgerald/ThinkBioT/raw/master/installThinkBioT.sh"

3. Tam sim no nkag mus rau cov cai hauv qab no txhawm rau pib teeb tsa.

sudo sh installThinkBioT.sh

4. Thaum qhov kev teeb tsa ua tiav thov nkag mus rau hauv qab no kom rov pib dua koj li Raspberry Pi

sudo rov pib dua

5. Tam sim no thaum koj nkag mus rau raspberry Pi koj yuav tsum muaj cov ntaub ntawv tshiab hauv koj cov ntawv qhia zaub mov hauv tsev, uas yog koj cov ntaub ntawv npe hu ua tbt_database thiab 2 phau ntawv teev npe tshiab, ThinkBioT phau ntawv teev npe muaj tag nrho cov ntawv ThinkBioT thiab cov npe pyrockblock muaj cov tsev qiv ntawv rockblock..

Kauj Ruam 11: Ua tiav Kev Tsim Kho

Ua tiav Kev Tsim Kho
Ua tiav Kev Tsim Kho

Tam sim no peb nyob ntawm theem khoos phis tawj tiav, qhov kev teeb tsa lub cev tiag tiag ntawm koj lub cuab yeej yog nyob ntawm koj lub thawv ntawv txawm li cas los xij txoj hauv kev yooj yim kom ua tiav txoj haujlwm yog hauv qab no;

  1. Siv cov nplaum nplaum thiab lub voj npog lub txhab nyiaj hluav taws xob thiab lub hauv paus koj li raspberry pi enclosure. Txhawm rau kom nws kab kuv pom nws zoo tshaj kom haum rau ob qho tib si nuv thiab voj rau saum npoo (yog li ib txheej nplaum tau txuas rau lub roj teeb piv txwv li thiab cov nqes thiab cov voj txheej tau sib tsoo ib leeg nrog cov txheej nplaum zaum kawg) nias tag nrho ntau rau sab hauv rooj plaub sab hauv.
  2. Tam sim no koj yuav tsum muaj ob rooj plaub nrog raspberry pi, RockBlock thiab Google Coral thiab lub txhab nyiaj txuas nrog hauv koj lub ThinkBioT enclosure. Tam sim no yooj yim txiav nqes thiab voj thiab rov ua qhov kev txiav txim rau SoundBlaster Play 3 !.
  3. Tidy cables, Kuv tau siv cov nplaum txuas txuas txuas ntxiv kom kuv tuaj yeem ua cov hlua zoo nrog cov hlua txuas.
  4. Tsis ntsaws lub roj teeb rau hauv qhov ntse Pi lub qhov (socket).
  5. Ua tib zoo txuas SMA cable rau SMA txuas ntawm pob zeb thaiv.
  6. Ntsaws lub primo microphone rau hauv SoundBlaster Play 3!
  7. Koj tseem tuaj yeem ntsaws Rockblock rau hauv raspberry Pi, tab sis nws yooj yim dua kom nws tsis txuas mus txog thaum koj paub txog kev ua haujlwm ntawm lub kaw lus.

Kauj Ruam 12: Dej Tsis Raug Koj Li Bioacoustic Sensor

Waterproof Koj Bioacoustic Sensor
Waterproof Koj Bioacoustic Sensor
Waterproof Koj Bioacoustic Sensor
Waterproof Koj Bioacoustic Sensor

Nyob ntawm qhov chaw koj npaj siab siv koj lub cuab yeej koj yuav xav tau kev tiv thaiv dej.

Kuv tau siv suab thaj los kaw ib puag ncig cov chaw nres nkoj hauv qhov thaiv thiab qhov txuas ntawm lub hnub ci vaj huam sib luag raws li daim duab, tab sis koj tuaj yeem pom cov tshuaj silicon lossis qib seal sealant/silicon ua haujlwm ib yam nkaus. Kuv xaiv cov kua nplaum uas muaj peev xwm ua tau raws li kuv tsis xav tau ib qho los rau hauv cov pob qij txha thiab muaj peev xwm ua rau qhib kev sib txuas.

Kauj Ruam 13: Siv Koj Li Bioacoustic Sensor

Tam sim no koj tau ua tiav koj lub khoos phis tawj tsim software thiab siv tau npog hauv cov lus qhia hauv qab no;

Ntu 2. Tensorflow Lite Ntug Qauv rau ThinkBioT

www.instructables.com/id/ThinkBioT-Model-With-Google-AutoML/

Ntu 3. Ua Haujlwm ThinkBioT

tbc ua

Pom zoo: