Cov txheej txheem:

Ntse Serre: 7 Kauj Ruam
Ntse Serre: 7 Kauj Ruam

Video: Ntse Serre: 7 Kauj Ruam

Video: Ntse Serre: 7 Kauj Ruam
Video: Arıza 7. Bölüm 2024, Lub Xya hli ntuj
Anonim
Ntse Serre
Ntse Serre

Hauv qhov kev qhia no kuv yuav qhia koj yuav ua li cas koj tuaj yeem ua lub tshuab ua kom zoo siv Raspberry Pi.

Cia peb pib.

Khoom siv

Lub hauv paus tseem ceeb yog cov hauv qab no: Raspberry Pi, mcp3008 nti, L293D nti, Soil Moisture Sensor, Dallas 18b20, Lub Teeb Pom Kev Tiv Thaiv (LDR) thiab yog tias koj xav tau koj tuaj yeem ntxiv lub vijtsam lcd (yeem). Koj tuaj yeem pom cov ncauj lus ntxaws ntxaws hauv cov ntaub ntawv zoo no nrog cov ntawv txuas uas koj tuaj yeem yuav cov khoom siv.

Kauj ruam 1: Teeb

Teeb
Teeb

Thawj yam ua ntej, cia teeb peb Raspberry Pi, pib los ntawm rub tawm cov duab ntawm micro-daim npav. Tom qab ntawd txuas koj li Raspberry Pi rau koj lub khoos phis tawj siv lub ethernet cable. Tam sim no koj tuaj yeem khaws cov database hauv Raspberry Pi. Txhawm rau ua qhov ntawd kuv siv 'MyQSL Workbench' tab sis xav tias siv lwm txoj haujlwm. Pib los ntawm kev sib txuas tshiab nrog qhov chaw nyob apipa ntawm koj tus Raspberry Pi, tom qab ntawd ua cov ntxhuav uas koj tuaj yeem pom hauv daim duab. Thaum koj tau ua tiav uas koj yuav tsum tau sau lub rooj sensor nrog tus kheej nrog txhua lub ntsuas uas koj tab tom siv.

Kauj Ruam 2: Txuas Cov Khoom Siv

Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam
Txuas cov Cheebtsam

Ua ntej cia peb teeb tsa rau qhov no koj yuav xav tau ntau lub jumper cables (txiv neej rau txiv neej) thiab 2 220Ω resistor thiab yog tias koj xaiv txuas lub lcd zaub ces koj yuav xav tau lub hwj chim loj.

Ua raws cov txheej txheem raws nraim, vim tias 1 txoj hauv kev xaim hlau tsis zoo tuaj yeem tsoo koj li Raspberry Pi.

Kauj Ruam 3: Ua Tus Saib Xyuas

Ua tus Conservatory
Ua tus Conservatory

Cov kauj ruam tom ntej yog yooj yim yooj yim, koj tsuas yog yuav ib lub tsev saib xyuas (tsis muaj teeb meem tiag tiag qhov twg, tsuas yog ua kom nws loj txaus) thiab sib sau ua ke.

Kauj Ruam 4: Mount Motor

Mount Tsav
Mount Tsav
Mount Tsav
Mount Tsav

Cov kauj ruam no yuav ua rau me ntsis me ntsis, peb tab tom sib sau lub cav kom nws thawb lub qhov rais qhib (thawj daim duab tsuas yog ib qho qauv xwb). Nws tsis yog qhov yooj yim tshaj plaws hauv kev tsim tab sis nws ua haujlwm zoo li ntxim nyiam. Kuv tau txuas cov ntsia hlau ntev mus rau lub cev muaj zog thiab kuv tau ntsia lub ntsia liaj qhov rooj ntawm cov ntsia hlau. Rau tus ntsia liaj qhov rooj Kuv tau txuas tus pas ntoo thiab tus pas no thawb lub qhov rais qhib. Vim tias yog lub cav pib tig, yog li cov ntsia hlau, tab sis vim tias lawv ob leeg tsau, lawv tsis tuaj yeem txav mus uas txhais tau tias tsuas yog ntsia liaj qhov rooj (thiab ntoo ntoo) tuaj yeem txav tau thiab thawb lossis txo lub qhov rais.

Kauj Ruam 5: Mount Dej Dej Valve

Mount Dej Dej Valve
Mount Dej Dej Valve

Lub valve yog txoj hauv kev yooj yim dua li lub cav, yog cov txiaj ntsig ntws los ntawm lub valve ces nws qhib, uas ua rau cov dej nkag mus, yog tias tsis muaj txiaj ntsig ntws los ntawm ces lub valve raug kaw.

Kuv tau txuas cov yeeb nkab luv rau lub valve yog li koj tuaj yeem txuas lub taub dej rau dej, tsuas yog tsis txhob hnov qab tshuaj xyuas tas li yog tias muaj dej txaus lawm.

Kauj Ruam 6: Lub Vev Xaib

Lub Vev Xaib
Lub Vev Xaib

Tam sim no peb yuav pib nrog tsim lub vev xaib uas koj yuav tuaj yeem pom qhov ntsuas kawg thiab tswj lub qhov dej thiab lub qhov rais ntawm tus kheej.

Koj tuaj yeem siv kuv tus lej rau lub vev xaib nrog qhov txuas no

Kauj Ruam 7: Python Code

Tam sim no rau tus lej tseem ceeb, Kuv yuav qhia rau tsuas yog luam kuv tus lej, tshwj tsis yog tias koj paub tias koj tab tom ua dab tsi. Siv qhov txuas no mus rau kuv tus lej

Pom zoo: