Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Siv Hluav Taws Xob
- Kauj Ruam 2: Txuas Qhov Chaw
- Kauj ruam 3: Coding
- Kauj ruam 4: ThingSpeak Configuration
- Kauj ruam 5: Siv Android App
Video: Arduino UNO Mini-Weather Station: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nov yog thawj tiam ntawm kuv Arduino raws qhov chaw nres tsheb me-huab cua nrog wi-fi txuas, uas tuaj yeem tshaj tawm cov ntaub ntawv pej xeem online siv ThingSpeak platform.
Chaw nres tsheb huab cua sau cov ntaub ntawv hauv qab no ntsig txog huab cua thiab ib puag ncig siv cov ntsuas sib txawv:
- Kub;
- Vaum;
- Huab cua siab;
- Lub teeb ci;
- UV ntsuas;
- Plua plav concentration.
Lub hom phiaj yog ua kom lub chaw nres tsheb huab cua me me thiab yooj yim, siv qhib kho vajtse.
Cia peb pib thiab muaj kev lom zem!
Kauj Ruam 1: Cov Khoom Siv Hluav Taws Xob
Rau qhov haujlwm no koj yuav xav tau cov hauv qab no:
- Arduino Uno (yuav)
- Grove lub teeb sensor (yuav)
- Grove UV sensor (yuav)
- Barometric siab sensor (BMP085) (yuav)
- DHT22 (yuav)
- Grove hmoov av sensor (yuav)
- ESP8266 (yuav)
- Protoshield (rau qhov hloov pauv ntau dua) lossis cov qhob cij zoo tib yam (yuav / yuav)
- 1 kohm resistor (x2)
- 10 kohm resistor (x1)
- 4k7 ohm resistor (x1)
- Qee cov xov hlau jumper
- Lub khoos phis tawj (rau suav thiab xa cov lej Arduino)
Koj yuav tsis xav tau cov cuab yeej tshwj xeeb rau kev sib dhos ntawm txoj haujlwm no. Txhua yam khoom tuaj yeem nrhiav pom online ntawm koj lub khw e-lag luam uas koj nyiam.
Lub voj voog tau siv los ntawm USB chaw nres nkoj (txuas nrog lub khoos phis tawj lossis lub xov tooj zoo ib yam), tab sis koj kuj tseem tuaj yeem ntxiv DC lub zog hluav taws xob sab nraud lossis lub roj teeb txuas nrog rau Arduino lub zog txuas.
Ib rooj plaub rau qhov chaw nres tsheb huab cua tsis nyob ntawm qhov ntawm txoj haujlwm no.
Kauj Ruam 2: Txuas Qhov Chaw
Txuas txhua lub componets raws li cov qauv. Koj yuav xav tau qee lub xov hlau txuas los txuas txhua lub ntsuas hluav taws xob mus rau lub khob cij. Koj tuaj yeem siv daim ntawv pov thawj (rau kev sib cog lus ntau dua), ib qho khoom noj khoom haus zoo tib yam, lossis tsim koj tus kheej Arduino daim ntaub thaiv.
Txuas lub USB cable rau Arduino Uno board thiab mus rau kauj ruam tom ntej.
Kauj ruam 3: Coding
Piv txwv tias koj twb tau teeb tsa Arduino IDE tshiab kawg, rub tawm thiab teeb tsa cov tsev qiv ntawv hauv qab no:
DHT22 lub tsev qiv ntawv:
github.com/adafruit/DHT-sensor-library
Adafruit BMP085 lub tsev qiv ntawv:
github.com/adafruit/Adafruit-BMP085-Library
Rau cov lus qhia yuav ua li cas ntxiv cov tsev qiv ntawv rau Arduino IDE, txheeb xyuas Arduino qhia hauv qab no:
www.arduino.cc/en/Guide/Libraries
Rub tawm Arduino code (weatherBox.ino). Hloov XXXXX los ntawm koj lub router wifi SSID YYYYY los ntawm tus password nkag mus thiab ZZZZZ los ntawm koj li ThingSpeak channel sau API tus yuam sij (saib yuav ua li cas thiaj li tau txais nws ntawm cov kauj ruam tom ntej).
Txuas Arduino board rau koj lub computer USB chaw nres nkoj thiab xa cov cai.
Kauj ruam 4: ThingSpeak Configuration
- Tsim tus ThingSpeak tus account;
- Tsim Channel tshiab;
-
Qhia lub npe thiab lus piav qhia ntawm koj lub chaw nres tsheb huab cua. Muab cov channel hauv qab no thiab txuag cov channel:
- channel 1 = lub teeb
- channel 2 = vaum
- channel 3 = kub (los ntawm DHT22)
- channel 4 = UV index
- channel 5 = hmoov av concentration
- channel 6 = siab
- channel 7 = kub (los ntawm BMP085)
- Luam API sau qhov tseem ceeb. Nws tau siv hauv cov kauj ruam dhau los hauv Arduino code;
- Thaum lub chaw nres tsheb tau qhib, lub ntsuas qhov ntsuas yuav raug xa mus rau cov channel ib ntus. Koj tuaj yeem teeb tsa kev pom rau pej xeem thiab ntiag tug ntawm txhua qhov sib txawv.
Piv txwv ntawm pej xeem channel:
Kauj ruam 5: Siv Android App
Koj yuav tuaj yeem pom cov ntaub ntawv chaw nres tsheb huab cua hauv txhua lub browser. Tab sis koj kuj tseem yuav tshuaj xyuas nws ntawm koj lub hauv xov tooj ntawd smartphone thiab pom nws thaum twg koj xav tau.
- Rub tawm thiab teeb tsa ThingsView app los ntawm Google Play store ntawm koj lub cuab yeej Android;
- Ntawm lub app, ntxig koj tus lej ID channel thiab nyem ntxiv. Koj yuav pom tus lej ID ntawm koj li ThingSpeak channel teeb tsa;
- Qhov txiaj ntsig tam sim no ntawm txhua qhov sib txawv yuav tshwm rau hauv kab;
- Muaj kev lom zem!
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: 9 Kauj Ruam
DIY Arduino Robotic Arm, Kauj Ruam ntawm Kauj Ruam: Cov ntawv qhia no yog qhia koj yuav tsim lub Caj Npab Caj Npab ntawm koj tus kheej li cas
Dorm Power Station/Souped Up NiMH Charging Station: 3 Kauj Ruam
Dorm Power Station/Souped Up NiMH Charging Station: Kuv muaj qhov tsis zoo ntawm lub chaw nres tsheb fais fab. Kuv xav ua kom txhua yam uas tau them rau ib lub rooj ua haujlwm thiab muaj chav rau khoom siv/lwm yam ntawm nws. Daim ntawv teev cov khoom muaj zog: Xov tooj ntawm tes (tawg, tab sis nws tsub kuv lub xov tooj roj teeb, yog li nws ib txwm ntsaws rau hauv thiab ua kom lub ntsej muag