Cov txheej txheem:
- Kauj Ruam 1: Kov Screen thiab Lub Sijhawm Sijhawm Tiag Module Siv Hauv Cov Lus Qhia no
- Kauj ruam 2: Npaj Screen
- Kauj Ruam 3: Tsis teb los tau: Luam lub LCD Stand thiab Ntxiv Cov Khoom Txhuas Txhuas
- Kauj Ruam 4: Tshem Zaj Duab Zaj thiab Mount Cov Zaub
- Kauj Ruam 5: Txhim Kho Cov Hluav Taws Xob
- Kauj Ruam 6: Loading thiab Khiav Cov Cai
- Kauj Ruam 7: Kho Cov Xim
Video: 80s Style Melting Digital "Dali" Clock: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Cov Lus Qhia no qhia koj yuav tsim lub 80s style digital "dali" moos nrog cov zauv yaj.
Kuv xub tuaj hla lub moos no ntawm Apple Macintosh rov qab thaum kuv tseem yog menyuam yaus hauv 80s. Cov Lus Qhia no qhia kuv kev sim rov tsim lub moos siv Arduino thiab lub siab daws teeb meem xim kov lub vijtsam. Txawm hais tias lub moos qub yog xim dub thiab dawb, hauv cov ntawv no kuv tau ntxiv qee qhov xim zoo nkauj los muab nws saib zoo rau 80s.
Kuv tau qiv cov ntaub ntawv font los ntawm Jamie Zawinski's "xdaliclock", tab sis kuv qhov kev siv ntawm lub moos chaws yog txhua yam tshiab thiab kuv rov sau cov lej sib xyaw ua ke los ntawm kos kom tau txais txiaj ntsig zoo ntawm FTDI FT810-raws li kev daws teeb meem siab kov lub vijtsam.
Rau Cov Lus Qhia no, koj yuav xav tau:
- Kev daws teeb meem siab 800x420 kov lub vijtsam raws li FT810 nti
- DS1302 Lub Sijhawm Sijhawm Sijhawm Tiag Los ntawm eBay
- 2x5 txiv neej lub taub hau (koj tuaj yeem yuav cov no thiab txiav lawv kom ntev)
- Ib qho hlau txuas
- Daim kab xev hluav taws xob
- Poj niam-rau-txiv neej jumper xov hlau
- Ib qho Arduino, xws li Arduino Uno
Kauj Ruam 1: Kov Screen thiab Lub Sijhawm Sijhawm Tiag Module Siv Hauv Cov Lus Qhia no
Txog qhov Qhia Ntawv no, Kuv yuav siv cov ntxaij vab tshaus los ntawm Haoyu Electronics. Kuv siv cov hauv qab no:
5 "Graphical LCD Touchscreen, 800x480, SPI, FT810
Lub vijtsam no raug nqi txog $ 36 nrog kev xa khoom. Qhov no ntau dua li lwm cov ntxaij vab tshaus Arduino, tab sis koj tau txais ntau rau koj cov nyiaj:
- Lub ntsej muag siab daws teeb meem kov vaj huam sib luag nrog 800x480 daws teeb meem.
- Cov duab hauv lub rooj sib koom ua ke ua ke thiab RAM tso cai tswj tsis muaj kev cuam tshuam Arduino.
- Ua hauv cov suab sib txuas nrog cov suab zoo thiab ntau yam twj paj nruag xaiv los ntawm.
- Toj roob hauv pes thiab daim duab txhawb nqa.
- Txhawb ntau kov
- Ua-hauv JPEG, yoj suab thiab txiav suab video, rau cov haujlwm siab.
Txog lub sijhawm teev sijhawm tiag tiag, Kuv tau siv "DS1302 Lub Sijhawm Tiag Sijhawm Sijhawm" los ntawm eBay. Qhov no raug nqi txog $ 6.
Kauj ruam 2: Npaj Screen
Thaum koj tau txais koj lub vijtsam, koj yuav xav tau lub taub hau txuas rau nws. Haoyu cov ntxaij vab tshaus yog qhov zoo vim tias lawv tuaj nrog yooj yim-rau-solder los ntawm qhov thiab koj muaj kev xaiv los txhawm rau lub taub hau ncaj qha rau sab nraum qab ntawm lub vijtsam lossis qhov kawg ntawm txoj hlua me me uas txuas rau lub rooj sibtham tawg.
Txhawm rau ua kom tiav txoj haujlwm soldering, koj yuav xav tshem tawm ib ntus txuas cov hlua hlua thiab tshem tawm PCB lub rooj tsavxwm sab tom qab ntawm lub vaj huam sib luag. Siv koj cov rau tes kom maj mam nqa cov ntawv tuav ntawm lub LCD txuas thiab tsis pub cov hlua txuas. Tom qab ntawd, tshem tawm plaub tus ntsia hlau tuav lub rooj tsavxwm hauv qhov chaw.
Tam sim no siv lub 5x2 lub taub hau (lossis ob lub 5x1 lub taub hau) qhov uas koj xav tau. Npog nraub qaum nrog daim kab xev hluav taws xob kom tsis txhob muaj qhov luv. Tom qab ntawd, ntswj lub PCB rov qab thiab txuas tus hlua txuas ntxiv.
Kauj Ruam 3: Tsis teb los tau: Luam lub LCD Stand thiab Ntxiv Cov Khoom Txhuas Txhuas
Kuv xaiv 3D luam ntawv sawv los tuav kuv lub vaj huam sib luag LCD [1]
Lub vaj huam sib luag los nrog plaub qhov tooj dag ntxig; cov no yog xav kom nias rau hauv yas nrog cua sov. Raws li lawv txias, cov hniav me me ntawm lawv tom rau hauv cov yas thiab ua rau lawv tsis poob. Cov ntawv ntxig no yog ib txoj hauv kev ntxiv cov xov ruaj rau 3D luam ntawv.
Thaum sawv ntsug tau luam tawm tiav, kuv tshem tawm plaub daim tooj dag tso los ntawm lub vaj huam sib luag.
Kuv ua kom sov kuv cov hlau thiab tuav nws nrog cov lus qhia lub kaum sab xis, maj mam ntsuas qhov ntxig rau ntawm qhov taub. Tom qab ntawd kuv tau nqa cov yas tso rau nws thiab maj mam thawb cov ntxig rau hauv qhov tsim ua ntej kom txog thaum lawv yaug nrog cov nplaim dej.
Cov kauj ruam no ua haujlwm zoo dua yog tias koj muaj cov hlau txuas nrog qhov nqaim conical. Yog tias koj tsis tau ua qhov no ua ntej, koj yuav xav xyaum thaum hlau txias - koj tsuas tau txais ib lub sijhawm los ua qhov yog thaum cov hlau kub!
Ceev faj nrog cov kauj ruam no vim tias cov tooj dag tso rau hauv kub heev thiab koj tsis xav kom lawv poob rau hauv koj txhais ceg. Ua haujlwm ntawm qhov chaw tiv tshav kub thiab yog tias lawv poob tawm ntawm cov hlau, tiv qhov kev ntxias kom ncav cuag lawv tam sim ntawd!
[1] Cov peev txheej: LCD Stand STL thiab CAD Cov Ntaub Ntawv
Kauj Ruam 4: Tshem Zaj Duab Zaj thiab Mount Cov Zaub
Tam sim no, ntxeev cov zaub thiab tshem tawm lub thav duab acrylic sab hauv, tom qab ntawd tev tawm cov yeeb yaj kiab tiv thaiv los ntawm LCD vaj huam sib luag (qhov no yuav txhim kho qhov pom tseeb ntawm cov zaub). Siv cov ntsia hlau los teeb cov zaub ntawm 3D luam tawm sawv ntsug.
Kauj Ruam 5: Txhim Kho Cov Hluav Taws Xob
Rau cov zaub LCD, txuas:
- 5V rau tus lej cim npe 5V ntawm Arduino
- GND txhawm rau pin GND ntawm Arduino
- SCK rau tus pin ~ 13 ntawm Arduino
- MISO rau pin ~ 12 ntawm Arduino
- MOSI txhawm rau pin ~ 11 ntawm Arduino
- CS los pin ~ 10 ntawm Arduino
- PD rau tus pin ~ 9 ntawm Arduino
Rau RTC module zaub, txuas:
- VCC los pin cim 5V ntawm Arduino
- GND txhawm rau pin GND ntawm Arduino
- CLK rau tus pin ~ 8 ntawm Arduino
- DAT rau pin ~ 7 ntawm Arduino
- RST rau pin ~ 6 ntawm Arduino
NCO TSEG: Tsuas muaj ib tus pin 5V ntawm Arduino. Txhawm rau muab lub zog rau ob qho tib si RTC tus qauv thiab cov duab LCD, koj yuav tsum tau siv lub khob cij los yog muab qee cov hlua txuas txuas ua ke los ua Y cable.
Kauj Ruam 6: Loading thiab Khiav Cov Cai
Rub tawm ".zip" cov ntaub ntawv los ntawm cov chaw hauv qab no GitHub.
Sab hauv "DaliClock" nplaub tshev, qhib "DaliClock.ino" cov ntaub ntawv hauv Arduino IDE thiab xa nws mus rau koj lub Rooj Tswjhwm Saib Arduino! Lub moos yuav tsum muaj txoj sia!
Lub moos yog qhov siv tau yooj yim heev:
- Tuav koj tus ntiv tes ntawm tus lej txhawm rau hloov nws thiab teeb tsa lub sijhawm.
- Nyem thiab tuav rau hauv qab ntawm qhov screen kom hloov mus rau daim ntawv qhia hnub.
- Tuav koj tus ntiv tes ntawm tus lej ntawm hnub los teeb hnub tim.
- Lub moos yuav cia li rov qab mus rau lub sijhawm hom tom qab tsib vib nas this ntawm qhov tsis ua haujlwm.
Kauj Ruam 7: Kho Cov Xim
Kuv koj hloov kho "DaliClock.ino", koj tuaj yeem hloov kho cov xim ntawm cov gradients rau lub moos tus lej, kab sib chaws, thiab "ci" uas hla hla tus lej. Tsuas hloov pauv tus lej hexadecimal hauv kab hauv qab no:
clock.fill_gradient (0xFF0000, 0x0000FF); grid.fill_gradient (0x000000, 0xFF8800); ci.fill_gradient (0x7F7F7F);
Rau Cov Neeg Siv Siab Tshaj:
Yog tias koj xav hloov Arduino pins siv rau LCD zaub, kho cov ntawv "DaliClock/src/ui_lib/ui_config.h". Txhawm rau hloov tus pin siv rau DS1302 tus qauv, kho cov ntaub ntawv "DaliClock/src/ds1302.cpp"
Runner Up hauv Kev Sib Tw Clocks
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
"Charlotte's Web" Style LED Filament Clock: 10 Kauj Ruam (nrog Duab)
"Charlotte's Web" Style LED Filament Clock: Puas tau txij li thaum kuv pom thawj zaug pom cov teeb pom kev zoo LED Kuv tau xav tias cov ntaub ntawv yuav tsum yog qhov zoo rau qee yam, tab sis nws coj mus txog thaum kaw qhov muag ntawm cov khoom siv hluav taws xob hauv zos rau kuv. yuav qee qhov muag nrog lub hom phiaj txhawm rau tsoo
Steam Punk Digital 8 "Daim Duab Duab: 13 Kauj Ruam (nrog Duab)
Steam Punk Digital 8 "Daim Duab Duab: Cov lus qhia no qhia txog kev tsim lub cev me me ntawm cov duab thav duab hauv chav punk style. Cov thav duab tau siv los ntawm raspberry pi qauv B+. Nws qhov ntev tsuas yog 8 hauv. Kab pheeb ces kaum thiab nws yuav haum zoo heev ntawm lub rooj me me lossis txee Hauv kuv
Yuav Ua Li Cas Dali Style Melting Clock: 9 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Dali Style Melting Clock: Kuv tsis mloog ib qho ntawm kuv cov ntaub ntawv qub, tab sis kuv yeej nyiam kom lawv nyob ib puag ncig. Luckily txaus, yog li ua kuv cov phooj ywg. Lwm lub ntsiab lus uas peb muaj ib yam yog kev txaus siab ntawm kev paub tias nws yog lub sijhawm twg. Kuv tau messing ib ncig nrog cov ntaub ntawv thiab tau daws kuv