Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txiav LED Strips kom Ntev
- Kauj Ruam 2: Kev teeb tsa thiab thaiv cov hlua LED
- Kauj Ruam 3: Txuas mus rau ESP32
- Kauj Ruam 4: Txhim Kho Arduino IDE
- Kauj Ruam 5: Teeb Arduino IDE
- Kauj Ruam 6: Programming ESP32 rau Lo Lus Clock Project
- Kauj Ruam 7: Kauj Ruam Kawg …
- Kauj ruam 8: Txuas rau WiFi
- Kauj Ruam 9: Hloov Xim ntawm LEDs
- Kauj Ruam 10: Kho Sijhawm
- Kauj Ruam 11: Rooj Sib Tham Kawg
- Kauj Ruam 12: Cov Lus Cim Kawg
Video: IEEE WORD CLOCK PROJECT: 12 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Nov yog txoj haujlwm rau UNO's IEEE club, nws yog txoj hauv kev tshwj xeeb los sawv cev rau lub sijhawm twg. Lo Lus Mloog sau lub sijhawm thiab nrog RGB kab txaij koj tuaj yeem muaj lub moos hauv txhua xim uas koj xaiv. Siv lub peev xwm WiFi ntawm ESP32, lub moos txuas mus rau qhov tshwj xeeb WiFi network thiab rub lub sijhawm tam sim no los ntawm internet. Yog tias koj tsis muaj WiFi network txuas rau, tsis txhob txhawj xeeb, cov cai tuaj yeem hloov kho kom yooj yim kom khiav ntawm ESP32 lub moos sab hauv tab sis qhov no yuav ua rau Lo Lus Clock tsis yog lub sijhawm raug.
Txoj Haujlwm thiab Txoj Cai tshoov siab los ntawm:
www.instructables.com/id/THE-WORD-CLOCK/
randomnerdtutorials.com/esp32-ntp-client-d…
Khoom siv
-ESP32 Microcontroller
-WS2812b RGB Ib Leeg Nyob Ib Leeg LED Sawb (60 coj ib lub 'meter')
Txaus rau 8 daim kab xev ntawm 13 LEDs, ~ 2 meters
-Tsev Vaj Huam Sib Luag
- Lub vaj huam sib luag pem hauv ntej no tuaj yeem txiav laser los ntawm cov khoom siv tsis pom kev
- Hauv Cov Lus Qhia no lub vaj huam sib luag pem hauv ntej tau txiav laser los ntawm 1/8 nti ntoo vaj huam sib luag nrog qhov ntev 9x7
-Defusing cov khoom
Yuav yog ib yam dab tsi los ntawm cov ntaub nthuav dav mus rau daim ntawv luam ntawv
-Kab xev
-5V fais fab mov
-USB rau micro-USB cable
-Computer nrog internet nkag tau
-Arduino IDE
-Provided chaws
-Wi -nkaus network
Kauj Ruam 1: Txiav LED Strips kom Ntev
Tus kheej qhov chaw nyob LED sawb yog ib qho tseem ceeb tshaj plaws ntawm txoj haujlwm no. Yog tias koj tsis tau txais hom LED sawb zoo, txoj cai yuav tsis ua haujlwm. Qhov sib nrug ntawm LEDs ntawm kab txaij yog qhov tseem ceeb rau, nco ntsoov tias koj muaj cov kab xev uas muaj 60 LEDs ib lub 'meter'. Rau qhov haujlwm no, ~ 2 metres ntawm cov hlua LED yuav txaus.
Rau txoj haujlwm, koj yuav tsum tau txiav tag nrho LED kab txaij rau hauv cov kab me me kom lawv tuaj yeem haum rau ntawm lub rooj tsavxwm. Koj yuav xav tau 8 kab ntawv uas yog 13 LEDs ntev. Pib txij thaum pib ntawm kab txaij (Xaus nrog tus poj niam txuas) suav 13 leds thiab tom qab ntawd txiav cov hlua kom koj muaj kab txaij me dua nrog 13 LEDs. Rov ua dua kom txog thaum koj muaj 8 daim kab xev tag nrho, qhov no yuav muaj 2 ib 'meter' ntev LED strips. Koj yuav tau txais 4 daim kab xev kom zoo los ntawm txhua lub ntsuas kab ntawm LEDs. Khaws cov LEDS ntxiv rau hloov chaw lossis lwm yam haujlwm.
Kauj Ruam 2: Kev teeb tsa thiab thaiv cov hlua LED
Tam sim no koj muaj 8 daim kab xev ntawm LEDs, nws yog lub sijhawm los teeb tsa lawv ntawm cov qauv muab (Cov Vaj Huam Sib Luag.svg). Thaum luam tawm cov ntaub ntawv.svg nco ntsoov ntsuas nws kom raug rau 9in txog 7in. Ua tib zoo saib xyuas cov lus qhia ntawm kab ntawv. Yog tias koj saib ze rau ntawm kab txaij, koj yuav pom Din nrog tus xub taw qhia rau LED module. Cov lus qhia ntawm tus xub yuav raug siv los teeb tsa cov hlua LED kom raug. Muab cov hlua LED tso rau ntawm tus qauv ua ntej tshem tawm cov nplaum tiv thaiv. Pib los ntawm kab saum toj kawg nkaus, kab "IT R IS C TEN HALF" kab, tso thawj kab ntawv nrog Din xub taw qhia rau sab xis. Muab cov hlua LED txuas ntxiv rau kab tom ntej no tab sis lub sijhawm no kom ntseeg tau tias Din xub yog taw tes rau sab laug. Txuas ntxiv tso txhua daim kab xev LED hloov pauv qhov kev taw qhia uas xub pom. Kab kawg yuav tsum tau taw tes rau sab laug.
Thaum koj muaj txhua daim kab xev LED tau teeb tsa kom raug ntawm tus qauv, tshem tawm los ntawm kab txaij, tshem cov nplaum tiv thaiv kab tawm ntawm sab nraum qab ntawm kab txaij LED thiab siv nws rau tus qauv ncaj li sai tau. Tom qab txhua daim kab xev LED tau ua raws daim qauv, ua tib zoo siv cov xov hlau txuas mus rau +5V, GND, thiab Cov Ntaub Ntawv sib txuas ua ke.
Kauj Ruam 3: Txuas mus rau ESP32
Thaum tag nrho cov kab txaij tau muab muag ua ke, nws yog lub sijhawm los txuas cov hlua LED mus rau ESP32 maub los. Koj tuaj yeem tso cov xaim rau hauv tus poj niam txuas lossis koj tuaj yeem ua tib zoo tshem tawm cov cua sov los ntawm cov xov hlau thiab de-solder los ntawm LED sawb. Thaum koj xaim cov xov hlau no rau ESP32 nco ntsoov tias koj muaj cov xaim txaus los tso lub mirco-USB rau qee qhov taw tes uas koj tuaj yeem ntsaws rau hauv mirco-USB cable. Solder cov hlau uas txuas nrog +5V lossis +3.3V rau Vin, GND rau GND, thiab Din rau D13.
Kauj Ruam 4: Txhim Kho Arduino IDE
Yog tias koj tsis muaj Arduino IDE teeb tsa rub nws los ntawm qhov txuas hauv qab no
www.arduino.cc/en/Main/Software
Xaiv qhov tseeb version rau koj OS
Kauj Ruam 5: Teeb Arduino IDE
Tom qab qhib Arduino IDE, mus rau kab ntawv sib txuas txhawm rau teeb tsa ESP32 Board tsav tsheb
Txhim kho ESP32 Board hauv Arduino IDE (Windows cov lus qhia)
Txhim kho ESP32 Board hauv Arduino IDE (Mac thiab Linux cov lus qhia)
Tom ntej no, rub tawm NTP Client library los ntawm Taranais los ntawm qhov txuas hauv qab no:
Nyem rau qhov no rub tawm NTP Client library
Tsis tas li koj yuav tsum rub tawm Adafruit Neopixel Library
github.com/adafruit/Adafruit_NeoPixel
Unzip cov ntaub ntawv.zip thiab luam daim nplaub tshev sab hauv rau koj lub Arduino IDE cov tsev qiv ntawv tais ceev tseg.
Kauj Ruam 6: Programming ESP32 rau Lo Lus Clock Project
Qhib ib daim duab tshiab Arduino thiab rub cov cai saum toj no. Luam thiab muab cov cai no tso rau hauv koj daim duab tshiab Arduino thiab sau cov cai ib yam kom ntseeg tau tias txhua tus tsav tsheb raug teeb tsa.
Kauj Ruam 7: Kauj Ruam Kawg …
Muaj qee qhov teeb tsa hauv cov cai uas koj yuav tsum tau hloov kho.
Kauj ruam 8: Txuas rau WiFi
Ob qhov kev hloov pauv hauv tus lej yuav tsum tau hloov pauv rau koj lub npe network wifi thiab tus password.
Kauj Ruam 9: Hloov Xim ntawm LEDs
Qhov kev hloov pauv no tswj hwm cov xim LED yog dab tsi, kev teeb tsa ntawm kab no tuaj yeem saib zoo li no:
uint32_t xim = strip. Color (Ntsuab, Liab, Xiav);
Los ntawm kev hloov qhov txiaj ntsig ntawm txhua tus nqi xim (0-255), koj tuaj yeem hloov xim LEDs yog xim dab tsi. Cov cai tau teeb tsa ua ntej rau LEDs yog qhov ci ntsuab.
Kauj Ruam 10: Kho Sijhawm
Qhov no yog qhov thaiv ntawm cov cai lav paub kho lub sijhawm hloov pauv vim yog thaj chaw sijhawm. Nws tau teeb tsa rau CDT, nco ntsoov cov cai no tsis hloov pauv nrog hnub ci txuag. Koj yuav tsum tau hloov tus nqi offset rau -21600 thaum nruab hnub txuag nyiaj "poob rov qab".
Kauj Ruam 11: Rooj Sib Tham Kawg
Thaum ESP32 txuas rau WiFi thiab koj lub teeb LED tau teeb pom kev, nws yog lub sijhawm los sib dhos txoj haujlwm.
Kaw koj cov ntaub ntawv nthuav tawm mus rau tom qab ntawm lub vaj huam sib luag pem hauv ntej kom tag nrho cov ntawv txiav tawm raug npog. Tom qab ntawv kab cov LEDs nrog tsab ntawv txiav tawm. Thaum cov no raug ua ke, kaw cov npoo ntawm nraub qaum thiab hauv ntej vaj huam sib luag.
Kauj Ruam 12: Cov Lus Cim Kawg
Txoj haujlwm no tuaj yeem siv tau los ntawm roj teeb tab sis vim muaj coob tus LEDs uas tab tom siv, cov roj teeb yuav tsis tuaj yeem muab hluav taws xob txaus.
Qee qhov LEDs yuav ua teeb pom kev zoo, qhov no tuaj yeem kho tau los ntawm kev rov pib dua ESP32 los ntawm nias lub pob EN. Hloov Vin tus pin rau 3.3V los ntawm 5V kuj tseem tuaj yeem kho qhov teeb meem no.
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