Cov txheej txheem:

Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno: 4 Cov Kauj Ruam
Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno: 4 Cov Kauj Ruam

Video: Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno: 4 Cov Kauj Ruam

Video: Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno: 4 Cov Kauj Ruam
Video: The Most Beautiful Thing I've Ever Built 2024, Kaum ib hlis
Anonim
Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno
Tswj Ws2812 Neopixel LED Sawb Hla Bluetooth Siv Arduino Uno

Nyob zoo cov neeg hauv phau ntawv qhia no peb yuav kawm paub tswj neopixel nrog arduino. Yog li qhov pib arduino yuav txuas nrog Bluetooth siv hc05 Bluetooth module rau lub xov tooj thiab smartphone yuav xa cov lus txib kom hloov xim ntawm neopixel coj sawb hla Bluetooth rau arduino siv hc05 thiab raws li neopixel coj sawb xim yuav hloov.

Kauj Ruam 1: Yam Koj Xav Tau

Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau
Yam Koj Xav Tau

Rau cov lus qhia no koj yuav tsum tau ua raws li yam no. ARDUINO UNO: HC05: tau txais WS2812 Neopixel LED STRIPORWS2812 LED: WS2812 LED Ntiv Nplhaib: Thiab ob peb yam ntxiv ntxiv xws li cov xov tooj cuaResistor 1k 2kBreadboard thiab lwm yam

Kauj ruam 2: Circuit Court

Circuit Court
Circuit Court

npaj Circuit Court ntawm lub khob cij raws li tau hais schmatics hauv daim duab & sim siv lwm lub zog siv rau ws2812 tsis txhob siv nws los ntawm Arduino uno vim tias ARDUINO tsis tuaj yeem ua haujlwm ws2812. & Bluetooth tib lub sijhawm yog li sim siv ntxiv 5v lub zog hloov hluav taws xob rau ws 2812 Yog tias koj tsis muaj lub zog txuas ntxiv ces hauv txoj cai koj tuaj yeem txo qhov ci ntawm neopixel coj sawb kom txo lub zog siv los ntawm nws.

Kauj Ruam 3: Coding Tshooj

Coding Tshooj
Coding Tshooj

Rub tawm txoj cai: Thiab nco ntsoov tias koj nruab adafruit neopixel lub tsev qiv ntawv tau teeb tsa. Thiab hauv cov cai teeb tsa cov ntaub ntawv tus pin ntawm coj sawb, tsis muaj coj hauv coj sawb & ci ntawm cov coj sawb & xa cov cai rau Arduino.

Kauj Ruam 4: Teeb Lub App thiab Xeem Nws

Teeb App thiab Kuaj Nws
Teeb App thiab Kuaj Nws
Teeb App thiab Kuaj Nws
Teeb App thiab Kuaj Nws
Teeb App thiab Kuaj Nws
Teeb App thiab Kuaj Nws

qhib lub khw ua si ntawm koj lub xov tooj thiab rub tawm Bluetooth lub davhlau ya nyob twg hc 05 app thiab txuas lub app rau hc05 Bluetooth module, yog tias koj muaj iPhone los ntawm Apple lub khw rub tawm ib qho Bluetooth davhlau ya nyob twg app nws yuav ua haujlwm tau zoo. Thiab xa cov cim los ntawm app rau hc 05 los tswj coj sawb raws li qhia hauv duab. Raws li xa tus cim "r" yuav tig coj kab txaij mus rau xim liab zoo ib yam txhua qhov haujlwm tau muab hauv qab no: -CHARACTER FUNCTION "r" xim liab coj sawb "g" xim ntsuab coj sawb "b" xim xiav coj sawb "w" xim dawb coj sawb "o" tua "a" zaj duab xis zaj duab xis "m" sib xyaw qauv Yog li sim tag nrho cov cim no & xa nws & txaus siab rau koj coj coj sawb teeb pom kev hauv koj lub tsev

Pom zoo: