Cov txheej txheem:
- Kauj Ruam 1: Kev Npaj Kho Vajtse
- Kauj ruam 2: Khoos phis tawj khoos phis tawj
- Kauj Ruam 3: Kev Npaj Software
- Kauj ruam 4: Teeb & Upload
- Kauj Ruam 5: ESP8266 BearSSL CertStore
- Kauj Ruam 6: Nws Ua Haujlwm Li Cas?
- Kauj ruam 7: Txaus siab rau
Video: Google Photo Clock: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cov lus qhia no qhia yuav siv ESP32 thiab LCD los ua lub moos digital nrog xaiv cov duab tso rau tom qab txhua feeb. Cov duab tau los ntawm koj sib koom Google Duab Duab, yooj yim nkag mus rau qhov sib txuas sib txuas ESP32 yuav ua txoj haujlwm;>
Kauj Ruam 1: Kev Npaj Kho Vajtse
YUAV TSUM UA HAUJ LWM ZOO TSHAJ PLAWS HARDWARE
Yog tias koj tau ua tiav cov lus qhia yav dhau los, koj tuaj yeem siv kho vajtse rau txoj haujlwm no thiab tuaj yeem hla cov khoom sib dhos:
- https://www.instructables.com/id/Floating-Display/
- https://www.instructables.com/id/COVID-19-WHO-Dash…
ESP8266/ESP32 Dev Board
Ib qho ESP8266/ESP32 Dev Board yuav tsum ua tau zoo.
Zaub Zaub
Ib qho Arduino_GFX txhawb LCD zoo, koj tuaj yeem pom tam sim no txhawb cov zaub ntawm GitHub nyeem:
Cov qhob cij
Txhua daim ntawv qhia zaub mov uas tuaj yeem haum rau ESP Dev Board thiab LCD Zaub.
Jumper Hlau
Qee Jumper Wires, nyob ntawm dev pawg thiab LCD pins teeb tsa. Feem ntau 6-9 tus txiv neej rau poj niam jumper xov hlau yog txaus.
Kauj ruam 2: Khoos phis tawj khoos phis tawj
Thawb ESP32 Dev Board rau ntawm lub khob cij thiab txuas LCD nrog cov xov hluav taws xob.
Nov yog cov piv txwv piv txwv sib txuas:
ESP8266 -> LCD
Vcc -> Vcc
GND -> GND GPIO 15 -> CS GPIO 5 -> DC (yog tias muaj) RST -> RST GPIO 14 -> SCK GPIO 12 -> MISO (xaiv tau) GPIO 4 -> LED (yog tias muaj) GPIO 13 -> MOSI / SDA
ESP32 -> LCD
Vcc -> Vcc
GND -> GND GPIO 5 -> CS GPIO 16 -> DC (yog tias muaj) GPIO 17 -> RST GPIO 18 -> SCK GPIO 19 -> MISO (xaiv tau) GPIO 22 -> LED (yog tias muaj) GPIO 23 -> MOSI SDA / UA
Kauj Ruam 3: Kev Npaj Software
Arduino IDE Cov
Rub tawm thiab teeb tsa Arduino IDE yog tias koj tseem tsis tau ua nws:
www.arduino.cc/en/main/software
Kev them nyiaj yug ESP8266
Ua raws li Cov Lus Qhia Txhim Kho ntxiv ESP8266 kev txhawb nqa yog tias koj tseem tsis tau ua nws:
github.com/esp8266/Arduino
Arduino ESP8266 filesystem uploader
Ua raws li Cov Lus Qhia Txhim Kho ntxiv rau uploader plugin yog tias koj tseem tsis tau ua nws:
github.com/esp8266/arduino-esp8266fs-plugi…
Txhawb ESP32
Ua raws li Cov Lus Qhia Txhim Kho ntxiv ESP32 kev txhawb nqa yog tias koj tseem tsis tau ua nws:
github.com/espressif/arduino-esp32
Arduino_GFX Library
Rub tawm cov tsev qiv ntawv Arduino_GFX tshiab kawg: (nias "Clone lossis rub tawm" -> "Download ZIP")
github.com/moononournation/Arduino_GFX
Ntshuam tsev qiv ntawv hauv Arduino IDE. (Arduino IDE "Sketch" Menu -> "Xws li Lub Tsev Qiv Ntawv" -> "Ntxiv. ZIP Library" -> xaiv rub tawm ZIP file)
Kauj ruam 4: Teeb & Upload
- Rub tawm qhov program ntawm GitHub: (nias "Clone lossis Download" -> "Download ZIP")
- Qhib GooglePhotoClock.ino nrog Arduino IDE
- Sau koj li WiFi AP chaw rau hauv SSID_NAME thiab SSID_PASSWORD
- Sau cov sijhawm xov xwm hauv cheeb tsam rau GMT_OFFSET_SEC, DAYLIGHT_OFFSET_SEC thiab TZ
- Npaj ib qho album sib koom hauv Google Duab, tsim qhov sib koom txuas thiab sau GOOGLE_PHOTO_SHARE_LINK
- Yog tias koj tsis siv ILI9341 LCD, tawm lus kab 133 thiab tsis ua raws qhov kev tshaj tawm hauv chav kawm LCD raug
- Txuas ESP Dev Board rau lub computer
- Nias Upload khawm kom suav sau thiab xa qhov program mus rau ESP Dev Board
Kauj Ruam 5: ESP8266 BearSSL CertStore
Google Duab xav tau txhua qhov kev sib txuas hauv HTTPS. ESP8266 qhov hloov tshiab kawg siv BearSSL kev siv thiab nws xav tau qee qhov kev npaj ua ntej ntawm CertStore cov ntaub ntawv.
Kuv tau tsim cov ntaub ntawv CertStore ntawm 2020 Plaub Hlis 18, koj tsim dua tshiab los ntawm kev khiav:
nab hab sej make_spiffs.py
Yog tias koj siv ESP8266, ua raws cov kauj ruam txhawm rau upload cov ntaub ntawv CertStore:
- Qhib Arduino IDE
- Txuas ESP8266 dev board rau lub computer
- Xaiv Cov cuab yeej ntawv qhia zaub mov
- Xaiv ESP8266 Sketch Data Upload
- Tos upload tiav
Kauj Ruam 6: Nws Ua Haujlwm Li Cas?
- Txuas mus rau WiFi AP uas tau npaj ua ntej
- Tau txais lub sijhawm tam sim no los ntawm NTP server
- Ua rau Google Duab sib koom txuas HTTPS thov
- HTTPS cov lus teb 302 thiab suav nrog qhov chaw xa rov qab hauv kab lus teb
- Ua qhov chaw hloov chaw HTTPS thov
- Nyeem daim duab npe los ntawm Javascript array hauv HTML teb (HTML ntau dua 500 KB, nws xav tau qee lub sijhawm los nyeem thiab faib cov ntaub ntawv)
- Rau txhua qhov minitues, xaiv ib daim duab hauv daim duab npe
- Rau ESP8266 nkaus xwb, sim nrhiav cov duab cached hauv SPIFFS ua ntej
- Ua daim duab txuas HTTPS thov
- Rau ESP8266 nkaus xwb, khaws cov ntawv yees duab rau SPIFFS
- Zaub daim duab
- Luam lub sijhawm tam sim no ntawm daim duab
Kauj ruam 7: Txaus siab rau
Nws yog lub sijhawm los ntxiv cov duab nyiam rau daim Duab Duab Sib Koom thiab tso qhov Google Duab Clock rau ntawm koj lub rooj.
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
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
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
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