Cov txheej txheem:
- Kauj Ruam 1: Txuas ESP8266 Nrog Computer
- Kauj Ruam 2: Txheeb Xyuas Qhov Tam Sim No
- Kauj Ruam 3: Flash Tool thiab Firmware
- Kauj ruam 4: Flashing Firmware
Video: Firmware Flashing ntawm ESP8266: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Txhua leej txhua tus tau sim hloov kho lub khoos phis tawj ntawm ESP8266 tus qauv Cov Lus Qhia yuav pab tau koj hauv qhov ua kom pom lub firmware hauv ESP8266.
Kauj Ruam 1: Txuas ESP8266 Nrog Computer
Ua ntej tshaj plaws koj yuav tsum txuas ESP8266 nrog Computer nrog kev pab ntawm Arduino UNO lossis USB-UART. ua raws daim duab qhia kev txuas mus rau ESP8266 module nrog Arduino lossis USB-UART
Rau ARDUINO UNO
- Txuas tus pin 3.3v ntawm Arduino UNO rau V ++ thiab EN tus pin ntawm ESP8266
- Txuas GND tus pin ntawm Arduino UNO rau GND tus pin ntawm ESP8266
- Txuas TX, RX ntawm Arduino UNO tus pin rau RX thiab TX pinof ESP8266
- Txuas qhov hloov pauv ntawm GND tus pin ntawm Arduino UNO thiab CPIO0 tus pin ntawm ESP8266 kom qhib lub firmware hloov tshiab hom. (thaum hloov pauv raug nias)
- Txuas RST ntawm Arduino UNO rau GND ntawm Arduino UNO
raws li daim duab qhia Circuit
Rau USB-UART
- Txuas tus 3.3v tus pin ntawm USB-UART rau V ++ thiab EN tus pin ntawm ESP8266
- Txuas GND tus pin ntawm USB-UART rau GND tus pin ntawm ESP8266
- Txuas TX, RX ntawm USB-UART tus pin rau RX thiab TX tus pin ntawm ESP8266
- Txuas qhov hloov pauv ntawm GND tus pin ntawm USB-UART thiab CPIO0 tus pin ntawm ESP8266 kom qhib lub khoos phis tawj hloov tshiab. (Thaum hloov pauv)
Kauj Ruam 2: Txheeb Xyuas Qhov Tam Sim No
Txhawm rau txheeb xyuas qhov tam sim no ntawm koj ESP8266 qhib Arduino IDE (yog tias koj tsis tau nyem qhov txuas kom tau nws: -https://www.arduino.cc/en/main/software)
Nco tseg:- Hloov b/w GND thiab CIPO0 yuav qhib (tsis nias)
Qhib Txoj Haujlwm Tshiab <Xaiv Chaw nres nkoj hauv Cov Cuab Yeej <Qhib Serial Monitor hauv cov cuab yeej <Xaiv Tus Nqi Baud rau 115200
Tus saib xyuas qhov chaw nres nkoj yuav tsum tau teeb tsa kab hais kom ua yuav xa nrog zaum kawg NL thiab CR tus cim ob qho tib si.
Hauv kab lus Tshooj Txheeb Xyuas AT cov lus txib
Ntaus AT thiab nias Enter
nws yuav rov qab los
AT
OK
Nco tseg:- Yog tias tsis ua haujlwm nias lub RST khawm ntawm Arduino UNO thiab sim dua
tom qab xeem hom
AT+GMR txhawm rau txheeb xyuas qhov firmware tam sim no
cov zis yuav zoo li:-
AT+GMR
AT version: 0.40.0.0 (Aug 8 2015 14:45:58) SDK version: 1.3.0 Ai-Thinker Technology Co., Ltd. Tsim: 1.3.0.2 Sep 11 2015 11:48:04 OK
Tsis tas li nws yog qhov tsim nyog yuav tsum paub lub cim xeeb flash loj ntawm ESP module, firmware upload chaw nyob yog nyob ntawm nws loj. Phau ntawv no piav qhia hloov kho tshiab ntawm cov khoom siv nrog lub cim xeeb flash loj 8Mbit (512KB+512KB) lossis 16Mbit (1024KB+1024KB), raws li feem ntau. Flash nco me me tuaj yeem pom yog xa AT-command los ntawm kev pib dua: AT+RST.
cov zis yuav zoo li:-
AT+RST
OK ets Lub Ib Hlis 8 2013, rst ua rau: 2, hom khau raj: (3, 1) thauj 0x40100000, len 1396, chav 16 tus tw 4 chksum 0x89 load 0x3ffe8000, len 776, chav 4 tail 4 chksum 0xe8 load 0x3ffe8308, len 540, chav 4 tw 8 chksum 0xc0 csum 0xc0 2nd khau raj version: 1.4 (b1) SPI Ceev: 40MHz SPI Hom: DIO SPI Flash Loj & Daim Ntawv Qhia: 8Mbit (512KB+512KB) dhia kom khiav user1 @ 1000 Ai-Thinker Technology Co., Ltd. npaj txhij
nco tag nrho cov ntsiab lus thiab tawm mus
Kauj Ruam 3: Flash Tool thiab Firmware
Txhawm rau hloov kho lub firmware koj yuav tsum rub tawm daim ntawv thov tshwj xeeb thiab firmware nws tus kheej. Daim ntawv thov rau kev hloov kho tshiab ESP8266 yuav siv Flash Rub Cov Cuab Yeej los ntawm lub vev xaib raug cai Espressif Systems. Txuas mus rau nplooj ntawv rub tawm:
Lub firmware kuj tseem tuaj yeem rub tawm los ntawm lub xaib. Ib qhov txuas mus rau nplooj ntawv rub tawm ntawm lub vev xaib raug cai:
Koj yuav tsum mus rau "SDKs & Demos" ntu thiab rub tawm firmware ESP8266 NONOS SDK version tsawg kawg v1.3.0. los yog siab dua version
Txhua cov ntaub ntawv rub tawm yuav tsum tau ntim thiab muab tso rau hauv phau ntawv teev npe.
Kauj ruam 4: Flashing Firmware
Khiav daim ntawv thov Flash Rub Cov Cuab Yeej v "ib qho version" (cov ntaub ntawv.exe ntawm tib lub npe). Hauv qhov qhib qhov rai yuav tsum raug xaiv xaiv cov ntawv rub tawm thiab teeb tsa hom kev sib txuas.
Cov ntaub ntawv rub tawm tau nyob hauv "bin" phau ntawv teev npe nrog cov ntaub ntawv firmware. Rau txhua cov ntaub ntawv koj yuav tsum qhia meej qhov chaw nyob rub tawm tau. Xaiv cov ntaub ntawv hauv "bin" nplaub tshev
Siv cov lus hauv qab no hauv cov duab los xaiv cov ntaub ntawv thiab chaw nyob
Teem cov chaw hauv qab no:
- SPIAutoSet - teeb tsa;
- CrystalFreq - 26M;
- FLASH SIZE - 8Mbit lossis 16Mbit nyob ntawm qhov loj ntawm lub cim xeeb flash;
- COM PORT - xaiv qhov chaw nres nkoj uas txuas nrog ESP;
- PIB - 115200
Nyem khawm "Pib" hauv daim ntawv thov hloov kho firmware.
nws Sync cov ntaub ntawv nrog Pawg Thawj Coj thiab pib rub tawm
Nco tseg:- Yog tias tsis ua haujlwm nias lub pob "RESET" ntawm arduino thiab tom qab ntawd nias "START" dua
Tos kom txog thaum kawg ntawm qhov hloov tshiab firmware. Qhov kawg ntawm cov txheej txheem zoo li cov ntawv sau FINISH ntsuab.
Tua lub hwj chim ESP8266 tus qauv thiab tshem tawm hauv av los ntawm tus pin CPIO0. (Un-nias qhov hloov)
Qhib tus qauv thiab khiav lub chaw nres nkoj txuas. Xyuas kom tus qauv thiab cov khoos phis tawm tshiab ua haujlwm los ntawm xa AT-command AT+GMR.
Pom zoo:
Plotting Real-time Graph ntawm Android Los Ntawm Arduino Los Ntawm HC-05: 3 Cov Kauj Ruam
Plotting Real-time Graph ntawm Android Los ntawm Arduino Los ntawm HC-05: Hav nyob ntawm no, ntawm no yog kev qhia qhia yuav ua li cas npaj cov phiaj xwm ntawm lub sijhawm tiag tiag ntawm qhov tseem ceeb los ntawm tus tswj hwm micro xws li Arduino rau lub app. Nws siv Bluetooth qauv xws li HC-05 los ua lub cuab yeej xa xov mus rau kis thiab tau txais cov ntaub ntawv ntawm Ar
Flashing SONOFF Tasmota Firmware ntawm NodeMCU: 9 Cov Kauj Ruam
Flashing SONOFF Tasmota Firmware ntawm NodeMCU: Sonoff yog WiFi tswj kev hloov pauv uas tau teeb tsa nrog ESP8266 IC thiab muaj kev xa rov qab los tswj lub cuab yeej ntawm Is Taws Nem. Qhov IC no tuaj yeem raug teeb tsa thiab rov tsim dua los ntawm Arduino IDE. Cov neeg tsim ntawm Sonoff luam tawm cov tsev qiv ntawv thiab cov ntaub ntawv Arduino ntawm
Tsim thiab Ua tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels: 5 Cov Kauj Ruam
Tsim thiab Ua kom tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels: Tsim thiab Ua tiav ntawm Cov Txheej Txheem ntawm Kev Taw Qhia ntawm Photovoltaic Panels
Kev tswj hwm tus kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Li Tachometer: 5 Cov Kauj Ruam (nrog Duab)
Kev Tswj Tus Kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Lub Tachometer: Muaj ib txwm xav tau rau kev siv tshuab txheej txheem, ua nws yooj yim/tsis txaus ntseeg. cov txheej txheem rau dej/siv dej rau peb daim av me me.Qhov teeb meem ntawm tsis muaj kab khoom siv tam sim no
Zaub Cov Duab Tawm ntawm PSP/Lub Xov Tooj Ntawm Lub Xov Tooj Ntawm Digital Duab: 3 Kauj Ruam
Zaub Cov Duab Tawm PSP/Lub Xov Tooj Ntawm Lub Xov Tooj Ntawm Tus Duab: Zoo … lub npe hais tias txhua yam tiag tiag … Qhov no yog qhov qhia tau yooj yim heev thiab nws tsis xav tau kho vajtse lossis software ntau dua li koj yuav tsum muaj ! Cov Lus Nug Qhia Rau Kuv lossis Tawm Tswv Yim! Koj tsis tas yuav hloov kho kom ua