Cov txheej txheem:

Yuav Siv Ntu 3642BH Nrog SkiiiD: 9 Kauj Ruam
Yuav Siv Ntu 3642BH Nrog SkiiiD: 9 Kauj Ruam

Video: Yuav Siv Ntu 3642BH Nrog SkiiiD: 9 Kauj Ruam

Video: Yuav Siv Ntu 3642BH Nrog SkiiiD: 9 Kauj Ruam
Video: Ntu No Lawv Sib Yuav ( Official Music Video ) Lis Koob Xyooj 2021 2024, Hlis ntuj nqeg
Anonim
Image
Image

Txoj haujlwm no yog qhia yuav siv ntu 3642BH nrog Arduino ntawm skiiiD

Ua ntej pib, hauv qab no yog cov lus qhia yooj yim rau kev siv skiiiD

Kauj ruam 1: Tua tawm SkiiiD

Xaiv Arduino UNO
Xaiv Arduino UNO

Tua tawm skiiiD thiab xaiv khawm tshiab

Kauj Ruam 2: Xaiv Arduino UNO

Xaiv ① Arduino Uno thiab tom qab ntawd nyem ② OK khawm

*Nov yog Tutorial, thiab peb siv Arduino UNO. Lwm cov laug cam (Mega, Nano) muaj cov txheej txheem tib yam.

Kauj Ruam 3: Ntxiv Cheeb Tsam

Ntxiv Cheeb Tsam
Ntxiv Cheeb Tsam

Nyem '+' (Ntxiv Cheeb Tsam khawm) txhawm rau tshawb nrhiav thiab xaiv cov khoom siv.

Kauj Ruam 4: Tshawb lossis Nrhiav Ib Cheeb Tsam

Nrhiav lossis Nrhiav Ib Cheeb Tsam
Nrhiav lossis Nrhiav Ib Cheeb Tsam

① Ntaus 'RGBLed' ntawm qhov bar tshawb lossis nrhiav Buzzer module ntawm cov npe.

Kauj Ruam 5: Xaiv ntu 3642BH

Xaiv ntu 3642BH
Xaiv ntu 3642BH

② Xaiv ntu 3642BH Module

Kauj Ruam 6: Tus Pin Qhia thiab Kho

Pin Qhia thiab Kho
Pin Qhia thiab Kho

tom qab ntawd koj tuaj yeem pom ③ tus lej cim. (Koj tuaj yeem teeb tsa nws.)

*Cov qauv no muaj 4 tus pin txuas

skiiiD Editor txiav txim siab qhia tus pin teeb *teeb tsa muaj

[Default Pin Indication for Button Module] thaum Arduino UNO

Kcw: 0

PIB: 1

VCC: 5 V.

GND: NCO

Tom qab teeb tsa tus pin, nyem ADD khawm ntawm sab xis hauv qab

Kauj Ruam 7: Txheeb Ntxiv Module

Txheeb ntxiv Module
Txheeb ntxiv Module

⑤ Ntxiv Module tau tshwm sim ntawm lub vaj huam sib luag sab xis

Kauj Ruam 8: SkiiiD Code of Segment Module

SkiiiD Code of Segment Module
SkiiiD Code of Segment Module

skiiiD Code yog kev paub ua haujlwm raws cov lej. Qhov no yog ua raws skiiiD cov tsev qiv ntawv

clear () - Zaub meej.

setColon () - Pib qhov nyuv ntawm qhov chaw ntawm ntu.

Yog tias 'hom' sib npaug rau 0, cov nyuv tawm.

Yog tias 'hom' sib npaug rau 1, txoj hnyuv loj nyob.

Default: tawm los yog 0.

setBrightness () - Teeb ci ntsa iab ntawm ntu.

Qhov ntau ntawm qhov ci ci yog 0 ~ 7 thiab lub neej ntawd yog 2 (BRIGHTNESS_NORMAL).

displayNumber ()-tus lej ': Zaub 4-tus lej zoo lossis 3-tus lej tsis zoo.

Kauj Ruam 9: Tiv tauj thiab tawm tswv yim

Peb tab tom ua haujlwm ntawm cov tsev qiv ntawv thiab cov laug cam. Xav tias dawb siv nws thiab tawm tswv yim rau peb, thov. Hauv qab no yog kev sib cuag

email: [email protected]

hauv twitter:

Youtube:

Cov lus pom zoo ib yam!

Pom zoo: