Cov txheej txheem:

ESP 8266 Nodemcu Ws 2812 Neopixel Raws LED MOOD Teeb Tswj Kev Siv Lub Vev Xaib: 6 Kauj Ruam
ESP 8266 Nodemcu Ws 2812 Neopixel Raws LED MOOD Teeb Tswj Kev Siv Lub Vev Xaib: 6 Kauj Ruam

Video: ESP 8266 Nodemcu Ws 2812 Neopixel Raws LED MOOD Teeb Tswj Kev Siv Lub Vev Xaib: 6 Kauj Ruam

Video: ESP 8266 Nodemcu Ws 2812 Neopixel Raws LED MOOD Teeb Tswj Kev Siv Lub Vev Xaib: 6 Kauj Ruam
Video: How to Easily Control Addressable LEDs with an ESP32 or ESP8266 | WLED Project 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hauv Txoj Haujlwm no peb yuav ua MOOD Teeb los ntawm nodemcu & neopixel thiab uas tuaj yeem tswj tau los ntawm ib lub browser siv lub vev xaib hauv zos.

Kauj Ruam 1: Lub Tswv Yim Yooj Yim

Lub Tswv Yim Yooj Yim
Lub Tswv Yim Yooj Yim

Nyob zoo cov neeg hauv cov lus qhia no kuv ua MOOD LAMP raws li Neopixel LED Nplhaib nrog Nodemcu ESP 8266 thiab Lub Teeb yog tswj los ntawm webserver tuav los ntawm nodemcu ntawm lub cuab yeej. Yog li lub tswv yim yooj yim los tsim lub vev xaib server los ntawm nodemcu thiab nkag mus rau lub web server hauv xov tooj/PC browser & tom qab ntawd xa cov lus txib los ntawm nplooj ntawv los tswj Neopixels LED los ntawm lub web server hauv zos & teeb lub teeb nyob rau hauv cov xim sib txawv nrog sib txawv ci ntsa iab los ntawm kev xa cov lus txib los ntawm kev sib tham los ntawm lub vev xaib hauv zos thiab muaj ntau hom sib txawv kom pom cov teeb sib txawv, yog li txaus siab ua koj tus kheej neopixel raws lub vev xaib server tswj MOOD LAMP

Kauj Ruam 2: Sau Koj Cov Cheeb Tsam

Sau Koj Cov Cheeb Tsam
Sau Koj Cov Cheeb Tsam

YUAV TSUM MUAJ: YUAV Nodemcu ESP8266:

www.utsource.net/itm/p/8673408.html

MUAJ WS2812 LED:

www.utsource.net/itm/p/8673712.html

MUAJ WS2812 LED Nplhaib:

www.utsource.net/itm/p/8673715.html

////////////////////////////////////////////////////////////////////////////

Txhawm rau ua txoj haujlwm no peb xav tau peb yam tseem ceeb

1-ws 2812 coj lub nplhaib lossis sawb

2-Nodemcu esp8266

3-usb cable rau lub zog

Affiliate Muas link:-

Nodemcu (esp8266)-

www.banggood.com/NodeMcu-Lua-WIFI-Internet…

www.banggood.com/3Pcs-NodeMcu-Lua-WIFI-Int…

www.banggood.com/Wemos-NodeMCU-V3-CP2102-L…

Ws2812 neopixel (12 ntsis) ntiv nplhaib -

www.banggood.com/3Pcs-CJMCU-12-Bit-WS2812-…

www.banggood.com/CJMCU-12-Bit-WS2812-5050-…

Ws2812 neopixel (7 ntsis) ntiv nplhaib-

www.banggood.com/5Pcs-CJMCU-7-Bit-WS2812-5…

www.banggood.com/3Pcs-CJMCU-7-Bit-WS2812-5…

Ws2812 neopixel (3 ntsis) ntiv nplhaib -

www.banggood.com/5pcs-CJMCU-3bit-WS2812-RG…

www.banggood.com/CJMCU-3bit-WS2812-RGB-LED…

Ws2812 neopixel coj sawb -

www.banggood.com/AUDEW-1M4M5M-RGB-SMD5050-…

www.banggood.com/4-PCS-WS2812-5V-Taillight…

www.banggood.com/0_5M1M2M3M4M5M-DC5V-USB-R…

www.banggood.com/0_5M1M2M3M4M5M-USB-RGB-50…

www.banggood.com/0_5M1M2M3M4M5M-DC5V-USB-R…

Kauj Ruam 3: Npaj Koj Lub Circuit Court

Npaj Koj Li Circuit Court
Npaj Koj Li Circuit Court

Lub Circuit Court yog qhov yooj yim heev txhua yam koj yuav tsum tau ua yog txuas lub nodemcu Vin tus pin rau Vcc ntawm neopixel txij li peb tau siv Vin tus pin ntawm nodemcu rau neopixel yog li tsis txhob siv ntau dua 5v li lub zog rau ntawm mcu vim li cas kuv thiaj siv usb cable muab ces txuas Gnd ntawm nodemcu rau Neopixel Gnd & Din tus pin ntawm neopixel rau D2 tus pin ntawm nodemcu.

Kauj ruam 4: Upload Code

Rub tawm Txoj Cai
Rub tawm Txoj Cai

Rub tawm tus lej zipped los ntawm qhov muab txuas:-

drive.google.com/file/d/1QV6wmMxV9W_SGnshp…

tom qab ntawd qhib nws hauv ARDUINO lub tswv yim & hauv txoj cai teeb tsa tus neopixel tus pin rau D2 (xijpeem tus lej ntawm cov ntaub ntawv ntawm neopixel txuas nrog rau nodemcu) tom qab ntawd tus lej pixels uas txhais tau tias tsis muaj LEDs ntawm koj neopixel ces ua rau koj ssid ntawm koj lub router lossis mobile hotspot upload cov cai.

Kauj Ruam 5: Npaj Cov Ntaub Ntawv

Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv
Npaj Cov Ntaub Ntawv

Kuv tau ua ib lub thawv ntawv los npog cov khoom siv hluav taws xob & lub hau ntawm lub teeb LED ua lub tshuab ua kom lub teeb pom kev zoo nyob rau txhua qhov kev coj, koj tuaj yeem tsim txhua yam uas koj nyiam.

Kauj Ruam 6: Kauj Ruam Kawg: Cia Peb Kuaj Nws

Image
Image
Kauj Ruam Kawg: Cia Peb Kuaj Nws
Kauj Ruam Kawg: Cia Peb Kuaj Nws
Kauj Ruam Kawg: Cia Peb Kuaj Nws
Kauj Ruam Kawg: Cia Peb Kuaj Nws
Kauj Ruam Kawg: Cia Peb Kuaj Nws
Kauj Ruam Kawg: Cia Peb Kuaj Nws

Hauv cov kauj ruam kawg cia peb txuas kab ntawv tom qab ntawd nodemcu yuav nrhiav lub network uas nws tau ssid & dhau hauv tus lej thiab yog tias lub network pom nws yuav txuas, tam sim no tau txais ib lub cuab yeej txuas nrog tib lub network lossis siv tib lub xov tooj ntawm tes uas koj tab tom siv hotspot thiab los ntawm qhov browser ntaus tus IP li 192.168.4.1 (kuv li yog 192.168.43.72 vim tias kuv tau hloov nws yog tias koj tsis tau hloov koj li sim muab rau sab nraum qhov no) thiab yog tias koj xav paub koj tus ip ces txuas nodemcu rau lub PC & tom qab ntawd qhib cov ntawv saib & koj yuav tau txais IP tom qab nkag mus rau lub web server siv tus ip ntawd los ntawm browser & hloov xim xim & hom ntawm neopixel ntawm lub browser & txaus siab rau koj tus kheej lub teeb pom los ntawm koj tus kheej MOOD LAMP. xa cov vis dis aus kom nkag siab zoo.

Ua tsaug …

Pom zoo: