Cov txheej txheem:

Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad: 8 Kauj Ruam (nrog Duab)
Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad: 8 Kauj Ruam (nrog Duab)

Video: Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad: 8 Kauj Ruam (nrog Duab)

Video: Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad: 8 Kauj Ruam (nrog Duab)
Video: Tus Luag Lis Ntxhi MV by Deeda/Dib Xwb ft Kay Xiong 2024, Kaum ib hlis
Anonim
Image
Image
Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad
Unicorn Horn Nrog NeoPixel LEDs & Arduino Lilypad

Nyob zoo sawv daws, Hnub no kuv yuav ua 3D Luam Unicorn Horn. Kuv pom thiab tau ua txoj haujlwm hauv Adafruit lub vev xaib txog ib xyoos dhau los tab sis kuv nrhiav tsis tau lub sijhawm los qhia nws. Nws zoo nkaus li zoo thaum tawm mus rau tog thiab tshwj xeeb tshaj yog thaum yav tsaus ntuj.:)

Kuv tau txais lub suab tawm ntawm lub tshuab luam ntawv 3D ntawm txoj haujlwm. Yog tias koj tsis muaj lub tshuab luam ntawv 3D, koj tuaj yeem ua lub tshuab raj koj tus kheej nrog cov ntaub ntawv uas koj xav tau.

Cia peb pib!

Kauj Ruam 1: Cov Ntaub Ntawv:

Cov ntaub ntawv
Cov ntaub ntawv
  • NeoPixel Stick (x2)
  • Lilypad (x1)
  • USB Serial Converter (x1)
  • Roj teeb Lipo (x1)
  • Lipo Roj Teeb Txuas (x1)
  • Micro USB Cable (x1)
  • Poj Niam Poj Niam Jumper Cable (x6)
  • Lub kaus mom
  • Qee Cov Paj Rwb
  • Unicorn Horn
  • Koob-hlua

Kauj ruam 2: Upload Code rau Arduino Lilypad

Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
Upload Code rau Arduino Lilypad
  • Ua ntej peb pib los ntawm kev xa cov cai rau Lilypad. Cia peb ua qhov txuas ntawm USB Serial Converter - Lilypad zoo li hauv daim duab.
  • Txuas ib kawg ntawm Micro USB rau hauv koj lub computer thiab lwm qhov rau hauv USB Serial Converter cov tswv yim.
  • Qhib Arduino IDE. Hauv daim npav ntu, xaiv koj Lilypad thiab tus lej chaw nres nkoj thiab thauj cov cai Arduino.

Koj tuaj yeem pom cov cai ntawm Github lossis los ntawm no. Txuas:

Tom qab peb tso cov cai rau Lilypad, peb tau ua tiav nrog FTDI thiab micro USB.

Kauj Ruam 3: Kev Sib Txuas ntawm NeoPixels

Kev sib txuas ntawm NeoPixels
Kev sib txuas ntawm NeoPixels
Kev sib txuas ntawm NeoPixels
Kev sib txuas ntawm NeoPixels
Kev sib txuas ntawm NeoPixels
Kev sib txuas ntawm NeoPixels

Ua ntej peb txuas NeoPixels ib leeg

* Dab tsi peb yuav tsum tau them sai sai hauv ntu no yog txhawm rau txuas cov kab hluav taws xob luv thaum txuas NeoPixels.

* Thaum ua NeoPixel thiab Lilypad kev sib txuas, cov hlua txuas tau ntev me ntsis kom qhov no tuaj yeem yooj yim tso rau hauv lub kaus mom.

Solder GND, DIN, 5V pins ntawm thawj NeoPixel rau GND, DIN thiab 5V ntawm NeoPixel thib ob feem

Kauj ruam 4: NeoPixel-LilyPad Kev Sib Txuas

NeoPixel-LilyPad Kev Sib Txuas
NeoPixel-LilyPad Kev Sib Txuas
NeoPixel-LilyPad Kev Sib Txuas
NeoPixel-LilyPad Kev Sib Txuas
NeoPixel-LilyPad Kev Sib Txuas
NeoPixel-LilyPad Kev Sib Txuas
  • Solder GND ntawm thawj NeoPixel rau (-) tus pin (rho tus lej) ntawm Lilypad.
  • Solder tus thib ob NeoPixel 5V rau (+) tus pin (ntxiv rau tus pin) ntawm Lilypad.
  • Solder DIN ntawm NeoPixel thib ob rau tus pin 11 ntawm Lilypad.

Peb cov kev txuas tau npaj tiav!

Kauj Ruam 5: Lilypad - Kev Sib Txuas Lipo

Lilypad - Kev Sib Txuas Lipo
Lilypad - Kev Sib Txuas Lipo
Lilypad - Kev Sib Txuas Lipo
Lilypad - Kev Sib Txuas Lipo
  • Peb yuav txuas JST Lipo cable rau (+) ntxiv thiab (-) rho tawm cov tswv yim ntawm Lilypad.
  • Siv cov kab liab liab ntawm JST rau (+) ntxiv rau tus pin ntawm Lilypad, thiab cov kab dub ntawm JST mus rau Lilypad's (-) rho tus pin.

Kauj Ruam 6: UniCorn Horn & Hat

UniCorn Horn & Lub kaus mom
UniCorn Horn & Lub kaus mom
UniCorn Horn & Lub kaus mom
UniCorn Horn & Lub kaus mom
UniCorn Horn & Lub kaus mom
UniCorn Horn & Lub kaus mom
  • Koj tuaj yeem ncav cuag 3D tsim ntawm Unicorn horn los ntawm qhov txuas. Txuas:
  • Muab lub qhov nyob rau hauv xub ntiag ntawm lub kaus mom uas NeoPixels tuaj yeem hla tau. Kuv rub tawm cov nqaws ntawm qhov ntawd, yog li lub kaus mom tsis puas.
  • Hla NeoPixels los ntawm no. Qhwv ib co paj rwb nyob ib ncig ntawm NeoPixels kom faib cov teeb kom zoo ib yam.
  • Muab Unicorn tso rau ntawm lub tshuab raj thiab xaws nws hauv lub kaus mom los ntawm lub qhov.

Kauj Ruam 7: Xaws rau lub kaus mom

Xaws rau lub kaus mom
Xaws rau lub kaus mom
Xaws rau lub kaus mom
Xaws rau lub kaus mom
Xaws rau lub kaus mom
Xaws rau lub kaus mom
  • Muab Lilypad tso rau hauv qhov sib txawv sab hauv ntawm lub kaus mom thiab tom qab ntawd xaws nws hauv ob peb qhov chaw los kho nws.
  • Muab lub roj teeb Lipo tso rau hauv kab noj hniav sab hauv lub kaus mom thiab xaws nws zoo ib yam.
  • Raws li hauv daim duab qhwv lub Lilypad thiab Lipo roj teeb txuas cov xov hluav taws xob tau pom los ntawm sab nraum qab ntawm lub kaus mom.

Kauj ruam 8: Hnav nws

Hnav Nws!
Hnav Nws!

Tom qab cov txheej txheem xaws tiav, Lilypad thiab Lipo roj teeb tau tsau rau qhov chaw, koj tuaj yeem txuas rau koj lub kaus mom.

Thiab peb tes num yog npaj txhij! Thaum mus rau tog lossis tawm mus thaum yav tsaus ntuj, nco ntsoov khaws koj lub kaus mom Unicorn!:)

Pom zoo: