Cov txheej txheem:

Tsheb kauj vab Kickstand Txoj Haujlwm Sensor Los Ntawm Magicbit [Magicblocks]: 8 Kauj Ruam
Tsheb kauj vab Kickstand Txoj Haujlwm Sensor Los Ntawm Magicbit [Magicblocks]: 8 Kauj Ruam

Video: Tsheb kauj vab Kickstand Txoj Haujlwm Sensor Los Ntawm Magicbit [Magicblocks]: 8 Kauj Ruam

Video: Tsheb kauj vab Kickstand Txoj Haujlwm Sensor Los Ntawm Magicbit [Magicblocks]: 8 Kauj Ruam
Video: Lub Tsheb Kauj Vab (Official Music Video 2023) N. Vajxob Xyooj 2024, Hlis ntuj nqeg
Anonim

Yooj Yim DIY Project los ua Kickstand Txoj Haujlwm Sensor nrog Magicbit siv Magicblocks. Peb tab tom siv khawv koob raws li pawg thawj coj loj hauv txoj haujlwm no uas yog raws ESP32. Yog li ntawd ib qho ESP32 pawg thawj coj loj tuaj yeem siv tau hauv txoj haujlwm no.

Khoom siv

  • Magicbit - Cov Pro
  • Jumper xov hlau (generic)

Kauj ruam 1: Zaj dab neeg

Nyob zoo thiab Txais Tos, Nov yog qhov haujlwm DIY yooj yim los ua Kickstand Txoj Haujlwm Sensor nrog Magicbit siv Magicblocks.

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

  • Los ntawm kev siv Dashboard Text Output.
  • Los ntawm kev siv Dashboard Text Output.

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

Magicbit: Magicbit Yog kev txhim kho kev koom ua ke 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 Digital hauv Block

Teeb Digital hauv Block
Teeb Digital hauv Block
Teeb Digital hauv Block
Teeb Digital hauv Block
Teeb Digital hauv Block
Teeb Digital hauv Block

1. Luag & Tso Tus Digital In block los ntawm ntu Magicbit-nodes mus rau qhov ntws.

2. Ob-nias rau ntawm Digital In 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 tus qauv txuas nrog ua lub cim digital los ntawm Magicbit]

3. Ob tus lej PIN 32 & 33 tuaj yeem siv nrog Tilt Sensor, yog li txuas nws mus rau ib qho ntawm lawv thiab nco ntsoov xaiv tus PIN raug (uas koj txuas nrog lub sensor) los ntawm cov ntawv qhia zaub mov nco.

4. Xaiv Txoj Kev Raws li cuam tshuam los ntawm cov ntawv qhia zaub mov nco-down.

Kauj Ruam 3: [Magicbit PIN Layout]

[Magicbit PIN Txheej Txheem]
[Magicbit PIN Txheej Txheem]

Kauj Ruam 4: Teeb Cov Zaub Thaiv

Teeb lub Zaub Thaiv
Teeb lub Zaub Thaiv
Teeb lub Zaub Thaiv
Teeb lub Zaub Thaiv

1. Luag & Tso Zaub thaiv los ntawm ntu Magicbit-nodes mus rau qhov ntws.

2. Ob-nias rau ntawm Display Display thiab ntaus lossis muab koj tus lej cim tshwj xeeb los ntawm Device Manager Tab ntawm koj tus lej Magicblocks. [Qhov no yuav txuas qhov thaiv nrog Onboard OLED Display ntawm Magicbit]

Kauj Ruam 5: Teeb Cov Ntawv Thaiv

Teeb Cov Ntawv Thaiv
Teeb Cov Ntawv Thaiv
Teeb Cov Ntawv Thaiv
Teeb Cov Ntawv Thaiv

1. Luag & xa cov ntawv thaiv los ntawm ntu ntu ntawm lub dashboard mus rau Flow.

2. Ob-nias ntawm kab ntawv thiab teeb tsa lub hauv paus dashboard ui [user-interface] los ntawm cov ntawv qhia zaub mov nco thiab lub npe rau koj daim teb.

Kauj Ruam 6: Teeb Hloov Hloov

Teeb Hloov Hloov
Teeb Hloov Hloov
Teeb Hloov Hloov
Teeb Hloov Hloov
Teeb Hloov Hloov
Teeb Hloov Hloov

(Qhov Node no tau siv los hloov qhov 1 & 0 teeb liab nkag los ntawm Digital In node rau cov ntawv koj xav tau)

1. Luag & Tso Tus Hloov Pauv Hloov los ntawm cov haujlwm ua haujlwm ntu ntawm sab laug ntawm lub vijtsam kom ntws.

2. Ntxiv txoj cai tshiab los ntawm '+' Khawm siv 2 txoj cai.

3. Hloov txoj haujlwm ntawm ob qho ntawm txoj cai los ntawm Set to Change los ntawm cov ntawv qhia zaub mov nco. 4. Tom ntej hloov qhov 'Tshawb nrhiav' ua haujlwm los ntawm Txoj hlua (ntawv) rau Tus lej hauv ob qho ntawm txoj cai. Thiab xyuas kom tseeb tias 'Hloov nrog' ua haujlwm tau teev rau Txoj hlua (ntawv).

5. Teeb tsa cov kev cai.

  • Thawj Txoj Cai los tshawb nrhiav '0' hauv cov lus qhia tawm thiab hloov nws nrog peb cov ntawv (piv txwv li 'Tso Tawm' lossis 'On')
  • Txoj Cai Thib Ob los tshawb nrhiav '1' hauv cov lus taw qhia thiab hloov nws nrog peb cov ntawv (piv txwv li 'Rov Qab' lossis 'Tawm')

[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 Digital In & Display nodes cov khoom thiab xaiv tus lej PIN uas koj Tilt Sensor txuas nrog.

Kauj Ruam 7: Txheej txheem cej luam

Txheej txheem cej luam
Txheej txheem cej luam

Kauj Ruam 8: Thaum kawg Tso Tawm Cov Thaiv

Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
Thaum kawg Deploying Blocks
  • Txuas tag nrho cov thaiv.
  • 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.
  • Deploying & Retracting lub tsheb kauj vab kickstand yuav cuam tshuam nrog Dashboard thiab OLED Display los qhia koj txoj haujlwm tam sim no ntawm Kickstand.

Teeb meem

  • Txheeb xyuas seb koj li Magicbit txuas nrog internet.
  • Txheeb xyuas seb Tilt Sensor txuas nrog raug thiab siv tus lej PIN raug (piv txwv li PIN 33).

Pom zoo: