Cov txheej txheem:

Qhib LED Hauv Is Taws Nem [MagicBlocks]: 10 Kauj Ruam
Qhib LED Hauv Is Taws Nem [MagicBlocks]: 10 Kauj Ruam

Video: Qhib LED Hauv Is Taws Nem [MagicBlocks]: 10 Kauj Ruam

Video: Qhib LED Hauv Is Taws Nem [MagicBlocks]: 10 Kauj Ruam
Video: Tik Tok || Tseem Nco Koj Thiab Kuv P15 2024, Hlis ntuj nqeg
Anonim

Cov ntawv qhia no yuav qhia koj kom Tswj LED ntawm koj li Magicbit siv Magicblocks.

Khoom siv

Magicbit - Cov Pro

Kauj ruam 1: Zaj dab neeg

Nyob zoo thiab Zoo Siab Txais Tos, Qhov kev qhia luv luv no yuav qhia koj kom sib txuas LED ntawm koj li Magicbit siv Magicblocks.

Muaj 2 txoj hauv kev tseem ceeb kom ua tiav lub hom phiaj no;

  • Los ntawm kev siv Inject Block.
  • Los ntawm kev siv Dashboard Hloov.

Ua ntej tshaj plaws nkag mus rau koj tus lej Magicblocks, Magicblocks yog ib qho yooj yim pom tau qhov software software rau kev ua haujlwm koj li magicbit. Txhua tus tuaj yeem ua haujlwm lawv cov tswj hwm micro los ntawm kev siv magicblocks.io thiab tsis tas yuav xav tau kev paub txog lub cajmeem. Koj tuaj yeem sau npe tau dawb.

Pib thiab Qhib Chaw Ua Si.

Tom ntej no kom ntseeg tau tias koj Magicbit txuas nrog internet thiab txuas nrog thiab tseem txuas rau koj tus lej nyiaj los ntawm Tus Thawj Tswj Ntaus Ntawv.

Txhua Tiav? ces nqes mus rau Txoj Kev 1

Daim Ntawv Teev Cov Khoom Yuav Tsum Tau

Daim Ntawv Teev Cov Khoom Yuav Tsum Tau

Magicbit: Magicbitis kev koom ua ke txhim kho raws li ESP32 rau kev kawm, kev tsim qauv, cim, khoom siv hluav taws xob, neeg hlau, IoT thiab kev daws teeb meem tsim.

Kauj Ruam 2: Teeb tsa Qhov Txhaum Thaiv [Txoj Kev 1]

Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]
Teeb Qhov Txhaj Thaiv [Txoj Kev 1]

1. Luag & poob qhov Inject block los ntawm ntu ntu nkag ntawm sab laug ntawm qhov screen mus rau Flow.

2. Ob-nias rau ntawm qhov thaiv thiab xaiv hom kev them nyiaj los ntawm cov ntawv qhia zaub mov nco mus rau cov lej nkag (tus lej).

3. Teeb lub npe ntawm [yeem] thiab tus lej txhawm rau txhaj (0 lossis 1).

Kauj Ruam 3: Teeb tsa Digital Out Block [Txoj Kev 1]

Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]
Teeb tsa Digital Out Block [Txoj Kev 1]

1. Luag & tso lub Digital out block los ntawm ntu Magicbit ntawm sab laug ntawm lub vijtsam kom ntws.

2. Ob-nias rau ntawm cov digital tawm block thiab ntaus lossis muab koj tus lej cim tshwj xeeb los ntawm Device Manager Tab ntawm koj tus lej Magicblocks. [Qhov no yuav txuas cov digital tawm block nrog koj Magicbit]

3. Teeb tus PIN rau ib qho ntawm LED Pins.

Kauj Ruam 4: [Yeem Tsis Tau] Ntshuam Teem Teeb Node

