Cov txheej txheem:

Lo Lus Nrog Lilygo-T-Saib 2020: 4 Cov Kauj Ruam
Lo Lus Nrog Lilygo-T-Saib 2020: 4 Cov Kauj Ruam

Video: Lo Lus Nrog Lilygo-T-Saib 2020: 4 Cov Kauj Ruam

Video: Lo Lus Nrog Lilygo-T-Saib 2020: 4 Cov Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Wordclock Nrog Lilygo-T-Saib 2020
Wordclock Nrog Lilygo-T-Saib 2020

Cov lus qhia no qhia koj yuav ua li cas tso saib lub sijhawm nyob rau hauv lo lus style ntawm Liligo T-watch.

Tab sis ntxiv mus Kuv tau sim cuam tshuam ntau lub luag haujlwm siv cov qauv lus niaj hnub no. Yog li nws muaj peev xwm nthuav tawm hnub tim, teeb tsa lub sijhawm thiab hnub tim, hloov xim ntawm cov tsiaj ntawv thiab keeb kwm yav dhau, hloov ntawm lus Askiv thiab lus German thiab teeb tsa kev tswj hwm lub zog.

Txoj cai arduino no siv "TTGO_TWatch_Library-master" -library. Koj yuav pom lub tsev qiv ntawv no ntawm https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library. Thov ua raws cov lus qhia rau kev txhim kho lub tsev qiv ntawv no ua ntej.

Kauj ruam 1: Yuav tsum tau ua

Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj

Kho vajtse

Liliygo® T-Saib 2020

Software

Arduino IDE (https://www.arduino.cc/en/Main/Software)

Tsev qiv ntawv

TTGO_TWatch_Library-master (https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library)

Kauj ruam 2: Kev teeb tsa

Thov teeb tsa Arduini IDE ua ntej. Ua raws li cov lus qhia ntawm

www.arduino.cc/en/Main/Software.

Tom qab teeb tsa Arduino IDE koj yuav tsum teeb tsa TTGO T-watch library los ntawm

github.com/Xinyuan-LilyGO/TTGO_TWatch_Libr…

Koj yuav pom cov ntaub ntawv zoo ntawm no, ib yam nkaus. Lub tsev qiv ntawv no los nrog ntau tus tsav tsheb thiab tseem nrog qee qhov piv txwv zoo rau T-watch.

Txuas T-saib mus rau ib qho ntawm koj lub USB-chaw nres nkoj. Thov xaiv qhov chaw nres nkoj hauv qab "cov cuab yeej" "chaw nres nkoj".

Rau thawj zaug koj tuaj yeem thauj qee qhov piv txwv tuaj nrog lub tsev qiv ntawv. Koj yuav pom cov piv txwv no hauv qab „file““Piv txwv” „piv txwv rau TTGO-T-watch“(koj yuav tsum tau nqes mus hauv cov ntawv qhia zaub mov)

NCO TSEG: Yog tias koj muaj teeb meem nrog txuas T-saib ntawm USB, piv txwv li koj tsis tuaj yeem xaiv qhov chaw nres nkoj hauv arduino IDE vim tias nws yog xim xim, thov saib ntawm no kom paub ntau ntxiv thiab pab.

github.com/espressif/arduino-esp32/issues/…

Ua tsaug rau "beegee-tokyo"!

Kuv muaj teeb meem no. Tom qab txuas lub moos rau ib qho ntawm kuv USB-Ports Kuv tsis tuaj yeem xaiv qhov chaw nres nkoj hauv arduino IDE. Lub npe ntawm qhov chaw nres nkoj tau xim daj. Tom qab teeb tsa "CP210x USB rau UART Choj VCP Tsav Tsheb" txhua yam ua haujlwm tau zoo. Koj yuav pom tus tsav tsheb ntawm

esp32.net/usb-uart/

thiab ntxiv rau

www.silabs.com/products/development-tools/…

Tom qab txhim kho Arduino IDE thiab lub tsev qiv ntawv koj tuaj yeem rub tawm lo lus-pob los ntawm GitHub:

github.com/Adosis/TTGO_TWatch_WordClock

Thov rub tawm zip-file kawg rho tawm nws hauv tus kheej cov ntawv. Thauj cov ntawv "t-watch_wordclock_V1_0.ino" rau hauv arduino IDE. Los ntawm ob npaug rau nyem rau ntawm cov ntaub ntawv npe Arduino yuav pib txiav thiab cov ntaub ntawv yuav raug thauj khoom.

Hauv Arduino IDE xaiv "file" „open" (lossis STRG+o) thiab xaiv cov ntawv qhib.

t-watch_wordclock_V1_0 txoj haujlwm tseem ceeb ntawm wordclock

calcMatrix.can outsourced ib feem ntawm txoj haujlwm

FreeSans12ptWordclock.hCov ntaub ntawv nrog cov ntawv siv. Cov ntawv no yog qhov hloov pauv ntawm FreeSans12pt7p.h ntawm ardufruit_GFX suav nrog hauv T-watch-library.

config.hA cov ntaub ntawv los xaiv cov kho vajtse. Thov nco ntsoov tias kab ntawv #define LILYGO_WATCH_2020_V1 // Txhawm rau siv T-Watch2020, thov tsis suav nrog kab no „yog qhov tsis txaus ntseeg tiag. Qhov ntawd txhais tau tias, ob qho // thaum pib ntawm kab tau raug tshem tawm.

Tam sim no koj tuaj yeem tso cov cai rau lub moos los ntawm txhaj "kos duab" "upload" lossis los ntawm txhaj lub cim nrog xub rau sab xis

NCO TSEG: Qee zaum muaj teeb meem nrog kev rub tawm. Thov hloov ntawm lub moos los ntawm nias lub pob ntawm sab ntawm lub moos rau 2 vib nas this. Sim upload daim duab dua.

Tom qab rub tawm tiav koj tuaj yeem txuas lub moos los ntawm USB-chaw nres nkoj. Yog tias txhua yam yog ok qhov kev zov me nyuam yuav pib cia li los ntawm kev tso saib lub sijhawm nyob rau hauv cov lus zoo ib yam.

Kauj Ruam 3: Kev Ua Haujlwm

Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm
Kev ua haujlwm

Pib los ntawm lub vijtsam tseem ceeb - cov lus niaj hnub - koj tuaj yeem hu ua haujlwm sib txawv los ntawm so ntawm cov zaub:

So rau sab laug: Ib qho tom qab lwm hnub, lub hli thiab xyoo tau tshwm sim. Thaum kawg, lub vijtsam tseem ceeb yuav tshwm dua

So rau sab xis: Cov xwm txheej ntawm lub roj teeb tau tshwm. Tom qab ob peb feeb lub vijtsam tseem ceeb yuav tshwm dua

So rau hauv qab: Cov ntawv qhia zaub mov tau tshwm. Koj tuaj yeem xaiv cov ntsiab lus sib txawv ntawm cov ntawv qhia zaub mov los ntawm kev ntaus lub ntsiab lus ntawm cov zaub. Yog tias koj tsis ntaus dab tsi lub vijtsam tseem ceeb yuav tshwm tom qab ob peb feeb

Kauj ruam 4: Ntawv qhia zaub mov thiab Chaw

Ntawv qhia zaub mov thiab Chaw
Ntawv qhia zaub mov thiab Chaw
Ntawv qhia zaub mov thiab Chaw
Ntawv qhia zaub mov thiab Chaw
Ntawv qhia zaub mov thiab Chaw
Ntawv qhia zaub mov thiab Chaw

Teem sijhawm

Ua ntej tshaj plaws txhua hnub yuav tshwm sim. Los ntawm kev so lossis nqis koj tuaj yeem nce lossis txo hnub. Thaum koj mus txog hnub raug so so rau sab laug. Qhov teeb tsa rau lub hli tau tshwm sim. Thov teev lub hli - thiab xyoo, teev thiab feeb - zoo ib yam li hnub ntawd.

Tom qab teeb tsa feeb koj yuav tsum so rau sab laug ib zaug ntxiv. Hnub thiab sijhawm tam sim no tau txais kev cawmdim. Lub vijtsam tseem ceeb yuav tshwm.

Hloov Xim

Hauv cov ntawv qhia zaub mov no koj tuaj yeem hloov xim ntawm matrix thiab xim tom qab.

Lub npe xim ntawm matrix yuav tshwm. Los so so koj hloov xim tom qab. Los ntawm so koj yuav hloov xim ntawm matrix. Muaj 23 xim sib txawv rau lub matrix thiab fort nws keeb kwm yav dhau.

Tom qab teeb cov xim koj yuav tsum so rau sab laug kom txuag xim. Lub vijtsam tseem ceeb yuav tshwm.

Kev Tswj Fais Fab

Muaj peb txoj hauv kev rau kev tswj hwm lub zog. Los ntawm kov cov zaub koj tuaj yeem xaiv txoj hauv kev. Tom qab kov lub vijtsam txoj kev xaiv yuav raug cawm thiab lub vijtsam tseem ceeb yuav tshwm.

Hloov tawm kom tiav

Thaum lub vijtsam tseem ceeb tshwm rau ob peb feeb thiab cov zaub tsis raug kov lub moos yuav raug tshem tawm kom tiav. Koj tuaj yeem tsa lub moos los ntawm kev nqa koj lub dab teg lossis ob npaug nias. Tom qab sawv los lub sijhawm xav tau ob peb feeb ua ntej tso saib lub sijhawm. Txoj kev no yuav tsum muaj lub roj teeb tsawg kawg.

Tsuas yog tua cov zaub

Thaum lub vijtsam tseem ceeb tshwm rau ob peb feeb thiab cov zaub tsis raug kov lub vijtsam saib yuav raug kaw. Koj tuaj yeem tsa lub moos los ntawm nqa lub moos nyob rau hauv txoj haujlwm kom koj tuaj yeem nyeem cov zaub. Lub sijhawm yuav nthuav tawm sai dua tab sis txoj hauv kev no xav tau roj teeb ntau dua.

Tsis txhob hloov lub moos

Lub moos yuav tsis raug tua - kom txog thaum lub roj teeb tas.

Lus

Tam sim no muaj ob hom lus: lus Askiv thiab lus German. Xaiv ib hom lus los ntawm kev ntaus cov lus ntawm cov zaub. Tom qab kov lub vijtsam cov lus xaiv yuav raug cawm thiab lub vijtsam tseem ceeb yuav tshwm.

Pom zoo: