Cov txheej txheem:

Network Sijhawm Digital Clock Siv ESP8266: 4 Cov Kauj Ruam (nrog Duab)
Network Sijhawm Digital Clock Siv ESP8266: 4 Cov Kauj Ruam (nrog Duab)

Video: Network Sijhawm Digital Clock Siv ESP8266: 4 Cov Kauj Ruam (nrog Duab)

Video: Network Sijhawm Digital Clock Siv ESP8266: 4 Cov Kauj Ruam (nrog Duab)
Video: pi network zoo xyooj txais tos qhia nej rov muab nyiaj los siv 2024, Hlis ntuj nqeg
Anonim
Network Sijhawm Digital Clock Siv ESP8266
Network Sijhawm Digital Clock Siv ESP8266

Peb kawm paub tsim lub moos me me ntxim hlub uas sib txuas lus nrog NTP cov servers thiab nthuav qhia lub network lossis sijhawm internet. Peb siv WeMos D1 mini txuas rau WiFi network, tau txais NTP lub sijhawm thiab tso tawm ntawm OLED module.

Cov vis dis aus saum toj no tham koj txog tag nrho cov txheej txheem ntawm kev tsim txoj haujlwm no.

Kauj Ruam 1: Sau Cov Khoom Siv Hluav Taws Xob

Sau cov Electronics
Sau cov Electronics

Txhawm rau tsim txoj haujlwm no, koj yuav xav tau WeMos D1 mini lossis pawg thawj coj uas siv ESP8266 chipset nrog rau OLED module. Daim duab yuav tsum ua haujlwm nrog ESP32 cov laug cam tab sis kuv tsis tau sim qhov no.

Kauj ruam 2: Kho kom raug thiab Upload Sketch

Kho thiab Upload Sketch
Kho thiab Upload Sketch
Kho thiab Upload Sketch
Kho thiab Upload Sketch
Kho thiab Upload Sketch
Kho thiab Upload Sketch

Rub tawm daim duab kos siv qhov txuas hauv qab no:

Pib los ntawm kev ntxiv koj li ntawv pov thawj network raws li peb xav tau txuas rau WiFi network. Tom qab ntawd, xyuas kom tseeb tias koj ntxiv cov ntaub ntawv thaj tsam lub sijhawm raug. Koj tuaj yeem mus ntsib qhov txuas hauv qab no kom tau txais lub sijhawm thaj tsam cuam tshuam rau koj cheeb tsam:

Ua ntej koj tuaj yeem xa cov duab kos, nco ntsoov tias koj tau teeb tsa lub tsev qiv ntawv U8g2 nrog rau pob khoom txhawb nqa rau ESP8266 cov laug cam. Txheeb cov duab kom paub ntxiv lossis saib cov vis dis aus kom ntxaws qhia. Thaum ua tiav, ntsaws rau hauv lub rooj tsavxwm thiab xyuas kom tseeb tias koj tau xaiv lub rooj teeb tsa raug raws li pom hauv daim duab. Tom qab ntawd, ntaus qhov upload thiab tos kom nws ua tiav.

Ib zaug rub tawm, qhib qhov saib ua ntej thiab nco ntsoov tias lub sijhawm raug raug tshwm sim. Yog tias tsis yog, xyuas kom koj tau xaiv lub sijhawm zoo rau koj cheeb tsam.

Kauj Ruam 3: Txuas OLED Module

Txuas OLED Module
Txuas OLED Module
Txuas OLED Module
Txuas OLED Module

Siv daim duab thaiv kab lus saum toj no txhawm rau txuas OLED module rau lub microcontroller board. Fais fab ntawm lub rooj tsavxwm thiab koj yuav tsum pom lub sijhawm tso tawm ntawm tus qauv.

Kauj Ruam 4: Ntxiv cov Modules rau hauv Cov Ntaub Ntawv

Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv
Ntxiv cov Modules rau hauv Cov Ntaub Ntawv

Thaum koj zoo siab nrog qhov tshwm sim, rub tawm thiab 3D luam tus qauv los ntawm qhov txuas hauv qab no:

Lub rooj zaum zaum ntawm lub nraub qaum thaum lub OLED module zaum ntawm qhov kawg ntawm lub thawv ntawv. Koj tuaj yeem siv daim kab xev ob tog los tuav lub OLED module nyob rau hauv qhov chaw thiab koj tseem tuaj yeem ntxiv cov kua nplaum kub ze ntawm cov xov hlau kom nws nyob hauv qhov chaw. Siv cov xaim hluav taws xob los ntawm OLED module mus rau lub rooj tswj hwm microcontroller thiab tom qab ntawd kaw lub tsev los ntawm kev siv qee cov kua nplaum los tuav nws ua ke. Txuas lub microUSB cable thiab nws yuav tsum ua haujlwm raws li qhov xav tau.

Yog tias koj nyiam qhov tshaj tawm no, tom qab ntawd tsis txhob hnov qab ua raws peb siv cov kab ntawv txuas hauv qab no vim peb yuav tsim ntau txoj haujlwm ntxiv zoo li qhov no:

  • YouTube:
  • Koj li xyoob ntoo Instagram:
  • Facebook:
  • Twitter:
  • BnBe Lub Vev Xaib:

Pom zoo: