Cov txheej txheem:

Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219: 8 Cov Kauj Ruam
Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219: 8 Cov Kauj Ruam

Video: Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219: 8 Cov Kauj Ruam

Video: Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219: 8 Cov Kauj Ruam
Video: Muaj tsis ntshai tuag 7/1/2018 2024, Hlis ntuj nqeg
Anonim
Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219
Tswj LED Board los ntawm Xov Tooj Nrog NodeMCU, ESP8266 thiab MAX7219

Kuv xav siv xov tooj los tswj lub rooj tsav xwm LED ua lub teeb liab tig. Yog li, ESP8266 yuav ua raws li Access Point, microcontroller thiab tseem yog server. Lub web server yuav muaj lub vev xaib yooj yim nrog 3 lub nyees khawm: Tig LEFT, QAB RIGHT, thiab Tig SOS. Cov ntawv yuav ntxig rau ntawm cov laug cam LED. Txog cov cai, Kuv tau sim ob lub tsev qiv ntawv saib xyuas zoo uas yog Arduino Core WiFi thiab ESP8266WebServer. Tus Tub Ntxhais WiFi tsis muaj qhov thov ua haujlwm zoo. Yog li kuv yuav tsum siv 'client.readStringUntil (r)' los nyeem qhov kev thov thiab nws qeeb heev. Tom qab ntawd, kuv hloov mus rau ESP8266WebServer lub tsev qiv ntawv thiab nws ua haujlwm tau zoo.

Kauj Ruam 1: Txuas lub Rooj Tswjhwm Saib LED mus rau 5V Cov Khoom Siv Hluav Taws Xob

Kauj ruam 2: Kev thaiv kab

Txuas tus PIN los ntawm MAX7219 mus rau NodeMCU

VCC - 5 v

GND - NCO

DIN - D7 - MOSI - GPIO 13

CS - D8 - GPIO 15

CLK - D5 - GPIO 14

Kauj Ruam 3: Xaiv Koj Lub Npe Board LED

Hauv qhov piv txwv no, Kuv siv FC16_HW. Nyeem ntxiv ntawm no

Kauj Ruam 4: Teeb Arduino IDE

Teeb tsa Arduino IDE
Teeb tsa Arduino IDE

Nov yog rau NodeMCU 12E

Kauj Ruam 5: Teeb WiFi AP

Teeb tsa WiFi AP
Teeb tsa WiFi AP

Kauj Ruam 6: Kov Thov Nrog Txhua Qhov Tsis Ua Haujlwm

Kov Thov Nrog Txhua Qhov Tsis Ua Haujlwm
Kov Thov Nrog Txhua Qhov Tsis Ua Haujlwm

Kauj Ruam 7: Upload Kuv Cov Cai

*NCO TSEG:

Nco ntsoov hloov tus pin, kho vajtse yam

Kuv tus lej:

Pom zoo: