Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam thiab Cov Software Xav Tau
- Kauj ruam 2: Yam yuavtsum tau kawm uantej
- Kauj Ruam 3: Kev koom ua ke
- Kauj Ruam 4: Web Server ntawm Tasmotized NodeMCU 8CH Relay
- Kauj Ruam 5: Kev teeb tsa ntawm Tasmota Firmware Flashed Device
- Kauj Ruam 6: Kev teeb tsa rau ESP8266 NodeMCU los Tswj 8CH Cov Rooj Sib Tham Sib Txuas
- Kauj Ruam 7: Fritzing Scheme
- Kauj Ruam 8: Yuav Ua Li Cas Tasmota Firmware ntawm Koj ESP8266 Raws Li Ntaus Ntawv
- Kauj Ruam 9: Kev Pabcuam Hauv Tsev
- Kauj ruam 10: Cov neeg ua tim khawv
- Kauj Ruam 11: Mus Saib Kuv Qhov Blog thiab Youtube Channel
Video: Tasmotized NodeMCU 8CH Sonoff Relay: 11 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nov yog NodeMCU Tasmota-Sonoff Firmware Flashed 8CH Relay Control Project
Sonoff-Tasmota yog lwm txoj hauv kev rau ESP8266 raws li cov cuab yeej zoo li NodeMCU tso cai tswj hwm WiFi ntawm Ntse Tsev (ioT) Systems.
Kuv lub tswv yim yog kom muaj 8CH Kev Tshaj Tawm tswj hwm WiFi nrog Tasmota Firmware Flashed (Tasmotized) NodeMCU board.
Kuv tau kev tshoov siab los ntawm:
Txoj kev nrawm tshaj plaws rau nyem thiab teeb tsa ESP8266 Raws Li Sonoff Devices nrog Tasmota lossis lwm yam firmware - los ntawm Vicious Computer hauv Youtube
Yuav Hloov Li Cas Firmware ntawm Sonoff Devices rau siv hauv Tsev Automation Projects - los ntawm DrZzs hauv Youtube
Flashing SONOFF Tasmota Firmware ntawm NodeMCU Los Ntawm Sarath341 ntawm Cov Lus Qhia
www.instructables.com/id/Flashing-SONOFF-T…
Kauj Ruam 1: Cov Cheeb Tsam thiab Cov Software Xav Tau
NodeMCU Development Board
Sonoff Tasmota Firmware
Termite Software (PC)
Advanced IP Scanner (PC)
lossis Ntiv tes (Android/IOS APP)
Arduino IDE
8CH Relays Board
Dupont poj niam rau poj niam xaim
Breadboard
MicroUSB Cable
Kauj ruam 2: Yam yuavtsum tau kawm uantej
Rub tawm Sonoff Tasmota Firmware los ntawm Github
Nco ntsoov tias koj muaj ESP8266 Lub Tsev Qiv Ntawv tau teeb tsa ntawm koj Arduino IDE.
Yog tias koj xav paub yuav nruab ESP8266 lub tsev qiv ntawv kom raug mus ntsib qhov ua tiav blog no ntawm Flashing SONOFF Tasmota Firmware ntawm NodeMCU
Kauj Ruam 3: Kev koom ua ke
Tasmotized NodeMCU 8CH Relay tuaj yeem koom ua ke nrog ntau yam IoT platform:
HomeAssistant
Yeti (Domotic App rau Android thiab iOS)
MQTT Broker
(Piv txwv teeb tsa:
(Piv txwv ntawm muaj pub dawb MQTT Cloud Broker:
Nws kuj tseem tuaj yeem nkag ncaj qha rau Tasmotized NodeMCU 8CH Kev Tshaj Tawm los ntawm nws cov WEB server nkag (xws li AP lossis nrog DHCP lossis IP chaw nyob zoo li qub) siv Web Browser.
Txhawm rau nkag mus rau Tasmotized NodeMCU 8CH Relay los ntawm Is Taws Nem koj yuav tsum tau xa mus rau tom ntej koj lub router kom hloov mus rau Tasmotized NodeMCU 8CH Relay Web Server (saib hauv qab nplooj ntawv Web nkag tau ntawm lub Vev Xaib)
Kauj Ruam 4: Web Server ntawm Tasmotized NodeMCU 8CH Relay
Nov yog Lub Vev Xaib nplooj ntawv nkag los ntawm koj lub vev xaib uas xav tau txhawm rau nkag ncaj qha rau Tasmotized NodeMCU 8CH Relay thiab hais kom 8 relay ntawm nws tus kheej.
Los ntawm nplooj ntawv no nws tseem tuaj yeem teeb tsa Tasmotized ntaus ntawv, ua tiav kev txhim kho firmware thiab xa cov lus txib ntawm console rau lub cuab yeej.
Saib kuj:
Initial Configuration Tasmota Firmware:
Kho Sonoff Tasmota Firmware:
Integrazione SONOFF con MQTT: esempi di programmazione:
Kauj Ruam 5: Kev teeb tsa ntawm Tasmota Firmware Flashed Device
Los ntawm lub neej ntawd, Tasmota Firmware fashed ntaus ntawv 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 6: Kev teeb tsa rau ESP8266 NodeMCU los Tswj 8CH Cov Rooj Sib Tham Sib Txuas
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.
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.
Hauv qhov haujlwm no kuv siv:
GIO0 li Relay8 (tus pin D3 ntawm NodeMCU) - Txuas nrog tus pin txuas 8 ntawm 8CH Relay Board
GPIO2 li Relay7 (tus pin D4 ntawm NodeMCU) - Txuas nrog tus pin txuas 7 ntawm 8CH Relay Board
GPIO4 li Relay6 (tus pin D2 ntawm NodeMCU) - Txuas nrog tus pin txuas 6 ntawm 8CH Relay Board
GPIO5 raws li Realy5 (tus pin D1 ntawm NodeMCU) - Txuas nrog tus pin txuas ntawm 5 ntawm 8CH Relay Board
GPIO12 li Relay2 (tus pin D6 ntawm NodeMCU) - Txuas nrog tus pin txuas 2 ntawm 8CH Relay Board
GPIO13 li Relay4 (tus pin D7 ntawm NodeMCU) - Txuas nrog tus pin txuas 4 ntawm 8CH Relay Board
GPIO14 li Relay3 (tus pin D5 ntawm NodeMCU) - Txuas nrog tus pin txuas 3 ntawm 8CH Relay Board
GPIO15 li Relay2 (tus pin D8 ntawm NodeMCU) - Txuas nrog tus pin txuas 2 ntawm 8CH Relay Board
GPIO16 li Relay16 (tus pin D0 ntawm NodeMCU) - Txuas nrog tus pin txuas 1 ntawm 8CH Relay Board
Kauj Ruam 7: Fritzing Scheme
Fritzing Scheme rau kev sib txuas ntawm NodeMCU thiab 8CH Relay Board.
Nco tseg: VCC yog 5V DC
Kauj Ruam 8: Yuav Ua Li Cas Tasmota Firmware ntawm Koj ESP8266 Raws Li Ntaus Ntawv
Yog tias koj xav nyem koj lub ESP8266 lub cuab yeej nrog Arduino IDE siv sonoff firmware qhov chaws los ntawm GitHub:
Lwm txoj hauv kev los nyem koj ESP8266 lub cuab yeej yog siv sonoff.bin nrog ESPTool (https://github.com/arendst/Sonoff-Tasmota/wiki/Esptool) los ntawm kev siv Python kab lus lossis Platformio IDE.
Ntawm no koj tuaj yeem rub tawm ob qho tib si sonoff.bin lossis sonoff source code firmware
Kauj Ruam 9: Kev Pabcuam Hauv Tsev
Yuav ua li cas koom ua ke koj Tasmotized NodeMCU 8CH Relay nrog Tus Pab Tsev
Yam yuavtsum tau kawm uantej:
1. Teeb tsa tus Pabcuam Hauv Tsev MQTT tus broker (lossis lwm txoj hauv kev MQTT broker)
2. Kho Tasmotized NodeMCU nrog MQTT tsis ntawm koj tus broker xws li Host (IP chaw nyob), Chaw nres nkoj (1883 feem ntau), Client, Tus neeg siv thiab tus lej zais ntawm koj tus broker MQTT.
Nov yog kuv ntu.yaml ntu los ua ke Tasmotized NodeMCU 8CH Relays (raws li Teeb) hauv kuv Lub Tsev Pabcuam Vaj Huam Sib Luag:
#Tasmota_Sonoff_8CH_Relay teeb:
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH1"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER1"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER1"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH2"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER2"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER2"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH3"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER3"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER3"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH4"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER4"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER4"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH5"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER5"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER5"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH6"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER6"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER6"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH7"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER7"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER7"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
- alias: Tasmota_Sonoff_NodeMCU_8CH
siv: mqtt
Lub npe: "CH8"
state_topic: "stat/Sonoff_NodeMCU_GS/POWER8"
command_topic: "cmnd/Sonoff_NodeMCU_GS/POWER8"
qog: 0
payload_on: "YOG"
payload_off: "Tawm"
payload_available: "Online"
payload_not_available: "Offline"
khaws: cuav
Kauj ruam 10: Cov neeg ua tim khawv
Sonoff-Tasmota Firmware Wiki:
Sonoff-Tasmota Firmware:
Flashing SONOFF Firmware ntawm NodeMCU:
Kauj Ruam 11: Mus Saib Kuv Qhov Blog thiab Youtube Channel
MGS DIY ua
Pom zoo:
Tsev Automation Nrog NodeMCU Kov Sensor LDR Kub Tswj Relay: 16 Cov Kauj Ruam
Tsev Automation Nrog NodeMCU Kov Sensor LDR Kev Tswj Kub Kub: Hauv kuv li haujlwm NodeMCU yav dhau los, Kuv tau tswj ob lub cuab yeej siv hauv tsev los ntawm Blynk App. Kuv tau txais ntau cov lus thiab lus los hloov kho txoj haujlwm nrog Kev Tswj Xyuas Tus Kheej thiab ntxiv cov yam ntxwv ntxiv.Yog li kuv tau tsim lub Smart Home Extention BoxIn IoT no
Alexa Smart Home System Siv NodeMCU Relay Module: 10 Kauj Ruam
Alexa Smart Home System Siv NodeMCU Relay Module: Hauv qhov haujlwm IoT no, Kuv tau ua Alexa Smart Home Automation system siv NodeMCU ESP8266 & Relay Module. Koj tuaj yeem yooj yim tswj lub teeb, kiv cua, thiab lwm yam khoom siv hauv tsev nrog lub suab hais kom ua. Txhawm rau txuas Echo Dot ntse hais lus nrog
Yuav Ua Li Cas Hloov 8Ch PWM mus rau Txoj Haujlwm Hloov Pauv: 4 Cov Kauj Ruam
Yuav Ua Li Cas Hloov 8Ch PWM mus rau Txoj Haujlwm Hloov Pauv: Peb yuav tshuaj xyuas 2 lub teeb liab tawm tswv yim ntawm xov tooj cua Txais rau cov qauv xov tooj cua tswj hwm (lossis qauv RC). Cov tsoos thiab feem ntau hom Txais Txais yog PWM, thiab feem ntau PWM xav tau tsuas yog ib lub xaim ib channel. Kev tshaj tawm PPM tam sim no tau txais
Sonoff Basic & Sonoff RF - Qhia TSEEB: 16 Cov Kauj Ruam
Sonoff Basic & Sonoff RF - Cov lus qhia ua tiav: O Sonoff é uma linha de produtos projetados para automação residencial e predial. O Sonoff Basic e RF podem ser alimentado com tensão de 90 a 250v AC, sua saída a relé suporta corrente de até 10A, possuí um WI-FI integrado de 2.4GHz, o Sonoff RF con
Tswj Rhaub Hloov Nrog Relay Siv Sonoff Th10: 8 Cov Kauj Ruam
Tswj Lub rhaub Hloov Nrog Txuas Siv Sonoff Th10: cov cuab yeej sonoff tso cai rau koj qhib lub zog thiab ntawm cov khoom siv hluav taws xob. tus qauv th10 tshwj xeeb tau npaj los hloov cov cua sov rau thiab tawm nrog kev ntsuas kub thiab lub sijhawm ua haujlwm muaj peev xwm.Qhov teeb meem tuaj thaum koj lub rhaub dej kub hauv tsev tau siv roj