Cov txheej txheem:

ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)

Video: ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)

Video: ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
Video: 3 nqee lus nug tseem ceeb rau tu kheej, yuav ua cas thiaj paub pom sij hawm muaj nqis?(3 QS ask you) 2024, Kaum ib hlis
Anonim
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tsis Muaj Tus Nqi/Tus Kheej Ntiag Tug (ARU) rau Soundscape Ecologists
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tsis Muaj Tus Nqi/Tus Kheej Ntiag Tug (ARU) rau Soundscape Ecologists

Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed in the School of Computing, University of Kent (Mr Daniel Knox tau pab zoo!).

Nws yuav qhia koj yuav ua li cas thiaj tsim tau Lub Tshuab Sau Lub Suab Tsis Zoo rau tsawg dua £ 150. Koj tuaj yeem siv chav no los tshawb fawb hauv thaj tsam ntawm Soundscape Ecology (uas yog vim li cas kuv thiaj tsim qhov no). Koj tuaj yeem siv nws los tshuaj xyuas cov noog hauv koj lub vaj lossis tsuas yog ua kom kaw cov nkauj zoo ntawm kev hu nkauj thaum sawv ntxov, yam tsis tau sawv ntxov ntxov tiag.

ARUPi (Cov Ntawv Sau Tsis Siv Neeg Pi) siv Raspberry Pi lub khoos phis tawj thiab Arduino-based lub hwj chim tswj hwm pawg hu ua Sleepy Pi. Nws yog qhov tuaj yeem tsim kho tau thiab koj yuav tuaj yeem ntxiv cov ntsuas ib puag ncig sib txawv rau cov chav yog tias koj xav tau (tsis piav qhia ntawm no). Cov lus qhia no yuav muab rau koj ib leeg pob txha. Kuv yuav muab koj nrog Arch Linux operating system (OS) uas tau hle tawm thiab muaj cov program kaw cia ua ntej ntawm nws.

Tej zaum koj yuav tsum tau ua qee yam (yooj yim heev) yog li npaj rau qhov no, tab sis nws muaj peev xwm tsim cov khoom no yam tsis siv tshuaj yog tias koj tsis yog tus tswv lossis tsis tuaj yeem them taus cov hlau txuas (ca. £ 10). Kuv yuav faib cov lus qhia no ua ob peb kauj ruam. Thawj ## cov kauj ruam yuav cuam tshuam nrog kev tau txais software mus rau koj ARUPi thiab tau txais lub khoos phis tawj ntawm yam khoom tau nce thiab khiav (rub tawm software rau Raspberry Pi thiab Sleepy Pi). Thaum koj tau ua tiav qhov no, koj yuav tuaj yeem mus rau koj tus kheej txoj kev thiab txiav txim siab tias lub microphones thiab casing uas koj xav siv. Yog tias koj xav ua qhov kuv tau ua, tom qab ntawd txuas ntxiv nrog cov lus qhia thiab nws yuav qhia koj yuav ua li cas tsim qee qhov pheej yig (tab sis zoo) lub mloog pob ntseg thiab sib sau ua ke qee qhov kev sim hauv thaj av, tsis muaj dej txaus, muaj zog zoo nkauj ARUPi's (duab).

Hloov tshiab 2017-11-24

Yog tias ARUPI tsis haum koj cov kev xav tau nws tsim nyog txheeb xyuas lwm txoj hauv kev hauv qab no - tej zaum yuav muaj txoj hauv kev los ua ke ntawm ob tog los tsim kev tsim qauv zoo tshaj plaws rau koj cov kev xav tau:

solo-system.github.io/home.html

Lawv siv qhov tshiab Creative Soundblaster Play! yog li kuv yuav zaum ua qhov ntawd ib yam (tus qauv 2 lossis 3).

Kuv yuav ntxiv qhov ntawd yog tias koj tab tom nrhiav kev ua neej nyob ntev raws li lub zog, siv 8xD roj teeb ntawm tes yog tej zaum yog txoj hauv kev. Qhov no tuaj yeem ua rau koj muaj hluav taws xob txaus los khiav koj chav (piv txwv li 8 x 1.2V). Thiab yog tias siv cov sijhawm teev tseg kuv siv (piv txwv li 1 feeb txhua 15 feeb) koj yuav tsum tau txais plaub zaug cov ntaub ntawv. NB: tej zaum koj tsis tuaj yeem siv lub txhab nyiaj hluav taws xob nqa nrog ARUPI - Kuv tau sim nws nrog lub RAVPower them nyiaj thaum ntxov kuv yuav los rau lub hom phiaj no tab sis tsaug zog Pi tsis tuaj yeem "tsa" lub txhab nyiaj tau nce. Qhov no yog vim li cas kuv thiaj mus roj teeb nrog ARUPI - tab sis qhov ntawd yog xyoo 2014 yog li cov txhab nyiaj tshiab yuav zoo dua. Siv 4 x D hlwb yuav tsis ua haujlwm ib yam nkaus li tsuas yog muab 4.8V rau koj chav nyob yog li tsis muaj lub zog txaus los khiav raspberry pi thiab daim npav suab - nws ua haujlwm tab sis tsis zoo heev. 8xD cell yuav yog qhov kev xaiv zoo tshaj plaws rau kev ua neej nyob ntev, hauv kuv lub tswv yim.

Tsis tas li - nws tsim nyog txheeb xyuas Sleepy Pi 2 (https://spellfoundry.com/product/sleepy-pi-2/) vim tias tus qauv tshiab no muaj ntau qhov hloov pauv ntau ntxiv txog kev ua haujlwm - nws yuav ua rau koj hloov chav nyob rau thiab tawm ntawm lub sijhawm tshwj xeeb (zoo tshaj plaws rau kev tshawb fawb puav, kev tshawb fawb chorus yav sawv ntxov thiab lwm yam). Kuv tseem tsis tau ua si ib puag ncig nrog Sleepy Pi 2 tab sis yuav tshaj tawm qhov hloov tshiab yog tias tuaj txog. Yog tias koj tau mus txog ua ntej kuv thov qhia rau kuv paub raws li kuv xav hnov tias cov khoom no txhim kho nrog ARUPI (thiab lwm chav nyob li cas). NB: thawj Sleepy Pi tseem muaj yog tias koj xav ua raws cov lus qhia no raws li nws sawv.

Txhua yam zoo tshaj plaws!

Kauj Ruam 1: Kauj Ruam 1 Yam Khoom Xav Tau

Kauj Ruam 1 Yam Khoom Xav Tau
Kauj Ruam 1 Yam Khoom Xav Tau
Kauj Ruam 1 Yam Khoom Xav Tau
Kauj Ruam 1 Yam Khoom Xav Tau
Kauj Ruam 1 Yam Khoom Xav Tau
Kauj Ruam 1 Yam Khoom Xav Tau

NB: rau cov ncauj lus ntxaws ntxaws ntawm ntu, saib daim ntawv kawg ntawm Kauj Ruam 2

1. Raspberry Pi A+ (rooj plaub xaiv tau) - tau txais los ntawm PiMoroni/Ebay/Amazon

2. Tsaug zog Pi -

3. Sleepy Pi programmer-https://spellfoundry.com/products/sleepy-pi-program…

Tus programmer no txuag ntau qhov teeb meem. Txawm li cas los xij, koj tuaj yeem tsim koj tus kheej kom tau nyiaj tsawg dua yog tias koj yuav FTDI 3.3V USB rau TTL Arduino Programmer cable/board (https://spellfoundry.com/sleepy-pi/programming-sleepy-pi-standalone-board/). Yog tias koj yog tus tshiab rau kev tsim khoom Kuv pom zoo yuav tsaug zog Pi Programmer

4. 16GB Kingston Data Traveller Micro (daim duab). Koj yuav tsum tau format USB drive rau NTFS ua ntej ntsaws nws rau hauv koj li Raspberry Pi (format USB siv Windows Explore - saib duab). Yog tias koj txiav txim siab siv qhov sib txawv ua/qauv/peev xwm USB cia khoom, koj yuav xav hloov qee cov ntaub ntawv hauv/etc/fstab cov ntaub ntawv kaw lus ntawm ARUPi OS Kuv muab rau koj. OS kuv muab rau koj nrog 16GB Kingston Micro DT rau sda1 (kingston Micro DT 64gb usb tsav nce mus rau sda5 - koj yuav tsum hloov pauv cov no hauv fstab nplaub tshev, tab sis qhov ntawd suav nrog hauv cov lus qhia me ntsis tom qab). Qhov twg USB tsav koj mus nrog, xyuas kom tseeb tias koj siv tib yam txhua lub sijhawm koj hloov nws hauv koj li ARUPi ua tiav thaum tawm hauv daim teb - ARUPi yuav tsis cia li lees paub USB tsav tshiab.

5. USB daim npav suab. Kuv xaiv qhov Creative Soundblaster Play! vim nws sau 16 ntsis Stereo mus txog 48KHz. Nws kuj tseem sib xws nrog Raspberry Pi thiab tsis xav tau ib tus neeg tsav tsheb ntxiv - ntsaws thiab ua si. Txawm li cas los xij, muaj qhov pheej yig USB lub suab nrov muaj yog li nws yuav tsim nyog tshawb nrhiav.

6. USB splitter. Ib daim duab ua haujlwm tau zoo thiab muaj nyob ntawm Ebay los ntawm ntau tus muag khoom. Nws yog qhov me me tsawg dua li lwm qhov uas muaj (tab sis nws tseem yog qhov loj dua - tab sis nws yog khoov dua yog li haum hauv kuv lub thawv thaiv dej tsis zoo).

Kauj Ruam 2: Kauj Ruam 2 - Sau Software

1. Rub tawm thiab teeb tsa Win32 Disk Imager® software los ntawm

2. Nruab Arduino IDE software rau hauv koj lub computer:

3. Sau cov kab ke ua haujlwm thiab lwm cov ntaub ntawv cuam tshuam los ntawm kuv tus lej GoogleDrive los ntawm kev txuas hauv qab no txuas:

drive.google.com/folderview?id=0BxoTy4JIKn…

  • Qhov txuas yuav tsum coj koj mus rau googledrive sib qhia kuv tau tsim.
  • Nws muaj:

    • Cov Txheej Txheem Ua Haujlwm koj xav tau (ARUPi_240415). Cov ntaub ntawv no yog 7.32GB yog li yuav siv sijhawm me ntsis los rub tawm. GoogleDrive tseem yuav hais tias nws tsis tuaj yeem luam theej duab cov ntawv txhawm rau txheeb xyuas nws muaj kev nyab xeeb vim nws loj heev. Tsis txhob txhawj txog qhov ntawd - cov ntaub ntawv tsis muaj kab mob (nws yog duab ntawm Arch -Linux Operating System).
    • Lub nplaub tshev sau tias "Sleepy_Pi" muaj "_15min_Pi" (ib txoj haujlwm uas qhia rau Sleepy Pi kom tsa Raspberry Pi txhua 15 feeb) thiab nplaub tshev hu ua Libraries. Koj yuav tsum khaws cov ntaub ntawv no rau hauv "Arduino" nplaub tshev uas yuav tsum pom hauv My Documents folder ntawm koj lub computer (piv txwv tias koj tau teeb tsa Arduino IDE.
  • Nws kuj muaj:

    • Cov ncauj lus kom ntxaws Cov Npe (ARUPI_PARTS_INFO.xls) nrog qee qhov txuas mus rau qhov uas koj tuaj yeem yuav qee qhov. Thawj kab ntawv (Kauj Ruam) hais qhia seb koj puas xav tau cov khoom ntawd rau software sab ntawm yam khoom lossis tsis yog.
    • Cov ntaub ntawv PDF uas npog qib 5. thiab Kauj Ruam 6 Kuv hais kom ua raws cov PDFs vim lawv muaj xim-xim thiab yooj yim ua raws.
    • Ib daim nplaub tshev hu ua "Piv txwv_ARUPI_Recs", uas muaj cov piv txwv me me ntawm cov piv txwv kaw tseg nrog cov chav no hauv tebchaws Askiv tau muab cov ntoo ntoo los ntawm lub caij ntuj sov xyoo 2015 (Kuv muaj kwv yees li 35gb kom dhau los ntawm qhov no yog plam los ntawm kev sib xyaw). Kuv sim suav nrog cov piv txwv uas npog, hmo ntuj los nag, muaj xim zoo nkauj thaum sawv ntxov, lub zog qis ntsig txog lub suab nrov nrov (cov lus qhia thiab tswv yim txais tos), dav hlau thiab lub sijhawm ntsiag to! Kuv xav tias cov ntaubntawv povthawj siv tau zoo nkauj zoo rau lub microphone mono (kuv yuav ua li cas-los tsim lub microphone no tseem tab tom tab tom tab tom yuav mus rau ob peb lub asthiv tom ntej),

      thiab ntau tshaj qhov tsim nyog rau kuv cov kev xav tau txog tam sim no

      . Kuv xav tias koj tuaj yeem siv sijhawm me ntsis ntxiv thiab tau txais lub suab zoo heev yog tias koj xav tau - qee yam kuv kuj tseem yuav saib mus txog thaum lub sijhawm tso cai.

Kauj Ruam 3: Kauj Ruam 3. Tsim Duab Duab

Kauj Ruam 3. Tsim Duab Duab
Kauj Ruam 3. Tsim Duab Duab

1. Sau OS daim duab duab rau koj daim npav micro SD siv Win32 Disk Imager.

2. Thaum xaiv Arupi_240415, koj yuav tsum hloov cov ntaub ntawv hom rau *. * Kom nws pom (saib daim duab saum toj)

3. Xaiv lub disk uas sib haum rau koj daim npav micro SD (daim duab hauv qab)

Kuv ib txwm ua kom ntseeg tau tias kuv tsuas muaj kuv daim npav SD ntsaws rau hauv kom tsis txhob yuam kev format lwm HDD lossis lwm yam khoom siv USB

4. Tam sim no nyem lub pob "Sau"

Qhov no yuav sau daim duab disk rau lub cuab yeej

Kauj Ruam 4: Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi

Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi
Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi
Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi
Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi
Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi
Kauj Ruam 4. Tshaj Tawm Txoj Haujlwm rau Sleepy Pi

Sleepy Pi yog ib qho tseem ceeb tshaj plaws ntawm cov khoom siv rau chav no. Nws hloov Raspberry Pi rau thiab tawm rau lub sijhawm uas koj xaiv. Yog li, koj yuav tsum qhia rau Sleepy Pi dab tsi koj xav kom nws qhia rau Raspberry Pi ua.

1. Tus Sleepy Pi muaj lub onboard Arduino microcontroller, uas cov lus qhia tuaj yeem teeb tsa tau. Txhawm rau ua qhov no koj yuav tsum tau teeb tsa Arduino IDE software.

2. Rub tawm tag nrho Sleepy_Pi nplaub tshev los ntawm GoogleDrive txuas ntawm cov kauj ruam dhau los. Muab cov ntawv "_15min_Pi" thiab "cov tsev qiv ntawv" nplaub tshev hauv "Arduino" nplaub tshev tsim hauv koj li "Kuv Cov Ntaub Ntawv" nplaub tshev (piv txwv li C: Cov Neeg Siv Ant Ant Documents Arduino)

3. Qhib tsab ntawv "_15min_Pi.ino" hauv Arduino IDE. Tsab ntawv no yog yam koj yuav tsum tau xa mus rau Sleepy Pi. Nws qhia rau Sleepy Pi qhib koj li Raspberry Pi txhua 900 vib nas this (piv txwv li 15 feeb). Koj tuaj yeem hloov lub sijhawm no los ntawm kev hloov kho kab hauv qab no (piv txwv li 1800 vib nas this yuav sib npaug 30 feeb).

int SYSTEM_SLEEP_TIME_IN_SECONDS = 900;

NB: nws muaj peev xwm tsim lub sijhawm raws kev tig ARUPi ntawm lub sijhawm teev tseg thaum nruab hnub yog tias qhov no yog koj lub hom phiaj. Txhawm rau kom paub, sab laj cov ntaub ntawv ntawm Spell Foundry lub vev xaib.

4. Txhawm rau txheeb xyuas tias tsab ntawv ua haujlwm nyem rau ntawm lub cim zuam nyob hauv qab ntawm 'cov ntawv' tab (saib duab rau cov lus qhia zoo dua). Yog tias tsab ntawv tsis ua haujlwm zoo, txheeb xyuas tias koj tau muab txhua lub tsev qiv ntawv los ntawm kuv GoogleDrive rau hauv koj li Arduino nplaub tshev (saib saum toj no).

5. Txuas koj Sleepy Pi rau koj lub khoos phis tawj thiab xa cov ntawv _15min_Pi.ino. Yog tias koj tau yuav lub chav haujlwm los ntawm Spell Foundry ces ua raws cov lus qhia muab (teeb tsa cov tsav tsheb raug thiab lwm yam). Yog tias koj muaj koj tus kheej FTDI programmer ces siv lub vev xaib no rau kev qhia

Hauv qhov yooj yim:

- txuas tus programmer mus rau GPIO tus pin ntawm koj tsaug zog Pi thiab txuas USB rau koj lub khoos phis tawj NB: Nco ntsoov tias koj txuas cov pins kom raug (saib nplooj ntawv nplooj ntawv muab rau saum toj no)!

- Txuas lub hwj huam hluav taws xob rau koj tsaug zog Pi (micro USB LOS YOG ntawm lub tog raj kheej)

- Qhib “_15Min_Pi” (lossis koj tsab ntawv hloov kho) hauv Arduino IDE.

- Xaiv Arduino Fio ua koj pawg thawj coj (saib duab)

- Rub koj cov ntawv mus rau Sleepy Pi los ntawm nias lub pob "upload" nyob ib sab ntawm tus zuam.

- Yog tias nws tsis ua haujlwm ces tshawb xyuas COM Port yog qhov raug (saib duab). Tej zaum koj yuav tsum tau teeb tsa cov tsav tsheb rau koj li FTDI tus lej programmer.

Kauj Ruam 5: Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Tiag thiab Raspberry Pi A+

Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+
Kauj Ruam 5: Teeb Tsaug Zog Pi Lub Sijhawm Sijhawm thiab Raspberry Pi A+

FORMAT Kingson DT Micro USB DRIVE rau NTFS FILE SYSTEM - ARUPI OS YOG PROGRAMMED YUAV TSUM NTSEEG NTAWV NTAWM NTFS USB DRIVE. Nws yuav tsis ua haujlwm yog tias DRIVE tab tom siv lwm qhov FILE SYSTEM

Txhawm rau teeb tsa lub sijhawm ntawm Sleepy Pi thiab kom nws tham nrog koj li Raspberry Pi koj yuav tsum ua raws cov lus qhia no rau txhua chav uas koj tsim.

- Ntxig lub roj teeb CR1632 rau hauv Lub Sijhawm Tiag (RTC) ntawm Sleepy Pi (duab a)

- Txuas tus tsaug zog Pi mus rau GPIO pins ntawm Raspberry Pi raws li qhia hauv daim duab b.

- Txuas rau hauv koj lub usb splitter thiab ntsaws rau hauv daim npav suab, koj lub USB cia ntaus ntawv thiab cov keyboard (duab c - kauj ruam 1).

- Yog tias koj muaj lub network cable (ethernet), ntsaws nws rau hauv Raspberry Pi ethernet chaw nres nkoj tam sim no. Tsis txhob txhawj xeeb yog tias koj tsis muaj ib qho, cov lus qhia yuav piav qhia txhua yam.

- Txuas lub HDMI cable rau hauv Raspberry Pi HDMI lub qhov (socket) los txuas rau koj lub monitor/TV.

- Tam sim no xyuas kom lub zog hla kev hloov pauv tau teeb tsa rau qhov Sleepy Pi program (duab d)

- Txuas lub hwj chim rau hauv lub micro USB lub qhov (socket) ntawm Sleepy Pi (duab c - kauj ruam 2).

- Raspberry Pi yuav tsum tau khau raj (yog tias nws tsis khau raj thiab mus rau Tus Username/Password kab hais kom ua kab pom sau tseg ntawm qhov kawg ntawm daim ntawv no).

- Ntaus tus username: hauv paus thiab tus password: hauv paus.

o Tam sim no koj nyob hauv!

Nkag mus pw tsaug zog pi moos:

1. Hom:

i2cdetect -y 1

Lub vijtsam-ntes cov duab pom saum toj no yuav tsum tshwm sim tom qab koj nias nkag (los ntawm no)

Yog tias qhov ntawd tsis ua haujlwm sim:

i2cdetect -y 0

(Yog tias qhov ntawd tsis ua haujlwm ces kaw Raspberry Pi (hom: kaw) thiab tshawb xyuas koj tau teeb tsa Sleepy Pi kom raug mus rau chav Raspberry Pi)

Yog tias RTC raug kuaj pom tab sis nkag ntawm 0x68 yog "UU" tsis yog "68" ces koj yuav tsum tshem cov tsav tsheb los ntawm qhov chaw nyob ntawd. Ua hom no:

xwm rtc-ds1374

Tam sim no sim cov lus txib i2cdetect dua thiab koj yuav tsum tau txais cov zis tib yam li cov duab saum toj no.

RTC yuav raug tshuaj xyuas nrog chaw nyob 0x68.

Nco tseg: Nco ntsoov qhov twg i2cdetect hais kom ua (piv txwv li 0y 0 lossis –y 1) raws li koj xav tau nkag mus / i2c-0 / lossis / i2c-1 / nyob ntawm qhov twg ua haujlwm, hauv kab tom qab tom ntej (hais qhia).

2. Tam sim no ntaus cov hauv qab no:

modprobe rtc-ds1374/bin/bash -c "ncha ds1374 0x68>/sys/class/i2c-adapter/i2c-1/new_device"

Yog tias koj tau txais cov lus yuam kev txheeb xyuas kom zoo zoo tias koj tau nkag mus raws qhov uas tau hais los saum toj no.

3. Tam sim no txheeb xyuas lub sijhawm ntawm RTC los ntawm kev ntaus:

hwj kr

Nws yuav tsis yog hnub raug yog tias koj tsis muaj Ethernet cable txuas.

4. Tshaj tawm lub sijhawm kom raug rau Sleepy Pi RTC. Yog tias koj muaj lub network txuas nrog koj li Raspberry Pi yooj yim ntaus:

hwv hqo

Yog tias koj tsis muaj lub network cable koj yuav tsum tau teem sijhawm ntawm koj li Raspberry Pi. Txhawm rau ua hom no cov hauv qab no:

hnub tim "dd MTH yyyy hh: mm: ss"

np. hnub tim "15 Lub Peb Hlis 2015 18:33:46"

Tam sim no ntaus ntawv: hwclock –w

5. Tam sim no txheeb xyuas lub sijhawm ntawm RTC los ntawm kev ntaus ntawv

hwj kr

Yog tias lub sijhawm tsis raug. Sim rov ua cov kauj ruam tsim nyog ua tib zoo-nws yooj yim rau yam tsis raug.

Nkag mus rau hauv ARUPi thiab mus rau Kauj Ruam 6!

Yog tias Raspberry Pi Tsis tau khau raj kom raug

Raspberry Pi yuav tsis thauj khoom kom raug yog tias USB txuas raug tsis txuas rau. Qhov no tsis yog teeb meem tab sis nws txhais tau tias koj yuav tsum hloov kho "fstab" cov ntaub ntawv.

Yog tias koj siv lwm lub USB cia ntaus ntawv sib txawv rau qhov kuv tau pom zoo nws yuav cuam tshuam rau txoj kev Raspberry Pi khau raj li cas. Yog tias nws ua, koj yuav raug coj mus rau kab hais kom ua uas hais tias ntaus tus password lossis nias D kom txuas ntxiv ua tus thawj tswj hwm (tus password yog "hauv paus") - ua raws li nws nug. Qhov no yog vim tias OS no tau teeb tsa kom tau txais Kingston DT micro 16GB USB lo.

- Hom blkid

- Ib yam zoo ib yam li qhov no yuav tsum tshwm sim

/dev/sda1: LABEL = "System Reserved" UUID = "36423FA6423F6A2F" TYPE = "ntfs"

/dev/sda2: UUID = "B6DA024DDA0209F7 ″ TYPE =" ntfs"

/dev/sda3: UUID = "ARUPi_3Kingston_DT Y TYPE =" ntfs"

/dev/sda4: UUID =”f2025d4a-ab25-41de-a530-285f5b979cd0 Y TYPE =” ext4 ″

/dev/sdb: UUID = "6ABB-232A" TYPE = "vfat"

- Txheeb xyuas koj lub USB tsav los ntawm cov npe thiab sau tseg ntawm qhov taw tes piv txwv li yog tias nws yog kab ntawv tseem ceeb, sau tseg ntawm "/dev/sda3".

- Tam sim no ntaus nano /etc /fstab

- Hloov kho kab uas muaj/mnt/arupi kom lub/dev/sda1 sib raug rau tus ID/ntu taw tes ntawm koj lub USB tsav.

- Ctl X kom tawm mus thiab Y kom txuag kev hloov pauv.

- Tam sim no hom rov pib dua thiab Pi yuav tsum rov pib dua thiab ua haujlwm ib txwm muaj (piv txwv tias koj muaj lub suab ntsaws ntsaws rau hauv).

- NCO TSEG: koj tuaj yeem hla cov theem hauv qab no yam tsis muaj lub suab ntsaws ntsaws lossis txawm tias USB tsav tau teeb tsa kom raug, tab sis nws zoo dua kom paub tseeb tias koj Pi thauj khoom kom raug nrog txhua qhov txuas hauv!

Kauj Ruam 6: Kauj Ruam 6 - Hloov Kho Cov Ntawv Sau thiab Qhib ARUPi

Kauj Ruam 6 - Hloov Kho Cov Ntawv Sau thiab Qhib ARUPi
Kauj Ruam 6 - Hloov Kho Cov Ntawv Sau thiab Qhib ARUPi

Rub tawm "Step_6" pdf los ntawm GoogleDrive Folder yog tias koj xav tau cov lus qhia xim xim

1. Tam sim no teeb tsa qhov koj xav tau kaw ntev los ntawm kev ntaus cov hauv qab no:

nano /root/recordTest.sh

Thawj ob peb kab uas tau ua ntej nrog # yog qee cov lus qhia/cov ntaub ntawv hais txog dab tsi hauv cov ntaub ntawv no - tus # tiv thaiv lub khoos phis tawj los ntawm kev khiav cov ntaub ntawv tom qab nws zoo li hauv R, yog tias koj paub cov lus ntawd). Yeej, ob tus lej kawg ntawm tsab ntawv (kab ntawv uas tsis tau ua ntej nrog #) qhia txog kev kaw ntev li ob peb feeb. Lub neej ntawd teeb tsa yog kaw rau 60 vib nas this. Yog li yog tias koj xav ua ob feeb kaw kaw 60 thiab hloov nws rau 120 (rau peb feeb kaw 180 thiab lwm yam).

2. Thaum kawg teeb Raspberry Pi kom pib sau cia thaum lub Sleepy Pi tsim nws. Ntaus cov hauv qab no:

export EDITOR = nano

crontab ib

Cov kab hauv qab no yuav tshwm nyob rau hauv nano editor:

# @reboot /root/setClock.sh &

# @reboot nab hab sej /root/recordPi.py &

Cov kab no yog qhov tseem ceeb ntawm koj qhov program kaw. Tam sim no, cov kab no tsis ua haujlwm thaum Raspberry Pi khau raj. Koj yuav tsum rho tawm # txhawm rau qhib lawv.

@reboot /root/setClock.sh & teev Raspberry Pi lub moos kom zoo ib yam li RTC ntawm Sleepy Pi.

@reboot python /root/recordPi.py & khiav ib qhov program siv cov nab npawb software uas ua rau Raspberry Pi kaw rau 60seconds thaum nws tau khau raj thiab tom qab ntawd kaw Raspberry Pi.

NCO TSEG: Tsis txhob rho tawm # los ntawm thawj 6 kab ntawm nplooj ntawv no-cov no tsuas yog rov ua dua cov lus qhia uas koj yuav tsum ua raws. Thaum koj tau tshem ob lub cim # xav tau, koj ARUPi tau npaj mus.

Tam sim no nias x kom tawm nano. Nws yuav nug koj yog tias koj xav khaws cov kev hloov pauv uas koj tau ua:

y thiab rau yog

n thiab yog tias koj xav pib dua tshiab (yog tias koj yuam kev tshem txhua yam lossis ua yuam kev tab sis tsis nco qab tias nws yog dab tsi).

NCO TSEG: thaum koj Raspberry Pi khau raj txij tam sim no nws yuav cia li khiav ob daim ntawv no. Yog li yog tias koj xav hloov dab tsi, koj yuav tsum thim qhov koj tau ua dhau los los ntawm kev tso tus # thaum pib ntawm ob kab uas nyuam qhuav tau hais. Txuag cov ntaub ntawv crontab thiab tom qab ntawv reboot ntawm kab hais kom ua. Koj yuav tsum tau ua txhua yam no ua ntej tus pi kaw nws tus kheej dua. Tsis tas li, nco ntsoov rov qhib Pi thaum koj npaj siab siv nws hauv thaj chaw. Yog tias koj tsis tuaj yeem ntaus nrawm txaus los ua qhov ntawd, koj tuaj yeem khau raj koj Pi yam tsis muaj USB lo ntsaws. Qhov no yuav nkag rau koj ua tus thawj coj thiab koj tuaj yeem hloov kho pi raws li koj nyiam, yam tsis tas yuav maj!

3. Kaw Raspberry Pi los ntawm kev ntaus ntawv:

kaw

Yuav muaj kev ncua sijhawm ib ncig ntawm ib feeb thaum Raspberry Pi pib kaw vim li ntawd tsuas yog so. Tam sim no koj tau npaj mus thiab ua qee qhov kaw suab kaw suab! Xwb, koj tuaj yeem ntaus poweroff kom kaw nws sai dua.

4. Thaum Raspberry Pi tau kaw lawm, tshem lub hwj chim los ntawm Sleepy Pi.

5. Rov kho dua lub hwj chim hla dhau kom pab kom tsaug zog Pi tswj lub zog rau Raspberry Pi (duab e).

NCO TSEG:

Yog tias koj tab tom ua ntau chav nyob thiab koj tau hloov dab tsi hauv cov kauj ruam no (piv txwv li hloov kho qhov ntev kaw lossis qhib lub ARUPi - piv txwv li tshem tawm 2 #s hauv crontab) tom qab ntawd koj yuav xav ua daim duab ntawm koj daim npav micro SD tam sim no. Txhawm rau ua qhov no, siv Win32 Disk Imager los nyeem cov ntaub ntawv los ntawm daim npav rau hauv daim duab tshiab (piv txwv li MYARUPi_170915). Koj tuaj yeem sau cov duab tshiab rau koj daim npav SD tom ntej thiab lawv txhua tus yuav tsum ua tau zoo ib yam. Koj tuaj yeem teem sijhawm rau txhua qhov ntawm koj chav pw tsaug zog siv tsuas yog ib qho Raspberry Pi.

Kauj Ruam 7: Kauj Ruam 7 Kev Hloov Kho Tshiab

· Tam sim no thaum koj ntsaws lub zog xa mus rau Sleepy Pi, lub sijhawm ntawm Sleepy Pi yuav pib suav los ntawm 900seconds (lossis lub sijhawm ntev npaum li cas koj tau hais hauv qib 4).

· Tom qab 900seconds, Sleepy Pi yuav qhib Raspberry Pi thiab Raspberry Pi yuav kaw suab (WAV) rau 60seconds (lossis yam koj tau hais). NCO TSEG. Yog tias koj tsis muaj lub microphone ntsaws rau hauv Soundcard, cov ntaub ntawv audio yuav yog 60seconds tsis muaj suab!

· Cov ntaub ntawv yuav raug cawm ntawm koj lub USB lo thiab yuav sau tias "ddmmyyhhmmss.wav" piv txwv. 050715190559. WAV.

· Nws ib txwm tsim nyog khiav lub tsev los ntawm koj cov roj teeb uas koj xaiv rau ob peb teev/hnub los tshuaj xyuas cov kaw lus ua haujlwm tau zoo. Qee zaum yog tias lub zog hluav taws xob qis dhau, tuaj yeem muaj kev cuam tshuam (suab nrov thiab nyem) hauv qhov kaw. Qhov no kuj tseem tsim nyog nco qab thaum xa koj cov khoom mus ntev - nrhiav seb thaum twg lub zog los ntawm koj txoj kev xaiv khoom xa tuaj poob rau qib uas nws cuam tshuam rau lub suab. NCO TSEG. Lub suab nrov thiab nyem hais tsis zoo li tshwm ntawm ib qho spectrograms yog li lawv tsis yog teeb meem loj rau feem ntau lub hom phiaj, tab sis lawv yog qhov qhia tias koj lub hwj chim tau poob qis lossis qis heev!

· Tam sim no koj tuaj yeem txhim kho koj chav kaw suab hauv cov dej tsis sib thooj.

Kauj Ruam 8: Xaiv Fais Fab, Microphone thiab Casing

Xaiv Fais Fab, Microphone thiab Casing
Xaiv Fais Fab, Microphone thiab Casing
Xaiv Fais Fab, Microphone thiab Casing
Xaiv Fais Fab, Microphone thiab Casing
Xaiv Fais Fab, Microphone thiab Casing
Xaiv Fais Fab, Microphone thiab Casing

Cov lus qhia yuav ua li cas ua ob txoj haujlwm hauv qab no yog kev ua haujlwm tiav - Kuv tsis khoom nrog kuv li kev tshawb fawb PhD tam sim no thiab sab ntawm kev txhim kho chav tsev no kuj yooj yim thiab nws nyob ntawm seb nyiaj ntau npaum cas thiab lub sijhawm koj xav siv rau nws. Koj tuaj yeem tshawb fawb koj tus kheej lub microphones thiab rooj plaub yog tias koj thov lossis khaws qhov muag tawm rau cov lus qhia no kom muab xa mus!

Tam sim no koj muaj chav kaw suab tsis siv neeg. Txawm li cas los xij, koj tseem xav tau lub hwj chim, lub microphone thiab lub thawv thaiv dej tsis tau. Txij ntawm no koj tuaj yeem siv koj li kev muaj tswv yim/tshawb fawb los tso koj lub thwj cim rau ntawm chav tsev. Tab sis koj xav tau peb yam hauv qab no!

1. Cov Khoom Siv Hluav Taws Xob: - Raspberry Pi xav tau tsawg kawg 5V los ua haujlwm, tab sis chav tsev no xav tau ntau dua vim tias nws muaj ntau qhov khoom siv txuas rau nws. Sleepy Pi tuaj yeem tswj hwm 5.5V txog 17V lub zog xa khoom los ntawm lub zog txuas rau Raspberry Pi. Kuv siv 8xAA (tsis tuaj yeem them rov qab-ca.2400mAh txhua) roj teeb (ca.12V tag nrho) los txhawb kuv ARUPis. Lawv tuaj yeem kaw suab ib feeb, txhua 15 feeb rau ca 7 hnub. Lub tog raj kheej tso rau hauv daim duab los nrog chav pw tsaug zog Pi. - Koj yuav xav tau: Tus tuav lub roj teeb (piv txwv li 8xAA) pp3 9v roj teeb clip thiab ua hauv kab hloov (xaiv tau - tab sis ua rau lub neej yooj yim dua hauv lub tshav pob thiab txo kev ntxhov siab ntawm cov ntsaws thiab ntsaws!)

2. Microphone - koj xav tau lub microphone nrog 3.5mm lub tso suab ntsaws ntsaws. Ntsaws qhov no rau hauv koj daim npav suab mic thiab koj yuav luag nyob ntawd! Yog tias koj xav tsim koj tus kheej lub microphone, Kuv pom zoo kom Primo EM172 (lossis Primo BT EM-172). Thov saib Microphone lub tsev PDF hauv kuv GoogleDrive kom paub ntau ntxiv txog kev tsim koj tus kheej lub Primo EM172 lub microphone. Nws yog qhov yooj yim heev. Yog tias pdf tsis nyob ntawd thov ua siab ntev. Yog tias koj tsuas tuaj yeem tos tsis tau, xa daim ntawv thov rau kuv (nws yog qhov haujlwm ua tiav tam sim no - 16/09/15).

3. Cov ntaub thaiv dej tsis zoo - Kuv pom zoo ib daim duab, muag los ntawm Solent Plastics ntawm lwm tus neeg muag khoom ntawm Ebay thiab Amazon. Nws muaj zog heev thiab tuaj nrog hloov ua npuas dej sab hauv thiab kuv tuaj yeem lav rau lawv qhov kev ua tau zoo raws li kev ua tau zoo thiab tsis muaj dej-ness. Kuv siv lub hli 25 cable (IP68) los ntawm cov ntsia hlau txuas rau kuv lub microphone (uas tau kaw rau hauv 15 hli txhuas tubing). Qhov no cuam tshuam nrog txiav lub qhov nyob hauv rooj plaub thiab ntxig cov kab txuas kab - Kuv kaw cov ntug nrog Sugru nplaum. Kuv kuj tseem yuav qee qhov 11mm blanking grommets los siv ua ntsaws thaum lub microphone tsis txuas - ua kom RasPi thiab Sleepy Pi qhuav yog qhov tseem ceeb!. Pom tseeb, yog tias koj txiav txim siab mus nrog lub microphone sib txawv, koj txoj hauv kev rau txuas nws yuav txawv!

Raspberry Pi Contest
Raspberry Pi Contest
Raspberry Pi Contest
Raspberry Pi Contest

Qhov khoom plig thib ob hauv kev sib tw Raspberry Pi

Pom zoo: