Cov txheej txheem:
Video: Zaub Kub ntawm P10 LED Zaub Module Siv Arduino: 3 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hauv qhov kev qhia yav dhau los tau hais qhia yuav ua li cas tso saib cov ntawv ntawm Dot Matrix LED Display P10 Module siv Arduino thiab DMD Txuas, uas koj tuaj yeem tshawb xyuas ntawm no. Hauv qhov kev qhia no peb yuav muab cov phiaj xwm yooj yim qhia los ntawm kev siv P10 tus qauv raws li tso tawm xov xwm. Lub sijhawm no peb yuav qhia koj txog kev siv lub ntsuas kub ntsuas siv LM35.
Kauj Ruam 1: Cov Khoom Uas Koj Xav Tau
Koj yuav xav tau:
- Arduino Ib
- DMD Txuas
- LM35 Kub Sensor
- Pawg Mov Ci
- Jumper Hlau
Kauj ruam 2: Kev sib txuas
Rau kev txuas raws li qhia saum toj no.
Kauj Ruam 3: Txoj Haujlwm
Tom qab kev teeb tsa ua tiav mus rau lub program, lub program xav tau cov ntaub ntawv ntxiv hauv tsev qiv ntawv uas koj tuaj yeem rub tawm >> Library DMD & TimeOne.
Piv txwv ntawm cov kev pab cuam raws li hauv qab no:
/ * Insert file library */ #include #include #include #include #define Panjang 1 // Number of length of Display P10 #define Lebar 1 // Number of width of Display P10 #define sensor A5 // Txhais sensor tus pin = tus pin A5
DMD dmd (Panjang, Lebar); // Ntev x Dav
/ * Deklarasi Variable */ ntab suhu; char chr [5]; void ScanDMD () {dmd.scanDisplayBySPI (); } void teeb (tsis muaj dab tsi) {// Teeb DMD Timer1.initialize (5000); Timer1.attachInterrupt (ScanDMD); dmd.selectFont (SystemFont5x7); // Font siv dmd.clearScreen (muaj tseeb); Serial.begin (9600); // Qhib kev ua haujlwm ntawm kev sib txuas lus ntu} void loop (tsis muaj dab tsi) {dmd.clearScreen (muaj tseeb); sib = 0; suhu = analogRead (nyeem ntawv); suhu = (5.0 * suhu * 100.0) / 1024.0; Serial.println (suhu); dtostrf (suhu, 4, 2, chr); dmd.drawString (2, 0, chr, 5, GRAPHICS_NORMAL); dmd.drawString (6, 9, "Cel", 4, GRAPHICS_NORMAL); ncua (5000); }
Pom zoo:
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: 53 Cov Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: Lub hom phiaj yog dab tsi? Ua kom yooj yim dua los ntawm kev ua kom sov koj lub tsev raws nraim qhov koj xav Ua kom txuag nyiaj thiab txo cov pa roj carbon tsev tso cua sov los ntawm cua sov koj lub tsev tsuas yog thaum koj xav tau Kev tswj hwm koj cov cua sov nyob txhua qhov chaw koj zoo siab koj tau ua nws y
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
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Zaub Ntawv ntawm P10 LED Zaub Siv Arduino: 5 Cov Kauj Ruam (nrog Duab)
Luam Cov Ntawv ntawm P10 LED Zaub Siv Arduino: Dotmatrix Zaub lossis ntau zaus hu ua Running Text feem ntau pom hauv khw yog txhais tau tias tshaj tawm lawv cov khoom, nws siv tau thiab yoog raws nws siv uas txhawb cov lag luam ua yeeb yam siv nws li kev tshaj tawm kev qhia. Tam sim no kev siv Dot