Cov txheej txheem:

ESP8266/ESP-12 Arduino Powered SmartThings DS18B20 Temp. Sensor: 4 Kauj Ruam (nrog Duab)
ESP8266/ESP-12 Arduino Powered SmartThings DS18B20 Temp. Sensor: 4 Kauj Ruam (nrog Duab)

Video: ESP8266/ESP-12 Arduino Powered SmartThings DS18B20 Temp. Sensor: 4 Kauj Ruam (nrog Duab)

Video: ESP8266/ESP-12 Arduino Powered SmartThings DS18B20 Temp. Sensor: 4 Kauj Ruam (nrog Duab)
Video: Tutorial - Multi-sensor setups for ESP32 & Home Assistant 2024, Kaum ib hlis
Anonim
Image
Image

Peb txhua tus nyiam paub tias qhov kub ntawm chav nyob tam sim no yog dab tsi, thiab qee zaum qhov kub nyob hauv lwm chav, lossis tej zaum txawm tias nyob hauv koj lub tsev so nyob rau lwm sab ntawm lub ntiaj teb. Tej zaum koj xav tshuaj xyuas qhov kub hauv koj tus tsiaj Lizard lub tsev? Koj tau los rau qhov yog los kawm paub tsim koj tus kheej li cas SmartThings txuas nrog DS18B20 Temp. Sensor nrog ESP8266 thiab Arduino. Saib daim Vid no thiab nyeem ntxiv.

Kauj ruam 1: Kho vajtse - Yam Koj Yuav Tsum Tau

Kho vajtse - Yam Koj Yuav Tsum Tau
Kho vajtse - Yam Koj Yuav Tsum Tau
Kho vajtse - Yam Koj Yuav Tsum Tau
Kho vajtse - Yam Koj Yuav Tsum Tau
Kho vajtse - Yam Koj Yuav Tsum Tau
Kho vajtse - Yam Koj Yuav Tsum Tau

Kuv TSIS TXAUS SIAB, sawv cev, lossis tau txais txhua yam rau qhov piv txwv hauv qab no. Ceev faj Emptor.

Hloov raws li xav tau rau koj tus kheej cov kev xav tau/tsis. Kev sib txuas rau cov khoom lag luam tsuas yog ua piv txwv thiab tsis yog kev txhawb nqa. Kuv tsis tau siv tus tiv thaiv rau DS18B20. Thov siv koj li kev txiav txim.

1. ESP8266 ESP12 NodeMCU SOC

2. DS18B20 Kub Sensor

3. NodeMCU Base

4. Samsung SmartThings 2.0 Hub

USB Micro Cable

Kauj ruam 2: Software - Yam Koj Yuav Tsum Tau

Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau
Software - Yam Koj Yuav Tsum Tau

ASSUMPTIONS: Yooj yim ua haujlwm nrog Arduino IDE, Tsev qiv ntawv, SmartThings IDE thiab GITHub.

Arduino IDE Cov

Samsung SmartThings IDE

SmartThings Android App

GITHub

Kauj Ruam 3: Teeb Kho Vajtse

Kho vajtse teeb
Kho vajtse teeb

Rau ntu no, cov kauj ruam piav qhia yog ua raws kuv teeb tsa. Kho raws li xav tau.

  • Nruab NodeMCU pawg thawj coj mus rau Node Base. (lees paub qhov tseeb kev taw qhia los ntawm cov kav hlau txais xov qhov chaw sib txuam ntawm txhua tus lej lossis tus lej sib txuam yog tias muaj npe nyob ntawm lub hauv paus)
  • Txhim kho poj niam qhov kev sib txuas ntawm DS18B20. (Kuv snipped, stripped, soldered thiab qhwv jumpers rau DS1820B kab)
  • Txuas DS18B20 lub zog rau 3.3v tsheb nqaj hlau ntawm Node Base. Saib Duab.
  • Txuas DS18B20 hauv av rau kev tsheb nqaj hlau ntawm Node Base. Saib Duab.
  • Txuas DS18B20 Cov Ntaub Ntawv rau tus pin D3 kev tsheb nqaj hlau ntawm Node Base. Saib Duab.

NCO TSEG: Koj yuav xav tau kev sib txuas Cov Ntaub Ntawv txuas thaum thauj khoom kos duab thiab rov txuas dua tom qab thauj khoom tiav.

Kauj ruam 4: Teeb Software

Teeb Software
Teeb Software
Teeb Software
Teeb Software
Teeb Software
Teeb Software

ASSUMPTIONS: Yooj yim ua haujlwm nrog Arduino IDE, Tsev qiv ntawv, SmartThings IDE thiab GITHub.

  • Nkag mus rau koj li SmartThings IDE thiab GITHub tus lej.
  • Ua raws txhua txoj hauv kev qhia los ntawm Daniel Ogorchock. AKA Ogiewon.

Kuv paub muaj ntau cov ntaub ntawv pib thiab teeb tsa yog tias qhov no yog koj thawj zaug teeb tsa ST_Anything teeb tsa, tab sis nws tsim nyog nws. THOV UA TSAUG NTAWV NUG NUG cov lus nug uas koj muaj nyob ntawm txoj kev. Ib qho ntxiv, SmartThings Rooj Sib Tham rau txoj haujlwm no yog qhov chaw zoo rau cov lus qhia thiab lus qhia.

  • Hloov kho daim duab txuas nrog Arduino, ntxiv koj li WiFi/SmartThings ib puag ncig tshwj xeeb. Cov duab kos tawm qhov twg los hloov pauv, raws li ua cov kauj ruam ntawm GITHub Nplooj Ntawv.
  • Xa mus rau cov ntawv txuas nrog rau (2) ST_ Txhua yam khoom siv tshwj xeeb hloov pauv. (Rau NodeMCU 0.9 version… Hloov Pin D7 rau Pin D3) thiab tawm tswv yim tawm ib qho khoom siv/tsev qiv ntawv uas koj yuav tsis xav teeb tsa nyob rau lub sijhawm no.
  • Cov duab kos txuas nrog D7 rau D3 kev hloov pauv thiab cov lus hais tawm ntxiv.
  • Qhib koj li SmartThings Mobile App. Yog tias koj tseem xav tau ntxiv cov ntsiab lus raws li cov kauj ruam ntawm no, ua tam sim no.
  • Ua tib zoo saib hauv koj cov npe khoom siv hauv koj li SmartThings Mobile App, tam sim no koj yuav tsum pom DS18B20 teev nrog koj qhov ntsuas kub tam sim no.

Pom zoo: