Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Txuas lub Breadboard
- Kauj ruam 3:
- Kauj ruam 4:
- Kauj ruam 5:
- Kauj Ruam 6:
- Kauj ruam 7: Coding
- Kauj ruam 8:
- Kauj ruam 9:
- Kauj ruam 10:
- Kauj ruam 11:
- Kauj ruam 12: Ua tiav
Video: LEDs Kub thiab Vaum: 12 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Yog tias koj ib txwm xav tau lub ntsuas cua pom ntau dua, txoj haujlwm no tuaj yeem pab tau. Peb yuav ua cov teeb ntawm LED uas tso saib qee yam xim raws qib ntawm cov av noo thiab qhov kub.
Kauj ruam 1: Cov ntaub ntawv
Rau qhov Project no Koj yuav xav tau:
- 2 RGB LEDs
- DHT11 Kev ntsuas kub thiab av noo
- 6 220Ω resistors
-12 breadboard jumpers (xov hlau)
- Arduino UNO R3
- Arduino IDE (rau coding)
- DHT Sensor Library (txhawm rau ua kom koj qhov ntsuas kub ua haujlwm)
Kauj Ruam 2: Txuas lub Breadboard
Kauj ruam 3:
Koj xav teeb tsa lub zog siv hluav taws xob kom raug rau txhua feem, yog li cia pib nrog hauv av thiab 5 qhov sib txuas sib txuas
Kauj ruam 4:
Tom ntej no, cia teeb tsa qhov ntsuas kub. Kuv txuas nrog 2 tus pin hauv Arduino uno
Kauj ruam 5:
Thaum kawg cia peb teeb tsa LEDs. Ob leeg muaj tib txoj kab hluav taws xob thiab tiv thaiv teeb tsa. Kuv tus pin rau LED sawv cev rau kev ntsuas kub yog ntawm 3, 5, thiab 6 thaum cov av noo LED tau teeb tsa ntawm tus pin 9, 10, thiab 11
Kauj Ruam 6:
Tam sim no koj muaj qhov ua tiav Circuit Court! Cia peb pib ua haujlwm ntawm txoj cai tso cai rau cov LED no kom paub qhov kub thiab txias.
Ua ntej, txheeb xyuas tus pin rau koj lub ntsuas kub thiab LEDs raws li koj tus pin thiab suav nrog lub tsev qiv ntawv rau qhov ntsuas kub. Txhawm rau suav nrog lub tsev qiv ntawv (hauv peb cov ntaub ntawv "DHT" yog peb lub tsev qiv ntawv xav tau), mus rau kab ntawv qhia zaub mov thiab xaiv "Sketch> suav nrog Tsev qiv ntawv> Ntxiv. ZIP Library" thiab xaiv "DHT" ZIP nplaub tshev los ntawm qhov koj rub tawm nws.
Kauj ruam 7: Coding
Kauj ruam 8:
Tom ntej no, Hauv Qhov Teeb Meem teeb tsa txiav txim siab qhov tso tawm rau ob qho tib si LEDs nrog rau kev saib xyuas txuas rau koj lub ntsuas.
Kauj ruam 9:
Hauv qhov tsis muaj dab tsi Loop, sau tawm qhov ua haujlwm ntawm koj tus lej saib. Nov yog qhov uas koj yuav ntsuas qhov ntsuas kub thiab av noo los ntawm kev ua haujlwm lub voj tom qab.
Kauj ruam 10:
Khiav Serial monitor los ntawm kev mus rau cov ntawv qhia zaub mov thiab xaiv "Cuab Yeej> Serial Monitor". Koj yuav tsum tau nyeem rau qhov kub thiab txias. Tos 30 vib nas this thiab sau cov lej uas tshwm ntau zaus rau qhov kub thiab txias. Tam sim no koj tau nyeem, peb tuaj yeem ntsaws cov txiaj ntsig no rau peb ntu ntu tom ntej ntawm cov cai
Kauj ruam 11:
Txhawm rau ua kom peb cov LEDs ci kom haum, peb yuav tsum sau qee cov lus "lwm". Nyeem qhov koj tau ntsuas kub thiab ntsaws rau hauv thawj kab lus ntawm kab lus. Yog tias qhov ntsuas kub siab dua li tus nqi tau muab, lub teeb yuav tig liab. Txwv tsis pub nws yuav nyob twj ywm xiav. Tib yam siv rau cov av noo. Yog tias kev nyeem ntawv siab dua li tus nqi koj tau ua, lub teeb tig liab. Txwv tsis pub nws yuav nyob twj ywm xiav.
Kauj ruam 12: Ua tiav
Tam sim no koj muaj koj tus kheej qhov ntsuas kub thiab av noo paub txog LEDs!
Pom zoo:
Vaum thiab Kev Tswj Kub Kub rau Terrarium: 11 Kauj Ruam (nrog Duab)
Kev Nyab Xeeb thiab Kev Tswj Kub Kub rau Terrarium: QHOV TSEEB: Cov lus qhia no yog rau kev txhim kho cov av noo thiab tswj qhov kub thiab txias uas siv Arduino Uno. Cov kab ke no siv cov dej tsis txaus thiab ntsuas kub los soj ntsuam ib puag ncig ib puag ncig thiab Arduino Uno txuas
ESP8266 NodeMCU Access Point (AP) rau Web Server Nrog DT11 Kub Sensor thiab Luam Ntawv Kub & Vaum Hauv Browser: 5 Kauj Ruam
ESP8266 NodeMCU Access Point (AP) rau Web Server Nrog DT11 Kub Sensor thiab Luam Ntawv Kub & Vaum Hauv Browser: Nyob zoo cov phooj ywg hauv feem ntau ntawm cov haujlwm peb siv ESP8266 thiab hauv feem ntau ntawm cov haujlwm peb siv ESP8266 ua lub vev xaib kom cov ntaub ntawv tuaj yeem nkag tau rau txhua lub cuab yeej hla wifi los ntawm kev nkag mus rau Webserver tuav los ntawm ESP8266 tab sis qhov teeb meem tsuas yog peb xav tau lub router ua haujlwm rau
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