Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj Ruam 2: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
- Kauj Ruam 3: Hauv Visuino Ntxiv thiab Teeb Khoom
- Kauj Ruam 4: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 5: Hauv Visuino Connect Components
- Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 7: Ua si
- Kauj Ruam 8: Ntxiv: Qhov Yooj Yim
- Kauj Ruam 9: Hauv Kev Qhia Ntxiv Tom ntej
Video: DIY Yuav Qhia Li Cas Lub Sijhawm ntawm M5StickC ESP32 Siv Visuino - Yooj Yim Ua: 9 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 yuav ua haujlwm li cas ESP32 M5Stack StickC nrog Arduino IDE thiab Visuino kom tso saib lub sijhawm ntawm LCD.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- M5StickC ESP32: koj tuaj yeem tau txais nws ntawm no
- Visuino program: Rub tawm Visuino
Nco tseg: Txheeb xyuas cov ntawv qhia no ntawm yuav ua li cas rau Nruab StickC ESP32 pawg thawj coj
Kauj Ruam 2: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino raws li pom hauv thawj daim duab Nyem rau "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim duab 1)
hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "M5 Stack Stick C" raws li qhia hauv daim duab 2
Kauj Ruam 3: Hauv Visuino Ntxiv thiab Teeb Khoom
- Nyem rau ntawm "M5 Stack Stick C" Board kom xaiv nws
- Hauv "Properties" qhov rai xaiv "Modules" thiab nyem "+" kom nthuav dav, Xaiv "Display ST7735" thiab nyem "+" txhawm rau nthuav nws
- Teeb Orientation rau "goRight" <qhov no txhais tau tias yuav siv sijhawm li cas ntawm LCD
- Xaiv "Cov ntsiab lus" thiab nyem rau ntawm lub pob xiav nrog 3 dots …
- Elements Dialog yuav qhia
- Hauv Elements Dialog luag "Text Field" los ntawm sab xis mus rau sab laug
Nyem rau ntawm "Text Field1" ntawm sab laug kom xaiv nws, tom qab ntawd hauv "Properties window" nyem rau xim thiab teeb nws rau "aclOrange"
-thiab hauv cov khoom qhov rai teeb tsa X: 10 thiab Y: 20 qhov no yog qhov uas koj xav kom tso saib lub sijhawm ntawm LCD
-set loj: 3 qhov no yog qhov loj me ntawm lub sijhawm
-Koj tuaj yeem teev cov ntawv me me thiab xim yog tias koj xav tau
Kaw lub ntsiab qhov rai
Xaiv tau:
Nyem rau ntawm "M5 Stack Stick C" Board kom xaiv nws
Hauv "Properties" qhov rai xaiv "Modules" thiab nyem "+" Txhawm rau nthuav dav, Xaiv "Display ST7735" thiab nyem "+" txhawm rau nthuav nws thiab koj yuav pom "Xim tom qab" qhov no yog lub xim pib ntawm cov zaub, hloov nws mus rau koj cov xim uas koj nyiam, koj tuaj yeem hloov pauv teeb pom kev zoo, lub neej ntawd yog 1 (max) koj tuaj yeem teeb nws rau 0.5 lossis qee qhov nqi kom ua rau nws ntau dua
6. Ntxiv "Decode (Split) Date/Time" component 7. Ntxiv "Formatted text" component
Kauj Ruam 4: Hauv Visuino Teeb Cov Khoom
- Xaiv "FormattedTxt1" tivthaiv thiab hauv qab "Properties" qhov rai teeb "Text" rau:%0:%1:%2
- Nyem ob npaug rau "FormattedText1" tivthaiv thiab hauv Elements dialog rub 3x "Text Element" mus rau sab laug
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas "M5 Stack Stick C"> Lub Sijhawm Tswb Tswb Tswb (RTC)> Pin [Tawm] rau "DecodeDateTime1" tivthaiv tus pin [Hauv]
- Txuas "DecodeDateTime1" tivthaiv tus pin [Teev] rau "FormattedText1" tivthaiv "TextElement1" tus pin [Hauv]
- Txuas "DecodeDateTime1" tiv thaiv tus pin [Minute] rau "FormattedText1" tivthaiv "TextElement2" tus pin [Hauv]
- Txuas "DecodeDateTime1" tiv thaiv tus pin [Thib Ob] rau "FormattedText1" tivthaiv "TextElement3" tus pin [Hauv]
- Txuas "FormattedText1" tivthaiv tus pin [Tawm] rau "M5 Stack Stick C" board "Display ST7735"> "Text Field1" pin [In]
Kauj Ruam 6: 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 7: Ua si
Yog tias koj siv lub zog M5Sticks module, cov zaub yuav tsum pib qhia lub sijhawm.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm M5Sticks nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no.
Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Kauj Ruam 8: Ntxiv: Qhov Yooj Yim
Koj tuaj yeem siv lub sijhawm tam sim no uas nyob hauv koj lub khoos phis tawj thaum lub sijhawm koj sau cov cai hauv Arduino.
Txhawm rau ua qhov ntawd tsuas yog poob "Compile Date/Time" tivthaiv thiab txuas nws mus rau "M5 Stack Stick C"> "Real Time Alarm Clock (RTC)" pin [Set]
Koj tuaj yeem rub qhov Project file nrog qhov ua kom yuam kev no.
Kauj Ruam 9: Hauv Kev Qhia Ntxiv Tom ntej
Hauv qhov kev qhia tom ntej no kuv yuav qhia koj yuav ua li cas Saib Zoo Saib qhov twg koj tuaj yeem teeb tsa lub sijhawm siv StickC cov nyees khawm! Nyob twj ywm thiab txheeb xyuas kuv lwm yam kev qhia ntawm no.
Pom zoo:
Yuav Siv Li Cas Lub Sijhawm Teev Sijhawm Tiag (DS3231): 5 Kauj Ruam
Yuav Ua Li Cas Siv Lub Sijhawm Caij Sijhawm Tiag (DS3231): DS3231 yog tus nqi qis, tsis tshua muaj neeg raug I2C lub sijhawm tiag tiag (RTC) nrog kev sib xyaw ua kom sov-them nyiaj siv lead ua oscillator (TCXO) thiab siv lead ua. Lub cuab yeej suav nrog lub roj teeb nkag thiab tswj lub sijhawm kom raug thaum lub zog tseem ceeb rau
Yuav Qhia Li Cas Cov Ntawv ntawm M5StickC ESP32 Siv Visuino: 6 Kauj Ruam
Yuav Qhia Li Cas Cov Ntawv ntawm M5StickC ESP32 Siv Visuino: Hauv qhov kev qhia no peb yuav kawm paub yuav ua haujlwm li cas ESP32 M5Stack StickC nrog Arduino IDE thiab Visuino kom tso saib cov ntawv ntawm LCD
Lub Sijhawm Siv Lub Sijhawm Nco Ntsoov (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): 5 Kauj Ruam
Screen Time Usage Reminder (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): Taw Qhia Qhov no yog lub tshuab siv tau los ntawm Arduino, nws ceeb toom koj kom so los ntawm kev ua "biiii!" suab thiab ua rau koj lub khoos phis tawj rov qab xauv npo tom qab siv sijhawm 30 feeb ntawm lub sijhawm tshuaj ntsuam. Tom qab so rau 10 feeb nws yuav "b
Yuav Ua Li Cas Lub Sijhawm Teev Sijhawm Siv Arduino thiab TFT Zaub - Arduino Mega RTC Nrog 3.5 Ntiag TFT Zaub: 4 Kauj Ruam
Yuav Ua Li Cas Lub Sijhawm Teev Sijhawm Siv Arduino thiab TFT Zaub | Arduino Mega RTC Nrog 3.5 Ntiag TFT Zaub: Mus Saib Kuv Youtube Channel.Introduction:- Hauv kab ntawv no kuv yuav ua "Sijhawm Sijhawm" siv 3.5 nti TFT kov LCD, Arduino Mega 2560 thiab DS3231 RTC module…. Ua ntej pib… tshawb xyuas cov vis dis aus los ntawm kuv tus YouTube channel..Ntau:- Yog tias koj siv Arduin
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm Ntawm Phab Ntsa: 6 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm ntawm Phab Ntsa: Cov lus qhia no qhia koj yuav tsim lub moos projector li cas. Cov cuab yeej no tso cai rau koj npaj sijhawm rau ntawm phab ntsa. Raws li lub tswb LCD me me (tsis dhau me me, hloov pauv, koj yuav tsis tuaj yeem ua nws thiab ua haujlwm rau nws), qhov no yog txoj hauv kev zoo rau kev tshem tawm