Cov txheej txheem:
- Kauj Ruam 1: Ntim thiab Ntim
- Kauj Ruam 2: Lub Hom Phiaj thiab Menus
- Kauj Ruam 3: Muab tag nrho ua ke
- Kauj ruam 4: Thawj Demo
- Kauj Ruam 5: Cov Khoom Kawg - Lub Sijhawm Ua Haujlwm
Video: Sijhawm Ua Haujlwm Sijhawm Ua Haujlwm: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
'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
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
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
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
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:
Lub Sijhawm Siv Lub Sijhawm Nco Ntsoov (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): 5 Kauj Ruam
Screen Time Usage Reminder (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): Taw Qhia Qhov no yog lub tshuab siv tau los ntawm Arduino, nws ceeb toom koj kom so los ntawm kev ua "biiii!" suab thiab ua rau koj lub khoos phis tawj rov qab xauv npo tom qab siv sijhawm 30 feeb ntawm lub sijhawm tshuaj ntsuam. Tom qab so rau 10 feeb nws yuav "b
Siv DS1307 thiab DS3231 Lub Sijhawm Teev Sijhawm Sijhawm Nrog Arduino: 3 Kauj Ruam
Siv DS1307 thiab DS3231 Lub Sijhawm Caij Nyoog Sijhawm Nrog Arduino: Peb tseem tau txais kev thov yuav siv DS1307 thiab DS3231 lub sijhawm teev sijhawm nrog Arduino los ntawm ntau qhov chaw-yog li qhov no yog thawj ntawm ob ntu kev qhia yuav siv li cas. Txog qhov kev qhia Arduino no peb muaj ob lub sijhawm teev sijhawm ua haujlwm rau peb
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: 6 Cov Kauj Ruam (nrog Duab)
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: Hauv Cov Lus Qhia no peb yuav ua lub ntsej muag-paub lub sijhawm tiag tiag ntawm Raspberry Pi 4 nrog Shunya O/S siv Shunyaface Library. Koj tuaj yeem ua tiav qhov ntsuas pom ntawm 15-17 ntawm RaspberryPi-4 los ntawm kev ua raws cov lus qhia no
Tus Thawj Saib Xyuas Haujlwm - Tsev Haujlwm Ua Haujlwm Hauv Tsev: 5 Kauj Ruam (nrog Duab)
Tus Thawj Saib Xyuas Haujlwm - Tsev Tswj Xyuas Haujlwm Hauv Tsev: Kuv xav sim daws qhov teeb meem tshwm sim tiag tiag hauv peb tsev neeg (thiab, kuv xav txog, ntawm ntau lwm tus neeg nyeem), uas yog yuav faib li cas, txhawb siab, thiab muab nqi zog rau kuv cov menyuam rau kev pab tawm nrog ua haujlwm hauv tsev. Txog tam sim no, peb tau khaws cov ntawv laminated
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm Ntawm Phab Ntsa: 6 Kauj Ruam
Yuav Ua Li Cas Tsim Lub Sijhawm Uas Ua Haujlwm Lub Sijhawm ntawm Phab Ntsa: Cov lus qhia no qhia koj yuav tsim lub moos projector li cas. Cov cuab yeej no tso cai rau koj npaj sijhawm rau ntawm phab ntsa. Raws li lub tswb LCD me me (tsis dhau me me, hloov pauv, koj yuav tsis tuaj yeem ua nws thiab ua haujlwm rau nws), qhov no yog txoj hauv kev zoo rau kev tshem tawm