Cov txheej txheem:
- Kauj ruam 1: Txhim Kho Software
- Kauj ruam 2: Rub tawm Firmware
- Kauj Ruam 3: Nrhiav COM Port
- Kauj ruam 4: Nyem Firmware
- Kauj Ruam 5: Kuaj Yog tias Lub Firmware tau ua tiav zoo
Video: Txhim Kho Loboris (lobo) Micropython ntawm ESP32 Nrog Windows 10 [yooj yim]: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Phau ntawv qhia no yuav pab koj teeb tsa loboris micropython ntawm koj ESP32 yam tsis muaj kev paub ntxiv.
Loboris muaj cov tsev qiv ntawv uas tus qauv micropython tsis tau thiab uas muaj txiaj ntsig zoo. Phau ntawv qhia no tshwj xeeb tshaj yog ua rau kuv cov lus qhia yuav siv st7789v tft zaub nrog micropython [yuav los sai sai no]
Kauj ruam 1: Txhim Kho Software
Peb xav tau Software los teeb tsa micropython. Peb pib nrog nab hab sej. Yog tias koj tseem tsis tau teeb tsa nws Kuv xav kom koj teeb tsa Anaconda (anaconda.com), uas yog pob nrog nab hab sej, libarys thiab cov cuab yeej muaj txiaj ntsig. Tsuas yog nruab nws nrog cov txheej txheem xaiv.
Tom qab ntawd koj tseem xav tau cov cuab yeej esp, uas peb xav tau nyem lub firmware. Rub tawm tag nrho cov ntawv los ntawm https://github.com/espressif/esptool thiab unzip nws hauv daim nplaub tshev tshiab
Kauj ruam 2: Rub tawm Firmware
Rub tawm qhov tseeb firmware los ntawm
github.com/loboris/MicroPython_ESP32_psRAM…
Cov no yog cov khoom tsim ua ntej, uas ua rau nws yooj yim dua. Koj tuaj yeem rub tawm ib txwm ua "MicroPython_LoBo_esp32" lossis ua nrog txhua lub tsev qiv ntawv "MicroPython_LoBo_esp32_all". Yog tias koj tuaj ntawm no los ntawm kuv esp32 tft zaub qhia koj yuav tsum rub tawm "MicroPython_LoBo_esp32_all"
Mus rau hauv lub vev xaib thiab rub cov ntawv.zip.
Qhib cov ntawv zip thiab luam txhua cov ntaub ntawv thiab daim nplaub tshev. Muab lawv tso rau hauv daim nplaub tshev esptool (los ntawm kauj ruam 1). Tsis txhob muab lawv tso rau hauv subfolder! Cov ntaub ntawv rau hauv (micropython.bin thiab lwm yam) yuav tsum nyob hauv tib lub nplaub tshev ib yam li.py cov ntaub ntawv (esptool.py thiab lwm yam). Tsuas yog bootloader.bin yuav tsum nyob hauv subfolder bootloader.bin (Saib daim duab rau tus qauv)
Kauj Ruam 3: Nrhiav COM Port
Txuas koj esp32 ntawm USB. Qhib Windows tus thawj tswj ntaus ntawv (ntawm Windows teeb tsa lossis nias Windows-Key + R, sau "devmgmt.msc" thiab nias sau). Qhib lub ntsiab lus "chaw nres nkoj". Nrhiav qee yam xws li "cp2102". Tom qab muaj qhov chaw nres nkoj COM tau teev tseg, piv txwv li COM7. Nco ntsoov qhov no rau qib tom ntej.
Kauj ruam 4: Nyem Firmware
Kuv xav tias koj ua raws kuv cov lus qhia thiab teeb tsa anaconda. Yog tias koj muaj kev txhim kho nab hab sej sib txawv kuv xav tias koj tuaj yeem hloov kho koj tus kheej hauv qab no.
Qhib "Anaconda prompt" (Nyem Windows startmenu -> Anaconda). Hloov txoj hauv kev rau daim nplaub tshev uas koj cov cuab yeej esp nyob ntawm. Rau kuv qhov no yuav yog "C: / Users / Marc / Desktop / TTGO Display / esptool-master2"
Txhawm rau hloov mus rau daim nplaub tshev hom "cd C: Cov Neeg Siv Marc / Desktop / TTGO Display / esptool-master2" thiab nias nkag mus.
Tam sim no peb nyem lub firmware. Nco ntsoov tias koj esp32 txuas nrog. Nkag mus rau cov lus txib hauv qab no:
nab hab sej esptool.py --chip esp32 --port COM7 --baud 460800 -ua ntej default_reset -tom qab no_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size ntes 0x1000 bootloader/bootloader.bin 0xf000 phy_init_data.bin MicroPython.bin 0x8000 partitions_mpy.bin
Hloov qhov chaw nres nkoj COM mus rau qhov chaw nres nkoj uas koj pom hauv cov kauj ruam dhau los thiab nias nkag mus. Tam sim no lub firmware tau flashed. Qhov no yuav siv sijhawm ib pliag.
Kauj Ruam 5: Kuaj Yog tias Lub Firmware tau ua tiav zoo
Kuv hais qhia koj kom siv uPyCraft. (https://docs.dfrobot.com/upycraft/) Rub tawm thiab nruab nws. Qhib qhov programm. Nyem cov cuab yeej -> pawg thawj coj -> esp32. Nyem cov cuab yeej -> Serial -> (Xaiv Serial uas koj lub rooj sib tham txuas nrog, COM7 hauv kuv li)
Yog tias lub teeb nyem ua tiav koj yuav tsum pom ">>>" hauv lub davhlau ya nyob twg. Koj tuaj yeem ntaus "1+1" thiab nias nkag mus, thiab nws yuav tsum rov qab 2. Yog tias koj pom lub qhov rai hloov nrog qhov kev xaiv kom nyem lub firmware, kev teeb tsa yuav ua tsis tiav qhov twg. (Qee zaum qhov no tseem tshwm sim thaum kev teeb tsa ua tiav. Thaum koj pom "flash window", sim txuas ob peb zaug ntxiv, txuas USB ntawm lub rooj tsavxwm, kaw uPyCraft, txuas lub rooj tsavxwm dua, qhib uPyCraft, thiab sim txuas ob peb zaug ntxiv. Qee zaum qhov no ua haujlwm, qee zaum uPyCraft ib txwm ua tsis tiav ntawm thawj zaug tab sis ua tiav nrog qhov txuas thib ob sim).
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: 3 Kauj Ruam
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: Qhov haujlwm no yuav pab koj txuas 18 LEDs (6 Liab + 6 Xiav + 6 Daj) rau koj lub Rooj Tswjhwm Saib Arduino thiab txheeb xyuas koj lub khoos phis tawj Lub Suab Suab Lub suab lub sijhawm tiag tiag thiab xa lawv mus rau cov LEDs kom pom lawv raws li qhov cuam tshuam (Snare, High Hat, Kick)
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe