Cov txheej txheem:

Yuav Siv Li Cas Txheeb Xyuas Xim TCS3200 Nrog SkiiiD: 9 Cov Kauj Ruam
Yuav Siv Li Cas Txheeb Xyuas Xim TCS3200 Nrog SkiiiD: 9 Cov Kauj Ruam

Video: Yuav Siv Li Cas Txheeb Xyuas Xim TCS3200 Nrog SkiiiD: 9 Cov Kauj Ruam

Video: Yuav Siv Li Cas Txheeb Xyuas Xim TCS3200 Nrog SkiiiD: 9 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Yuav Siv Li Cas Txheeb Pom Xim TCS3200 Nrog SkiiiD
Yuav Siv Li Cas Txheeb Pom Xim TCS3200 Nrog SkiiiD

Kev qhia los txhim kho Kev Tshawb Nrhiav Xim TCS3200 nrog skiiiD.

Kauj ruam 1: Tua tawm SkiiiD

Tua tawm SkiiiD
Tua tawm SkiiiD

Tua tawm skiiiD thiab xaiv khawm tshiab

Kauj Ruam 2: Xaiv Arduino UNO

Xaiv Arduino UNO
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 'Xim' ntawm qhov tshawb nrhiav lossis nrhiav Ntes Xim TCS3200 ntawm cov npe.

Kauj Ruam 5: Xaiv Ntes Xim TCS3200

Xaiv Ntes Xim TCS3200
Xaiv Ntes Xim TCS3200

② Xaiv Ntsuas Xim TCS3200 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 8 tus pin los txuas

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

[Default Pin Indication for Detect Color TCS3200] thaum Arduino UNO

GND: NCO

OE: NCO

S1: 2

S0: 3 ib

VCC: 5 V.

TSUAS: 4

S2: 5 ua

S3: 6 ib

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 Detect Color TCS3200

SkiiiD Code of Detect Color TCS3200
SkiiiD Code of Detect Color TCS3200

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

tauFrequency

Rov qab ntau zaus ntawm cov xim pom sib xws rau qhov sib txawv 'xim'.

Txhawm rau rov qab hloov pauv 'xim', xaiv 1 los ntawm "liab", "ntsuab", "xiav" raws li xim ntau zaus.

Teem lub teev ntawm qhov zaus raws li qhov sib txawv 'nplai' tus nqi. Qhov ntsuas pib yog 100."

tauColor ()

"Raws li qhov ntsuas pom, rov qab xim los ntawm" liab "," ntsuab "," xiav ".

Teem lub teev ntawm qhov zaus raws li qhov sib txawv 'nplai' tus nqi. Qhov ntsuas pib yog 100."

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: