Cov txheej txheem:
- Kauj Ruam 1: Vim Li Cas OSD Duab Ncej?
- Kauj Ruam 2: Vim Li Cas Paub Txog?
- Kauj Ruam 3: 2-tiers Tsim
- Kauj Ruam 4: Teeb Duab Cov Neeg Siv Khoom Xaiv 1: Docker Duab
- Kauj Ruam 5: Teeb Duab Cov Neeg Siv Khoom Xaiv 2: Tsim Los Ntawm Qhov Chaw
- Kauj Ruam 6: Cov Neeg Siv Khoom Xaiv 1: Web Browser
- Kauj Ruam 7: Cov Neeg Siv Khoom Xaiv 2: ESP32 + LCD
- Kauj Ruam 8: ESP32 + LCD Sib dhos
- Kauj Ruam 9: ESP32 + LCD Software
- Kauj ruam 10: Txaus siab rau Duab
- Kauj Ruam 11: Dab Tsi Ntxiv?
Video: Ntsej Muag Paub OSD Daim Duab Duab: 11 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 ua li cas kom ua daim duab thav duab nrog ntsej muag paub ntawm Screen Display (OSD).
OSD tuaj yeem qhia sijhawm, huab cua lossis lwm yam ntaub ntawv hauv internet uas koj xav tau.
Kauj Ruam 1: Vim Li Cas OSD Duab Ncej?
Kuv muaj 2 lub phiaj xwm yees duab ntawm Instructables ua ntej:
www.instructables.com/id/ESP32-Photo-Clock…
www.instructables.com/id/Arduino-BiJin-ToK…
Ob leeg khaws ib daim duab nrog kev zoo nkauj thiab lub sijhawm los ntawm Internet txhua feeb thiab tso tawm ntawm LCD.
Qhia kev zoo nkauj yog qhov zoo, tab sis lawv txhua tus yog neeg txawv rau kuv. Yuav ua li cas txog kev siv tus kheej nyiam cov duab thiab ntxiv lub sijhawm tam sim no thiab cov ntaub ntawv tam sim ntawd ntxiv rau nws?
Txoj haujlwm no tab tom tshawb nrhiav yuav ua li cas.
Kauj Ruam 2: Vim Li Cas Paub Txog?
Cia saib yuav ua li cas ntxiv cov ntaub ntawv tam sim OSD rau daim duab ua ntej:
- Random xaiv ib daim duab los ntawm daim nplaub tshev tshwj xeeb
- Muab sij hawm
- Tau txais cov ntaub ntawv tam sim los ntawm Is Taws Nem
- kos lub sijhawm thiab cov ntaub ntawv tam sim ntawm daim duab
Kauj ruam 1-3 yog ncaj nraim rau pem hauv ntej; Kauj Ruam 4 kuj saib yooj yim, tab sis txiav txim qhov twg los kos cov ntawv tsis yooj yim li.
Yog tias cov ntawv me me dhau, nws nyuaj rau nyeem hauv qhov tsim nyog nrug; Yog tias cov ntawv me me loj dhau, feem ntau nws yuav npog cov khoom duab. Tshwj xeeb tshaj yog yog nws yog duab duab, cov ntawv npog lub ntsej muag tsis nyiam.
Txij li txoj haujlwm ntawm lub ntsej muag rau txhua daim duab tsis zoo ib yam, txhawm rau zam OSD npog ntsej muag peb xav tau txheej txheem tshuaj xyuas lub ntsej muag ua ntej. Tom qab ntawd peb tuaj yeem pom thaj tsam tsis muaj ntsej muag txhawm rau kos cov ntawv.
Kauj Ruam 3: 2-tiers Tsim
Lub ntsej muag txheeb xyuas cov txheej txheem xav tau qee lub zog ua haujlwm, hauv qhov sib txawv, cov duab thav duab tuaj yeem hnyav heev. Yog li kuv faib nws ua 2 qib:
Neeg rau zaub mov
Lub ntsej muag paub lub tshuab yees duab yog Node.js app server. Rau txhua qhov thov HTTP, nws yuav:
- Xaiv ib daim duab los ntawm daim ntawv tais ceev tseg
- Pom lub ntsej muag
- txiav txim siab tsis muaj ntsej muag lossis tsawg kawg ntsej muag thaj tsam
- Lub sijhawm ntawd, khaws cov huab cua lossis lwm yam ntaub ntawv muaj txiaj ntsig los ntawm Is Taws Nem txhua lub sijhawm
- Kos lub sijhawm thiab cov ntaub ntawv tam sim ntawm daim duab
- Xa daim duab nrog OSD hauv JPEG hom ntawv raws li HTTP cov lus teb
Neeg
Tus neeg siv khoom tuaj yeem yog lub vev xaib, applet lossis IoT ntaus ntawv.
Piv txwv li ESP32 dev boasrd nrog 2-4 nti LCD yog qhov haum rau tso rau ntawm lub desktop ua cov duab me me.
Kauj Ruam 4: Teeb Duab Cov Neeg Siv Khoom Xaiv 1: Docker Duab
Txhawm rau kom yooj yim, Kuv tau tsim ua ntej Docker duab rau lub ntsej muag paub yees duab OSD Node.js app server.
Yog tias koj tseem tsis tau teeb tsa Docker, thov ua raws li Docker Pib Pib qhia:
www.docker.com/get-started
Tom qab ntawv khiav cov lus txib hauv qab no: (hloov/txoj hauv kev/rau/duab rau koj tus kheej txoj kev yees duab)
docker run -p 8080: 8080 -v/path/to/photo:/app/photo moononournation/ntsej muag-paub-yees duab-osd: 1.0.1
Ntsuas nws los ntawm kev mus rau https:// localhost: 8080/
Koj yuav pom lub sijhawm tso tawm tsis nyob hauv koj cheeb tsam sijhawm:
docker run -p 8080: 8080 -e TZ = Asia/Hong_Kong -v/path/to/photo:/app/photo moononournation/face -aware -photo -osd: 1.0.1
Yog tias koj nyob hauv Hong Kong zoo li kuv, koj tuaj yeem ntxiv xov xwm huab cua hauv Hong Kong:
docker run -p 8080: 8080 -e TZ = Asia/Hong_Kong -e OSD = HK_Weather -v/path/to/photo:/app/photo moononournation/face -aware -photo -osd: 1.0.1
Yog tias koj xav txhim kho koj tus kheej cov ntaub ntawv OSD:
mkdir -p ~/git
cd ~/git git clone https://github.com/moononournation/face-aware-photo-osd.git docker run -it -p 8080: 8080 -e TZ = Asia/Hong_Kong -e OSD = HK_Weather -e DEBUG = Y -v/path/to/photo:/app/photo -v ~/git/ntsej muag-paub-yees duab-osd/app.js: /app/app.js moononournation/ntsej muag-paub-yees duab-osd: 1.0. 1
Hloov kho update_osd () muaj nuj nqi hauv app.js kom txiav txim siab koj tus kheej OSD cov ntaub ntawv. Tom qab kev txhim kho, yooj yim tshem DEBUG = Y ib puag ncig los ntawm cov lus txib docker.
Kauj Ruam 5: Teeb Duab Cov Neeg Siv Khoom Xaiv 2: Tsim Los Ntawm Qhov Chaw
Yog tias koj paub nrog Node.js, koj tuaj yeem tsim lub app server los ntawm qhov chaw.
Tau qhov chaw:
git clone
Nruab pob:
cd ntsej muag-paub-yees duab-osd
npm nruab
Tsim daim ntawv tais ceev tseg thiab luam koj cov duab rau hauv daim nplaub tshev.
Khiav app server:
ntawm app.js
Kauj Ruam 6: Cov Neeg Siv Khoom Xaiv 1: Web Browser
Cias browser rau https:// localhost: 8080/
Nplooj ntawv tau sau ntawv pib thauj khoom kom haum cov duab me me txhua feeb.
PS Yog tias koj xauj los ntawm lwm lub tshuab uas tsis tau khiav lub app server, nco ntsoov hloov pauv localhost mus rau app server hostname lossis IP chaw nyob.
Kauj Ruam 7: Cov Neeg Siv Khoom Xaiv 2: ESP32 + LCD
Tus neeg siv daim duab thav duab tuaj yeem yooj yim ib yam li ESP32 dev board thiab LCD.
Nov yog cov cuab yeej xav tau:
ESP32 Dev Board
Ib qho ESP32 dev board yuav tsum ua tau zoo, lub sijhawm no kuv tab tom siv lub rooj tsav xwm hu ua MH-ET LIVE.
Zaub Zaub
Ib qho Arduino_GFX txhawb LCD, koj yuav pom tam sim no txhawb cov zaub ntawm GitHub nyeem:
github.com/moononournation/Arduino_GFX
Jumper Hlau
Qee Jumper Wires, nyob ntawm dev pawg thiab LCD pins teeb tsa. Feem ntau 6-9 tus poj niam rau poj niam jumper xov hlau yog txaus.
LCD Zaub
Qee qhov kev txhawb nqa pab LCD sawv ntsug ncaj, lub sijhawm no kuv tab tom siv daim npav tuav daim npav.
Kauj Ruam 8: ESP32 + LCD Sib dhos
ESP32 nrog tus pin header nyob rau sab saud yog qhov zoo dua. Yog hais tias tus pin header ntawm sab qis, tsuas yog muab lub rooj tsavxwm ntxeev;>
Txuas ESP32 thiab LCD nrog cov xov hluav taws xob, tom qab haum nws kom sawv ntsug.
Nov yog cov piv txwv piv txwv sib txuas:
ESP32 -> LCD
Vcc -> Vcc GND -> GND GPIO 5 -> CS GPIO 27 -> DC (yog tias muaj) GPIO 33 -> RST GPIO 18 -> SCK GPIO 19 -> MISO (xaiv tau) GPIO 22 -> LED (yog tias muaj) GPIO 23 -> MOSI / SDA
Kauj Ruam 9: ESP32 + LCD 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
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)
Sau & Upload
- Qhib Arduino IDE
- Qhib ESP32PhotoFrame tus qauv qauv ("Cov Ntaub Ntawv" -> "Piv txwv" -> "GFX Library rau Arduino" -> "WiFiPhotoFrame")
- Sau koj li WiFi AP chaw rau hauv SSID_NAME thiab SSID_PASSWORD
- Hloov koj lub server hostname lossis IP thiab chaw nres nkoj hauv HTTP_HOST thiab
- Nias Arduino IDE "Upload" khawm
- Yog tias koj pom qhov kev taw qhia tsis raug, hloov tus nqi "kev hloov" (0-3) hauv cov chav kawm tshiab
Kauj ruam 10: Txaus siab rau Duab
Nws yog lub sijhawm los muab IoT duab thav duab ntawm koj lub desktop thiab txaus siab rau!
Kauj Ruam 11: Dab Tsi Ntxiv?
- Ntxiv koj tus kheej cov ntaub ntawv tam sim
- Ua tib zoo qhib qhov loj me ntawm daim duab kom pom lub ntsej muag zoo dua
- Tsis siv neeg ua haujlwm los tso cov duab tshiab rau tus neeg rau zaub mov daim duab
- Siv cov duab ntau;>
Pom zoo:
Daim iav Pom Lub ntsej muag Nrog Qhov Chaw Tsis Pub Leej Twg Paub: 15 Kauj Ruam (nrog Duab)
Lub ntsej muag lees paub daim iav Nrog Qhov Chaw Tsis Pub Leej Twg Paub: Kuv ib txwm muaj kev xav los ntawm qhov muaj tswv yim zais zais uas siv hauv cov dab neeg, tsos, thiab lwm yam. Yog li, thaum kuv pom qhov Kev Sib Tw Tsis Pub Leej Twg Paub Kuv tau txiav txim siab sim nrog lub tswv yim kuv tus kheej thiab ua ib daim iav zoo ib yam uas qhib qhov rooj
Ntsej Muag Ntsej Muag Nrog E-Ntawv Zaub: 9 Kauj Ruam (nrog Duab)
Lub ntsej muag lub ntsej muag nrog E-Ntawv Zaub: Tus kab mob corona tshwm sim tau coj ib qho tshiab ntawm kev zam rau ntiaj teb sab hnub poob: lub ntsej muag lub ntsej muag. Thaum lub sijhawm sau ntawv, lawv tau dhau los ua yuam kev hauv Tebchaws Yelemees thiab lwm qhov hauv Tebchaws Europe rau niaj hnub siv hauv kev thauj mus los rau pej xeem, mus yuav khoom thiab ntau yam ntxiv
Lub Ntsej Muag Ntsej Muag Ntsej Muag => Covid Tiv Thaiv!: 5 Kauj Ruam
Lub Ntsej Muag Ntsej Muag Ntsej Muag => Covid Tiv Thaiv!: Tus naj npawb 1 yam uas cov neeg saib xyuas kev noj qab haus huv xav kom tib neeg ua thaum lub sijhawm muaj tus kabmob kis no yog hnav lub ntsej muag thaum tawm mus rau qhov chaw pej xeem, tab sis qee tus neeg tseem ua qhov muag tsis pom qhov lus ceeb toom. Nkag mus ….. COVID PrevEnter! Tus neeg hlau no siv lub koob yees duab Pixy2
Vortex Saib: lub ntsej muag Infinity Daim iav Lub Ntsej Muag: 10 Cov Kauj Ruam (nrog Duab)
Vortex Watch: Infinity Mirror Wristwatch: Lub hom phiaj ntawm txoj haujlwm no yog txhawm rau tsim qhov hnav tau ntawm lub iav tsom iav infinity. Nws siv nws cov RGB LEDs los qhia lub sijhawm los ntawm kev teev teev, feeb, thiab vib nas this rau Liab, Ntsuab, thiab Xiav teeb raws thiab sib tshooj cov xim no
OpenEyeTap: 3D Luam Ntawv & Lub Ntsej Muag Ntsej Muag iav: 12 Cov Kauj Ruam (nrog Duab)
OpenEyeTap: 3D Luam Ntawv & Lub Ntsej Muag Ntsej Muag iav: Zoo siab txais tos rau Qhib EyeTap's Cov Ntawv Qhia! Peb yog ob peb tus neeg mob siab rau nrog lub hom phiaj loj los tsim lub ntiaj teb kev ua haujlwm ntse tshaj plaws tsom iav thiab Hnav Hnav Augmented Reality Community. Peb xav kom nkag mus tau yooj yim lub moj khaum ntawm qhov augmented