Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
- Kauj Ruam 2: Npaj Blynk App
- Kauj Ruam 3: Txuas Nodemcu rau Neopixel Led Sawb
- Kauj Ruam 4: Kho Vajtse thiab Khoom Siv Hluav Taws Xob
- Kauj ruam 5: Programming Nodemcu
- Kauj Ruam 6: Xeem Kawg
Video: Neopixel Tswj Nrog Nodemcu: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo cov neeg nov Kuv muaj cov lus qhia tshiab. Hauv cov lus qhia no peb yuav kawm paub tswj hwm thiab hloov xim ntawm Neopixel coj sawb (ws2812b) los ntawm kev siv Nodemcu los ntawm internet los ntawm txhua qhov chaw hauv ntiaj teb. Yog li nws yog txoj haujlwm ntawm IOT ua ke nrog Neopixel coj sawb.
Nov peb yuav siv Blynk app los ua kev sib txuas ntawm peb lub xov tooj smartphone thiab Nodemcu.
Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau
1) Node Mcu
2) Neopixel coj sawb (Ws21812b)
3) txuas xov hlau
4) Daim ntawv qhia zaub mov
5) Fais fab mov
Thiab
6) Blynk app
Kauj Ruam 2: Npaj Blynk App
Hauv txoj haujlwm no peb yuav tsum siv kev sib cuam tshuam ntawm lub xov tooj smartphone thiab Nodemcu. Txog qhov no peb yuav siv Blynk app los ua kev sib tham.
Txog qhov ntawd thawj zaug rub tawm Blynk app los ntawm Google ua si tom khw.
Tom qab ntawd qhib lub app thiab tsim tus lej tshiab los ntawm kev siv koj li Email ID.
Tom qab tsim tus as khauj koj yuav tau txais "Tus Thawj Coj Pov Thawj" ntawm koj tus lej ID.
Txuag qhov no "Daim Ntawv Pov Thawj Pov Thawj" rau yav tom ntej siv.
Kauj Ruam 3: Txuas Nodemcu rau Neopixel Led Sawb
Neopixel coj sawb ---- Nodemcu
5 v pin ----------- Vin pin
Pin gnd. ------- Gnd pin
Pin pin --------------- D 2 pin
Qhov no yog nws. Tsis yog li ntawd yooj yim ……
Kauj Ruam 4: Kho Vajtse thiab Khoom Siv Hluav Taws Xob
Hauv qhov haujlwm no kuv tau txuas nrog cov hlua coj ntawm qhov ntsuas thiab ntawm lwm sab ntawm qhov ntsuas Nodemcu nrog rau Breadboard tau teeb tsa.
Fais fab mov
Qhov Nodemcu no tuaj yeem ua haujlwm nrog them lub xov tooj ntawm tes (5v). Yog li koj tuaj yeem siv qhov ntawd ncaj qha. Thiab tib cov ntaub ntawv cable tuaj yeem siv txuas Nodemcu rau lub khoos phis tawj kom rub tawm qhov program.
Kauj ruam 5: Programming Nodemcu
Ua ntej kawm txog qhov no koj yuav tsum paub txog cov hauv paus ntawm Intial teeb tsa ntawm Nodemcu. Nodemcu pib teeb tsa
Txawm tias kuv tau txais kuv cov hauv paus los ntawm cov lus qhia saum toj no, yog li thov hla qhov ntawd.
Tom qab dhau los ntawm cov lus qhia no koj yuav tuaj yeem siv Nodemcu txhua txoj kev.
Hauv qab no yog qhov txuas rau qhov chaws ntawm txoj haujlwm no.
Hauv qhov kev zov me nyuam koj yuav tsum hloov pauv "Tus Thawj Coj Pov Thawj" (uas koj tau txais hauv koj li Email ID los ntawm Blynk)
Thiab tseem Ssid thiab tus password ntawm koj li WiFi uas Nodemcu yuav tsum txuas nrog.
Tom qab ua qhov no koj tuaj yeem tso qhov program rau koj pawg Nodemcu.
Ntawd yog nws koj Nodemcu tau npaj siv.
Kauj Ruam 6: Xeem Kawg
Yuav luag 90% ntawm kev qhia ua tiav.
Tam sim no peb yuav tsum rov qab mus rau Blynk app.
Qhib Blynk app. Tsim txoj haujlwm tshiab thiab xaiv cov kev xaiv teeb tsa (txiv ntseej hexagonal zoo li tus yuam sij nyob rau sab saum toj).
Hauv qhov kev xaiv teeb tsa nkag lub npe ntawm txoj haujlwm thiab hauv Devices xaiv Lub Nodemcu (raws li peb tab tom siv nws) kuj tseem txheeb xyuas hom kev txuas mus rau WiFi ….
Nrog qhov no Cov cuab yeej teeb tsa hauv Blynk app tau ua tiav.
Tam sim no ntxiv zeRGBa qhov tseem ceeb (widget) los ntawm kev siv khawm Ntxiv (lub thawv widget) ib sab ntawm lub pob teeb tsa.
Tom qab ntxiv cov widget tsuas yog nyem rau ntawm Widget ntawd.
Hauv qhov zeRGBa tus lej tseem ceeb xaiv qhov kev xaiv "sib koom ua ke" thiab tus pin rau "tus pin virtual V2"..
(Muaj qee cov ntawv uas yuav tsum tau theej rau hauv qhov chaws uas kuv twb tau ua dhau los lawm yav dhau los qhov chaws. Yog li koj tsuas tuaj yeem rub tawm qhov ntawd thiab tso ncaj qha.)
Pom zoo:
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Tes: 4 Kauj Ruam (nrog Duab)
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Lub Cev: Txais tos rau kuv 'ible' #45. Ib pliag dhau los kuv tau ua tiav RC version ntawm BB8 siv Lego Star Wars qhov chaw … https://www.instructables.com/id/Whats-Inside-My-R..Thaum kuv pom nws txias heev Force Band ua los ntawm Sphero, kuv xav tias: " Ok, kuv c
Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: 5 Kauj Ruam
Lub Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: Cov no yog cov lus qhia txhawm rau tsim koj tus kheej lub tsheb tswj chaw taws teeb, tswj siv wireless Xbox 360 maub los
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Tswj Neopixel Coj Lub Nplhaib Nrog Gesture Sensor: 3 Kauj Ruam (nrog Duab)
Tswj Neopixel Led Ring Nrog Gesture Sensor: Hauv qhov kev qhia no peb yuav ua si nrog lub ntsej muag piav tes piav taw (APDS-9960) thiab lub nplhaib neopixel kom kawm paub yuav ua li cas ua ke ob qho tib si siv Arduino UNO.Qhov kawg cov khoom yuav teb rau sab laug - sab tes xis los ntawm kev ua kom muaj zog coj mus rau sab xis lossis sab laug, thiab rau koj
Begging Neeg Hlau Nrog Saib Xyuas Lub Ntsej Muag thiab Tswj los ntawm Xbox Tus Tswj - Arduino: 9 Cov Kauj Ruam (nrog Duab)
Begging Robot Nrog Lub ntsej muag taug qab thiab Tswj los ntawm Xbox Controller - Arduino: Peb tab tom yuav ua tus thov neeg hlau. Tus neeg hlau no yuav sim ua rau khaus lossis ua rau pom kev dhau ntawm tib neeg. Nws yuav ntes lawv lub ntsej muag thiab sim tua lasers ntawm lawv. Yog tias koj muab tus neeg hlau ib npib, nws yuav hu nkauj thiab seev cev. Tus neeg hlau yuav xav tau