Cov txheej txheem:
- Kauj Ruam 1: Npaj Sensors
- Kauj Ruam 2: Npaj Tus Txheej Txheem Tseem Ceeb
- Kauj Ruam 3: Npaj Qhov System
- Kauj Ruam 4: Npaj Cov Ntaub Ntawv Nkag Mus
- Kauj Ruam 5: Npaj Cov Cuab Yeej
- Kauj Ruam 6: Pib dua DS1307 Lub Sijhawm Tiag (RTC) ntawm Cov Ntaub Ntawv Teev Npe
- Kauj ruam 7: Kev sib txuas
- Kauj Ruam 8: Programming MCU
- Kauj Ruam 9: Xeem Nws thiab Siv Nws
Video: Ib Tus Neeg Saib Xyuas Hauv Tsev Yooj Yim: 9 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txoj haujlwm no yuav qhia koj yuav ua li cas ua qhov kev soj ntsuam yooj yim nrog qee qhov uas twb muaj lawm thiab nrhiav tau yooj yim. Qhov tseeb, kuv tau tsim qhov no rau ib tus ntawm kuv cov tub ntxhais kawm. Tus tub ntxhais kawm xav nrhiav seb lub hnub tshav cuam tshuam rau chav sov thiab av noo li cas. Qhov txaus siab rau lub cev ntau hauv qhov haujlwm no yog (1) lub teeb pom kev zoo, (2) av noo, (3) kub thiab (4) huab cua siab. Nrog cov ntaub ntawv no, koj yuav tuaj yeem ua lwm lub tshuab lossis khoom siv los tswj lub tshuab cua txias, lub tshuab ua kom txias lossis lub rhaub dej kom ua rau chav nyob xis nyob.
Kauj Ruam 1: Npaj Sensors
Koj tuaj yeem tsim lub Circuit Court nrog cov ntsuas hluav taws xob hauv qab no lossis yooj yim mus yuav cov laug cam ntawm cov sensors lossis pawg tswj hwm module.
1. Ambient Light Sensor TEMT6000 (Datasheet PDF)
2. Siab thiab Kub BMP085 lossis BMP180 (*lawv yog cov khoom qub, koj yuav xav nrhiav lwm txoj hauv kev) (kawm cov ntaub ntawv los ntawm Adafruit)
3. Kub thiab Vaum Sensor DHT11 (kawm ntaub ntawv los ntawm Adafruit)
4. UV lub teeb pom kev zoo GUVA-S12SD (Datasheet PDF)
Txog kev siv cov ntsuas, kuv tau txuas qee qhov txuas txuas. Koj tuaj yeem pom qee qhov kev qhia paub thiab cov ntaub ntawv hais txog hauv is taws nem.
Kauj Ruam 2: Npaj Tus Txheej Txheem Tseem Ceeb
Kuv tau xaiv Arduino Uno pawg thawj coj los ntsuas qhov system thiab coding. Txawm li cas los xij, kuv pom tias atmega328P tsis muaj lub cim xeeb txaus los khaws thiab khiav cov cai yog tias muaj ntau lub cim ntxiv. Yog li, kuv pom zoo tias koj tuaj yeem siv atmega2560 Arduino board thaum koj xav tau ntau dua 4 lub cim.
Micro tswj (MCU):
· Atmega328P board rau Arduino
· Los yog Atmega2560 board rau Arduino
Kauj Ruam 3: Npaj Qhov System
Kuv xav ntsuas qee yam yam ntxwv ntawm lub cev sab nraum zoov thiab sab hauv tsev. Thaum kawg, Kuv txuas cov ntsuas hauv qab no mus rau Atmega2560 pawg thawj coj.
Ib puag ncig hauv tsev:
1. Siab thiab Kub BMP180 x 1 pcs
2. Kub thiab Vaum Sensor DHT11 x 1 pcs
Ib puag ncig sab nraum zoov:
1. Ambient Light Sensor TEMT6000 x 1 pcs
2. Siab thiab Kub BMP085 x 1 pcs
3. Kub thiab Vaum Sensor DHT11 x 1 pcs
4. UV teeb sensor GUVA-S12SD x 1 pcs
Koj tuaj yeem pom tias kuv siv cov ntsuas sib txawv los ntsuas lub siab. Nws tsuas yog vim tias kuv tsis muaj BMP180 module board thaum kuv tab tom tsim lub Circuit Court. Kuv pom zoo tias koj yuav tsum siv tib lub ntsuas hluav taws xob yog tias koj xav tau kom ntsuas tau meej thiab sib piv ncaj ncees.
Kauj Ruam 4: Npaj Cov Ntaub Ntawv Nkag Mus
Ib qho ntxiv, Kuv xav kom lub cuab yeej khaws cov ntaub ntawv yam tsis txuas rau lub khoos phis tawj. Kuv tau ntxiv cov ntaub ntawv txiav cav nrog lub sijhawm tiag tiag. Cov hauv qab no yog cov khoom siv rau kev txiav cov ntaub ntawv thiab cov xov hlau txuas.
· SD daim npav
· CR1220 npib roj teeb
· Cov ntaub ntawv txiav tawm tus qauv rau Arduino (kawm ntaub ntawv los ntawm Adafruit)
Kauj Ruam 5: Npaj Cov Cuab Yeej
Cov hauv qab no yog qee cov cuab yeej lossis khoom siv uas yuav xav tau los tsim lub Circuit Court.
- 30AWG Wrapping tool
- Soldering hlau
- Soldering hlau (Tsis muaj txhuas)
- Cov qhob cij
- 2.54 hli headers
- Jumper xov hlau
- Muab cov xov hlau (30AWG)
- Kub kua nplaum
- 3D luam ntawv (Yog tias koj xav tau rooj plaub rau koj lub cuab yeej)
- Arduino IDE (Peb xav tau qhov no los ua haujlwm rau Micro board tswj hwm)
Kauj Ruam 6: Pib dua DS1307 Lub Sijhawm Tiag (RTC) ntawm Cov Ntaub Ntawv Teev Npe
Kuv xav siv cov ntaub ntawv rau kev sim tshawb fawb. Yog li, lub sijhawm ntsuas raug yog qhov tseem ceeb rau kev txheeb xyuas cov ntaub ntawv. Siv qhov ncua sijhawm () ua haujlwm hauv lub cajmeem yuav ua rau ntsuas ntsuas yuam kev hauv lub sijhawm hloov pauv. Ntawm qhov tsis sib xws, Kuv tsis paub yuav ua li cas ntsuas lub sijhawm tseeb ntawm Arduino platform nkaus xwb. Txhawm rau zam kev ntsuas lub sijhawm yuam kev lossis txo qhov ntsuas yuam kev, kuv xav ua txhua qhov ntsuas ntsuas nrog cov sijhawm teev tseg. Hmoov zoo, cov ntaub ntawv txiav cav muaj lub sijhawm tiag tiag (RTC). Peb tuaj yeem siv nws los tso tawm lub sijhawm rau kev ntsuas cov ntaub ntawv.
Txhawm rau siv RTC, Kuv ua raws cov lus qhia (txuas) kom rov pib RTC. Kuv pom zoo ua qhov no nrog Arduino Uno board thawj zaug. Nws yog vim tias koj yuav tsum hloov kho qhov Circuit Court thaum siv Atmega2560 board (I2C kev sib txuas sib txawv). Tom qab koj tau teeb tsa RTC, koj yuav tsum tsis txhob tshem lub roj teeb cr1220. Lub caij no, thov txheeb xyuas lub roj teeb ua ntej cov ntaub ntawv nkag mus.
Kauj ruam 7: Kev sib txuas
Kuv tau cais qhov ntsuas sab hauv tsev thiab sab nraum zoov. Yog li, Kuv tau ua ob lub taub hau rau txuas ob pawg sib txawv ntawm cov ntsuas. Kuv siv qhov chaw khoob ntawm cov ntaub ntawv txiav cav rau mounting headers. Txhawm rau ua kom tiav kev sib txuas hauv Circuit Court, Kuv siv ob qho tib si siv thiab qhwv. Cov txheej txheem ntawm kev qhwv yog huv thiab yooj yim, thaum siv cov khoom sib txuas ua kom muaj zog thiab ruaj ntseg. Koj tuaj yeem xaiv txoj hauv kev yooj yim los tsim lub Circuit Court. Yog tias koj tab tom siv Atmega2560 pawg thawj coj, nco ntsoov tias koj tau tsim kev sib txuas dhia rau SDA thiab SCL pins. Kev sib txuas ntawm RTC ntawm cov ntaub thaiv npog cov ntaub ntawv yuav tsum rov txuas dua.
Txhawm rau txuas cov ntsuas hluav taws xob, Kuv tau muab cov taub hau tso rau ntawm cov qauv ntsuas thiab tom qab ntawd kuv siv cov xaim qhwv los txuas txhua lub ntsuas hluav taws xob rau lub taub hau. Thaum koj tab tom siv qhov ntsuas qhov ntsuas tawm, kuv pom zoo tias koj yuav tsum tau tshuaj xyuas qhov ua haujlwm kom zoo. Qee qhov ntsuas qhov ntsuas tau lees txais ob qho 5V thiab 3.3 V tab sis qee qhov txwv tsis pub siv 5V lossis 3.3V nkaus xwb. Cov lus hauv qab no qhia pom cov qauv siv sensor thiab qhov ua haujlwm voltage.
Rooj. Sensor module thiab kev khiav hauj lwm voltage
Kauj Ruam 8: Programming MCU
Hmoov zoo, Kuv tuaj yeem pom cov ntawv thov piv txwv rau txhua lub ntsuas. Yog tias koj tshiab los siv lawv, koj tuaj yeem rub tawm lawv hauv is taws nem lossis koj tuaj yeem nruab lawv los ntawm kev siv tus thawj tswj tsev qiv ntawv hauv Arduino IDE.
Kuv programmed qhov system tso tawm ib txoj hlua rau txhua tus qauv. Txoj hlua yuav raug tso tawm thiab khaws cia rau hauv daim npav SD. Yog tias koj xav tau los saib cov ntaub ntawv, tua lub cuab yeej thiab tom qab tshem daim npav SD. Tom qab ntawd, koj tuaj yeem nce daim npav SD rau daim npav nyeem ntawv. Cov ntaub ntawv yuav raug khaws cia ua cov ntawv csv. Thaum koj tau rub cov ntaub ntawv xa mus rau lub khoos phis tawj, koj tuaj yeem pom nws los ntawm cov ntawv sau lossis cov haujlwm ua haujlwm.
(Koj tuaj yeem rub tawm qhov chaws hauv cov ntawv txuas nrog.)
Kauj Ruam 9: Xeem Nws thiab Siv Nws
Nws yog ib qho tseem ceeb uas koj nkag siab lub ntsiab lus ntawm cov ntaub ntawv. Sampling zaus yog ib qho tseem ceeb ntsuas. Lub sijhawm ntsuas sijhawm tam sim no yog 1 feeb, koj yuav xav hloov nws.
Ib qho ntxiv, koj yuav pom qhov ntsuas kub ntawm DHT11 tsis raug. Yog tias koj xav tau tus nqi tseeb dua, koj tuaj yeem siv qhov ntsuas kub ntawm BMP siab ntsuas.
Ua tsaug rau kev nyeem qhov no!
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Tus Thawj Saib Xyuas Haujlwm - Tsev Haujlwm Ua Haujlwm Hauv Tsev: 5 Kauj Ruam (nrog Duab)
Tus Thawj Saib Xyuas Haujlwm - Tsev Tswj Xyuas Haujlwm Hauv Tsev: Kuv xav sim daws qhov teeb meem tshwm sim tiag tiag hauv peb tsev neeg (thiab, kuv xav txog, ntawm ntau lwm tus neeg nyeem), uas yog yuav faib li cas, txhawb siab, thiab muab nqi zog rau kuv cov menyuam rau kev pab tawm nrog ua haujlwm hauv tsev. Txog tam sim no, peb tau khaws cov ntawv laminated
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe