Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
- Kauj Ruam 4: Hauv Visuino Ntxiv & Teeb Khoom
- Kauj Ruam 5: Hauv Visuino Connect Components
- Kauj Ruam 6: Tsim, Sau, thiab Tshaj Tawm Txoj Cai
- Kauj ruam 7: Ua si
- Kauj ruam 8: Troubleshooting
Video: DIY Ntxuam Nrog ON -OFF Khawm - M5StickC ESP32: 8 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov haujlwm no peb yuav kawm paub siv FAN L9110 module siv M5StickC ESP32 pawg thawj coj.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- M5StickC ESP32
- FAN module L9110
- Visuino software: Rub tawm Visuino ntawm no:
Kauj ruam 2: Circuit Court
- Txuas StickC tus pin 5V rau FAN module tus pin VCC
- Txuas StickC tus pin GND rau FAN module tus pin GND
- Txuas StickC tus pin G26 rau FAN module tus pin INA
Kauj Ruam 3: 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 4: Hauv Visuino Ntxiv & Teeb Khoom
- Ntxiv "Ntug Ntug" tivthaiv
- Ntxiv "Toggle (T) Flip-Flop" tivthaiv
- Ntxiv "Digital Multi Source" tivthaiv
- Ntxiv "Text Value" tivthaiv
- Ob npaug nias rau ntawm "TextValue1" thiab hauv Elments window:
- luag "Teeb Tus Nqi" rau sab laug thiab hauv lub qhov rai khoom teeb Tus nqi rau "FAN ON"
- luag "Teeb Tus Nqi" rau sab laug thiab hauv lub qhov rai khoom teeb Tus nqi rau "FAN OFF"
- Kaw lub Elements window
-
Xaiv "M5 Stack Stick C" board thiab hauv cov khoom qhov rai nthuav dav Modules> Zaub ST7735 thiab:
- teeb Orientation rau goRight
-
Xaiv Cov Ntsiab Lus thiab nyem rau ntawm 3 dots khawm thiab hauv lub qhov rai ntsiab lus
luag "Cov Ntawv: Teb" mus rau sab laug thiab hauv cov khoom vaj khoom tsev teeb tsa qhov loj me rau 3 thiab Thawj Tus Nqi rau "FAN OFF"
- Kaw lub Elements window
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas "M5 Stack Stick C" khawm tus pin A (M5) rau "DetectEdge1" tus pin Hauv
- Txuas "DetectEdge1" tus pin tawm mus rau "TFlipFlop1" tus pin moos
- Txuas "TFlipFlop1" tus pin tawm mus rau "DigitalMultiSource1" tus pin Hauv
- Txuas "TFlipFlop1" tus pin hloov mus rau "TextValue1"> Teeb Tus Nqi2> tus pin moos
- Txuas "DigitalMultiSource1" tus pin [0] rau "TextValue1"> Teeb Tus Nqi1> tus pin moos
- Txuas "DigitalMultiSource1" tus pin [1] rau "M5 Stack Stick C" tus pin GPPIO26
- Txuas "TextValue1" pin Out to "M5 Stack Stick C" pin Text Field1 pin Clock
- Txuas "TextValue1" pin Out to "M5 Stack Stick C" pin Text Field1 pin In
Kauj Ruam 6: Tsim, Sau, thiab Tshaj Tawm Txoj Cai
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 M5StickC tus FAN yuav pib tig thiab koj tuaj yeem tig nws OFF lossis ON siv Lub Pob Khawm M5, kuj koj yuav pom cov xwm txheej ntawm Zaub.
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:
Kauj ruam 8: Troubleshooting
- Nco ntsoov tias koj tau xaiv txoj cai StickC board, txheeb xyuas koj tus qauv
- Qee lub sij hawm koj yuav tsum tau OFF/ON rau StickC module ua ntej siv, koj tuaj yeem ua li ntawd los ntawm kev tuav lub khawm ib sab rau 5+ vib nas this.
Pom zoo:
Yuav Ua Li Cas Tus Kheej Mini Ntxuam Ntxuam Tawm ntawm Lub Khoos Phis Tawj Qub - Haum rau hauv Koj Lub Hnab Hnab: 6 Kauj Ruam
Yuav Ua Li Cas Tus Kheej Mini Ntxuam Ntxuam Tawm ntawm Lub Khoos Phis Tawj Qub - Haum rau hauv Koj Lub Hnab Hnab: Kuv yuav qhia koj yuav ua li cas thiaj ua tau tus kheej lub rooj mini kiv cua tawm ntawm lub khoos phis tawj qub. Ib qho ntxiv yog tias nws txawm haum hauv koj lub hnab ris. Nov yog txoj haujlwm yooj yim heev, yog li tsis xav tau kev paub ntau ntxiv lossis kev txawj ntse. Yog li cia pib
Ntxuam Ntxuam Ua Ntse: 7 Kauj Ruam
Dumb Ntxuam Ua Ntse: Kuv xav ua tus kiv cua zoo li lub ntsej muag ntse, vim tias kuv tau dhuav uas tau qhib nws thiab tawm ntawm tus kheej, thaum nws hla mus rau lwm sab ntawm chav thiab kuv nyob ntawm lub rooj zaum lossis hauv txaj. Kuv kuj xav kom tuaj yeem ncua sijhawm thaum kuv mus pw. Qee tus kiv cua
Yuav Ua Li Cas Ntxuam Ntxuam Nrog DC Tsav?: 6 Kauj Ruam
Yuav Ua Li Cas Kom Ntxeev Siab Nrog DC Tsav?: Ua ntej, saib daim vis dis aus tag nrho koj yuav nkag siab Txhua yam.Qhov muaj nyob hauv qab no
Rooj Bluetooth Hais Lus Nrog Pom Pom Lub Suab, Khawm Khawm thiab NFC.: 24 Kauj Ruam (nrog Duab)
Rooj Bluetooth Hais Lus Nrog Pom Pom Suab, Khawm Khawm thiab NFC.: Nyob zoo! Hauv Cov Lus Qhia no Kuv yuav qhia yuav ua li cas kuv thiaj ua Lub Rooj Sib Tham Bluetooth hais lus no uas muaj Lub Suab Pom Zoo Zoo nrog kov cov nyees khawm thiab NFC. Ua tau yooj yim ua ke nrog NFC Enabled cov cuab yeej nrog tsuas yog kov. Tsis muaj lub cev khawm
Micro: ntsis Cov Hauv Paus Kawm: Khawm Khawm: 11 Kauj Ruam
Micro: ntsis Cov Hauv Paus Kawm: Kov Khawm: Ntawm BBC Micro: ntsis, muaj 3 kov footers: pin0, pin1, pin2. Yog tias koj tuav tus GND tus pin nrog ib txhais tes thiab kov tus lej 0, 1, lossis 2 nrog rau lwm qhov, qhov hluav taws xob me me (nyab xeeb) yuav ntws los ntawm koj lub cev thiab rov qab mus rau hauv micro: me ntsis. Qhov no yog