Cov txheej txheem:
Video: Kub thiab Vaum Sensor Nrog Arduino thiab Lcd Zaub: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo cov neeg, Txais tos rov qab rau Artuino. Raws li koj tau Pom Kuv tau pib Ua Tus Qhia
Hnub no peb yuav ua qhov ntsuas Kub & Vaum nrog DHT11 tus qauv. Cia peb pib
PS Xav txog Subscribing thiab nyiam cov vis dis aus
Kauj ruam 1: Kev sib txuas
Ua raws daim duab no
tom qab kev sib txuas, nws yuav zoo li qhov no
Kauj ruam 2: Code
Nov yog tus lej uas kuv siv rau kuv qhov project
#include // suav nrog lcd libraryconst int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd (rs, en, d4, d5, d6, d7);
#suav nrog "dht.h" // suav nrog lub tsev qiv ntawv dht sensor
#define DHT_pin A0 // muab lub npe rau tus pin sensor thiab A0
dht DHT; // pib lub sensor
void teeb tsa () {
lcd.begin (16, 2); // initialize the senso
Serial.begin (9600); // pib Serial kev sib txuas lus
ncua (500); // Ncua sijhawm kom cia lub kaw lus khau raj
Serial.println ("DHT11 Vaum & ntsuas kub / n / n");
ncua (1000); // Tos ua ntej nkag mus rau Sensor
}
void voj () {
DHT.read11 (DHT_pin); // Nyeem Sensor tus pin
Serial.print ("av noo ="); // luam tawm cov av noo hauv Serial Monitor
Serial.print (DHT.humidity);
Serial.print ("%");
Serial.print ("kub =");
Serial.print (DHT.temperature); // luam tawm kub ntawm Serial monitor
Serial.println ("C");
lcd.setCursor (0, 0);
lcd.print ("av noo ="); // luam tawm cov av noo ntawm lcd
lcd.print (DHT.humidity);
lcd.print ("%");
lcd.setCursor (0, 2);
lcd.print ("temp ="); // luam tawm qhov kub ntawm lub lcd
lcd.print (DHT.temperature);
lcd.println ("C");
ncua (3000); // Tos 3 vib nas this ua ntej nkag mus rau lub sensor dua.
}
Kauj Ruam 3: Tso Tawm
Kuv sim ntau yam nrog nws.
Thaum kuv tso dej khov nyob ze nws qhov txias txias.
& thiab thaum cua tshuab cua sov rau hauv, qhov kub tau nce
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Ntsuas Kub nrog Steinhart-Hart Kev Kho thiab Tswb Kub: Tseem tab tom taug kev kom ua tiav "qhov haujlwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Kev Ntsuas Kub Ua Noj Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Cov Ntawv Qhia qhia yuav ua li cas kuv ntxiv NTP ntsuas kub, piezo b
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Chaw Taws Teeb (ir Chaw Taws Teeb) Nrog Kub thiab Vaum Zaub: nyob zoo Kuv yog Abhay thiab nws yog kuv thawj blog ntawm Kev Qhia thiab hnub no kuv yuav qhia koj li cas tswj koj cov khoom siv hluav taws xob nrog koj lub TV tej thaj chaw deb los ntawm kev tsim qhov no txoj haujlwm yooj yim. ua tsaug rau atl lab rau kev txhawb nqa thiab muab cov khoom siv