Cov txheej txheem:

Nco Tswb Tswb Tswb Tswb: 3 Kauj Ruam (nrog Duab)
Nco Tswb Tswb Tswb Tswb: 3 Kauj Ruam (nrog Duab)

Video: Nco Tswb Tswb Tswb Tswb: 3 Kauj Ruam (nrog Duab)

Video: Nco Tswb Tswb Tswb Tswb: 3 Kauj Ruam (nrog Duab)
Video: KOJ NYOB PUAS KAJ SIAB TUB TSWB Wwj( nkauj tawm tshiab )2023 2024, Kaum ib hlis
Anonim
Nco Tswb Tswb Tswb
Nco Tswb Tswb Tswb
Nco Tswb Tswb Tswb
Nco Tswb Tswb Tswb

Nov yog Lub Tswb Tswb Tswb Tswb uas txhais tau tias muaj kev ua si nco me ntsis koj yuav tsum daws kom tsis txhob muaj lub tswb nrov!

Raws li cov lus xaus, lub moos no yog rau leej twg ua rau lub ntsej muag luag ntxhi thaum sawv ntxov. Nws muaj 3 LEDs uas thaum koj nias ib qho ntawm cov nyees khawm, lub tswb yuav tsum ntsiag to thiab 3 LEDs yuav muab rau koj tus qauv tsis raug thiab ib feeb nkag mus rau nws.

Khoom siv

- 2 Arduino Pro Mini

- LEDs liab, ntsuab thiab xiav

- Liab, ntsuab thiab xiav khawm

- EC11 Teb Encoder

- Hais lus

- Qee cov xov hlau, kab txaij, kab taub hau

- 3D qhov chaw luam tawm

Cov cuab yeej

- Soldering Iron thiab solder

- Stripboard ntawv

Kauj Ruam 1: Nws Ua Haujlwm Li Cas?

Image
Image

Koj yuav tsum siv tus lej nkag teb chaws (ec11) los kho thiab nias nws lub pob kom daws nws.

Thaum pib thawj zaug, nws yuav tos koj los kho lub moos teev thiab tom qab ntawd feeb.

Thaum koj kho qhov ntawd, moos yuav pib ua haujlwm thiab koj yuav raug tso cai kho lub tswb. Txhua lub sijhawm koj nias lub khawm tus lej nkag, koj yuav dhia ntu tom ntej raws li lub tswb teev, feeb thiab qhov nyuaj.

Nyuaj ua haujlwm li; 4, 7 thiab 9 LED ntsais muag rau koj kom nco qab thiab koj yuav muaj ib feeb los nkag nws dua.

Yog tias koj ua tsis tau lossis tsis ua, tus qauv yuav hloov pauv thiab lub tswb yuav nrov dua.

Kauj Ruam 2: Tsim

Circuit thiab Code
Circuit thiab Code

Nws yog qhov kev ua si me me hauv paus (thiab kuv tau kawm hauv tus txheej txheem nws hu ua Simon Memory Game) vim li no kuv xav kom nws zoo li cov game game classic.

Kuv ntxiv cov ntaub ntawv f3d thiab stl, koj tuaj yeem hloov kho lossis luam tawm dawb.

Kauj Ruam 3: Circuit thiab Code

Circuit Court tsis nyuab. Kuv tau siv ib qho Arduino Pro Mini nrog 9V roj teeb thiab txuas rau lwm nrog I2C thiab muab lub zog nrog VCC pins, siv LCD nrog I2C module. Siv 10K ohm resistors ntawm cov nyees khawm thiab 330 ohm nrog LEDs.

Kuv tau qhia cov lej ntawm kuv nplooj Github.

Tsev qiv ntawv

Teb

DS1302 (Lub Sijhawm Tiag)

LiquidCrystal_I2C

PCM (Kuv siv PCM vim tias kuv tsis muaj lub sijhawm los yuav lub tshuab hluav taws xob, koj tuaj yeem siv lub tshuab ua kom nrov dua. Kuv ntxiv cov ntawv wav qub yog tias koj xav siv txoj kev ntawd.)

Pom zoo: