Cov txheej txheem:
Video: Humidity Sensor Basics: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nov yog cov lus qhia yooj yim yuav siv DHT 11 sensor module nrog Arduino board.
Khoom siv
- DHT11 module
- Arduino Uno/nano/thiab lwm yam…
- Jumper xov hlau
- Pawg mov ci
Kauj ruam 1: Ua Kev Sib Txuas
VCC nkag mus rau 5V chaw nres nkoj ntawm arduino
GND nkag mus rau ib qho hauv av (GND) ntawm arduino
thiab thaum kawg peb muaj Cov Ntaub Ntawv tus pin (tus pin nruab nrab) uas nkag mus rau ib qho ntawm cov koob digital (D2-D13)
Kauj ruam 2: Code Nws
#suav nrog dht DHT;
// Teeb tus pin rau DHT sensor
#define DHT11_PIN 6
void teeb tsa ()
{Serial.begin (115200); Serial.println ("DHT TEST PROGRAM"); Serial.print ("LIBRARY VERSION:"); Serial.println (DHT_LIB_VERSION); Serial.println (); Serial.println ("Hom, / tstatus, / tHumidity (%), / tTemperature (C)"); }
void lub voj ()
{// DISPLAY DATA Serial.print (DHT.humidity, 1); Serial.print (", / t"); Serial.println (DHT.temperature, 1);
ncua (2000);
} // // Kawg NTAWV NTAWV //
Siv Lub Tsev Qiv Ntawv DHT.h cov lej ua kom yooj yim heev, thiab rho tawm qhov kub thiab txias yog ib qho khoom qab zib
Cov av noo tau muab khaws cia hauv DHT.cov huab cua thiab kub hauv DHT. Temperature. Txhua yam koj yuav tsum tau ua yog teeb DHT11_PIN rau tus lej tus lej koj tau ntsaws lub sensor rau hauv
Yog tias koj xav tau kev pab nrog suav nrog kev tso cai siv cov lus qhia saum toj no, vam tias nws yuav pab tau.
Pom zoo:
Humidity Sensor System DHT11 ntawm Arduino: 18 Kauj Ruam
Humidity Sensor System DHT11 ntawm Arduino: Humidity Sensor yog qhov khoom siv hluav taws xob txhim khu kev qha thiab yooj yim rau ntsuas qhov kub thiab txias hauv huab cua. DHT11 Humidity sensor tau siv hauv Circuit Court thiab tso tawm tau tshwm rau ntawm LCD. Nws tau siv dav hauv cua sov cua tshuab
Humidity Sensor Calibration: 7 Kauj Ruam
Humidity Sensor Calibration: Kuv tau txais 3 lub cim ntsuas uas tuaj yeem ntsuas qhov txheeb ze ntawm huab cua: BME280, SHT21, DHT22. Lawv tau hais qhia lub peev xwm ntawm kev ntsuas nrog qhov raug +/- 3% los ntawm thaj tsam 20 txog 80% Txawm li cas los xij, thaum ntsuas tib yam rau 3 lub ntsuas, kuv tau txais 3 qhov sib txawv. Tej zaum o
Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: 9 Kauj Ruam
Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: Hauv qhov kev qhia no, peb yuav ntsuas cov ntsuas kub thiab av sib txawv siv Temp thiab humidity sensor. Koj tseem yuav kawm paub yuav xa cov ntaub ntawv no mus rau Ubidots li cas. Yog li koj tuaj yeem txheeb xyuas nws los ntawm txhua qhov chaw rau daim ntawv thov sib txawv. Tsis tas li los ntawm kev tsim emai
ThingSpeak, IFTTT, Temp thiab Humidity Sensor thiab Google Sheet: 8 Cov Kauj Ruam
ThingSpeak, IFTTT, Temp thiab Humidity Sensor thiab Google Sheet: Hauv qhov haujlwm no, peb yuav ntsuas qhov ntsuas kub thiab av noo siv NCD qhov ntsuas kub thiab av noo, ESP32, thiab ThingSpeak. Peb tseem yuav xa qhov ntsuas kub thiab av noo sib txawv mus rau Google Daim Ntawv Siv ThingSpeak thiab IFTTT txhawm rau txheeb xyuas qhov tseeb
MPU6050-Accelerometer+Gyroscope Sensor Basics: 3 Kauj Ruam
MPU6050-Accelerometer+Gyroscope Sensor Basics: MPU6050 yog qhov muaj txiaj ntsig zoo tshaj plaws.Mpu 6050 yog IMU: Chav ntsuas inertial (IMU) yog lub tshuab hluav taws xob uas ntsuas thiab tshaj tawm lub cev tshwj xeeb quab yuam, tus nqi kaum, thiab qee zaum kev qhia ntawm lub cev, siv kev sib xyaw