Cov txheej txheem:

Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: 9 Kauj Ruam
Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: 9 Kauj Ruam

Video: Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: 9 Kauj Ruam

Video: Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: 9 Kauj Ruam
Video: Ua poj nrauj vim nyiam sib deev. 10/7/2017 2024, Kaum ib hlis
Anonim
Image
Image

Cov lus qhia txhawm rau txhim kho Kev Sib tsoo XD206 nrog 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: Saerch lossis Nrhiav Ib Cheeb Tsam

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

① Ntaus 'Gesture' ntawm qhov tshawb nrhiav lossis nrhiav Gesture APDS9960 ntawm cov npe.

Kauj Ruam 5: Xaiv Gesture APDS9960

Xaiv Gesture APDS9960
Xaiv Gesture APDS9960

② Xaiv Gesture APDS9960 Module

Kauj Ruam 6: Tus Pin Qhia thiab Kho

Pin Qhia thiab Kho
Pin Qhia thiab Kho

#4 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 Gesture APDS9960 Module] thaum Arduino UNO

Tswv yim: 3.3V

GND: NCO

TSI: 2

SDA: AW 4

TSO: A5

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 Gesture APDS9960

SkiiiD Code of Gesture APDS9960
SkiiiD Code of Gesture APDS9960

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

tauGesture ()

"Rov qab pom qhov taw tes zoo li int."

tauColor ()

"rov qab pom cov xim zoo li int."

tau Brightness ()

"rov pom lub teeb pom kev ci ci."

getDistance ()

"rov ntsuas ntsuas nrug ntawm lub ntsuas cua thiab qhov khoom li cm, hli, nti, lossis ko taw."

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:

skiiiD neeg siv rooj sab laj:

Cov lus pom zoo ib yam!

Pom zoo: