Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Xav Tau - Yam yuav tsum tau ua ua ntej
- Kauj Ruam 2: Xws li Sonoff Libraries rau Arduino IDE
- Kauj Ruam 3: Sonoff Cov Ntaub Ntawv Tseem Ceeb thiab Tus Neeg Siv Config
- Kauj Ruam 4: Kho SSID, Lo lus zais thiab Lub Npe Lub Npe
- Kauj Ruam 5: Xaiv Pawg Kho Kom Zoo NodeMCU
- Kauj Ruam 6: Nrhiav NodeMCU IP Chaw Nyob ntawm Koj Lub Network
- Kauj Ruam 7: Kev teeb tsa rau ESP8266 Boards
- Kauj ruam 8: Txuag Configuration
- Kauj Ruam 9: Kev Xaiv GPIO Tshiab Raws li ESP8266 Pawg Thawj Tswj Hwm
Video: Flashing SONOFF Tasmota Firmware ntawm NodeMCU: 9 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Sonoff yog WiFi tswj kev hloov pauv uas tau teeb tsa nrog ESP8266 IC thiab muaj kev xa xov 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 khoom ntawm Sonoff luam tawm cov tsev qiv ntawv thiab cov ntaub ntawv Arduino ntawm lawv nplooj GitHub. Thaum pib, nws tsuas yog rau Sonoff ua cov laug cam nkaus xwb, tom qab ntawd nws txhawb ntau ESP8266 cov laug cam thiab Kev txhim kho cov laug cam zoo li NodeMCU. Hauv qhov kev qhia no, peb yuav pom yuav ua li cas nyem rau Sonoff Tasmota Firmware rau hauv NodeMCU cov phiaj xwm txhim kho. Hauv qhov hloov kho tshiab tshiab, koj tuaj yeem xaiv qhov sib txawv ESP8266 Boards tau yooj yim.
Kauj Ruam 1: Cov Cheeb Tsam Xav Tau - Yam yuav tsum tau ua ua ntej
- NodeMCU Development Board
- microUSB Cable
- Sonoff Tasmota Firmware - GitHub Txuas
- Advanced IP Scanner
- Arduino IDE Cov
Rub tawm Sonoff Tasmota Firmware los ntawm qhov txuas no.
Nco ntsoov tias koj muaj ESP8266 Lub Tsev Qiv Ntawv tau teeb tsa ntawm koj Arduino IDE. Yog tias koj xav paub yuav teeb tsa ESP8266 lub tsev qiv ntawv kom raug mus ntsib qhov blog no tiav ntawm Flashing SONOFF Tasmota Firmware ntawm NodeMCU.
Kauj Ruam 2: Xws li Sonoff Libraries rau Arduino IDE
Thaum SONOFF Tasmota Firmware tau rub tawm los ntawm GitHub. Qhib Sonoff Tasmota nplaub tshev. Nkag mus rau 'lib' nplaub tshev thiab luam tag nrho cov ntsiab lus, tom qab ntawv muab nws tso rau hauv Arduino 'cov tsev qiv ntawv' nplaub tshev ntawm koj lub computer.
Tam sim no peb suav nrog cov ntaub ntawv tsev qiv ntawv tsim nyog rau hauv Arduino IDE Library. Cia peb teeb tsa peb cov cai.
Kauj Ruam 3: Sonoff Cov Ntaub Ntawv Tseem Ceeb thiab Tus Neeg Siv Config
Sab hauv cov ntawv rub tawm, Qhib cov ntawv sonoff.ino. Nws yuav qhib txhua cov ntaub ntawv tsim nyog hauv tab tom ntej hauv Arduino IDE. Tam sim no qhib lub userconfig.h tab kom nkag mus rau peb li Wi-Fi Cov Ntawv Pov Thawj.
Kauj Ruam 4: Kho SSID, Lo lus zais thiab Lub Npe Lub Npe
Tam sim no hloov kho SSID thiab Lo lus zais nrog koj lub network WiFi SSID thiab Password. Tsis tas li, muab lub npe tshwj xeeb los ntawm qhov koj xaiv hauv #define PROJECT "sonoff" kab.
Piv txwv #define PROJECT “nodefactory”
Kauj Ruam 5: Xaiv Pawg Kho Kom Zoo NodeMCU
Tam sim no txuas koj NodeMCU thiab xaiv qhov raug COM Port thiab Board Version. Nco ntsoov tias cov teeb tsa zoo li no rau NodeMCU 1.0 Board.
Pawg Thawj Coj: NodeMCU 1.0 (ESP12-E Module)
Flash Loj: “4M (1M SPIFFS)
CPU Zaus: 80 MHZ
Upload Ceev: "115200"
Tom qab ntawd nyem lub Firmware los ntawm txhaj Upload.
Kauj Ruam 6: Nrhiav NodeMCU IP Chaw Nyob ntawm Koj Lub Network
Thaum Flashing tiav Qhib Advanced IP Scanner. Thiab tshawb nrhiav tus IP chaw nyob sab hauv koj lub network IP. Hauv kuv qhov xwm txheej, Kuv tus IP yuav nyob ntawm 192.168.255.0-255 (Txhais tau tias IP yuav nyob ntawm 0-255). Nyem luam theej duab thiab koj tuaj yeem pom lub npe project uas koj tau muab hauv cov ntaub ntawv userconfig.h ua lub npe khoom ntawm no.
Nco tseg tus IP chaw nyob uas koj pom thiab muab tshuaj txhuam rau hauv koj tus browser URL thiab nyem nkag mus. Nws yuav qhia nplooj Sonoff Tasmota los teeb tsa koj tus qauv.
Kauj Ruam 7: Kev teeb tsa rau ESP8266 Boards
Los ntawm lub neej ntawd, nws yuav nyob hauv Sonoff Basic. Yog li koj yuav tsum hloov nws mus rau 'Generic' hauv 'Configuration' menu. Nyem 'Configuration' thiab sab hauv uas xaiv 'Configure Module'.
Kauj ruam 8: Txuag Configuration
Xaiv lub Rooj Tswjhwm Saib ua Generic thiab Txuag. Lub cuab yeej yuav rov pib dua. Qhov kev xaiv no yog rau txhua pawg ESP8266.
Kauj Ruam 9: Kev Xaiv GPIO Tshiab Raws li ESP8266 Pawg Thawj Tswj Hwm
Tam sim no yog tias koj nyem qhov teeb tsa, tom qab ntawd koj tuaj yeem pom ntau qhov kev xaiv GPIO. Siv qhov ntawd koj tuaj yeem xaiv GPIO Kev Ua Haujlwm.
Nyob ntawm GPIO teeb tsa qhov kev xaiv yuav tshwm rau ntawm Homepage zoo li DHT, Relay, Hloov thiab Ntau yam ntxiv.
Yog xav paub ntau ntxiv, mus saib peb qhov blog - Lub Hoobkas Forward Blog
Pom zoo:
Firmware Flashing ntawm ESP8266: 4 Cov Kauj Ruam
Firmware Flashing ntawm ESP8266: Txhua tus neeg tau sim hloov kho lub firmware ntawm ESP8266 module Cov Lus Qhia yuav pab tau koj hauv qhov ua kom pom lub firmware hauv ESP8266
Flashing EACHEN WiFi Ntse Kov Hloov Nrog Tasmota: 10 Kauj Ruam
Flashing EACHEN WiFi Ntse Kov Hloov Nrog Tasmota: Yog li kuv txiav txim siab los ua Cov Lus Qhia no rau lwm tus neeg sab nrauv uas tau xav tsis thoob yog tias qhov no ua tau
Yuav Ua Li Cas Sau Cov Ntaub Ntawv Los ntawm Firebase Database ntawm NodeMCU: 7 Cov Kauj Ruam
Yuav Ua Li Cas Sau Cov Ntaub Ntawv Los ntawm Firebase Database ntawm NodeMCU: Rau qhov kev qhia no, peb yuav khaws cov ntaub ntawv los ntawm cov ntaub ntawv hauv Google Firebase thiab nqa nws siv NodeMCU rau kev txheeb xyuas ntxiv. account rau tsim Firebase database.3) Rub tawm
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
Yuav ua li cas nyem MicroPython Firmware ntawm ESP8266 Raws li Sonoff Ntse Hloov: 3 Cov Kauj Ruam (nrog Duab)
Yuav ua li cas nyem MicroPython Firmware ntawm ESP8266 Raws li Sonoff Ntse Hloov: Dab tsi ’ s Sonoff? Sonoff yog kab kab rau Smart Home tsim los ntawm ITEAD. Ib qho ntawm cov khoom siv hloov pauv tau tshaj plaws thiab pheej yig los ntawm kab ntawd yog Sonoff Basic thiab Sonoff Dual. Cov no yog Wi-nkaus qhib kev hloov pauv raws li lub nti zoo, ESP8266. Thaum