Cov txheej txheem:

8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)

Video: 8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)

Video: 8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
Video: Node-Red ep-06 การทำ Line chat bot โต้ตอบด้วย Message แบบต่างๆ 2024, Kaum ib hlis
Anonim
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App

Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais lub wifi thiab ir chaw taws teeb thiab hauv app.

ir chaw taws teeb ua haujlwm ywj siab ntawm kev txuas wifi.

NYEEM NTAWV VERSION NYEM QHOV NO

Kauj Ruam 1: Nqa Cov Khoom

Lob Qhov Chaw
Lob Qhov Chaw
Lob Qhov Chaw
Lob Qhov Chaw
Lob Qhov Chaw
Lob Qhov Chaw

Yam uas koj xav tau rau txoj haujlwm no

  1. NodeMCU
  2. 4 channel Relay Module x 2
  3. IC7805 x 2 (1 IC7805 tsis muab tam sim no txaus rau lub zog ntawm 8 kev xa xov tib lub sijhawm)
  4. Cov qhob cij
  5. IR Txais (VS1838)
  6. LED Liab x 1
  7. Kuj 1K x 1
  8. Laub Khawm x 1
  9. Jumper Hlau
  10. Hwj chim Mov

Kauj ruam 2: Txoj Cai

Cov lej no yog rau NODEMCU BOARD tsis yog ARDUINO

Kuv tau sau cov cai hauv txoj hauv kev yog li yog tias WiFi tau txuas lossis tsis muaj, LED yuav ci, thiab kev tswj hwm ntawm IR Chaw Taws Teeb yuav mus ntawm WiFi.

Thaum muaj WiFi nyem lub pob nyem lossis nias lub pob tshwj xeeb ntawm IR Chaw Taws Teeb thiab tos 5sec los txuas rau wifi. Yog tias LED tsis tua ces lub wifi tsis txuas.

Ua ntej rub tawm Arduino IDE los ntawm NO.

Tom qab ntawv mus rau Cov Ntaub Ntawv -> Nyiam, tom qab ntawd ntawm tus thawj tswj hwm ntxiv url, ntxiv qhov no

arduino.esp8266.com/stable/package_esp8266c…

Tom qab ntawd mus rau Tus Thawj Saib Xyuas Haujlwm thiab teeb tsa esp8266 los ntawm ESP8266 Zej Zog.

mus rau tus thawj tswj tsev qiv ntawv thiab teeb tsa IRRemoteESP8266.

Ua ntej txuas lub ir txais rau nodemcu board, 3.3v rau 3.3v, gnd rau gnd, tso tawm rau gpio2 (D4).

upload tus kos duab IRRemote Tus nqi muab rau hauv qab no, qhib cov ntawv saib thiab nyem qhov tseem ceeb kom tau txais qhov tseem ceeb ntawm txhua tus yuam sij, sau nws rau qee qhov. Nco tseg tsawg kawg 9 qhov tseem ceeb, (8 qhov tseem ceeb rau 8 kev xa tawm thiab 1 rau txuas dua wifi).

Tom qab ntawd ua lub Circuit Court raws li cov txheej txheem tau hais los saum no thiab upload cov cai My_Room.

Tsis txhob hnov qab hloov kho tus lej lej hauv my_room kos duab nrog tus lej code koj tau txais rau txhua lub pob ntawm lub chaw taws teeb thiab wifi ssid thiab tus password.

NCO TSEG: Thaum rub tawm daim SKETCH kom ntseeg tau tias tsis txuas ib qho rau tus lej D0, D8, TX, RX. LOSSIS YOOJ YIM YOOJ YIM YUAV TSUM TAU JUMPER WIRES los ntawm cov PINS

Kauj ruam 3: Schematic

Schematic
Schematic

Ua raws li schematic thiab ua lub Circuit Court.

IC7805 tsis muaj lub zog txaus los khiav 8 lub sijhawm sib txuas. Yog li, peb tab tom siv ob lub 4ch Relay module thiab ob IC7805.

Ib Tus Neeg Txais IR yuav ua haujlwm.

Lub hwj chim tuaj yeem yog 24V max.

Kauj ruam 4: Android App

Kuv tau ua Android App siv MIT APP Inventor. Koj tuaj yeem tso cov ntaub ntawv aia rau App Inventor thiab kho nws.

Kauj ruam 5: Koj Ua Tau

Koj Ua Tau
Koj Ua Tau

Mus rau koj lub router admin vaj huam sib luag thiab tau txais IP Chaw Nyob ntawm NodeMCU.

Kuj tseem muab tus IP tshwj xeeb rau Mac Chaw Nyob ntawm nodemcu, yog li nws tau txais tib tus IP, txhua lub sijhawm thiab koj tsis tas yuav tshuaj xyuas nws txhua lub sijhawm.

Koj tuaj yeem siv IR REMOTE, ANDROID APP thiab INTERNET BROWSER ntawm tib lub NETWORK, lossis koj tuaj yeem siv PORT FORWARDING hauv koj li ROUTER kom nkag mus tau dua hauv internet los ntawm txhua qhov chaw hauv ntiaj teb

Yog muaj teeb meem, hu rau kuv ntawm fb, www.fb.com / amit.s.samanta, kuv yuav pab kom deb li kuv tuaj yeem ua tau.

Pom zoo: