Cov txheej txheem:
- Kauj ruam 1: Yuav tsum tau ua
- Kauj Ruam 2: Flash Tshiab Frimware
- Kauj ruam 3: Config NAT & DDNS
- Kauj Ruam 4: Tswj los ntawm ALEXA ECHO
Video: Alexa Echo + ESP 8266 = Smart Power Plug: 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-02-01 07:50
Cov lus qhia siv ALEXA ECHO tswj ncaj qha ESP8266.
Kuv tus neeg rau zaub mov tsuas yog txhawb kev tso cai ESP8266 rau Amazon server.
Kuv tus neeg rau zaub mov tsis thaub qab koj cov ntaub ntawv.
Pov npav rau kuv: D Ua tsaug!
Kauj ruam 1: Yuav tsum tau ua
HARDWARE
- ESP8266 WiFi 5V 1 Channel Relay Ncua Sijhawm Module
- FTDI USB rau cov qauv siv (tsis xav tau yog siv nodemcu)
- Amazon Echo
- Txiv neej thiab poj niam lub hwj chim ntsaws
SOFTWARE
-
· Arduino IDE nrog ESP8266 txuas ntxiv pob teeb tsa cov lus qhia ntawm no:
github.com/esp8266/arduino
-
Kuv sketch ntawm no:
github.com/kim7tin/ESP8266-Smart-Power-Plug
- Kuv qhov txuj ci alexa hu ua "ESP8266 Smart Power Plug"
Kauj Ruam 2: Flash Tshiab Frimware
1. Tshem tawm ESP8266 los ntawm tus qauv
2. Connect module rau USB rau Uart module:
NQA -------- | GND TX | -------- RX ------- | IO2 EN | -------- 3V3GND ------- | IO0 RST | -------- BUTTON -------- GNDTX ------- | RX 3V3 | ------ 3V3
==================================================
Ua ntej FLASH, Nias lub pob kom rov ua dua (IO0 ib txwm txuas rau GND -> ESP8266 tau txais hom nyem tom qab rov pib dua)
==================================================
3. Flash kuv firmware
-
Download tau kuv daim duab:
github.com/kim7tin/ESP8266-Smart-Power-Plu…
-
Qhib hauv Arduino IDE, thiab hloov pauv:
- wifi_ssid: koj lub npe wifi
- wifi_password: koj tus password wifi
- control_password: koj tus lej zais
- friendlyName: koj lub npe ntaus ntawv
- ip/rooj vag/subnet: ESP8266 IP zoo li qub rau NAT
-
Hauv Arduino IDE. Xaiv Cov Cuab Yeej:
- Pawg Thawj Coj: Node MCU 0.9 ()
- Upload Ceev: 230400
- Chaw nres nkoj: Xaiv koj lub USB rau Uart chaw nres nkoj
- Ntaus Upload icon (ua ntej ntaus, nias lub pob pib dua hauv qib 2)
4. Connect ESP mus rau module dua
5. Connect fais fab ntsaws
Kauj ruam 3: Config NAT & DDNS
Peb xav tau qhib chaw nres nkoj (default 666) los ntawm Amazon server rau peb ESP8266
Kuv tsuas yog qhia nrog kuv tus router. Koj tuaj yeem nrhiav paub yuav qhib koj lub chaw nres nkoj router hauv is taws nem thiab qhib TCP chaw nres nkoj 666 mus rau tus IP teeb tsa hauv kauj ruam 2
yog tias koj tsis muaj tus ip ruaj khov. Koj yuav tsum siv lub npe hloov pauv. Koj tuaj yeem pom ntau tus kws muab kev pabcuam DDNS dawb.
Kauj Ruam 4: Tswj los ntawm ALEXA ECHO
1. Ua kom kuv qhov txuj ci muaj npe hu ua "ESP8266 Smart Power Plug
- Alexa app> Xaiv cov ntawv qhia zaub mov> Txuj ci
- Tshawb nrhiav lub npe hu ua "ESP8266 Smart Power Plug"
- Nyem rau Kev Txawj Ntse
- Nyem ENABLE
- Nkag mus nrog koj tus IP zoo li qub lossis DDNS puav (suav nrog koj qhov chaw nres nkoj - default 666)
2. Discover ntaus ntawv
- Alexa app> Xaiv cov ntawv qhia zaub mov> SmartHome
- Nyem Ntxiv ntaus ntawv thiab tos 20 vib nas this
- Tam sim no koj tuaj yeem pom ESP8266
3. Control:
"Alexa, tig rau/tua"
Khiav Tawm Hauv Lub Suab Ua Haujlwm Sib Tw
Pom zoo:
IoT Smart Clock Dot Matrix Siv Wemos ESP8266 - ESP Matrix: 12 Cov Kauj Ruam (nrog Duab)
IoT Smart Clock Dot Matrix Siv Wemos ESP8266-ESP Matrix: Ua rau koj tus kheej IoT Smart Clock uas tuaj yeem: Zaub moos nrog lub ntsej muag zoo nkauj ua kom pom Lub Cim Nco-1 rau Kev Nco-5 Zaub Qhia Sijhawm Zaum Muslim Thov Vajtswv Lub Sijhawm Qhia Cov Lus Qhia Huab Cua Bitcoin tus nqi Zaub
Roj teeb Powered Qhov Rooj Sensor Nrog Tsev Automation Kev Sib Koom, WiFi thiab ESP-TAM SIM NO: 5 Cov Kauj Ruam (nrog Duab)
Roj teeb Powered Qhov Rooj Sensor Nrog Tsev Automation Kev Sib Koom, WiFi thiab ESP-TAM SIM NO: Hauv cov lus qhia no kuv qhia koj li cas kuv thiaj ua lub roj teeb uas siv lub qhov rooj ntsuas nrog lub tsev siv tshuab ua ke. Kuv tau pom qee lwm qhov kev ntsuas zoo thiab lub tswb ntsuas, tab sis kuv xav ua ib qho rau kuv tus kheej. Kuv lub hom phiaj: Lub sensor uas pom thiab tshaj tawm doo
Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE - Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: 4 Cov Kauj Ruam
Pib Nrog Esp 8266 Esp-01 Nrog Arduino IDE | Txhim Kho Esp Boards hauv Arduino Lub Tswv Yim thiab Kev Ua Haujlwm Esp: Hauv cov lus qhia no peb yuav kawm paub yuav teeb tsa esp8266 cov laug cam hauv Arduino IDE li cas thiab yuav ua haujlwm li cas esp-01 thiab tso cov lej rau hauv. qhov no thiab feem ntau ntawm cov neeg ntsib teeb meem
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv