Cov txheej txheem:
- Kauj Ruam 1: Kev Npaj Khoom
- Kauj ruam 2: Tus Pin Txuas
- Kauj Ruam 3: Qauv Qauv Cai
- Kauj ruam 4: Uploading
- Kauj Ruam 5: Teeb LED
- Kauj Ruam 6: Yeeb yaj duab
Video: Blink LED Siv ESP8266 NodeMCU Lua WiFi Qhia: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Piav qhia
NodeMCU yog qhov qhib IoT platform. Nws suav nrog cov software uas khiav ntawm ESP8266 WiFi SoC los ntawm Espressif, thiab kho vajtse uas yog raws ESP-12 module. Lub sij hawm "NodeMcu" los ntawm lub neej ntawd hais txog cov yeeb yaj kiab ntau dua li cov khoom siv dev. Firware ESP8266 siv Lua cov ntawv sau ua lus. Nws yog ua raws txoj haujlwm eLua, thiab ua rau Espressif Tsis-OS SDK rau ESP8266. Nws siv ntau qhov haujlwm qhib, xws li lua-cjson thiab spiff. LUA raws kev sib tham sib firmware rau Expressif ESP8622 Wi-Fi SoC, ntxiv rau qhib qhov khoom siv kho vajtse uas tsis sib xws rau $ 3 ESP8266 Wi-Fi modules suav nrog CP2102 TTL rau USB nti rau kev ua haujlwm thiab debugging, yog breadboard-phooj ywg, thiab tuaj yeem yooj yim yuav tsum tau siv nws lub micro USB chaw nres nkoj.
NTA
- Wi-Fi Module-ESP-12E module zoo ib yam li ESP-12 module tab sis nrog 6 GPIOs ntxiv.
- USB - micro USB chaw nres nkoj rau lub zog, lub cajmeem thiab debugging
- Headers-2x 2.54mm 15-pin header nrog nkag mus rau GPIOs, SPI, UART, ADC, thiab lub zog pinsMisc-Pib dua thiab nyem khawm
- Lub zog - 5V ntawm micro USB chaw nres nkoj
- Qhov ntev - 49 x 24.5 x 13mm
Kauj Ruam 1: Kev Npaj Khoom
Ua ntej koj yuav pib, npaj txhua yam khoom xav tau:
- Cov qhob cij
- ESP8266 NodeMCU Lua Wifi
- LED
- Jumper (yog xav tau)
- micro USB
Kauj ruam 2: Tus Pin Txuas
Nov yog ib qho ntawm qhov yooj yim tshaj plaws kev sib txuas thiab haum rau tus pib. Dab tsi koj xav tau yog txhawm rau txuas LED's anode rau ESP8266's D7 tus pin thiab LED's cathode rau ESP8266 GND.
Kauj Ruam 3: Qauv Qauv Cai
Rub tawm cov qauv piv txwv no thiab muab tso rau hauv koj li Arduino IDE
Kauj ruam 4: Uploading
Thaum koj ua tiav kev tsim koj txoj kev sib txuas ntawm lub rooj noj mov thiab sau coding, koj yuav tsum tso cov lej nkag rau hauv ESP8266 los ntawm kev siv lub micro USB. Ua ntej xa cov lej, koj yuav tsum nruab esp8266 rau hauv koj li Arduino IDE, koj tuaj yeem tshawb xyuas ntawm no.
Kauj Ruam 5: Teeb LED
Tam sim no, koj tuaj yeem pom koj cov LED ua tiav ntsais muag
Pom zoo:
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Kuv Me Me Whoop: Daim Ntawv Qhia Whoop + Cov Lus Qhia thiab Cov Lus Qhia: 8 Kauj Ruam
Kuv Me Me Whoop: Daim Ntawv Qhia Whoop + Cov Lus Qhia thiab Cov Lus Qhia: Kev Ceeb Toom: Tam sim no koj tab tom nkag mus rau kuv thawj qhov kev qhia, thiab koj yuav ntsib ntau yam kev ruam thiab tsis muaj phiaj xwm thiab/lossis txuj ci. Paub txog qhov no yog kuv tus kheej Tiny Whoop teeb tsa uas kuv siv txhua hnub, yog li kuv xav tias kuv yuav qhia nws. Nws yog phooj ywg mus ncig (tsis muaj
Yuav Ua Li Cas Tswj LED Siv ESP8266 NodemCU Lua WiFi Los Ntawm Lub Vev Xaib: 7 Kauj Ruam
Yuav Ua Li Cas Tswj LED Siv ESP8266 NodemCU Lua WiFi Los Ntawm Lub Vev Xaib: Phau ntawv qhia no yuav qhia koj qee qhov pib ntawm kev siv ESP8266 NodemCU Lua WiFi los tswj cov LED los ntawm lub vev xaib. Ua ntej koj pib, nco ntsoov tias koj muaj txhua yam ntaub ntawv xav tau: ESP8266 NodeMCU Lua WiFi LED Breadboard Jumper (yog xav tau)
Yuav Ua Li Cas Ua Tus Qhia Qhia thiab Qhia: 8 Kauj Ruam
Yuav Ua Li Cas Nthuav Qhia Qhia thiab Qhia: Nov yog phau ntawv qhia rau kev ua Qhia Qhia thiab Qhia. Nws yog qhov tseem ceeb tshaj plaws ntawm cov xwm txheej muaj nyob rau Hnub Friday, Peb Hlis 9, 2007, tab sis kuj tseem yog qhov tshwm sim yav dhau los ntawm qhov xwm txheej no, Squid Labs Lub Teeb Pom Kev Zoo. Lub hom phiaj ntawm Kev Qhia thiab Xov Tooj
Blink LED los ntawm Kev Siv ESP32 NodeMCU WiFi & Bluetooth Module Tutorial: 5 Kauj Ruam
Blink LED los ntawm Kev Siv ESP32 NodeMCU WiFi & Bluetooth Module Tutorial: Nqe lus piav qhiaNodeMCU yog qhov qhib qhov chaw IoT platform. Nws yog programmed los ntawm kev siv Lua scripting language.The platform yog raws eLua qhib qhov haujlwm. Lub platform siv ntau qhov haujlwm qhib, xws li lua-cjson, spiff. Qhov ESP32 NodeMc no