Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: hauv Visuino Ntxiv, Teeb & Txuas Txuas
- Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 6: Ua si
Video: Kev Ntsuas Kub Nrog DHT11 thiab I2C 20x4 LCD: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav kawm paub ua qhov ntsuas kub yooj yim siv DHT11 sensor thiab I2C LCD
Saib cov yees duab!
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- 20x4 I2C Character LCD zaub
- Jumper xov hlau
- Arduino Uno lossis lwm lub Rooj Tswjhwm Saib Arduino
- DHT11 kub thiab av noo sensor
- Visuino software: Rub tawm ntawm no
Kauj ruam 2: Circuit Court
- Txuas LCD Zaub pin [VCC] rau Arduino tus pin [5V]
- Txuas LCD Zaub pin [GND] rau Arduino tus pin [GND]
- Txuas LCD Display pin [SDA] rau Arduino tus pin [SDA]
- Txuas LCD Display pin [SCL] rau Arduino tus pin [SCL]
Nco tseg: Siv lub hwj chim tom qab lub LCD txhawm rau kho qhov ci ci
- Txuas DHT11 sensor tus pin [GND] rau Arduino tus pin [GND]
- Txuas DHT11 sensor tus pin [VCC] rau Arduino tus pin [5V]
- Txuas DHT11 sensor tus pin [OUT] lossis "S" rau Arduino tus lej digital [2]
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.
Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: hauv Visuino Ntxiv, Teeb & Txuas Txuas
- Ntxiv "DHT11" tivthaiv
- Ntxiv "Liquid Crystal Display (LCD) - I2C" tivthaiv Xaiv "LiquidCrystalDisplay1" thiab hauv cov khoom qhov rai teeb tsa Kab rau 4 thiab kab rau 20
Ob npaug nias rau ntawm "LiquidCrystalDisplay1" thiab hauv Elements window:
- luag "Text Field" mus rau sab laug, tom qab ntawd hauv lub qhov rai khoom teeb tsa cov ntawv rau "TEMP:" thiab dav txog 20
- luag lwm qhov "Text Field" mus rau sab laug, tom qab ntawd hauv cov khoom vaj khoom tsev teeb tsa kab rau 1 thiab dav txog 20
- luag lwm qhov "Text Field" mus rau sab laug, tom qab ntawd hauv cov khoom vaj huam sib luag teeb cov ntawv rau "HUMIDITY:" thiab dav txog 20 thiab kab rau 2
- luag lwm qhov "Text Field" mus rau sab laug, tom qab ntawd hauv cov khoom vaj khoom tsev teeb tsa kab rau 3 thiab dav txog 20
Kaw lub Elements window
- Txuas "LiquidCrystalDisplay1" tus pin I2C Tawm rau Arduino I2C Hauv
- Txuas "HumidityThermometer1" tus pin Sensor rau Arduino Digital tus pin 2
- Txuas "HumidityThermometer1" tus pin Kub rau LiquidCrystalDisplay1> Text Field2 pin In
- Txuas "HumidityThermometer1" tus pin Vaum rau LiquidCrystalDisplay1> Text Field4 pin In
Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 6: Ua si
Yog tias koj siv zog Arduino UNO module, LCD Zaub yuav pib qhia qhov Kub thiab Vaum qhov tseem ceeb. Nyob rau hauv rooj plaub koj tsis pom cov ntawv nyeem kom ntseeg tau tias koj kho qhov ci ci siv lub zog ntsuas.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:
Pom zoo:
Kev Ntsuas thiab Kev Ntsuas Kub Siv HIH6130 thiab Arduino Nano: 4 Cov Kauj Ruam
Kev Ntsuas thiab Kev Ntsuas Kub Siv HIH6130 thiab Arduino Nano: HIH6130 yog qhov ntsuas cua thiab ntsuas kub nrog cov zis digital. Cov ntsuas no muab qib raug ntawm ± 4% RH. Nrog kev lag luam-ua kom muaj kev ruaj ntseg mus sij hawm ntev, qhov tseeb kub-them nyiaj digital I2C, Kev lag luam ua rau muaj kev ntseeg siab, Kev siv hluav taws xob
Kev Ntsuas thiab Kev Ntsuas Kub Siv HTS221 thiab Arduino Nano: 4 Cov Kauj Ruam
Kev Ntsuas thiab Kev Ntsuas Kub Siv HTS221 thiab Arduino Nano: HTS221 yog lub ntsuas hluav taws xob me me uas muaj peev xwm ntsuas tau rau qhov txheeb ze thiab qhov kub thiab txias. Nws suav nrog lub hauv paus ntsiab lus thiab cov teeb liab sib xyaw daim ntawv thov tshwj xeeb kev sib txuas (ASIC) los muab cov ntaub ntawv ntsuas los ntawm cov lej
Kev Ntsuas thiab Kev Ntsuas Kub Siv HTS221 thiab Raspberry Pi: 4 Cov Kauj Ruam
Kev Ntsuas thiab Kev Ntsuas Kub Siv HTS221 thiab Raspberry Pi: HTS221 yog lub ntsuas hluav taws xob me me uas muaj peev xwm ntsuas tau rau qhov txheeb ze thiab qhov kub thiab txias. Nws suav nrog lub hauv paus ntsiab lus thiab cov teeb liab sib xyaw daim ntawv thov tshwj xeeb kev sib txuas (ASIC) los muab cov ntaub ntawv ntsuas los ntawm cov lej
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv
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