[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb
[Tsis teb los tau] Ntshuam Teem Teem Teeb

Yog tias koj muaj teeb meem teeb tsa cov node, koj tuaj yeem siv cov khoom ntshuam hauv Magicblocks kom tau txais cov nodes uas twb tau teeb tsa.

  • Ua ntej luam daim ntawv no rau koj daim ntawv teev cia.
  • Nyem rau ntawm cov ntawv qhia zaub mov nyob rau sab saum toj sab xis ntawm lub vijtsam.
  • Tom ntej no yuj koj tus cursor hla Ntshuam sub-menu.
  • Tom qab ntawv nyem rau ntawm Clipboard thiab muab tus lej cim rau ntawm koj daim ntawv los teev cia rau kab ntawv.
  • Xaiv cov dej ntws tam sim no lossis ntws tshiab thiab nyem rau Ntshuam.

TSEEM CEEB

Nco ntsoov tias koj ntaus koj tus lej ID ntawm cov khoom pom ntawm lub ntsej muag thiab ntaus cov ntawv koj xav tau sab hauv ntawm qhov chaw txhaj tshuaj.

Kauj Ruam 5: Thaum kawg Tso Tawm Cov Thaiv [Txoj Kev 1]

Thaum kawg Deploying Blocks [Txoj Kev 1]
Thaum kawg Deploying Blocks [Txoj Kev 1]

1. Txuas qhov txhaj tshuaj nrog Digital Out node.

2. Nyem rau ntawm lub pob tso rau saum kaum sab xis saum toj ntawm lub vijtsam.

3. Tom qab kev teeb tsa nyem rau ntawm lub npov sab laug ntawm qhov thaiv thaiv kom qhib nws thiab yog tias koj nyem qhov 'On' txhaj thaiv qhov LED koj xaiv yuav qhib, tom ntej nyem rau ntawm 'Off' txhaj thaiv kom tua nws.

Kauj Ruam 6: Kom Tswj Tag Nrho Plaub LEDs Ib Zaug

Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug

1. Luam theej tawm Digital Out block 3 zaug thiab muab txhua qhov thaiv rau plaub LED Pins.

2. Tom ntej txuas nrog 'On' thiab 'Off' txhaj cov block nrog tus tshiab Digital Out block.

3. Nyem rau Deploy khawm nyob rau sab saum toj sab xis ntawm lub vijtsam.

4. Tom qab kev teeb tsa nyem rau ntawm lub npov sab laug ntawm qhov txhaj tshuaj txhawm rau qhib nws thiab yog tias koj nyem qhov 'On' txhaj thaiv cov LEDs uas koj xaiv yuav qhib, tom ntej nyem rau ntawm 'Off' txhaj thaiv kom tua nws.

Troubleshooting [Txoj Kev 1]

  • Txheeb xyuas seb nws qhia txuas nrog (lossis 1/0) hauv qab cov lus thaiv yog tias tsis rov tshuaj xyuas tus lej ntaus ntawv uas koj tau ntaus rau hauv cov khoom thaiv.
  • Txheeb xyuas seb koj li Magicbit txuas nrog internet.

Kauj Ruam 7: Teeb Kev Hloov Hloov [Txoj Kev 2]

Teem Up Switch Switch [Txoj Kev 2]
Teem Up Switch Switch [Txoj Kev 2]
Teem Up Switch Switch [Txoj Kev 2]
Teem Up Switch Switch [Txoj Kev 2]

1. Luag & poob qhov Hloov pauv los ntawm ntu ntu ntawm lub dashboard mus rau Flow.

2. Ob npaug nias rau ntawm Hloov Hloov thiab teeb tsa qhov yooj yim dashboard ui [user-interface] los ntawm cov ntawv qhia zaub mov nco thiab lub npe rau koj daim teb.

3. Xaiv Tus Qauv raws li tus lej nkag los ntawm cov ntawv qhia zaub mov nco rau On thiab Off. Thiab teeb tsa kev them nyiaj raws li 1 thiab tshem tawm kev them nyiaj raws li 0.

Kauj Ruam 8: Teeb tsa Digital Out Block [Txoj Kev 2]

Teeb tsa Digital Out Block [Txoj Kev 2]
Teeb tsa Digital Out Block [Txoj Kev 2]
Teeb tsa Digital Out Block [Txoj Kev 2]
Teeb tsa Digital Out Block [Txoj Kev 2]
Teeb tsa Digital Out Block [Txoj Kev 2]
Teeb tsa Digital Out Block [Txoj Kev 2]

1. Luag & tso lub Digital out block los ntawm ntu Magicbit ntawm sab laug ntawm lub vijtsam kom ntws.

2. Ob-nias rau ntawm cov digital tawm block thiab ntaus lossis muab koj tus lej cim tshwj xeeb los ntawm Device Manager Tab ntawm koj tus lej Magicblocks. [Qhov no yuav txuas cov digital tawm block nrog koj Magicbit]

[Tsis teb los tau] Ntshuam Teem Teem Teeb

  • Ua ntej luam daim ntawv no rau koj daim ntawv teev cia.
  • Nyem rau ntawm cov ntawv qhia zaub mov nyob rau sab saum toj sab xis ntawm lub vijtsam.
  • Tom ntej no yuj koj tus cursor hla Ntshuam sub-menu.
  • Tom qab ntawv nyem rau ntawm Clipboard thiab muab tus lej cim rau ntawm koj daim ntawv los teev cia rau kab ntawv.
  • Xaiv cov dej ntws tam sim no lossis ntws tshiab thiab nyem rau Ntshuam.

TSEEM CEEB

Nco ntsoov tias koj ntaus koj tus lej ID ntawm cov khoom pom ntawm lub ntsej muag thiab ntaus cov ntawv koj xav tau sab hauv ntawm qhov chaw txhaj tshuaj.

Kauj Ruam 9: Thaum kawg Tso Tawm Cov Thaiv & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]

Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
Thaum kawg Deploying Blocks & Siv Dashboard UI kom Nkag Mus Rau Nws [Txoj Kev 2]
  • Txuas lub Switch block nrog Digital Out node.
  • Nyem rau Deploy khawm nyob rau sab saum toj sab xis ntawm lub vijtsam.
  • Tom qab xa mus rau lub dashboard ui los ntawm txhaj rau qhov txuas rau dashboard URL nyob rau sab saum toj sab xis ntawm lub vijtsam.
  • Ib zaug hauv lub dashboard koj tuaj yeem hloov qhov kev hloov pauv koj tsuas yog teeb tsa thiab tawm los tswj cov LED koj tau muab rau hauv digital block.
  • Luam koj li Dashboard URL thiab qhov no tuaj yeem nkag mus hauv is taws nem kom pom cov ntawv mus rau koj li Magicbit Zaub los ntawm txhua qhov chaw hauv ntiaj teb.

Kauj Ruam 10: Kom Tswj Tag Nrho Plaub LEDs Ib Zaug

Txhawm rau Tswj Txhua Plaub LEDs ib zaug
Txhawm rau Tswj Txhua Plaub LEDs ib zaug

1. Luam theej tawm Digital Out block 3 zaug thiab muab txhua qhov thaiv rau plaub LED Pins.

2. Thiab txuas lawv nrog lub thaiv thaiv.

3. Nyem rau Deploy khawm nyob rau sab saum toj sab xis ntawm lub vijtsam.

4. Tom qab xa mus rau lub dashboard ui los ntawm txhaj rau qhov txuas rau dashboard URL nyob rau sab saum toj sab xis ntawm lub vijtsam.

5. Tam sim no qhov toggling qhov qhib thiab kaw yuav tswj tag nrho plaub LEDs.

Luam koj li Dashboard URL thiab qhov no tuaj yeem nkag mus hauv is taws nem kom pom cov ntawv mus rau koj li Magicbit Zaub los ntawm txhua qhov chaw hauv ntiaj teb

Troubleshooting [Txoj Kev 1]

  • Txheeb xyuas seb nws qhia txuas (lossis 1/0) hauv qab cov digital tawm block yog tias tsis tshuaj xyuas tus lej ntaus ntawv uas koj tau ntaus rau hauv cov digital tawm block.
  • Txheeb xyuas seb koj li Magicbit txuas nrog internet.

Pom zoo: