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
Video: M5StickC ESP32 & NeoPixels LED Nplhaib Random Xim: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv txoj haujlwm no peb yuav kawm paub yuav ua li cas tso saib cov xim ib txwm nyob ntawm NeoPixels LED Ring siv M5StickC ESP32 board.
Saib Video.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- M5StickC ESP32
- NeoPixels LED Ring (Hauv qhov haujlwm no peb siv LedRing nrog 12 LED Pixels tab sis koj tuaj yeem siv lwm yam yog tias koj xav tau)
- Visuino software: Rub tawm Visuino ntawm no:
Kauj ruam 2: Circuit Court
- Txuas StickC tus pin 5V rau LedRing tus pin VCC
- Txuas StickC tus pin GND rau LedRing tus pin GND
- Txuas StickC tus pin G26 rau LedRing tus pin DI
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 "NeoPixels" tivthaiv
- Ntxiv "Random Xim" tivthaiv
- Nyem ob npaug rau "NeoPixels1" Hauv cov khoom vaj khoom tsev teeb tus lej ntawm coj tus lej ntawm koj lub Nplhaib LED, hauv peb cov ntaub ntawv nws 12. Yog li teeb tsa "Suav Pixels" rau 12
- Kaw lub Pixel Pawg qhov rai.
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas "M5 Stack Stick C" Khawm tus pin M5 rau "RandomColor1" tus pin moos
- Txuas "RandomColor1" tus pin tawm mus rau "NeoPixels1"> Xim 1> tus pin xim.
- Txuas "NeoPixels1" tus pin tawm mus rau "M5 Stack Stick C" tus pin GPIO 26
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 thiab nyem rau ntawm lub pob kab ntxwv M5, lub LED Ntiv Nplhaib yuav tso tawm xim xim, tom qab ntawd nyem lub pob M5 dua kom hloov xim.
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:
Pom zoo:
Xim Hloov LED Ntiv Nplhaib Teeb: 11 Kauj Ruam
Xim Hloov LED Ntiv Nplhaib Teeb: Hnub no peb tab tom yuav ua 20 nti xim hloov LED lub teeb ci. Kuv paub lub teeb ntiv nplhaib feem ntau ncig hauv cov duab tab sis qhov no yuav yog lub xwmfab kom ua tej yam yooj yim dua. Qhov haujlwm me me no feem ntau yog rau cov kws yees duab uas xav tau budg
512 Xim LED Flasher (random): 13 Kauj Ruam
512 Xim LED Flasher (random): Qhov teeb nyem LED no qhia 512 xim yam tsis siv lub microcontroller. 9-ntsis binary counter tsim pseudo-random tus lej thiab 3 D/A (digital to analog) hloov pauv tsav liab, ntsuab thiab xiav LED
Me Me RGB LED Kos Npe Los Ua Ke (Xim Xim): 4 Cov Kauj Ruam
Me Me RGB LED Kos Npe Los Ua Ke (Xim Xim): Hauv Cov Lus Qhia Kuv xav qhia seb kuv tsim lub cim LED no rau siv nyob rau ntau yam xwm txheej twg. Kuv nyiam cov phiaj xwm uas ua kom pom kev, thiab kuv tau muaj kev txaus siab tsis ntev los no los ua cov teeb pom kev zoo rau cov rooj sib tham thiab rooj sib tham uas peb muaj kev sawv los qhia qee yam
MESOMIX - Automated Xim Xim Xim Tshuab: 21 Cov Kauj Ruam (nrog Duab)
MESOMIX - Automated Xim Xim Xim Tshuab: Koj puas yog tus tsim qauv, tus kws kos duab lossis tus neeg muaj tswv yim uas nyiam tha xim rau ntawm koj daim ntaub, tab sis feem ntau nws nyuaj thaum nws los ua qhov ntxoov ntxoo uas xav tau. uas tawm tsam rau huab cua nyias. Raws li cov cuab yeej no, koj
Cov xim pleev xim ntau xim (Kov Rhuav): 8 Kauj Ruam (nrog Duab)
Cov xim pleev xim ntau xim (Kov Rhuav): Teeb duab yog cov txheej txheem thaij duab siv los tsim cov teebmeem tshwj xeeb ntawm qhov kaw qhov nrawm. Lub teeb nyem feem ntau yog siv rau "xim" cov duab. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav ua li cas txhawm rau tsim txhua yam hauv ib tus kws pleev xim nrog kov