Cov txheej txheem:

Ua DIY Sonoff Ntse Hloov Siv Android App: 11 Kauj Ruam
Ua DIY Sonoff Ntse Hloov Siv Android App: 11 Kauj Ruam

Video: Ua DIY Sonoff Ntse Hloov Siv Android App: 11 Kauj Ruam

Video: Ua DIY Sonoff Ntse Hloov Siv Android App: 11 Kauj Ruam
Video: ☆ WINKCORN_ ☆ || Body - Jordan Suaste || GCMV - GLMV || !! SENSITIVE VIDEO !! 2024, Hlis ntuj nqeg
Anonim
Ua DIY Sonoff Ntse Hloov Siv Android App
Ua DIY Sonoff Ntse Hloov Siv Android App

Sonoff yog dab tsi?

Sonoff yog lub ntse hloov khoom siv kab rau Ntse Tsev tsim los ntawm ITEAD. Ib qho ntawm cov khoom siv hloov pauv tau yooj yim thiab pheej yig tshaj plaws los ntawm kab ntawd yog Sonoff Basic thiab Sonoff mini. Cov no yog Wi-nkaus qhib kev hloov pauv raws li lub nti zoo, ESP8266/ESP8285.

Thaum Sonoff cov tsev tsim khoom yuav ua haujlwm tau zoo rau cov neeg siv yooj yim, lwm tus tuaj yeem xav hack los ua tus kheej nrog lawv cov cuab yeej kho vajtse. Kho vajtse los tsim DIY Sonoff ntse hloov nws tus nqi qis: ESP8266 nrog 1MB nyem, Txuas LED, Khawm thiab lub zog.

Tom ntej no, txhawm rau rub lub firmware rau esp8266 koj tsis xav tau lub khoos phis tawj lossis lub laptop, tsuas yog xav tau lub xov tooj Android uas muaj qhov txaus txaus app uas yog SwitchIoT, nrog cov app no ua rau IoT ntaus ntawv yog yooj yim li uploading firmware yam tsis xav tau rau npe/ ID nkag mus thiab server teeb tsa.

Cov ntawv qhia no yuav qhia koj yuav ua li cas thiaj ua DIY Sonoff hloov pauv ntse siv ntau yam qauv kho vajtse sib txawv.

Kauj Ruam 1: Ua DIY Sonoff Ntse Hloov Siv ESP-01

Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01
Ua DIY Sonoff Ntse Hloov Siv ESP-01

Uas xav tau tus nqi qis tshaj yog siv ESP-01 thiab tus qauv xa tawm.

Xav tau ib qho ntxiv USB rau TTL hloov pauv rau ESP-01 siv thaum flashing lub firmware nkaus xwb. Koj yuav tsum hloov kho nws los ntawm kev ntxiv khawm txhawm rau txuas GPIO0 rau GND kom thaum ESP-01 tau qhib thaum lub pob nyem thiab tuav nws tuaj yeem nkag mus rau hom nyem.

Siv OTG los txuas ntawm USB TTL hloov pauv nrog Android smartphone.

Kauj Ruam 2: Ua DIY Sonoff Ntse Hloov Siv Wemos thiab Relay, Shield Shield

Ua DIY Sonoff Ntse Hloov Siv Wemos thiab Txuas, Khawm Shield
Ua DIY Sonoff Ntse Hloov Siv Wemos thiab Txuas, Khawm Shield
Ua DIY Sonoff Ntse Hloov Siv Wemos thiab Txuas, Khawm Shield
Ua DIY Sonoff Ntse Hloov Siv Wemos thiab Txuas, Khawm Shield

Ntawm no koj tsuas xav tau Wemos pawg thawj coj saib, txuas, khawm thiab ob lub hauv paus tiv thaiv nrog lub taub hau pins soldered.

Koj yuav yooj yim sib sau ua ke vim tias nws tsuas yog teeb tsa ob peb daim thaiv ua ke zoo li hauv daim duab, txheeb xyuas qhov taw qhia ntawm tus pin kom tsis thim rov qab.

Siv OTG thiab micro USB cable txuas ntawm Wemos thiab Android smartphone.

Kauj Ruam 3: Ua DIY Sonoff Ntse Hloov Siv NodeMCU thiab Relay Module

Ua DIY Sonoff Ntse Hloov Siv NodeMCU thiab Relay Module
Ua DIY Sonoff Ntse Hloov Siv NodeMCU thiab Relay Module

Yog tias koj siv NodeMCU koj xav tau lub khob cij los tso nws thiab tso tus qauv xa tawm. Xav tau yam tsawg 3 daim jumper cable los txuas raws li hauv qab no:

NodeMCU Relay module

VIN VCC UA

GND GND

D0 IN ib

Siv OTG thiab micro USB cable txuas ntawm NodeMCU thiab lub xov tooj Android.

Kauj Ruam 4: Ua DIY Sonoff Ntse Hloov Siv Bluino IoT Starter Kit

Ua DIY Sonoff Ntse Hloov Siv Bluino IoT Starter Kit
Ua DIY Sonoff Ntse Hloov Siv Bluino IoT Starter Kit
Ua DIY Sonoff Ntse Hloov Siv Bluino IoT Starter Kit
Ua DIY Sonoff Ntse Hloov Siv Bluino IoT Starter Kit

Bluino IoT Starter Kit twb muaj Wemos board, relay, LED thiab khawm. Koj yuav siv qhov txuas txuas nrog tus pin D6, LEDs txuas nrog tus pin D0 thiab khawm txuas nrog tus pin D1. Siv OTG thiab micro USB cable txuas ntawm Wemos thiab Android smartphone

Kauj Ruam 5: Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware

Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware
Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware
Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware
Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware
Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware
Flash Sonoff Basic R1/R2/R3/mini Nrog SwitchIoT Firmware

ESP8266/ESP8285 yog programmed ntawm qhov chaw nres nkoj. Txhawm rau nyem Sonoff kho vajtse koj xav tau USB rau TTL hloov qib 3.3V (PL2303) thiab dupont cable txuas nws. Tej zaum koj yuav xav tau muab tus pin txuas rau ntawm PCB kom yooj yim txuas USB rau TTL hloov pauv. Sonoff Basic R1/R2/R3/mini txhua pcb muaj cov ntsiab lus sib txawv ntawm RX, TX, 3V3 & GND, koj tuaj yeem pom cov cim raws li daim duab.

Yeej koj yuav tsum txuas PCB Sonoff nrog USB rau TTL hloov pauv raws li hauv qab no:

PCB Sonoff USB rau TTL

3v3 3v 3

RX TXI

TX RX na

GND GND

Txhawm rau tuaj yeem nyem sonoff ua ntej koj yuav tsum nkag mus rau hom nyem, ua nws los ntawm kev tuav thiab nias lub pob thaum koj ntxig OTG rau lub xov tooj ntawm tes kom muaj zog.

Kauj Ruam 6: Tshaj Tawm Firmware Los Ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App

Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App
Uploading Firmware Los ntawm Android rau ESP8266/ESP8285 Siv SwitchIoT App

Tom qab koj ua tiav teeb tsa kho vajtse nrog lub xov tooj smartphone, nws yog lub sijhawm koj pib rub cov firmware rau hauv ESP8266/ESP8285 nti. Tos ua ntej qhov ntawd kom ntseeg tau tias TSIS TXAUS SIAB AC POWER thaum lub teeb nyem txuas.

Nruab SwitchIoT app los ntawm Google Playstore.

SwitchIoT App Cov

Qhib lub SwitchIoT app, nkag mus rau widget teeb tsa cov ntawv qhia zaub mov, xaiv qhov kev xaiv "Upload firmware ntawm USB", tom qab ntawd qhia qhov kev xaiv ua ntej raws li kho vajtse uas koj yuav nyem. Thaum kawg nias lub pob "UPLOAD" thiab tos kom txog thaum qhov no ua tiav nws yuav siv sijhawm me ntsis.

Yog tias koj tsis muaj USB OTG lossis koj tseem muaj kev pheej hmoo nrog koj lub xov tooj thaum rub tawm firmware los ntawm lub xov tooj, koj tuaj yeem tsim cov ntaub ntawv firmware hauv binnary format (piv txwv li. 0x00000_32e5_NodeMCU.bin) los ntawm kais "GENERATE. BIN" khawm ntawm App tom qab ntawd xa nws mus rau email lossis khaws cia hauv online, tom ntej qhib nws ntawm koj lub khoos phis tawj tom qab ntawd tshaj tawm firmware siv software NodeMCU Flasher.

Kauj Ruam 7: Txuas SwitchIoT Device rau Network

Txuas SwitchIoT Device rau Network
Txuas SwitchIoT Device rau Network
Txuas SwitchIoT Device rau Network
Txuas SwitchIoT Device rau Network

Tom qab rub tawm tiav, qhib lub kho vajtse thiab pom tias muaj dab tsi tshwm sim. Thawj qhov xwm txheej LED yuav ntsais muag sai, nws txhais tau tias lub cuab yeej tsis txuas nrog ib lub network (lossis hauv AP hom nrog tus tswv tsev siot-xxxx), koj yuav tsum ntxiv lub network uas yuav siv los ntawm lub cuab yeej.

Qhib App mus rau teeb tsa thiab xaiv cov ntawv qhia zaub mov "Txuas ntaus ntawv mus rau network", lees paub qhov xwm txheej LED ntawm SwitchIoT ntaus ntawv tau ntsais sai, txuas koj lub xov tooj ntawm tes mus rau lub network nrog hostname siot-xxxx tom qab ntawd sau rau hauv SSID thiab tus lej zais network uas yuav siv los ntawm SwitchIoT ntaus ntawv. Tom qab ntawd nias "CONNECT", tos kom txog thaum nws ua tiav.

Kauj Ruam 8: Paub Raws Li Qhov Taw Qhia LED

Paub Raws Li Qhov Taw Qhia LED
Paub Raws Li Qhov Taw Qhia LED

Muaj ntau qhov xwm txheej thaum SwitchIoT ntaus ntawv ua haujlwm, nws pom nrog kev hloov pauv ntawm xwm txheej LED.

1. LED ntsais ntsais sai, nws txhais tau tias ua tsis tau txuas nrog koj lub router, nws tuaj yeem tshwm sim los ntawm:

  • WiFi lub zog tsis muaj zog. Koj lub router nyob deb dhau ntawm koj lub cuab yeej, thiab tej zaum yuav muaj kev cuam tshuam hauv ib puag ncig. Txhawm rau daws nws, thov nqa koj lub cuab yeej SwitchIoT ze rau ntawm lub router. Yog tias qhov teeb meem tseem muaj, thov rov pib dua SwitchIoT lub cuab yeej, rov txuas rau lub network los ntawm kev ntxiv lub network teeb tsa siv App ua raws cov kauj ruam dhau los.
  • WiFi SSID thiab lo lus zais khaws cia hauv SwitchIoT ntaus ntawv tau hnov qab, qhov no tuaj yeem tshwm sim los ntawm kev nias lub pob ntawm SwitchIoT ntaus ntawv rau 5 vib nas this. koj xav tau txuas mus rau lub network los ntawm kev ntxiv lub network teeb tsa siv App cov kauj ruam dhau los.

2. LED ntsais ib zaug txhua 4s, nws txhais tau tias txuas tsis tau rau lub server, nws tuaj yeem tshwm sim los ntawm lub network tsis tuaj yeem siv Internet. Thov txheeb xyuas koj cov kev pabcuam sib txuas hauv network thiab rov pib dua SwitchIoT ntaus ntawv.

3. LED ruaj khov rau, nws txhais tau tias SwitchIoT ntaus ntawv ua haujlwm thiab txuas nrog rau tus neeg rau zaub mov.

Kauj Ruam 9: Qhia SwitchIoT Token Nrog Lwm Tus Neeg Siv

Qhia SwitchIoT Token Nrog Lwm Tus Neeg Siv
Qhia SwitchIoT Token Nrog Lwm Tus Neeg Siv

SwitchIoT tus tswv cuab yeej tuaj yeem faib kev tswj hwm cov cuab yeej rau lwm tus, thiab yog li lwm tus tuaj yeem qhib/tua, hloov sijhawm, timer, looptimer thiab npe lub cuab yeej ntawm SwitchIoT app. Qhov kev ua haujlwm no zoo rau tsev neeg vim nws yuav tso cai rau lawv los ua ke.

Txoj hauv kev los qhia SwitchIoT ntaus cim tokens yog qhov yooj yim heev, koj tsuas yog xav qhia cov cim sib txawv rau lwm tus, thiab lawv tsuas yog muab nws tso rau hauv SwitchIoT app.

Cov cim ntawm txhua tus SwitchIoT ntaus ntawv yog qhov tshwj xeeb thiab tau tsim los ntawm koj lub xov tooj Android, yog li cov cim no nyob ruaj khov, koj yuav tsum ua nws nrog kev saib xyuas los qhia rau lwm tus.

Kauj ruam 10: Tswj Multipile tib yam SwitchIot Device

Tswj Multipile Tib SwitchIot Device
Tswj Multipile Tib SwitchIot Device

Cov cim cim tshwj xeeb tuaj yeem tso cai nkag tau los ntawm ntau dua ib qho app thiab ntau dua ib qho khoom siv SwitchIoT. Nrog cov yam ntxwv no koj tuaj yeem tsim cov phiaj xwm xws li ob lub khoom siv hloov pauv thiab SwitchIoT app uas tuaj yeem tswj ua ke. Yog tias ib lub SwitchIoT ntaus ntawv yog ON ces lwm lub SwitchIoT ntaus ntawv kuj ua raws tib yam xwm txheej ON, nrog rau app.

Kauj ruam 11: Txaus siab rau

Vam tias koj txaus siab rau koj SwitchIoT. Yog tias koj ua thiab ua tiav, thov qhia "Kuv Ua Nws!" qhia rau kuv paub ntau npaum li cas ua haujlwm. Qhia qhov link, nyiam thiab sau npe yuav. Raws li ib txwm, yog tias koj muaj lus nug thov qhia rau kuv paub!

Pom zoo: