Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj Ruam 2: Txog DHT11 Sensor
- Kauj Ruam 3: Txuas DHT11 Nrog Arduino
- Kauj Ruam 4: Txuas I2C LCD Zaub rau Arduino
- Kauj ruam 5: Code
- Kauj Ruam 6: Ua tiav Kev Tsim Kho thiab Ua Haujlwm
Video: Yuav Ua Li Cas Lub Chaw Huab Cua Yooj Yim Siv Arduino: 6 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nyob Zoo Cov Menyuam, Hauv Cov Lus Qhia no kuv yuav piav qhia yuav ua li cas kom yooj yim huab cua chaw kom paub qhov kub thiab av noo siv DHT11 sensor thiab Arduino, cov ntaub ntawv nkag siab yuav tshwm ntawm LCD Zaub. Ua ntej pib qhov kev qhia no koj yuav tsum paub qee cov ntaub ntawv hais txog DHT11 sensor.
Yog xav paub ntxiv mus ntsib Electronics Projects Hub
Cia peb pib….
Kauj Ruam 1: Qhov Yuav Tsum Tau
DHT11
16 × 2 LCD Zaub
Arduino Ib
Txiv neej rau Poj Niam Jumper Xov - 8
Kauj Ruam 2: Txog DHT11 Sensor
DHT11 yog qhov ntsuas cua thiab qhov kub thiab txias. Nws tuaj yeem siv los ua cov ntsuas cua nrog rau qhov ntsuas kub. Koj tuaj yeem pom dht11 sensor ntawm 2 hom hauv khw. Ib qho yog nrog 4 tus pin thiab lwm tus yog nrog 3 tus pin. Hauv 3 tus pin dht11 sensor twb tau 10k Ohm resistor tau ntxiv rau hauv tus qauv. Qhov ua haujlwm ntawm qhov ntsuas no yog 3.3 V. Qhov tso tawm ntawm lub ntsuas no yog digital.
Kauj Ruam 3: Txuas DHT11 Nrog Arduino
Yog tias koj tab tom siv 4 tus pin DHT11 Kev Sib Txuas yog raws li hauv qab no
DHT11 |
Arduino UAS |
Vcc | 3.3v ua |
Tawm | PIN4 (Digital) |
GND | GND |
NC | -- |
Txuas 10K Ohm resistor ntawm Vcc thiab Out Pin ntawm DHT11.
Yog tias koj siv 3 tus pin DHT11 Kev Sib Txuas yog raws li hauv qab no
DHT11 |
Arduino UAS |
Vcc | 3.3v ua |
Tawm | PIN4 (Digital) |
GND | GND |
Kauj Ruam 4: Txuas I2C LCD Zaub rau Arduino
Kuv twb tau qhia lawm yuav ua li cas txuas I2C LCD zaub rau Arduino
Koj tuaj yeem tshawb xyuas ntawm no
I2C LCD Arduino
GND GND
VCC 5 VV
SDA AW 4
SWB A5
Kauj ruam 5: Code
Koj yuav tsum suav nrog dht11 thiab I2C LCD tsev qiv ntawv. Koj tuaj yeem rub tawm hauv qab no.
Rub tawm DHT11 Library
Rub tawm I2C LCD Library
Download tau Arduino Code
#suav nrog
#suav nrog
#suav nrog
LiquidCrystal_I2C lcd (0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
dht DHT; #define DHT11_PIN 4
void teeb tsa () {
lcd.begin (16, 2); }
void voj () {
int d = DHT.read11 (DHT11_PIN);
lcd.setCursor (0, 0);
lcd.print ("Temp:");
lcd.print (DHT.temperature);
lcd.print ((kab ntawv) 223);
lcd.print ("C");
lcd.setCursor (0, 1);
lcd.print ("Vaum:");
lcd.print (DHT.humidity);
lcd.print ("%");
ncua (1000);
}
Kauj Ruam 6: Ua tiav Kev Tsim Kho thiab Ua Haujlwm
Tsis txhob hnov qab subscribe kuv tus YouTube Channel
Mus ntsib kuv lub vev xaib Electronics Projects Hub
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Huab Cua Huab Cua: 7 Cov Kauj Ruam (nrog Duab)
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Air Economizer: HRV Arduino Tus Tswj Nrog Air Economizer Yog li kuv keeb kwm nrog txoj haujlwm no yog kuv nyob hauv Minnesota thiab kuv lub rooj tsav xwm hluav taws xob kib ntawm kuv LifeBreath 155Max HRV. Kuv tsis xav them $ 200 rau qhov tshiab Kuv ib txwm xav tau qee yam nrog kev lag luam huab cua kev ua txhaum
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: 3 Kauj Ruam
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: Qhov haujlwm no yuav pab koj txuas 18 LEDs (6 Liab + 6 Xiav + 6 Daj) rau koj lub Rooj Tswjhwm Saib Arduino thiab txheeb xyuas koj lub khoos phis tawj Lub Suab Suab Lub suab lub sijhawm tiag tiag thiab xa lawv mus rau cov LEDs kom pom lawv raws li qhov cuam tshuam (Snare, High Hat, Kick)
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Yuav Ua Li Cas Thiaj Li Yooj Yim Yooj Yim 'Calendar & Scrapbook (txawm hais tias Koj Tsis Paub Yuav Ua Li Cas Scrapbook): 8 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Yooj Yim Yooj Yim 'Calendar & Scrapbook (txawm hais tias Koj Tsis Paub Yuav Ua Li Cas Scrapbook): Nov yog qhov kev lag luam pheej yig (thiab muaj txiaj ntsig ntau!) Hnub so khoom plig rau niam tais yawm txiv. Kuv tau ua 5 daim qhia hnub hli xyoo no rau tsawg dua $ 7 txhua qhov khoom siv: 12 daim duab zoo ntawm koj tus menyuam, menyuam yaus, ntxhais xeeb ntxwv, tub xeeb ntxwv, dev, miv, lossis lwm tus txheeb ze 12 daim sib txawv