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 Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: Yooj Yim DIY Chaw Nres Tsheb Huab Cua Nrog DHT11 thiab OLED Zaub: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no peb yuav kawm tsim lub chaw nres tsheb huab cua yooj yim siv Arduino, DHT11 sensor, OLED Display thiab Visuino kom tso saib Kub thiab Vaum.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- OLED Zaub
- DHT11 kub/av noo sensor
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas DHT11 sensor tus pin (VCC lossis +) rau Arduino tus pin (5V)
- Txuas DHT11 sensor tus pin (GND lossis -) rau Arduino tus pin (GND)
- Txuas DHT11 sensor tus pin (S) rau Arduino tus lej digital (7)
- Txuas OLED Display pin (VCC) rau Arduino tus pin (5V)
- Txuas OLED Display pin (GND) rau Arduino tus pin (GND)
- Txuas OLED Display pin (SCL) rau Arduino tus pin (SCL)
- Txuas OLED Display pin (SDA) rau Arduino tus pin (SDA)
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. 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 Cheebtsam
- Ntxiv "SSD1306/SH1106 OLED Display (I2C)" tivthaiv
- Ntxiv 2X "Analog To Text" tivthaiv
- Ntxiv "Vaum thiab Ntsuas Kub DHT11/21/22/AM2301" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Xaiv "AnalogToText1" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "Precision" rau 0 (Duab 1)
- Xaiv "AnalogToText2" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "Precision" rau 0 (Duab 1)
- Xaiv "DisplayOLED1" tivthaiv thiab ob npaug nias rau nws. (Duab 2)
- Hauv lub qhov rai ntu 2X "Kos Bitmap" mus rau sab laug (Duab 2)
- Hauv lub qhov rai ntu 2X "Text Field" mus rau sab laug (Duab 2)
- Hauv Elements window Xaiv "Kos Bitmap1" ntawm sab laug thiab hauv cov khoom qhov rai teeb tsa "Y" txog 30 thiab xaiv "Bitmap" thiab nyem rau ntawm 3 dots.
- Hauv "Transparency Bitmap Editor" nyem rau ntawm lub pob "Load" thiab thauj "Cloud" bitmap los ntawm cov ntawv. Note: "Cloud" Bitmap muaj nyob ntawm no txhawm rau rub tawm lossis koj tuaj yeem tshawb nrhiav ntau ntxiv ntawm no,
- Kaw "Transparency Bitmap Editor"
- Hauv Elements window Xaiv "Kos Bitmap2" ntawm sab laug thiab hauv cov khoom qhov rai teeb tsa "X" rau 75 thiab xaiv "Bitmap" thiab nyem rau ntawm 3 dots.
- Hauv "Transparency Bitmap Editor" nyem rau lub pob "Load" thiab Thauj "Drop" bitmap los ntawm cov ntawv. Note: "Drop" Bitmap muaj nyob ntawm no txhawm rau rub tawm lossis koj tuaj yeem tshawb nrhiav ntau ntxiv ntawm no,
- Kaw "Transparency Bitmap Editor"
- Hauv Elements window xaiv "TextField1" thiab hauv cov khoom qhov rai teeb tsa "loj" rau 4, "X" txog 5, "Y" txog 5
- Hauv Elements window xaiv "TextField2" thiab hauv cov khoom qhov rai teeb tsa "loj" rau 2, "X" txog 105, "Y" txog 5
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "DisplayOLED1" tiv thaiv tus pin [Tawm] rau Arduino I2C tus pin [Hauv]
- Txuas "HumidityThermometer1" tiv thaiv tus pin [Sensor] rau Arduino tus lej digital [7]
- Txuas "HumidityThermometer1" tiv thaiv tus pin [Kub] mus rau AnalogToText1 tus pin [Hauv]
- Txuas "HumidityThermometer1" tiv thaiv tus pin [Vaum] rau AnalogToText2 tus pin [Hauv]
- Txuas "AnalogToText1" tus pin [Tawm] rau "DisplayOLED1"> TextField1 tivthaiv tus pin [Hauv]
- Txuas "AnalogToText2" tus pin [Tawm] rau "DisplayOLED1"> TextField2 tivthaiv tus pin [Hauv]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE
Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)
Kauj ruam 8: Ua si
Yog tias koj ua lub zog Arduino UNO tus qauv, chav sov thiab qib av noo yuav tsum tshwm ntawm OLED zaub.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
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:
Chaw Nres Tsheb Huab Cua DIY & WiFi Chaw Nres Tsheb Sensor: 7 Kauj Ruam (nrog Duab)
Chaw Tshawb Xyuas Huab Cua DIY & WiFi Chaw Nres Nkoj: Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim lub chaw nres tsheb huab cua nrog rau qhov chaw nres tsheb WiFi sensor. Lub chaw nres tsheb ntsuas ntsuas cov ntaub ntawv kub thiab av noo hauv cheeb tsam thiab xa nws, los ntawm WiFi, mus rau chaw nres tsheb huab cua. Cov chaw nres tsheb huab cua tom qab ntawd qhia t
DIY Huab Cua Chaw Nres Tsheb nrog Nextion Zaub thiab Arduino: 11 Kauj Ruam
DIY Weather Station With Nextion Display thiab Arduino: Hauv qhov kev qhia no peb yuav siv Nextion zaub, rtc1307 lub sijhawm module, Arduino UNO, thiab Visuino los tso saib lub sijhawm tam sim no, qhov kub thiab txias
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