Cov txheej txheem:

StickC M5Stack LED Blink: 7 Kauj Ruam
StickC M5Stack LED Blink: 7 Kauj Ruam

Video: StickC M5Stack LED Blink: 7 Kauj Ruam

Video: StickC M5Stack LED Blink: 7 Kauj Ruam
Video: Kiosk mode Bruteforce Evasion with Flipper Zero 2024, Kaum ib hlis
Anonim

Hauv txoj haujlwm no peb yuav kawm paub txuas thiab ua kom LED ntsais siv M5StickC ESP32 module.

Saib Video.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • M5StickC ESP32 module
  • LED
  • Visuino software: Rub tawm Visuino ntawm no:

Kauj ruam 2: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
  • Txuas LED tus lej tsis zoo rau StickC tus pin GND
  • Txuas LED tus pin zoo rau StickC tus pin G26

Kauj Ruam 3: Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type

Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
Pib Visuino, thiab Xaiv M5 Stack Stick C Board Type
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

Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
Hauv Visuino Ntxiv & Teeb Khoom
  • Ntxiv "Pulse Generator" tivthaiv
  • Xaiv "PulseGenerator1" thiab hauv lub qhov rai qhov khoom hloov pauv zaus kom ua rau LED ntsais sai dua lossis qeeb dua:

    • Zaus: 1> LED yuav ntsais ib zaug ib pliag
    • Zaus: 0.5> LED yuav ntsais ib zaug rau 2 vib nas this
    • Zaus: 10> LED yuav ntsais ib zaug rau 10 ib ob
  • Txuas "PulseGenerator1" tus pin tawm mus rau "M5 Stack Stick C" tus pin GPIO 26

Kauj Ruam 5: Tsim, Sau, thiab Tshaj Tawm Txoj Cai

Tsim, Sau, thiab Tshaj Tawm Txoj Cai
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 6: Ua si

Yog tias koj siv zog M5StickC module LED yuav pib ntsais muag.

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 7:

Duab
Duab
  • 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: