Cov txheej txheem:

Chav Tswj Nrog ESP8266 - Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo: 8 kauj ruam
Chav Tswj Nrog ESP8266 - Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo: 8 kauj ruam

Video: Chav Tswj Nrog ESP8266 - Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo: 8 kauj ruam

Video: Chav Tswj Nrog ESP8266 - Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo: 8 kauj ruam
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Hlis ntuj nqeg
Anonim
Chav Tswj Nrog ESP8266 | Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo
Chav Tswj Nrog ESP8266 | Kub, Tsab ntawv tsa suab, Kab hlau rhuav thiab teeb pom kev zoo

Txoj haujlwm no suav nrog kev ua haujlwm raws li NodeMCU ESP8266 module uas tso cai rau koj tswj lub teeb ci ntawm LED Sawb thiab kab hlau rhuav ntawm koj chav, kuj tseem tuaj yeem xa cov ntaub ntawv hais txog cov xwm txheej ntawm koj chav thiab qhov kub mus rau huab uas koj tuaj yeem pom nws los ntawm Ubidots IoT platform.

Khoom siv

Ubidots Account:

  • 1x ESP8266 NodeMCU
  • 1 x 12v fais fab Jack
  • 1x 220 ohm Resistor 1/4W
  • 2 x Capacitors 120nf
  • 1x Power Transistor TIP31
  • 1x Voltage Regulator lm7805
  • 1 x PIR Sensor HC-SR501
  • 1x Kub sensor DS1820
  • 1x DC Tsav Tsav L293D
  • 2x Terminal Thaiv
  • 1x SIL Poj Niam Txuas

Kauj Ruam 1: Schematics Circuit:

Circuit Schematics
Circuit Schematics

Cov ntaub ntawv:

  • 1x ESP8266 NodeMCU
  • 1 x 12v fais fab Jack
  • 1x 220 ohm Resistor 1/4W
  • 2 x Capacitors 120nf
  • 1x Power Transistor TIP31
  • 1x Voltage Regulator lm7805
  • 1 x PIR Sensor HC-SR501
  • 1x Kub sensor DS1820
  • 1x DC Tsav Tsav L293D
  • 2x Terminal Thaiv
  • 1x SIL Poj Niam Txuas

Kauj Ruam 2: PCB Tsim (Gerber):

PCB Tsim (Gerber)
PCB Tsim (Gerber)
PCB Tsim (Gerber)
PCB Tsim (Gerber)

Nov yog Gerber Cov Ntaub Ntawv yog li koj tuaj yeem xaj koj tus kheej PCB.

Kuv hais kom siv PCBGOGO los tsim cov PCBs.

Kauj Ruam 3: Soldering Txhua Yam:

Soldering Txhua Yam
Soldering Txhua Yam
Soldering Txhua Yam
Soldering Txhua Yam

Ntxuav cov ntaub thaiv hauv Circuit Court yog tias lawv tsis yog thiab pib txhuam txhua yam ua ntu zus.

Kauj Ruam 4: Nruab Lub Tsev Qiv Ntawv rau Txoj Cai:

Nruab Lub Tsev Qiv Ntawv rau Txoj Cai
Nruab Lub Tsev Qiv Ntawv rau Txoj Cai

Nov yog qhov txuas uas tuaj yeem rub tawm cov tsev qiv ntawv.

Kauj ruam 5: Upload Code:

Upload tus Code
Upload tus Code

Nov yog Txoj Cai rau rub tawm:

Kauj Ruam 6: Txuas thiab Fais Fab:

Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob
Kev tiv thaiv kab mob thiab kab mob

Txuas DC lub xov tooj cua los ntawm Kab Hlau thiab LED kab hlau txuas kom raug.

Kauj Ruam 7: Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard:

Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard
Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard
Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard
Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard
Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard
Teeb Koj Cov Khoom Siv Ubidots thiab Dashboard

Kev txiav txim ntawm cov duab:

1-Thaum NodeMCU tau qhib, siv lub tshuab nws yuav tsim lub cuab yeej hu ua "chav" hauv ntu khoom ntawm Ubidots.

2- Cov cuab yeej yuav muaj txhua qhov hloov pauv sab hauv.

3- Mus rau Cov Ntaub Ntawv/Dashboards.

4- Nyem rau "+" los tsim lub dashboard tshiab.

5- Nyem rau kos cim.

6- Tsim Widget los ntawm txhaj rau "+".

7- Xaiv Slider widget rau kab hlau rhuav tswj.

8- Ntxiv qhov sib txawv.

9- Xaiv "Chav" ntaus ntawv.

10- Xaiv "Kab hlau rhuav" sib txawv.

11- Teem kauj ruam rau 100.

12- Rov ua dua rau LED Sawb tab sis Kauj Ruam = 1 thiab qhov sib txawv yog "Ledstrip".

13- Ntxiv qhov taw qhia widget.

14- Xaiv Kev txav mus los sib txawv.

15- Koj ua tiav.

Kauj Ruam 8: Xeem Nws:

Image
Image
Kuaj Nws
Kuaj Nws

Ua tsaug rau koj ua ib feem ntawm qhov kev qhia no, vam tias koj nyiam nws thiab yog tias koj muaj lus nug koj tuaj yeem nug kuv dawb.

Pom zoo: