Cov txheej txheem:

Txuas Txuas Pendants Siv ESP8266: 7 Cov Kauj Ruam
Txuas Txuas Pendants Siv ESP8266: 7 Cov Kauj Ruam

Video: Txuas Txuas Pendants Siv ESP8266: 7 Cov Kauj Ruam

Video: Txuas Txuas Pendants Siv ESP8266: 7 Cov Kauj Ruam
Video: Txuas hneev hom tshiab txuas saib xwb tsi txuas muag os ບໍ່ເຮັດຂາຍ 2024, Lub Xya hli ntuj
Anonim
Txuas Kev Hlub Pendants Siv ESP8266
Txuas Kev Hlub Pendants Siv ESP8266

Ob lub pendants uas coj tib neeg los ze dua li ua ntej. Lawv yog internet txuas txuas pendants npe hu ua Pendants Hlub uas tuaj yeem pab koj qhia koj txoj kev xav rau koj tus hlub ib qib tshiab. Hauv kab lus no, Kuv yuav qhia koj paub yuav ua li cas thiaj ua tau koj tus kheej Pendants Hlub tab sis ua ntej ntawd, saib xyuas peb cov dab neeg luv luv uas siv txoj haujlwm no,

Kauj Ruam 1: Zaj Dab Neeg Luv Siv Kev Pendant

Image
Image

Kauj Ruam 2: Txog Txoj Haujlwm no

Hauv txoj haujlwm no, peb muaj 2 pendants uas muaj WiFi inbuilt thiab lawv txuas nrog rau AdaFruit server hauv internet.

Kuv tus kheej tau ua cov pendants ua "Kuv Hlub Koj" pendants, koj tuaj yeem kos txhua yam koj xav tau ntawm nws. Yog li Yog tias kuv tsis muaj ib tus neeg, es tsis txhob xa xov lossis hu nws tias kuv nco koj, uas yog txhua tus neeg hauv ntiaj teb tab tom ua, Kuv tuaj yeem yooj yim nias lub pob ntawm lub pendant kom ua LED ci ci ntawm kuv lub cuab yeej. Tom qab ob peb feeb, lwm lub pendant uas tau siv los ntawm tus neeg uas kuv tau muab khoom plig rau, tseem yuav pib ci. Lwm tus neeg tuaj yeem nyob txhua qhov chaw hauv ntiaj teb no, thiab Cov Khoom Siv no yuav pab kuv qhia kuv txoj kev xav rau lwm tus Qhov no yog txoj hauv kev tshiab los qhia koj txoj kev xav rau koj cov neeg hlub. Qhov no tseem tuaj yeem yog Koj Lub Teeb Bat hu rau koj cov phooj ywg tuaj ua si! Qhov "Xiav Xiav" qhov tshwj xeeb ntawm WhatsApp Messenger uas ua raws li nyeem ntawv tau txais rau peb. Peb tes num muaj qhov zoo ib yam! Sai li lwm tus neeg pom tias lub pendant ci ntsa iab, lawv yuav paub tias kuv tab tom xa xov thiab sai li sai tau thaum lawv nias lub pob, LED yuav tig OFF ntawm ob lub pendants kom lees paub tias lawv tau pom koj cov lus Nov yog qhov kuv tuaj yeem txiav txim siab tias peb cov lus tau xa mus. Tag nrho cov txheej txheem tuaj yeem ua tiav ua piv txwv. Lwm tus neeg tuaj yeem rov ua cov txheej txheem los qhia txhua yam lawv xav hais los ntawm kev ua tib yam.

Kauj Ruam 3: Cov Cheeb Tsam Yuav Tsum Tau

  1. ESP8266 01 tus qauv
  2. Lithium roj teeb
  3. HT7333 IB
  4. 10 k Resistor
  5. 100E tus tiv thaiv
  6. Pushbuttons
  7. LEDs
  8. TP4056 Roj Teeb Charging Module

Kauj Ruam 4: Daim Duab Sib Txuas

Kauj Ruam 5: Txheej Txheem Ua Haujlwm ntawm Txoj Haujlwm

Kev piav qhia cov cai rau txoj haujlwm no yuav nyuaj me ntsis rau kuv piav qhia thiab rau koj kom nkag siab ib yam. Yog li kuv yuav piav qhia koj ua haujlwm ntawm cov cai ntawm no kom ntxaws uas yuav piav qhia tag nrho cov txheej txheem mus tom ntej.

Thaum pib ob tus menyuam yuav sim txuas rau koj lub hotspot lossis router kom lawv tuaj yeem tau txais internet txuas. Tom qab tau txais internet txuas, lawv yuav xub txuas rau Adafruit MQTT broker. Yog li piv txwv, yog tias leej twg nias lub pob ntawm thawj pendant, tom qab ntawd lub teeb ntawm lub pendant yuav tig rau thiab nws yuav xa cov ntaub ntawv 1 mus rau qhov ci ci ntawm Adafruit MQTT broker. Tam sim no tus pendant thib ob tseem yuav tau txais cov ntaub ntawv qub los ntawm Adafruit MQTT tus tswv lag luam thiab vim li no lub teeb ntawm lub pendant thib ob tseem yuav tig rau. Tam sim no lub teeb ntawm ob lub pendant yuav nyob twj ywm kom txog thaum leej twg nias lub pob ntawm pendant thib ob. Tam sim no, thaum ib tus neeg nias lub pob ntawm lub pendant thib ob, lub teeb ntawm lub pendant yuav tig Tawm thiab tib cov ntaub ntawv raug xa mus rau Adafruit MQTT tus neeg muag khoom. Thiab nrog qhov no thawj tus pendant tseem yuav tau txais cov ntaub ntawv zoo ib yam thiab lub teeb ntawm thawj lub pendant yuav tig tawm. Ntawm tag nrho cov txheej txheem tuaj yeem ua tiav los ntawm ob lub teeb. Yog li cov laj thawj rau cov txheej txheem no tau sau rau hauv cov cai rau txoj haujlwm no.

Kauj Ruam 6: Txoj Cai rau Txoj Haujlwm

Kuv tau ua cov lej cais rau ob qho pendants thiab koj tuaj yeem rub tawm ob tus lej ntawm no.

Kauj Ruam 7: Tutorial Video

Yog tias koj tseem muaj kev tsis ntseeg txog kev ua txoj haujlwm no thov ua siab zoo saib cov vis dis aus qhia tag nrho ntawm qhov haujlwm no

Pom zoo: