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 Cheebtsam
- 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: Hauv Kev Qhia Ntxiv Tom ntej
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 thiab tseem teeb lub sijhawm siv StickC cov nyees khawm.
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 ntawm "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 Cheebtsam
- Nyem rau ntawm "M5 Stack Stick C" Board kom xaiv nws
- Hauv "Properties" window xaiv "Modules" thiab nyem "+" kom nthuav dav,
- Xaiv "Zaub ST7735" thiab nyem "+" txhawm rau nthuav nws,
- Teeb "Kev taw qhia" rau "goRight"
- Teeb "Xim Xim" rau "ClBlack"
- 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 "Color" thiab teeb nws rau "aclWhite" thiab nyem rau "Fill Color" thiab teeb nws rau "aclBlack" (Koj tuaj yeem ua si nrog cov xim yog tias koj xav tau)
-thiab hauv cov khoom qhov rai teeb tsa X: 10 thiab Y: 20 qhov no yog qhov uas koj xav pom lub sijhawm ntawm LCD -teeb loj: 3 (qhov no yog qhov loj me ntawm lub sijhawm) Kaw lub qhov rai
- Ntxiv "Decode (Split) Date/Time" tivthaiv
- Ntxiv "Cov ntawv sau ua ke" tivthaiv
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
- Xaiv "M5 Stack Stick C" board thiab hauv "Properties" window xaiv "Modules"> "Real Time Alarm Clock (RTC)"> "Elements"
- Nyem rau ntawm lub pob xiav nrog 3 dots thiab hauv Elements dialog drag "Set Hour", "Set Minute" thiab "Set Second" mus rau sab laug
- Xaiv ntawm sab laug "Teeb Sijhawm 1" lub ntsiab lus thiab hauv qab "Khoom" qhov rai teeb tsa "Ntxiv Tus Nqi" rau "Muaj tseeb" thiab "Tus nqi" rau "1"
- Xaiv ntawm sab laug "Set Minute1" element thiab hauv qab "Properties" window teeb tsa "Ntxiv Tus Nqi" rau "True" thiab "Value" rau "1"
- Xaiv ntawm sab laug "Teeb Thib Ob" thiab hauv qab "Cov Khoom" qhov rai teeb tsa "Ntxiv Tus Nqi" rau "Muaj tseeb" thiab "Tus nqi" rau "1"
Piav qhia:
"Tus Nqi" txhais tau ntau npaum li cas peb xav ntxiv nrog txhua qhov nyem ntawm lub pob rau lub sijhawm tam sim no (ob teev, feeb lossis vib nas this) "Ntxiv Tus Nqi" txhais tau tias peb xav ntxiv tus nqi rau lub sijhawm tam sim no
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]
- Txuas "M5 Stack Stick C"> Khawm "A (M5)" mus rau "M5 Stack Stick C"> Lub Sijhawm Tswb Tswb Tswb (RTC)> "Teeb Teev 1" Pin [Clock]
- Txuas "M5 Stack Stick C"> Khawm "B" mus rau "M5 Stack Stick C"> Lub Sijhawm Tswb Tswb Tswb (RTC)> "Set Minute1" Pin [Clock]
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. Koj tuaj yeem hloov sijhawm siv khawm "M5" rau Teev thiab "B" rau feeb
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: Hauv Kev Qhia Ntxiv Tom ntej
Hauv qhov kev qhia tom ntej no kuv yuav qhia koj yuav ua li cas Saib Txias Saib qhov twg koj tuaj yeem teev sijhawm (teev, feeb thiab vib nas this) siv StickC cov nyees khawm thiab tsim cov ntawv qhia yooj yim!
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
YUAV UA LI CAS YUAV RAWS LI QHOV ROOJ TSHUAB QHOV ROBOT ARM (PART2: ROBOT RAU KEV ZOO SIAB ZOO TSHAJ PLAWS) - YUAV TSUM MICRO: BIT: 3 Kauj Ruam
YUAV UA LI CAS YUAV RAWS LI QHOV ROOJ TSHUAB QHOV ROBOT ARM (PART2: ROBOT RAU KEV ZOO SIAB ZOO TSHAJ PLAWS)-YUAV TSUM MICRO: BIT: Yav dhau los peb tau qhia txog Armbit hauv kab-taug qab hom. Tom ntej no, peb qhia yuav ua li cas rau nruab Armbit kom tsis txhob muaj teeb meem
YUAV UA LI CAS YUAV UA LI CAS NYOB ZOO TSHAJ PLAWS NROG IR IR LIGHT: 5 Kauj Ruam (nrog Duab)
YUAV UA LI CAS Ua Ib Lub Koob Yees Duab Tsis Muaj IR IR LIGHT: Kuv tau pom lub koob yees duab Infrared thiaj li siv nws hauv lub kaw lus kaw suab. Nrog nws koj tseem tuaj yeem tau txais cov duab txias no: cov khoom ci hauv lub zeem muag lub koob yees duab uas ib txwm muaj nyob hauv qhov tseeb. Koj tuaj yeem tau txais cov txiaj ntsig zoo nkauj rau tus nqi pheej yig Nws
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Yuav Ua Li Cas Firefox Saib Zoo Li Cas thiab Txias Dawb .. Sequil: 4 Kauj Ruam
Yuav Ua Li Cas Firefox Saib Zoo Li Cas thiab Txias Dawb …….. Sequil: Nyob zoo txhua tus. Cov lus qhia no yog ntu me me rau Kuv thawj firefox qhia uas yog ib qho ntawm cov neeg nyiam tshaj plaws firefox yuav ua li cas hauv lub vev xaib. Hnub no kuv yuav qhia koj rau peb: (tshiab thiab txias ntxiv rau firefox. Yog tias koj tsis muaj firefox pl