Cov txheej txheem:

KS-Batman-Saib: 4 Kauj Ruam
KS-Batman-Saib: 4 Kauj Ruam

Video: KS-Batman-Saib: 4 Kauj Ruam

Video: KS-Batman-Saib: 4 Kauj Ruam
Video: Cutting Crew - (I Just) Died In Your Arms (Official Music Video) 2024, Hlis ntuj nqeg
Anonim
KS-Batman-Saib
KS-Batman-Saib

(Lub moos qhia 7:11 ntawm no)

Qhov xwm txheej Raws li koj tsis nquag hu Batman los ntawm koj qhov loj puag ncig Batman-Window koj xav siv nws ib yam thiab qhia koj tias nws yog lub sijhawm twg. Txhawm rau ua li ntawd, koj siv Led-Sawb ntawm WS2801- Hom. (saib daim duab).

Lub moos suav nrog lub ntsej muag ntawm lub moos uas qhia teev 1, 2, 3, 4, 5 thiab 7, 8, 9, 10 thiab 11 - tsis muaj chaw nyob rau 12 thiab 6. Lub sijhawm teev qhia los ntawm kev qhib ib qho ua ntej thiab tom qab raws lub moos ntsej muag teev. (tus taw qhia teev)

Txhua feeb suav nrog ob lub LED - Tsuas yog 59 (1), 60 (0), 1 (1) thiab 29 (1), 30 (0) thiab 31 (1). Qhov taw qhia feeb yog ua los ntawm 6 qhov qis LED ua kom pom kev hauv ib qho xim sib txawv ces tus teev teev. Ob qhov kawg ntawm lub leds (xuaj moos) qhia qhov tseeb feeb.

Kuv tsis tau ua tus taw qhia rau vib nas this - qhov no yuav ua rau muaj kev ntxhov siab.

Kauj Ruam 1: Kauj Ruam 1: Kho vajtse

Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse
Kauj ruam 1: Kho vajtse

Kuv xaj cov cuab yeej hauv qab no ntawm aliexpress: DS3231 Lub Sijhawm Module

LIR2032 rechargeable LiIo -Battery (rechargeable - uas yog R sawv rau)

Nyob Zoo Ntses WS2801 coj kab txaij

Lub thawv rau hluav taws xob

Fais fab mov 5V 10A (loj heev)

Arduino UNO pawg thawj coj saib

Nyob ib ncig ntawm 60 USD rau txhua tus. (Qhov kim tshaj plaws yog LED-kab txaij ~ 40 USD. Koj tuaj yeem pom qhov pheej yig dua tam sim no.)

Kauj Ruam 2: Kauj Ruam 2: Nta

Kauj ruam 2: Nta
Kauj ruam 2: Nta

(lub moos qhia 6:39 ntawm no)

Yeej yog qhov khoom qhia lub sijhawm. Koj tsuas yog yuav tsum paub tias thaum qhov taw qhia feeb sib tshooj teev tus pointer xim ntawm cov leds no tau hloov mus rau lwm qhov xim teeb tsa.

Lub moos tau teeb tsa nrog kev hloov pauv tsis siv neeg ntawm lub sijhawm txuag lub hnub (DST). Raws li kuv siv Alarm2 qhov tseeb/cuav kom txuag DST tsis ua haujlwm-txawm tias tom qab lub zog poob koj tsis tas yuav teeb DST-Bit ntxiv. Lub sijhawm tau khaws ua tsaug rau LIR2032 thiab ib yam yog qhov me ntsis rau Alarm2 muaj tseeb/tsis tseeb.

Koj tuaj yeem txhais hauv ntu teeb tsa txhua xim uas koj xav siv rau lub ntsej muag ntawm lub moos, ob qho taw qhia, thiab qhov sib tshooj - xim. (feeb pointer dhau teev pointer).

Kauj Ruam 3: Kauj Ruam 3: Kev Txuas Hluav Taws Xob thiab Schematic

Kauj Ruam 3: Kev thaiv thiab Daim duab qhia chaw
Kauj Ruam 3: Kev thaiv thiab Daim duab qhia chaw

Nrog cov ntsia hlau hloov kho ntawm sab xis ntawm lub zog fais fab (V0ADJ) koj tuaj yeem hloov qhov hluav taws xob tso tawm. Kuv nce nws mus rau 5.5V - vim tias kuv "moos" nyob deb ntawm lub zog hluav taws xob thiab kuv muaj qhov hluav taws xob poob vim qhov ntev ntawm kab.

Kauj Ruam 4: Kauj Ruam 4: Cov Cai thiab Cov Tsev Qiv Ntawv

Kauj Ruam 4: Cov Cai thiab Cov Tsev Qiv Ntawv
Kauj Ruam 4: Cov Cai thiab Cov Tsev Qiv Ntawv
Kauj Ruam 4: Cov Cai thiab Cov Tsev Qiv Ntawv
Kauj Ruam 4: Cov Cai thiab Cov Tsev Qiv Ntawv

Hauv txoj cai DoW = 1 txhais tau tias hnub Monday thiab DoW = 7 yog rau hnub Sunday. Tsuas nco ntsoov thaum koj teeb tsa lub sijhawm tom qab tag nrho lub zog poob.

Kuv siv lub tsev qiv ntawv los ntawm Andrew Wickert - uas yog tus qauv rau DS3231 nrog Arduinuo ib puag ncig. Thiab koj xav tau ntawm chav kawm FastLED - tsev qiv ntawv rau WS2801 LED kab txaij.

Rau DST-code-ib feem kuv ua raws txoj cai los ntawm diy_bloke nrog cov lus pom los ntawm TedF23. (saib:

Pom zoo: