Cov txheej txheem:
- Kauj Ruam 1: Yam Yuav Tsum Tau
- Kauj ruam 2: Txuas Txuas
- Kauj ruam 3: Code
- Kauj Ruam 4: Nruab Dht Library
- Kauj Ruam 5: Xaus
Video: DHT 11 Siv Siv Arduino: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hais, Hauv cov lus qhia no peb yuav ua DHT 11 siv arduino thiab saib xyuas ntu. DHT11 yog lub hauv paus, tus nqi qis heev cov ntsuas kub thiab cov av noo. Nws siv lub ntsuas hluav taws xob muaj peev xwm thiab lub ntsuas cua ntsuas cua ib puag ncig, thiab ntuav tawm lub teeb liab digital ntawm cov ntaub ntawv tus pin (tsis xav tau cov tswv yim sib txuas pins xav tau). Nws yooj yim siv, tab sis yuav tsum tau ua tib zoo siv sijhawm txhawm rau khaws cov ntaub ntawv. Cov ntsuas no tau nrov heev rau cov nyiam siv hluav taws xob vim tias muaj pheej yig heev tab sis tseem muab kev ua tau zoo.
Kauj Ruam 1: Yam Yuav Tsum Tau
Arduino. (qhov no kuv siv arduino uno r3)
DHT 11 sensor.
Ob peb ntawm cov xov hlau.
Kauj ruam 2: Txuas Txuas
Txuas DHT 11 rau arduino los ntawm kev siv cov lej no. Nco ntsoov tias koj tab tom txuas rau tus pin sab xis ntawm DHT 11.
Kauj ruam 3: Code
#suav nrog
dht DHT;
// yog tias koj xav hloov tus lej tus lej, Kho tus pin nrog koj tus pin arduino.
#define DHT11_PIN 2
void teeb tsa () {
Serial.begin (9600);
Serial.println ("Pib Txheeb Xyuas"); }
void loop () {// NYEEM DATA
int chk = DHT.read11 (DHT11_PIN);
Serial.println ("Vaum");
Serial.println (DHT.humidity, 1);
Serial.println ("Temparature");
Serial.println (DHT.temperature, 1);
ncua (2000); }
Kauj Ruam 4: Nruab Dht Library
yam tsis txhim kho tsev qiv ntawv dht nws yuav tsis ua haujlwm yog li rub tawm cov ntawv zip thiab;
* Mus rau arduino IDE
*Kos duab
*Suav nrog tsev qiv ntawv
*Ntxiv zip file
*xaiv cov ntawv zip
Kauj Ruam 5: Xaus
Yog tias koj tau txuas koj li Dht11 thiab arduino kom raug, koj yuav muaj nyeem hauv cov duab saum toj no.
Kuv vam tias koj txhua tus hlub kuv cov lus qhia.
Pom zoo:
Cov Khoom Siv Teeb Meem Siv Chaw Taws Teeb Siv Arduino: 7 Kauj Ruam
Cov Khoom Siv Teeb Meem Siv Khoom Siv Hluav Taws Xob Siv Arduino: Tam sim no, Cov Tsim, Cov tsim tawm tau nyiam Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj zej zog cov neeg siv zoo heev. Hauv qhov no
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
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Nkag Platform: 9 Cov Kauj Ruam
Tsis Siv Neeg Kev Hla Hla Kev Siv Hluav Taws Xob Siv Arduino Raws Kev Nkag Siab Platform: Christmas tsuas yog ib lub lim tiam xwb! Txhua leej txhua tus tibneeg hu tauj coob nrog kev ua koob tsheej thiab tau txais khoom plig, uas, los ntawm txoj kev, tau txais txhua qhov nyuaj dua kom tau nrog qhov tsis muaj peev xwm nyob ib puag ncig peb. Yuav ua li cas mus los ntawm khoom plig qub thiab ntxiv qhov kov ntawm DIY rau
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Tsiv Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: 5 Kauj Ruam
Tawm Tawm Sijhawm Siv Arduino + DS1307 + Neopixel: Rov Siv Qee Cov Khoom Siv: Los ntawm cov phiaj xwm yav dhau los Kuv muaj Arduino UNO thiab Neopixel LED sawb sab laug, thiab xav ua qee yam txawv. Vim tias Neopixel sawb muaj 60 LED teeb, xav siv nws los ua lub moos loj. Txhawm rau qhia Lub Sijhawm, liab 5-LED ntu tau siv (60 LED