Cov txheej txheem:

80s Style Melting Digital "Dali" Clock: 7 Kauj Ruam (nrog Duab)
80s Style Melting Digital "Dali" Clock: 7 Kauj Ruam (nrog Duab)

Video: 80s Style Melting Digital "Dali" Clock: 7 Kauj Ruam (nrog Duab)

Video: 80s Style Melting Digital
Video: Salvador Dali Melting Clock 2024, Hlis ntuj nqeg
Anonim
Image
Image

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

Kov Screen thiab Lub Sijhawm Sijhawm Tiag Module Siv Hauv Cov Lus Qhia no
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

Image
Image
Npaj Screen
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

Image
Image
Yeem tau: Luam lub LCD Sawv Cev thiab Ntxiv Brass Inserts
Yeem tau: Luam lub LCD Sawv Cev thiab Ntxiv Brass Inserts

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

Tshem tawm zaj duab xis thiab Mount Display
Tshem tawm zaj duab xis thiab Mount Display
Tshem tawm zaj duab xis thiab Mount Display
Tshem tawm zaj duab xis thiab Mount Display

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

Txhim kho lub Circuit Court
Txhim kho lub Circuit Court
Txhim kho lub Circuit Court
Txhim kho lub Circuit Court

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

Loading thiab Khiav Txoj Cai
Loading thiab Khiav Txoj 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"

Clocks Contest
Clocks Contest
Clocks Contest
Clocks Contest

Runner Up hauv Kev Sib Tw Clocks

Pom zoo: