Cov txheej txheem:

Cov Zaub rau ESP8266: 3 Cov Kauj Ruam
Cov Zaub rau ESP8266: 3 Cov Kauj Ruam

Video: Cov Zaub rau ESP8266: 3 Cov Kauj Ruam

Video: Cov Zaub rau ESP8266: 3 Cov Kauj Ruam
Video: Flipper Zero DHT11 & BMP280 Weather Station module... 2024, Kaum ib hlis
Anonim
Cov Zaub rau ESP8266
Cov Zaub rau ESP8266
Cov Zaub rau ESP8266
Cov Zaub rau ESP8266

Hauv txoj haujlwm no koj yuav kawm paub txuas Arduino cov duab digital rau koj li ESP8266 lub rooj tsavxwm thiab yuav ua li cas thiaj pom IP chaw nyob ntawm cov zaub.

Khoom siv

Yam uas koj xav tau:

1. Pawg ESP8266

2. Arduino cov duab digital

3. Jumper xov hlau (ncig 20)

4. Cov khoom siv hluav taws xob, cov zaub xav tau 5v thiab pawg thawj coj yuav siv 3.3v

5. Ib UART qaum thiab USB qaum

6. (Tsis teb los tau) Potentiometer (siv los hloov qhov sib piv ntawm lub rooj tsavxwm)

7. (Software) USB rau UART Choj Tsav Tsheb (muaj nyob ntawm no:

Kauj Ruam 1: Hlau Rooj Tswjhwm Saib

Hlau Board
Hlau Board
Hlau Board
Hlau Board

Thawj kauj ruam hauv tus txheej txheem yog thaiv lub rooj tsavxwm. Txog qhov no koj tuaj yeem ua raws cov kab hluav taws xob uas tau qhia hauv cov khoom siv hluav taws xob lab sim arduino. Tsuas yog siv ESP8266's GPIO pins hloov ntawm Arduino tus pin. Yog tias koj muaj Arduino ntawm tes ces siv nws 5 volt thiab tus pin hauv av los txhawb lub zog tso saib. Yog tias koj tsis yog li ntawd tsuas yog xyuas kom siv lub 5 volt fais fab mov los ua lub zog tso saib. Tsis txhob siv ESP8266 los ua lub zog tso saib, nws yuav tsis muaj qhov hluav taws xob txaus.

Kauj Ruam 2: Program Board

Program Pawg Thawj Coj
Program Pawg Thawj Coj

Cov kauj ruam tom ntej yog sau cov cai rau pawg thawj coj saib. Nov kuv tau muab cov cai sau los ntawm kuv tus phooj ywg (txhua qhov credit mus rau Steven Mu rau qhov no). Dab tsi nws tau ua tiav suav nrog plaub lub tsev qiv ntawv nyob rau sab saum toj - thawj qhov yog ua cov lus txib rau lub vijtsam lcd thiab lwm yam peb rau ESP's wifi cov lus txib. Nws kuj tsim cov kev hloov pauv rau wifi nws xav txuas rau thiab nws tus password. Nws kuj tseem piav qhia qhov hloov pauv rau ntau yam pins ntawm lub vijtsam lcd. Tom ntej no nws txuas nrog lub wifi, nug nws tus IP chaw nyob, tom qab ntawd luam tawm nws mus rau qhov screen.

Kauj Ruam 3: Xeem

Yog tias txhua yam mus tau yooj yim IP chaw nyob yuav tsum luam tawm mus rau lub vijtsam lcd. Yog tias tsis yog, xyuas kom paub tseeb tias koj cov kev sib txuas tau zoo thiab koj cov pins raug.

Pom zoo: