Cov txheej txheem:

Sijhawm Ua Haujlwm Sijhawm Ua Haujlwm: 5 Kauj Ruam
Sijhawm Ua Haujlwm Sijhawm Ua Haujlwm: 5 Kauj Ruam

Video: Sijhawm Ua Haujlwm Sijhawm Ua Haujlwm: 5 Kauj Ruam

Video: Sijhawm Ua Haujlwm Sijhawm Ua Haujlwm: 5 Kauj Ruam
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim
Sijhawm Ua Haujlwm Timer
Sijhawm Ua Haujlwm Timer

'Noj zaub mov zoo, Nyob zoo, thiab Tsis txhob zaum tseem niaj hnub.' Cov lus qhia zoo, yog. Zoo, ntawm no yog lub tswv yim los pab nrog Ob ntawm no.

Kuv zaum ntau dhau lawm. Kuv tau ua qee lub moos desktop uas ua rau kuv sawv txhua teev, tab sis me ntsis ntxiv yog ib txwm zoo dua. Yog li, yog tias nws tawg, kho nws thiab yog tias nws tsis yog, tsoo nws thiab ua kom nws zoo dua!

Kuv nyuam qhuav tau txais 8x32 LED Matrix vaj huam sib luag thiab nws zoo meej rau kev nyeem ntawv uas kuv tuaj yeem pom thoob plaws hauv chav. Hmm, suab zoo li daim ntawv qhia rau lub tswv yim. Lub tswv yim ntawd dhau los ua tus kws qhia niaj hnub uas yuav nthuav tawm luv luv suav suav ntau zaus nrog lub sijhawm so nyob nruab nrab. Yeej, ua "qee yam" rau ib feeb lossis ob, so rau qee lub vib nas this thiab tom qab ntawd ua "lwm yam". Rov ua dua 20-30 feeb ua haujlwm. Yog tias nws zoo li lub tswv yim zoo, nyeem ntxiv.

Kauj Ruam 1: Ntim thiab Ntim

Qhov thiab Cov Khoom
Qhov thiab Cov Khoom
Qhov thiab Cov Khoom
Qhov thiab Cov Khoom
Qhov thiab Cov Khoom
Qhov thiab Cov Khoom

Tsis xav tau ntau rau qhov haujlwm, uas yog qhov ntxiv.

Arduino Mega Cov

8x32 LED Matrix

2.8 TFT npo

RTC moos

Pob converter

12v Fais fab mov

Plexiglass ntawv

Parchment ntawv (lossis lwm cov ntawv translucent/txheej)

(2) Lub hwj chim chim - rau 12v IN thiab rau Mega. TFT npog Vin yog li kuv tau xaiv muab lub zog tso rau hauv 5v USB. (Faj seeb: Feem ntau kuv yuav siv 12v cov tswv yim, tab sis lub vijtsam kuv siv tau muaj teeb meem nrog 12v yog li kuv rov hloov lub zog rau Mega los ntawm USB input.)

Kauj Ruam 2: Lub Hom Phiaj thiab Menus

Lub Hom Phiaj thiab Menus
Lub Hom Phiaj thiab Menus
Lub Hom Phiaj thiab Menus
Lub Hom Phiaj thiab Menus
Lub Hom Phiaj thiab Menus
Lub Hom Phiaj thiab Menus

Ib lub tswv yim yog ib yam, tab sis npaj nws tawm thiab ua rau nws yog li nws muaj txiaj ntsig tiag tiag yog lub hom phiaj. Kuv muaj qee lub tswv yim thiab ntawm no yog qhov kuv xav tias nws yuav tsum ua, txheeb los ntawm yuav tsum muaj thiab zoo kom muaj.

Yam uas tus kws qhia yuav tsum ua yog:

Muab cov txheej txheem sijhawm ua ntu zus los ua kom tiav.

Muab sijhawm so rau ntawm lub sijhawm.

Ua lwm txoj hauv kev, muab lub sijhawm teem rau lub sijhawm ua haujlwm xws li treadmill lossis caij tsheb kauj vab

Nyeem tau los ntawm qhov deb, dai ntawm phab ntsa lossis ntawm txee.

Hloov tau yooj yim hauv kev muab tus naj npawb ntawm cov txheej txheem, ntev ntawm kev ua haujlwm thiab sijhawm so.

Muaj peev xwm cais qhov ua haujlwm yooj yim los ntawm lub sijhawm so.

Muaj peev xwm kho lub sijhawm ntawm RTC yam tsis muaj Arduino IDE.

Yooj yim rau siv.

Yam ua kom nws ua phooj ywg:

Moos nrog hnub tim thaum tsis siv - ntawm TFT, tsis yog ntawm LED vaj huam sib luag tab sis.

Pom pom cov lus tawm tswv yim - TFT tsis yog ib txwm yooj yim los daws nrog.

Muab cov naj npawb ntawm cov txheej txheem ua tiav.

Qhia cov ntaub ntawv ntawm ob lub vaj huam sib luag thiab TFT.

Muab qee cov lus qhia rau kev ua ub no rau txhua lub sijhawm thaum so.

Muaj peev xwm los kho kom zoo nkauj.

Yooj yim rau siv.

Nws suab ua tau, tam sim no tuaj yeem siv nws, cov ntawv xav tau yog:

Lub vijtsam hauv tsev - moos, daim ntawv qhia hnub, cov ntawv qhia zaub mov sub

Cov kev xaiv niaj hnub tshuaj ntsuam - # ntawm cov txheej txheem, lub sijhawm niaj hnub, lub sijhawm so

Kev ua haujlwm niaj hnub - suav nrog ncua sijhawm, suav niaj hnub, cov lus qhia ua haujlwm

Timer - lub moos yooj yim digital uas suav txog li ib teev

Lub sijhawm kho lub vijtsam - Teev/Min Up thiab Dn

Lub sijhawm zoo nkauj zoo nkauj hloov pauv rau… cov npe loj hlob

Kauj Ruam 3: Muab tag nrho ua ke

Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke
Muab Nws Tag Nrho Ua Ke

Khoom Siv Hluav Taws Xob - Qhov zoo ntawm txoj haujlwm yog tsuas yog qee qhov khoom siv xav tau. Txuas lub TFT rau Mega hauv nws qhov GPIO qhov qhib

Khiav 5v, Gnd, SCL, SDA rau RTC los ntawm Mega

Khiav 5v, Gnd, cov ntaub ntawv rau LED vaj huam sib luag - lub zog los ntawm phaw, cov ntaub ntawv mus rau (1) GPIO ntawm Mega Nqa hauv 12v thiab faib nws nruab nrab ntawm Mega thiab Buck (teeb rau 5v)

Raws li kev ceeb toom thaiv, LED Vaj Huam Sib Luag muaj (3) cov kab hluav taws xob. Ib tus pigtail IN (5v, Gnd, cov ntaub ntawv), kab hauv nruab nrab kab (5v, Gnd) thiab pigtail OUT (5v, Gnd, Data). Rau kuv siv, nrog tsuas yog ob peb LEDs khiav ntawm txhua lub sijhawm, Kuv tsuas yog siv pigtail IN. Yog siv ntau lub pixels (tshwj xeeb tshaj yog dawb dawb) ntawm lub vaj huam sib luag no, koj tseem tuaj yeem txuas qhov txuas nruab nrab ntxiv rau IN. Yog xav tau, lub amp siab dua (4-5A tej zaum) tuaj yeem siv tau ib yam.

Raws li feem ntau cov phiaj xwm mus, qhov no yog qhov yooj yim zoo nkauj thiab ncaj.

Programming - Rau kuv qhov no siv qee lub sijhawm. Zaub cov ntxaij vab tshaus, kov cov ntsiab lus, sijhawm. Tab sis txhua yam tuaj ua ke thiab kuv nyiam cov txiaj ntsig. Hauv qab no, Kuv suav nrog cov vis dis aus luv luv (li 2 feeb) ntawm nws ua haujlwm ua ntej kuv ua rooj plaub. Zoo tsim nyog cov nyom.

Case - Tsim lub moj khaum txhawm rau txhim kho chav nyob tsis yog qhov phem thiab qhov muaj peev xwm tsis muaj qhov kawg. Kuv txiav txim siab rau ntawm lub thawv ntawv yooj yim los ntawm qee lub vaj huam sib luag walnut kuv tau nyob ib puag ncig lub rooj cob qhia. Kuv Tsuas yog teeb tsa lub vaj huam sib luag LED ntawm sab xub ntiag thiab tsim 3D thav duab los ua kom TFT nyeem tau thiab nkag tau rau saum.

Kuv txuas lub vaj huam sib luag LED rau sab xub ntiag ntawm rooj plaub nrog lub vaj huam sib luag me me tom qab nws txhawm rau tsa nws kom haum rau tus ncej uas siv los txhawm rau npog qhov tseeb. Thaum lub vaj huam sib luag LED liab qab, qhov nyeem tawm yog qhov nyuaj heev kom pom yog li kuv tso ib daim ntawv parchment ntawv nruab nrab ntawm nws thiab lub plexiglass meej kom tsis txhob nyeem ntawv thiab nws ua haujlwm tau zoo heev.

Kauj ruam 4: Thawj Demo

Image
Image
Cov Khoom Kawg - Lub Sijhawm Ua Haujlwm!
Cov Khoom Kawg - Lub Sijhawm Ua Haujlwm!

Txhawm rau pom nws hauv kev nqis tes, ntawm no yog cov vis dis aus luv luv ntawm nws ua haujlwm ua ntej kuv pib qhov xwm txheej raws li kuv tau ua nws qhov kev sim zaum kawg (qhov txuas yog tib yam li saum toj no yog tias nws tsis thauj khoom).

Kauj Ruam 5: Cov Khoom Kawg - Lub Sijhawm Ua Haujlwm

Thaum kawg ua tiav! Kuv tuaj yeem nyeem nws yooj yim los ntawm thoob plaws chav thiab cov lus qhia rau "dab tsi tom ntej" tseem muaj txiaj ntsig ntau dua li kuv xav. Siv sijhawm so kom pom tias yuav ua dab tsi ntxiv thiab npaj mus tam sim yog txoj hauv kev mus.

Ua tsaug rau koj qhov kev txaus siab thiab Zoo Siab Tinkering! Tam sim no mus ua tej yam txias!

Pom zoo: