Cov txheej txheem:

Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab): 5 Kauj Ruam
Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab): 5 Kauj Ruam

Video: Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab): 5 Kauj Ruam

Video: Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab): 5 Kauj Ruam
Video: Cult of the Lamb 09/12/2022 2024, Kaum ib hlis
Anonim
Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab)
Lub Suab Tswj Ntoo Ntoo Edison Teeb - (Yees Duab)

Nqe Lus Nug $ 5. Ntawd yog ntau npaum li cas Wifi Txuas SONOFF (Los ntawm ITEAD tuam txhab) tus nqi, uas yog lub plawv ntawm lub cuab yeej no.

"Kuv tsis tau ua tiav. Kuv nyuam qhuav pom 10'000 txoj hauv kev uas yuav tsis ua haujlwm." - Thomas A. Edison Qhov no yog qhov tsis txaus ntseeg, tab sis tsis ntev los no, tib neeg hauv tsev kawm ntawv sau nrog plaub. Thiab niaj hnub no, muaj cov cib ua khawv koob nrog daim duab, uas haum rau hauv koj lub hnab tshos thiab muab kev nkag tau rau txhua yam ntaub ntawv hauv ntiaj teb. Kev tswj lub suab thiab, raws li tib neeg hais, kev hem thawj rau tib neeg los ntawm sab ntawm kev txawj ntse dag. Tsis ntev los no, cov thev naus laus zis zoo li tsis nkag siab. Tab sis hnub no, kuv yuav qhia koj li cas txhua tus ntawm koj, nrog kev paub txog lub cajmeem, tuaj yeem siv lub suab tswj. Yog li, cia pib.

Kauj ruam 1: Cia Pib

Cia Pib
Cia Pib

CEEB TOOM !!! Ua haujlwm nrog high voltage! Tus sau ntawm tsab xov xwm tsis muaj lub luag haujlwm rau koj li kev ua! Los yog ib yam khoom, lossis lub cev puas tsuaj uas yuav tshwm sim los ntawm kev siv cov lus qhia no!

Kauj Ruam 2: Cov Qauv Txheej Txheem ntawm Lub Tshuab Ua Haujlwm Algorithm

Cov txheej txheem dav dav ntawm Lub Tshuab Ua Haujlwm Algorithm
Cov txheej txheem dav dav ntawm Lub Tshuab Ua Haujlwm Algorithm

Txij li lub xov tooj, ib lub sijhawm, tsuas tuaj yeem txuas nrog ib qho chaw nkag mus rau Wi-nkaus, peb yuav ua haujlwm dhau ntawm lub router. Feem ntau, nws yooj yim thaum tag nrho koj cov cuab yeej ntse nyob hauv tib lub network thiab koj tuaj yeem tswj hwm lawv tau yooj yim yam tsis tas yuav rov txuas nrog txhua tus. Qhov tsis zoo ntawm qhov no, yog tias txhua yam khoom siv koj nyob ntawm qhov ua tau zoo ntawm ib tus router.

Kauj Ruam 3: 1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -Fi Relays

1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm
1 - Peb Yuav Tsum Tau Rov Kho dua Sonoff Wi -nkaus Kev Tshaj Tawm

Los ntawm lub neej ntawd, nws tau teeb tsa los ua haujlwm los ntawm Suav tus neeg rau zaub mov. Hauv kuv qhov kev nkag siab, nws tsis yooj yim heev los tua lub teeb pom kev hauv chav dej los ntawm Suav cov neeg rau zaub mov. Rau qhov no peb yuav tsum tau disassemble nws thiab solder cov neeg rau reprogramming.

Tam sim no peb tuaj yeem txuas cp2102 module los ntawm Silicon Labs rau Sonoff wifi. Kuv kuj tseem siv nws rau program Arduino mini.

CEEB TOOM !!! Thaum koj rov sau dua tshiab, tsis txhob txuas tus qauv rau 220/110 volt network!

Reprogram tus relay yog yooj yim heev. Nov yog qhov niaj hnub siv esp8266. Kuv coj tus txheej txheem kos duab ntawm tus neeg siv khoom nkag los ntawm Arduino IDE thiab hloov nws me ntsis.

Firmware rau SONOFF Wifi relay. Txhawm rau siv nws los ntawm koj lub tsev router koj tuaj yeem pom ntawm cov ntawv txuas. Thiab siv nws los ntawm Arduino IDE.

Koj yuav tsum tau qhia lub npe ntawm koj lub chaw nkag (router), tus password thiab tus IP chaw nyob rau lub teeb. Relay tswj yog ntawm tus pin 12. Nco ntsoov teeb Flash loj rau 1 MB hauv IDE.

Nias thiab tuav lub laub khawm ntawm Sonoff board. Ntxig lub cp2102 hloov USB rau hauv koj lub computer (thaum tuav lub laub khawm). Tom qab 2-3 feeb, tso lub laub khawm. Tam sim no nws nyob hauv hom nyem. Thauj cov duab kos hauv Arduino IDE. Nyem rau Verify / Compile. Tom qab koj nyem nws, tus qauv yuav tsum rov pib dua thiab LED ntsuab yuav pib ntsais muag

Kauj Ruam 4: Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)

Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)
Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)
Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)
Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)
Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)
Cia Peb Ua Qee Lub Xov Tooj Ntawm Tes, txhawm rau Tswj Qhov Wifi Relay. (Hauv)

Kuv yuav muab tsuas yog cov cai tseem ceeb tawg. Tom qab ntawd koj tuaj yeem siv lawv los siv nws ntawm koj daim ntawv thov. Google muab qhov yooj yim heev thiab yooj yim interface rau kev paub lub suab. Nov yog cov cai uas tso cai rau koj hloov lub suab rau cov ntawv thiab khaws nws mus rau txoj hlua li niaj zaus. (Android cov lej tseem ceeb, siv lub suab lees paub koj tuaj yeem pom ntawm cov ntawv txuas.) Tom qab ntawd koj tuaj yeem sib piv nws nrog cov lus txib koj xav siv.

Code ua haujlwm nrog WiFi. Xa lus mus rau tus neeg rau zaub mov. Koj tseem tuaj yeem pom ntawm cov ntawv txuas.

Cov cai yog yooj yim heev. "1" tig lub teeb, "0" tua lub teeb. Koj tuaj yeem ntxiv, ntawm qhov xav tau, kev txheeb xyuas, tau txais cov lus teb los ntawm server thiab lwm yam.. Kuv tsim ob txoj haujlwm rau kuv tus kheej. Thawj yog lub suab tswj hwm lub cuab yeej, uas nyob ntawm lub desktop thiab nws ib txwm nyob ntawm tes. Qhov thib ob yog daim ntawv thov yooj yim ntawm kev qhib / tua lub teeb los ntawm nias lub pob.

Pom zoo: