Cov txheej txheem:

Modular Flora Pocket: 5 Kauj Ruam
Modular Flora Pocket: 5 Kauj Ruam

Video: Modular Flora Pocket: 5 Kauj Ruam

Video: Modular Flora Pocket: 5 Kauj Ruam
Video: Under the sea dancing 2024, Kaum ib hlis
Anonim
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab
Modular Flora Hnab

Hauv qhov kev qhia no, kuv yuav piav qhia ib txoj hauv kev los suav nrog Adafruit Flora khoos phis tawj rau hauv lub tsho, lossis txhua yam nrog lub hnab tshos.

Yog li koj yuav xav siv lub khoos phis tawj txhawm rau tsav lub logic ntawm qee qhov kev siv hluav taws xob uas koj tau xaws rau hauv koj cov khaub ncaws. Zoo, ntawm no yog cov teeb meem koj tuaj yeem daws nrog

  1. Khoos phis tawj yog qhov muag thiab xav tau kev tiv thaiv los ntawm cov khoom sab nraud
  2. Lub khoos phis tawj loj thiab tuaj yeem ruaj ntseg tsis zoo, koj tsis xav kom nws poob thiab poob nws
  3. Yuav ua li cas yog tias koj ntub dej, lossis koj xav ntxuav koj cov khaub ncaws, lossis koj tsuas xav tau cov khaub ncaws yam tsis muaj lub khoos phis tawj ib zaug

Peb tuaj yeem daws cov teeb meem no los ntawm kev siv lub khoos phis tawj sab hauv ntawm koj lub khaub ncaws. Nws yuav ua tus tiv thaiv, thiab tseem yog lub pob tawb los ntes koj lub khoos phis tawj yog tias nws xoob xoob.

Ib qho ntxiv, peb tuaj yeem tsom rau kev tsim qauv, qhov twg lub khoos phis tawj tshem tau. Cia saib seb peb tuaj yeem ua tiav cov khoom no li cas.

Kauj Ruam 1: Npaj Koj Lub Hnab

Npaj Koj Lub Hnab
Npaj Koj Lub Hnab
Npaj Koj Lub Hnab
Npaj Koj Lub Hnab
Npaj Koj Lub Hnab
Npaj Koj Lub Hnab

Nrhiav sab sab hauv ntawm koj lub hnab tshos, thiab txiav nrog ob sab ntawm lub hnab tshos.

Peb xav tau ob qho kev txiav, lossis peb, tsuas yog txhawm rau xyuas kom lub hnab ntim tau qhib ntau dua thiab tso cai rau peb ua haujlwm nrog lub khoos phis tawj (ntxig/tshem tawm) nrog kev txawj ntau dua.

Peb ua qhov txiav ntawm sab hauv ntawm lub hnab tshos vim tias peb yuav tsis xav ua rau sab nrauv saib ntawm cov khaub ncaws.

Peb tseem xav kom tuaj yeem kaw qhov hnab tshos no, yog li peb tuaj yeem siv cov zippers lossis velcro kaw qhov tshiab uas tau txiav.

Hauv qhov piv txwv no, kuv txiav 2 qhov, tab sis tsuas yog siv velcro ntawm 1 ntawm kev txiav.

Nco ntsoov tias koj cov xov hlau tsis tuaj yeem hla cov kev txiav no, yog li koj yuav tsum tau npaj rau koj cov xov hluav taws xob los ntawm lub khoos phis tawj kom tawm ntawm lub hnab tshos los ntawm UN-txiav ob sab ntawm lub hnab tshos.

Kauj Ruam 2: Siv Snappable Khawm kom ruaj ntseg khoos phis tawj rau ntaub

Kev lig kev cai, cov xov hluav taws xob tau xaws rau hauv I/O qhov ntawm Adafruit Flora. Qhov no tsis zoo rau kev tsim qauv.

Hloov chaw, cov nyees khawm tsis tuaj yeem ua raws li kev sib txuas ntawm Flora thiab xov txuas rau hauv ntaub.

Cov vis dis aus saum toj no qhia yuav ua li cas txhawm rau txhawm rau MALE qhov xaus ntawm cov nyees khawm khawm mus rau Flora board.

Qhov kawg ntawm tus poj niam yuav raug xaws mus rau qhov kawg ntawm cov xov hluav taws xob uas tab tom khiav ntawm koj daim ntaub.

Kauj Ruam 3: Siv Xov Xwm Sib Txuas los Txuas Flora I/O mus rau Khawm Khawm

Image
Image

Hauv cov vis dis aus saum toj no, peb pom yuav ua li cas cov xov hlau tuaj yeem siv los tsim kev sib txuas ntawm Flora thiab MALE khawm.

Txhawm rau rov ua kom koj lub cim xeeb, ntawm no yog qhov kev txiav txim uas hluav taws xob dhau los ntawm koj lub Flora mus rau koj lub LED (piv txwv)

Ntawm ntaub: Poj niam -> xov -> LED

Ntawm Flora: Flora I/O -> xov> MALE

Kev sib txuas tag nrho: Flora I/O -> thread> MALE -> FEMALE -> thread -> LED

Qhov hloov pauv tau los ntawm kev muaj peev xwm cais cov Flora los ntawm cov ntaub los ntawm kev sib cais ntawm MALE/FEMALE cov khawm khawm.

Kauj Ruam 4: Qhov Ua tiav zaum kawg yuav zoo li qhov no

Qhov Tseeb Kawg Yuav Zoo Li No
Qhov Tseeb Kawg Yuav Zoo Li No
Qhov Tseeb Kawg Yuav Zoo Li No
Qhov Tseeb Kawg Yuav Zoo Li No

Peb pom lub hnab tshos qhib los ntawm kev faib cov velcro hauv thawj daim duab.

Hauv daim duab thib ob, peb pom sab hauv ntawm daim ntaub, tab sis tseem yog sab nraud ntawm lub hnab tshos.

Cov xov ntawm cov xov yog qhov uas cov menyuam khawm tau xaws rau hauv hnab ntaub. Peb kuj tseem tuaj yeem pom cov kab xov los ntawm cov pawg (cov nyees khawm) thiab thaum kawg ua rau cov khoom siv hluav taws xob (LEDs, cov tiv thaiv, cov ntaub ua hluav taws xob)

Hauv daim duab thib peb, peb pom Flora nrog ob peb lub khawm nws tsis khawm.

Kauj Ruam 5: Cov khoom tiav tuaj yeem zoo li qhov no

Txaus siab rau koj lub khoos phis tawj tshiab pab kho mob.

Pom zoo: