Cov txheej txheem:
- Kauj ruam 1: BiJin ToKei yog dab tsi?
- Kauj ruam 2: Vim li cas ESP32?
- Kauj ruam 3: Kev npaj
- Kauj Ruam 4: Tsim
- Kauj Ruam 5: Rub tawm, Txheeb, Flash thiab Ua Haujlwm Txoj Haujlwm
- Kauj Ruam 6: Kev Ua Haujlwm Soldering
- Kauj Ruam 7: Txheeb thiab Muab LCD tso rau ntawm Sawv Cev
- Kauj Ruam 8: Sijhawm Zoo Siab
- Kauj Ruam 9: Dab Tsi Ntxiv?
Video: ESP32 Lub Sijhawm Yees Duab: 9 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-31 10:20
Cov lus qhia no qhia yuav siv ESP32 thiab LCD los ua lub moos yees duab li cas. Hauv Nyij Pooj, nws hu ua BiJin ToKei (美人 時 計).
Kauj ruam 1: BiJin ToKei yog dab tsi?
BiJin ToKei from 美人 時 計) from pib txij xyoo 2009, lawv pom ntau yam kev zoo nkauj tuav lub rooj tswj hwm lub sijhawm qhia txhua feeb. BiJin ToKei muab daim ntawv thov web thiab mobile app version. Tom qab xyoo no, koj tuaj yeem pom ntau yam kev hloov pauv ntawm lub vev xaib tam sim no.
Ref.: Yog
www.bijint.com
ja.wikipedia.org/wiki/BIJIN%26Co.
itunes.apple.com/us/app/bijin-tokei-plus/i…
deadoralive.wikia.com/wiki/Bijin_Tokei
twitter.com/search?q=%23bijintokei
Kauj ruam 2: Vim li cas ESP32?
BiJin ToKei thaum xub thawj muab daim ntawv thov web thiab mobile app version. Nws yog lub moos zoo nkauj, tab sis nws nyuaj heev rau mob siab rau lub vijtsam duab lossis lub xov tooj ntawm tes ua lub moos nyob rau lub sijhawm ntev.
Yuav ua li cas txog ESP32 thiab LCD me me, nws tsuas yog nqi ib ncig 10 USD, tus nqi no tsim nyog tsim nyog los ua nws.
Kauj ruam 3: Kev npaj
ESP32 pawg thawj coj saib
Ib qho ESP32 pawg tswj hwm kev txhim kho nrog SPI cov kab tawg yuav tsum ua tau zoo.
LCD
ESP32_TFT_Library tuaj yeem txhawb nqa ILI9341, ILI9488, ST7789V thiab ST7735. Lub sijhawm no kuv tab tom siv 2.4 ST7789V LCD, tus lej JLX240-00302-BN. Cov qauv no yog tsim los rau SPI nkaus xwb, yog li nws tsuas muaj 10 tus pin (ua tau tiag tiag 9 tus pin). Nws tuaj yeem pab ua haujlwm yooj yim dua.
Hloov tshiab: Kuv kuj tau sim 3.2 LCD, tus lej JLX320-00202
Zaub Sawv
Koj tuaj yeem rov siv cov khoom qub hauv tes ua lub rooj muag khoom yooj yim, piv txwv. mobile sawv ntsug. Kuv muaj lub npe tawg lub npe tuav ntawm tes, nws yog qhov zoo tshaj los ua txoj haujlwm no!
Lwm tus
10 Ohm resistor thiab qee cov tooj liab tooj liab.
Kauj Ruam 4: Tsim
Lub moos yees duab xav tau lub peev xwm los tso duab. Daim duab ntawm www.bijint.com yog hauv hom-j.webp
ESP32 yog thawj txoj haujlwm nyiam ua haujlwm uas tau ua tiav kev daws teeb meem rau pom-j.webp
Yog li txoj haujlwm no pib los ntawm Loboris's ESP32_TFT_library.
Nov yog qhov program ntws:
- Txuas WiFi
- Tau txais lub sijhawm tam sim no nrog NTP raws tu qauv
- Sib dhos cov teev thiab feeb los tsim lub sijhawm tam sim no duab URL thiab tom qab ntawd muab nws los ntawm www.bijint.com txhua feeb
- Txuag daim duab-j.webp" />
- Zaub cov ntaub ntawv jpg
Hloov kho tshiab: cov cai tshiab tseem txhawb kev txiav txim ncaj qha-j.webp
Tsim txog cov ntsiab lus:
- WiFi thiab Is Taws Nem kev txuas tsis yog 100% ntseeg tau thiab kuv tsis xav kom lub moos khov ntawm lub sijhawm tsis raug, yog li ib zaug ntsib qee qhov yuam kev (piv txwv li DNS nrhiav tsis tau, NTP tsis ua tiav, rub tawm tsis tau) qhov kev pab cuam rov pib dua thiab rov ua dua.
- Txhua feeb muaj cov duab ib zaug txhais tau tias 1440 duab hauv ib hnub, ESP32 lub teeb nyem tsis tuaj yeem haum ntau pua daim duab. Yog li lub moos tsis tuaj yeem sau txhua daim duab, tab sis nws tuaj yeem khaws cov duab txhua lub sijhawm, tso saib nws thiab tom qab ntawd ntxuav nws.
- Flash tau hnav tawm yooj yim los ntawm kev rov sau dua tom ntej, yog li qhov kev zov me nyuam tig cov ntaub ntawv cache kom tsis txhob sau rau tib qhov chaw txhua feeb.
- Cov duab loj dua loj dua li LCD daws teeb meem, yog li nws yuav tsum tau ua kom cov duab me me mus rau ib nrab me me los tso saib.
- ESP-IDF ua lub sijhawm hloov chaw tsis ua haujlwm raws li qhov xav tau, yog li yuav tsum tau kho lub sijhawm nyob nrog cov cai kev cai.
- Rub lub sijhawm ntawv xav tau 10-50 vib nas this (nyob ntawm cov ntaub ntawv loj thiab network), yog li kuv tau nce qib 20 vib nas this (teeb tsa tau) los ntawm lub sijhawm tiag tiag kom kov yeej qhov kev ncua no.
Kauj Ruam 5: Rub tawm, Txheeb, Flash thiab Ua Haujlwm Txoj Haujlwm
Teeb ESP-IDF (yog tias tseem tsis tau):
- Windows Teeb Qhia
- Mac OS Setup Guide
- Linux Teeb Qhia
Rub tawm qhov chaws ntawm no:
github.com/moononournation/ESP32_BiJin_ToK…
Kev teeb tsa:
ua menuconfig
-
teeb tsa chaw nres nkoj
- xaiv "Serial Flasher Config"
- xaiv "Default serial port"
- sau ESP32 pawg thawj coj saib chaw nres nkoj, piv txwv li COM6 ntawm Windows; /dev/cu. SLAB_USBtoUART ntawm macOS
-
teeb WiFi
- xaiv "BiJin Tokei Configuration"
- sau koj tus kheej "WiFi SSID" thiab "WiFi Password"
Kev kho
Hloov kho "partitions.csv", kho qhov loj me. (siab tshaj 0x100000 rau 2M thiab 0x300000 rau 4M)
cia, cov ntaub ntawv, spiffs, 0x100000, 0xF0000, Hloov kho "main/bijin_tokei.c"
txheeb xyuas seb yuav siv ntau cov ntaub ntawv cache li cas, nyob ntawm SPIFFS qhov loj me. Los yog teeb tsa 0 rau kev txiav txim ncaj qha-j.webp" />
#define CACHE_COUNT 0
Xaiv thiab tsis suav nrog ib ntawm TOKEI LIST URL lossis sau koj tus kheej URL:
zoo li qub char *REQUEST_FORMAT =
Sau, nyem thiab khiav qhov program:
ua flash saib
Kauj Ruam 6: Kev Ua Haujlwm Soldering
Khaws ESP32 pawg thawj coj saib ntawm lub LCD rov qab thiab siv cov tooj liab tooj liab xaim.
Kev sib txuas yog qhov yooj yim heev tab sis LCD pins feem ntau yog tuab heev, ceev faj tsis txhob ntxig nws.
Nov yog cov ntsiab lus sib txuas:
ESP32 GND -> LCD -ve
-> LCD LED -ve ESP32 3v3 -> LCD +ve -> 10 Ohm resistor -> LCD LED +ve ESP32 GPIO16 -> LCD RS (DC) ESP32 GPIO23 -> LCD SDA (SPI MOSI) ESP32 GPIO05 -> LCD CS ESP32 GPIO17 -> LCD RST ESP32 GPIO18 -> LCD CL (SPI CLK)
Cov Lus Qhia: cov kab hluav taws xob xav tau cov xaim tuab kom ua tiav cov dej ntws tam sim no tab sis nws xav tau kev siv zog ntau dua los kho txoj haujlwm; lwm cov kab teeb liab tuaj yeem siv cov xaim hluav taws xob yooj yim thiab ua haujlwm yooj yim dua.
Kauj Ruam 7: Txheeb thiab Muab LCD tso rau ntawm Sawv Cev
Txheeb xyuas qhov haujlwm kom raug thiab tom qab ntawd kho nws ntawm qhov sawv ntsug.
Kauj Ruam 8: Sijhawm Zoo Siab
Nws yog lub sijhawm los tso nws rau ntawm koj lub desktop thiab qhia rau koj tus phooj ywg tias koj tau ua dab tsi!
Kauj Ruam 9: Dab Tsi Ntxiv?
- Sim lwm yam BiJin ToKei kev hloov pauv
- Random tig xaiv cov kev hloov pauv
- Tailor ua koj tus kheej cov duab
- Zaub lub sijhawm hauv qhov loj font loj hauv daim duab tsis ua haujlwm
- Sim lub vijtsam loj dua, piv txwv. li 9488 (320 x 480)
Pom zoo:
$ 5 Lub Koob Yees Duab Lub Koob Yees Duab rau Lub Rooj Sib Tham Video: 4 Cov Kauj Ruam (nrog Duab)
$ 5 Laptop Document Camera for Conferencing Video: Luam tawm 20200811 los ntawm John E. Nelson [email protected] tsis ntev los no tau tshaj tawm qhia qhia kev siv lub khoos phis tawj khoos phis tawj khoos phis tawj ua lub koob yees duab rau kev sib tham video. www.instructables.com/id/A-Sub-10-MetaPrax-Documen
Lub Koob Yees Duab CCTV Nrog NodeMCU + Lub Laus Laptop Lub Koob Yees Duab (Nrog thiab Tsis Siv Blynk): 5 Kauj Ruam
CCTV Lub Koob Yees Duab Nrog NodeMCU + Lub Laus Laptop Lub Koob Yees Duab (Nrog thiab Tsis Siv Blynk): Nyob zoo cov phooj ywg! Hauv cov lus qhia no, Kuv yuav qhia koj li cas kuv siv lub khoos phis tawj qub lub koob yees duab thiab nodeMCU los ua qee yam zoo ib yam li CCTV
Lub taub hau Nrhiav Nrog Wii Lub Koob Yees Duab Lub Koob Yees Duab (Tsov Rog Thunder): 6 Cov Kauj Ruam (nrog Duab)
Txheeb Xyuas Lub Taub Hau Nrog Wii Lub Koob Yees Duab Lub Koob Yees Duab (Tsov Rog Thunder): Nyob zoo txhua tus! Kuv xav qhia rau koj nrog kuv thawj qhov haujlwm tiav Arduino tiav. Kuv tau sim ua ib hom kev ua hauv tsev ntxiv rau kev muaj tiag. Cia kuv piav qhia nws rau koj: Nws yog qhov txheej txheem uas siv lub koob yees duab txhawm rau taug qab koj lub taub hau txav los hloov nws raws li
Lub Koob Yees Duab-Lub Koob Yees Duab Combiner Ua Nrog Lego: 12 Cov Kauj Ruam (nrog Duab)
Camera-Microscope Combiner Made With Lego: Nyob zoo txhua tus, Hnub no kuv yuav qhia yuav ua li cas thiaj ua lub koob yees duab rau lub tshuab tsom iav (ua nrog Lego qhov chaw) uas peb tuaj yeem ntes cov ntsiab lus ntawm tsom iav yooj yim dua. Cia peb pib
Hmo Hmo Pom Lub Zeem Muag Digital Lub Koob Yees Duab/lub koob yees duab: 17 Cov Kauj Ruam (nrog Duab)
Infrared Hmo Hmo Pom Lub Koob Yees Duab/Lub Koob Yees Duab: Cov lus qhia no piav qhia yuav hloov pauv li cas Kev Pom Kev Pom Kev Pom Hmo Hmo Hmo Hmo Hmo Hmo Hmo Hmo Hmo Tsis Pom Kev (uas yog tshaj tawm tsis raug los siv "" lub ntsej muag pom kev hmo ntuj tiag tiag thev naus laus zis ") mus rau qhov tseeb pom pom hmo ntuj pom lub koob yees duab. Qhov no zoo ib yam li IR webca