Cov txheej txheem:

Chaw Nres Tsheb Pocket: 7 Kauj Ruam
Chaw Nres Tsheb Pocket: 7 Kauj Ruam

Video: Chaw Nres Tsheb Pocket: 7 Kauj Ruam

Video: Chaw Nres Tsheb Pocket: 7 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Chaw Pocket Weather
Chaw Pocket Weather

Nyob zoo sawv daws thiab zoo siab txais tos. Hauv cov lus qhia no, peb yuav tsim lub chaw nres tsheb huab cua uas tsis tsuas yog ntsuas kub, siab, av noo thiab huab cua zoo, tab sis nws kuj haum rau hauv koj lub hnab ris, yog li koj tuaj yeem ntsuas txhua qhov chaw koj mus! Nws kuj tseem kim heev kom ua (ncig 35 $), yog li nws yog qhov haujlwm txias rau txhua tus! Yog koj npaj tau, peb tuaj yeem pib.

Lub sensor siv yog BME680 los ntawm Bosch. Nws yog lub ntsuas me me nrog tons ntawm kev ua haujlwm. Tus tswj hwm yog Arduino nano, vim nws qhov loj me. Txhawm rau tso saib cov ntawv nyeem, Kuv txiav txim siab siv OLED zaub. Cov no muaj qhov siv hluav taws xob tsawg thiab me me, tseem nyeem tau yooj yim.

Kauj Ruam 1: Cheeb Tsam

Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam

Txhawm rau ua txoj haujlwm no, koj tsis xav tau cov khoom siv ntau. Txhua yam koj xav tau yog teev nyob ntawm no:

BME680 - qhov no yog lub ntsuas ntsuas ntsuas kub, av noo, siab, qhov siab thiab huab cua zoo

OLED - qhov no yog lub vijtsam uas nyeem yuav raug muab tso rau ntawm

SWITCH - ib txoj kab zawv zawg uas yuav siv los qhib thiab kaw lub chaw nres tsheb

LITHIUM BATTERY (tsis txuas vim kuv tau txais kuv li ntawm lub khw hauv ib cheeb tsam) - lub roj teeb uas tuaj yeem rov siv tau rau lub chaw nres tsheb

CHARGER MODULE - qhov no yog cov qauv siv los them lub roj teeb

WIRES - siv los txuas cov khoom ua ke

ARDUINO NANO - lub hlwb ntawm kev ua haujlwm

Kauj Ruam 2: Cov Cuab Yeej

Cov cuab yeej
Cov cuab yeej
Cov cuab yeej
Cov cuab yeej
Cov cuab yeej
Cov cuab yeej

Hauv theem kawg peb tau sau tag nrho cov khoom siv hluav taws xob xav tau los ua chaw nres tsheb huab cua. Peb kuj xav tau qee cov cuab yeej yooj yim los txuas ntxiv. Txhua yam koj xav tau yog teev nyob ntawm no:

SOLDERING IRON - txhawm rau muab cov khoom sib xyaw ua ke

ARDUINO IDE - software siv rau program Arduino

3D tshuab luam ntawv (xaiv tau) - txhawm rau ua rooj plaub, tab sis yog tias koj tsis muaj, koj tsuas tuaj yeem tau txais lub thawv yas thiab txiav qee qhov hauv nws.

HNAB GLUE GUN - kom ruaj ntseg cov khoom sab hauv rooj plaub

Kauj ruam 3: Circuit Court

Qhov Circuit
Qhov Circuit
Qhov Circuit
Qhov Circuit

Tam sim no peb muaj txhua yam xav tau, qhov lom zem tuaj yeem pib.

Txij li ob qho tib si peb BME680 thiab 64X128 OLED siv I²C, kev sib txuas yog qhov yooj yim.

Tsuas yog txuas lub zog (VCC) mus rau 3, 3V lossis 5V tus pin thiab hauv av (GND) rau GND tus pin. Nws zoo dua yog tias koj Arduino tsis muaj tus pin, tab sis tsuas yog qhov. Txoj kev no koj tuaj yeem txuas cov xov hlau ncaj qha rau nws.

Tam sim no koj cov zaub thiab lub ntsuas hluav taws xob muaj lub zog, tab sis tsis muaj txoj hauv kev sib txuas lus nrog lawv. Txhawm rau ua qhov no, koj yuav tsum txuas lawv rau A4 thiab A5 tus pin nyob hauv qab analog hauv. Nws tsuas yog ob lub xov tooj ua tsaug rau I²C. Txuas SDA rau A4 thiab SCL (qee zaum cim ua SCK) rau A5.

TSEEM CEEB! Txiav koj cov xov hlau kom luv li koj tuaj yeem ua tau (thiab luv li cov khoom siv hluav taws xob tso cai) txhawm rau tiv thaiv qhov tsis meej uas koj yuav tsis tuaj yeem haum rau hauv rooj plaub!

Kauj ruam 4: Roj teeb

Roj teeb
Roj teeb

Tam sim no peb muaj tag nrho cov khoom txuas nrog, nws yog lub sijhawm los txuas lub roj teeb rau hauv Circuit Court.

Solder lub + thiab - ntawm lub roj teeb rau B + thiab B− cov ntaub qhwv lub charger.

Tom qab ntawd, yooj yim txuas OUT+ thiab OUT− mus rau Arduino's VIN thiab GND pins. Nco ntsoov tias koj ntxiv qhov hloov mus rau + cable.

Nws yog lub tswv yim zoo los ntxiv heatshrinks rau txhua qhov xaim hluav taws xob. Qhov no tuaj yeem tiv thaiv kab hluav taws xob luv thiab tiv thaiv cov xov hlau.

Kauj ruam 5: Tsab ntawv

Tsab ntawv
Tsab ntawv

Tom qab ua tiav qhov Circuit Court, nws yog lub sijhawm los ua qee qhov coding. Zoo, sijhawm rau kuv, koj tsuas tuaj yeem luam tsab ntawv ntawm no:

Tsab ntawv no nyeem cov ntaub ntawv ntsuas thiab luam tawm ntawm OLED.

Nws muaj txiaj ntsig zoo los khiav I²C qhov chaw kom paub tseeb tias koj cov khoom sib txuas tau raug txuas. Koj tuaj yeem tau txais ntawm no.

Kauj Ruam 6: Rooj plaub

Tam sim no koj tau sim tawm tsab ntawv thiab chaw nres tsheb huab cua tau ua haujlwm, nws yog lub sijhawm los muab tso rau hauv rooj plaub. Kuv tsim cov kab ntawv yooj yim no hauv Fusion 360, tab sis xav tias dawb los ua koj tus kheej yog tias koj xav tau.

Tsuas yog 3D luam nws thiab muab cov khoom tso rau hauv. Kuv siv cov kua nplaum kub los tiv thaiv cov khoom sab hauv, tab sis txhua yam yuav ua haujlwm.

Tsis tas li, ua siab ntev thaum muab cov khoom tso rau sab hauv, vim nws yog rooj plaub me me thiab yam khoom tsis haum rau hauv!

Kauj ruam 7: Ua tiav

Ua tiav!
Ua tiav!

Saib koj! Tam sim no koj muaj lub chaw nres tsheb huab cua me me uas koj tuaj yeem nqa nyob txhua qhov chaw, thiab ua rau nws yog (tus) yooj yim thiab (vam tias) lom zem. Yog tias koj nyiam Phau Ntawv Qhia no, nco ntsoov nyiam nws! Thiab zoo li ib txwm, yog tias koj muaj lus nug, kuv yuav ua qhov zoo tshaj los teb lawv hauv cov lus.

Kuv mam ntsib koj hauv kuv Cov Lus Qhia tom ntej, nyob zoo!

Pom zoo: