Cov txheej txheem:

ESP rau ESP Kev Sib Txuas Lus: 4 Cov Kauj Ruam
ESP rau ESP Kev Sib Txuas Lus: 4 Cov Kauj Ruam

Video: ESP rau ESP Kev Sib Txuas Lus: 4 Cov Kauj Ruam

Video: ESP rau ESP Kev Sib Txuas Lus: 4 Cov Kauj Ruam
Video: Nraug txuj kev hlub 2024, Kaum ib hlis
Anonim
Image
Image
Circuit Court
Circuit Court

Cov ntawv qhia no yuav pab koj hloov lwm cov qauv xa xov rau lwm qhov haujlwm uas suav nrog kev sib txuas lus wireless. Peb yuav siv ESP8266 raws pawg thawj coj, ib qho hauv WiFi -STA hom thiab lwm qhov hauv WiFi -AP hom, NodeMCU V3 yog qhov kuv xaiv rau txoj haujlwm no, koj tuaj yeem siv lwm yam esp8266 pawg thawj coj saib. Txhawm rau txheeb xyuas cov ntaub ntawv xa mus, Kuv tab tom siv cov nyees khawm los ua tswv yim ntawm ib sab thiab LEDs raws li tso tawm ntawm lwm sab, koj tuaj yeem xa cov ntaub ntawv sensor siv hom no.

Kauj Ruam 1: Cheeb Tsam

  1. NodeMCU x2
  2. Cov pob x4
  3. 3 hli LEDs x4
  4. 1 K resistor x8

Kauj ruam 2: Circuit Court

Neeg rau zaub mov:

Nws yog cov txheej txheem yooj yim heev, koj yuav tsum txuas 4 lub khawm nkag nrog ib lub NodeMCU, siv 1k tus tiv thaiv kom rub tus pin D0, D1, D2 thiab D3, los ntawm nias lub pob, cov lej tshwj xeeb yuav tsum rub tawm.

Neeg:

Txuas 4 LEDs ntawm D0, D1, D2 thiab D3 pins feem.

Txheeb xyuas daim duab fritzing txuas nrog.

Kauj ruam 3: Programming

Rub tawm cov duab kos hauv qab no rau cov neeg rau zaub mov thiab cov neeg siv khoom thiab tso rau hauv koj lub nodeMCU/wemos lossis lwm yam ESP8266 raws lub rooj tsavxwm, LEDs nyob ntawm tus neeg siv khoom thiab khawm nyob ntawm server sab. Kuv tabtom xa cov ntaub ntawv hauv Json hom ntawv, yog li koj hais mav yuav tsum xa Json tsev qiv ntawv hauv koj li arduino IDE, lub tsev qiv ntawv no tseem yuav pab koj daws nrog ntau yam tsis nyob hauv koj lwm txoj haujlwm.

Kauj Ruam 4: Koj Qhov Tseeb Xav Tau

Vam tias qhov kev qhia no yuav pab koj qee txoj hauv kev, ua siab zoo sau npe yuav peb tshooj youtube rau ntau cov vis dis aus qhia.

www.youtube.com/channel/UCCkp1sp1LCuMyQ9PP…

Pom zoo: