Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj Ruam 2: Pib Visuino, thiab Xaiv Arduino WeMos D1 Mini Board Type
- Kauj ruam 3: Teeb WiFi
- Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Kauj Ruam 6: Hauv Visuino Connect Components
- Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 8: Ua si
Video: ESP8266 OLED - Tau Txais Sijhawm thiab Hnub Los Ntawm Internet: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas kom tau txais hnub thiab sijhawm los ntawm NIST TIME server siv ESP8266 OLED thiab Visuino, Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- ESP8266 OLED
- Visuino program: Rub tawm Visuino
Kauj Ruam 2: Pib Visuino, thiab Xaiv Arduino WeMos D1 Mini Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua tiav ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program WeMos D1 Mini! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cuab Yeej" khawm ntawm Arduino tivthaiv (Daim duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "WeMos D1 Mini" raws li qhia hauv daim duab 2
Kauj ruam 3: Teeb WiFi
- Xaiv WeMos D1 Mini thiab hauv cov khoos phis tawj Modules> WiFi> Nkag Mus Rau Cov Ntsiab Lus, nyem rau ntawm […] khawm, kom lub qhov rai “Access points” yuav qhib.
- Hauv cov khoom qhov rai Hauv qab "SSID" muab lub npe ntawm koj li WiFi Network
- Hauv qab "Tus password" tso tus password nkag rau koj lub WiFi network
- Kaw qhov "Access points" window
- Ntawm sab laug hauv tus khoos phis tawj xaiv Modules> Wifi> Sockets, nyem rau ntawm […] khawm, yog li “Qhov nyob” qhov rai yuav qhib Luag TCP/IP Client los ntawm sab xis mus rau sab laug, tom qab ntawd hauv Properties window teeb tsa chaw nres nkoj: 37 thiab tus tswv: time-ag.nist.gov
- Kaw qhov "Sockets" window
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
- Ntxiv "Pulse Generator" tivthaiv
- Ntxiv "Internet Sijhawm Raws Cai" tivthaiv
- Ntxiv 2X "Rho Tawm Txoj Cai Sub Text" tivthaiv
- Ntxiv 2X "Rho Tawm Cov Ntawv Hauv Qab" cov ntawv
- Ntxiv "SSD1306/SH1106 OLED Display (I2C)" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb Cov Khoom
- Xaiv "PulseGenerator1" thiab hauv cov khoom qhov rai teeb tsa zaus rau 0.1166667
- Xaiv "DeleteRightText1" thiab hauv cov khoom qhov rai teeb tsa Ntev mus rau 13
- Xaiv "DeleteRightText2" thiab hauv cov khoom qhov rai teeb tsa Ntev rau 5
- Xaiv "DeleteLeftText2" thiab hauv cov khoom qhov rai teeb tsa Ntev mus rau 12
- Ob npaug nias rau ntawm "DisplayOLED1" tivthaiv
Elements Dialog yuav qhia
- Hauv Cov Ntsiab Lus Sib Tham nthuav "Cov Ntawv" ntawm sab xis thiab rub "Kos Cov Ntawv" thiab rub 2X "Cov Ntawv Sau" los ntawm sab xis mus rau sab laug
- Hauv Cov Ntsiab Lus Dialog nthuav "Kab" ntawm sab xis thiab rub "Kos Kab" los ntawm sab xis mus rau sab laug
- Xaiv "Kos Text1" ntawm sab laug thiab hauv lub qhov rai khoom teeb tsa "Ntawv" rau 'Sijhawm & Hnub' (lossis qee cov ntawv nyeem) thiab teeb tsa me me rau 2
- Xaiv "Kos Kab 1" thiab hauv cov khoom qhov rai teeb tsa "Dav" txog 120 thiab "Y" txog 20
- Xaiv "Text Field1" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 2 thiab "Y" txog 25
- Xaiv "Text Field2" thiab hauv cov khoom qhov rai teeb tsa "Loj" rau 2 thiab "Y" txog 45
Kaw Elements Dialog
Kauj Ruam 6: Hauv Visuino Connect Components
- Txuas "PulseGenerator1" tus pin [Tawm] rau "InternetTime1" tus pin [Hauv]
- Txuas "InternetTime1" tus pin [Socket] rau "WeMos D1 Mini"> TCP Client1 tus pin [Hauv]
- Txuas "InternetTime1" tus pin [Tawm] rau "DeleteRightText1" tus pin [Hauv] thiab "DeleteRightText2" tus pin [Hauv]
- Txuas "DeleteRightText1" tus pin [Tawm] rau "DeleteLeftText1" tus pin [Hauv]
- Txuas "DeleteRightText2" tus pin [Tawm] rau "DeleteLeftText2" tus pin [Hauv]
- Txuas "DeleteLeftText1" pin [Tawm] rau "DisplayOLED1"> Text Field1 tus pin [Hauv]
- Txuas "DeleteLeftText2" pin [Tawm] rau "DisplayOLED1"> Text Field2 tus pin [Hauv]
Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 8: Ua si
Yog tias koj ua lub zog ESP8266 OLED module, nws yuav txuas rau hauv is taws nem thiab cov zaub yuav tsum pib qhia hnub thiab sijhawm los ntawm NIST server
. Koj tseem tuaj yeem sim nrog lwm cov servers uas koj tuaj yeem pom ntawm no
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm Internet Sijhawm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Pom zoo:
Mloog Internet: Zaum Hnub thiab Sijhawm Nrog OLED Siv ESP8266 NodeMCU Nrog NTP Raws Cai: 6 Kauj Ruam
Clock Internet: Zaum Hnub thiab Sijhawm Nrog OLED Siv ESP8266 NodeMCU Nrog NTP Raws Cai: Nyob zoo cov neeg hauv phau ntawv qhia no peb yuav tsim lub moos internet uas yuav tau txais sijhawm los ntawm internet yog li qhov haujlwm no yuav tsis xav tau RTC los ua haujlwm, nws tsuas xav tau Ua haujlwm sib txuas internet Thiab rau txoj haujlwm no koj xav tau esp8266 uas yuav muaj
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
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
BIQUAD Kav hlau txais xov Sab hauv, Ua los ntawm tooj liab thiab Ntoo rau Txais Txais HDTV Raws Hauv UHF Band (CHANNELS 14-51): 7 Cov Kauj Ruam
BIQUAD Kav hlau txais xov Sab hauv, Ua los ntawm tooj liab thiab Ntoo rau Txais Txais HDTV Raws Hauv UHF Band (CHANNELS 14-51): Hauv khw muaj ntau yam antennas rau TV. Cov neeg nyiam tshaj plaws raws li kuv tus qauv yog: UDA-YAGIS, Dipole, Dipole nrog cov duab ci, Thaj thiab Logarithmic antennas. Nyob ntawm qhov xwm txheej, qhov nrug deb ntawm kev kis tus kab mob
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