Cov txheej txheem:

Tsab ntawv tsa suab txhais Neopixel RGB Nkawm khau!: 5 Kauj Ruam (nrog Duab)
Tsab ntawv tsa suab txhais Neopixel RGB Nkawm khau!: 5 Kauj Ruam (nrog Duab)

Video: Tsab ntawv tsa suab txhais Neopixel RGB Nkawm khau!: 5 Kauj Ruam (nrog Duab)

Video: Tsab ntawv tsa suab txhais Neopixel RGB Nkawm khau!: 5 Kauj Ruam (nrog Duab)
Video: Tsab Ntawv Tsev Tsaus Ntuj - Yang Kao Moua - New Song 2023 - 2024 2024, Hlis ntuj nqeg
Anonim

NeoPixel's zoo heev peb tuaj yeem tswj tau ntau pua lub teeb nrog 3 lub xov tooj piv txwv li 5V, Din & GND thiab hauv qhov kev qhia no, kuv yuav qhia koj li cas tuaj yeem ua rau Motion Triggered NeoPixel RGB Shoes!

Yog li tsis muaj ado ntxiv cia pib.

Khoom siv

Cov ntaub ntawv:

  1. Kev co Sensor Module (Ib qho kuv tab tom siv yog DIY version Koj tuaj yeem tshawb xyuas kuv cov ntawv dhau los rau qhov ntawd)
  2. Arduino Nano Cov
  3. WS2812B Neopixel LEDs

Cov Cuab Yeej:

  1. Soldering Hlau
  2. Cov hlau xaim
  3. Pab txhais tes
  4. Kub nplaum

Kauj Ruam 1: Gluing LED's ntawm Khau

Gluing LEDs ntawm Khau
Gluing LEDs ntawm Khau
Gluing LEDs ntawm Khau
Gluing LEDs ntawm Khau
Gluing LEDs ntawm Khau
Gluing LEDs ntawm Khau

Thaum koj muaj tag nrho cov khoom siv, peb tuaj yeem pib tsim ua ntej kuv nqa cov khau thiab pib ntsuas seb LEDs ntau npaum li cas kuv tuaj yeem haum nyob ib puag ncig khau, rau kuv nws yog 44 LEDs. Yog li kuv txiav 2 khub ntawm LED kab ib leeg nrog 44 LEDs tam sim no siv qee cov kua nplaum kub, Kuv glued lawv ib ncig ntawm lub khau kom paub tseeb tias koj pib tom qab yog li peb tuaj yeem txuas xov hlau tom qab.

Kauj Ruam 2: Arduino thiab Roj Teeb

Arduino thiab Roj Teeb
Arduino thiab Roj Teeb
Arduino thiab Roj Teeb
Arduino thiab Roj Teeb
Arduino thiab Roj Teeb
Arduino thiab Roj Teeb

Tom qab gluing LEDs ib ncig ntawm lub khau, Nws yog lub sijhawm los ua haujlwm ntawm qee Cov Khoom Siv Hluav Taws Xob, Kuv tau siv ob lub 18650 Li-ion cells thiab muab tso rau hauv cov kab me me dub uas yog xaiv tau koj tuaj yeem siv qee daim kab xev los tuav lawv ua ke, Cov hlwb no yog 4.2V txhua qhov tam sim no peb yuav txuas lawv ua ntu zus rau 8.4 volt roj teeb pob uas kuv tau siv cov hlau txuas thiab cov xaum npib tsib xee koj tseem tuaj yeem xaim ib qho me me ntawm xaim, tam sim no txuas lub +ve kawg ntawm lub roj teeb rau Vin tus pin ntawm Arduino Nano thiab endVe kawg ntawm lub roj teeb rau GND ntawm Arduino qhov no yuav ncaj qha ncaj qha rau Arduino nano siv roj teeb, Thaum lub sijhawm kuv tsis muaj lub hloov pauv yog li kuv tsuas yog txiav ntawm Cov av hauv av thiab tom qab ntawd kuv yuav cia li ntswj cov xov hlau rau lub zog lawv.

Kauj Ruam 3: Ntxiv Kev Ruaj Ntseg Sensor

Ntxiv Kev Ruaj Ntseg Sensor
Ntxiv Kev Ruaj Ntseg Sensor
Ntxiv Kev Ruaj Ntseg Sensor
Ntxiv Kev Ruaj Ntseg Sensor
Ntxiv Kev Ruaj Ntseg Sensor
Ntxiv Kev Ruaj Ntseg Sensor

Thaum ua tiav lawm, coj lub ntsuas kev co thiab siv ib qho ntawm nws cov hlau lead rau 5V ntawm Arduino thiab lwm yam rau Digital Pin 2 ntawm Arduino, Tam sim no uas ua tiav nqa koj cov khau thiab txuas 5V rau 5V GND rau GND thiab Din tus pin ntawm LEDs rau Digital tus pin 13 ntawm Arduino Zoo ib yam, kuv rov ua cov txheej txheem no rau lwm cov khau thiab qhov ntawd yog txhua yam peb yuav tsum ua rau hluav taws xob.

Nco tseg: Sensor kuv siv yog DIY version lossis Zoo ib yam los ntawm Adafruit

Yog tias koj siv xav siv Kev Ntsuas Kev Ruaj Ntseg Zoo li qhov no koj tuaj yeem ua tau, Tsuas yog nco cov uas muaj 3 tus pin, txuas Vcc rau 5V, GND rau GND thiab Ua (Digital Output) rau Digital Pin 13 ntawm Arduino. Siv lub zog ntsuas ntawm tus qauv ntawd koj tuaj yeem kho qhov rhiab heev ntawm koj txhais tes.

Kauj ruam 4: Programming

Programming!
Programming!
Programming!
Programming!

Tam sim no nws yog lub sijhawm rau upload cov cai rau peb Arduino thaum rub tawm cov cai tsuas yog hloov pauv thiab nkag mus rau tus lej ntawm LEDs Koj muaj ntawm koj nkawm khau rau kuv nws yog 44 LEDs, yog li tsuas yog hloov qhov ntawd thiab tso cai rau ob qho tib si Arduino!

Tom qab ua tiav kev xa cov cai, koj tuaj yeem muab me me coj mus rau lub ntsuas kom paub tseeb tias nws ua haujlwm thiab zoo li koj tuaj yeem pom nws ua haujlwm tsis muaj qhov tsis zoo, tam sim no koj tuaj yeem siv qee cov kua nplaum kub los txhim kho Arduino ntawm lub roj teeb thiab tom qab ntawd siv qee daim kab xev ob sab. (Los yog siv Velcro) Kuv kho lub roj teeb tom qab khau thiab txoj haujlwm no tau ua tiav!

Koj tuaj yeem rub tawm cov cai los ntawm hauv qab no!

Nco tseg: Koj yuav tsum teeb tsa Adafruit Neopixel Library

Kauj ruam 5: Koj Ua Tau

Koj Ua Tau!
Koj Ua Tau!

Nrog koj zoo siab nws tau ua! Tam sim no koj tuaj yeem yog tus nerd thiab tseem yog pob zeb hauv av nrog cov khau txaus no!

Yog li ntawd nws zoo nkauj heev rau cov lus qhia no, Yog tias koj nyiam kuv txoj haujlwm txiav txim siab txheeb xyuas kuv li YouTube channel rau ntau yam khoom txaus: https://www.youtube.com/NematicsLabKoj tseem tuaj yeem ua raws kuv ntawm Facebook, Twitter, thiab lwm yam rau cov haujlwm yav tom ntej

www.facebook.com/NematicsLab/

www.instagram.com/NematicsLab/

twitter.com/NematicsLab

Pom zoo: