Cov txheej txheem:

LED Qhov Me Me Nendoroid Qhov Cub: 9 Kauj Ruam (nrog Duab)
LED Qhov Me Me Nendoroid Qhov Cub: 9 Kauj Ruam (nrog Duab)

Video: LED Qhov Me Me Nendoroid Qhov Cub: 9 Kauj Ruam (nrog Duab)

Video: LED Qhov Me Me Nendoroid Qhov Cub: 9 Kauj Ruam (nrog Duab)
Video: oo ee oo 2024, Kaum ib hlis
Anonim
LED Me Me Nendoroid Qhov Cub
LED Me Me Nendoroid Qhov Cub

Koj cov nendoroids tsim nyog tau txais hmo sov, zoo nyob los ntawm qhov hluav taws Christmas no.

Cov ntaub ntawv:

  • Qhov cub me me ntoo
  • Adafruit Pro Trinket 5V*
  • Mini PCB Neopixel 5 pob
  • 30 awg silicone hlau
  • Micro USB cable (hom phiaj lub kaum sab xis USB cable)
  • Solder
  • Kub kua nplaum
  • Quilt batting scraps
  • Hniav zoo nkauj

Cov Cuab Yeej:

  • Soldering hlau
  • Kub kua nplaum phom
  • Cov nab kuab
  • Lub zog laum + 1/8 "laum ntsis
  • Koob qhov ntswg pliers
  • Hlau txiav
  • Yaug cutters

*Qee qhov sau tseg ntawm kev xaiv microcontroller: Kuv xav tau qee yam nrog ua hauv USB chaw nres nkoj. Kuv tau npaj ua ntej yuav siv Trinket M0 tab sis FastLED tseem tsis ua haujlwm nrog lub rooj tsavxwm ntawd. Tsis tas li, thawj Trinket (attiny85) qeeb dhau rau qhov ua kom nrawm uas kuv xav tau.

Kauj Ruam 1: Cov laug LEDs

Solder LEDs
Solder LEDs
Solder LEDs
Solder LEDs
Solder LEDs
Solder LEDs
Solder LEDs
Solder LEDs

Ua txhaum 5 LED sawb rau ntu 3 thiab 2. Lawv tsis tau txuas nrog hluav taws xob yog li koj yuav tsum tau muab lawv sib dhos ua ke. Qhov no yog ib txoj haujlwm nyuaj heev. Koj tuaj yeem siv lub taub hau pins nrog rau Pro Trinket los txuas cov pins ua ke.

  • Tin tag nrho cov pawm
  • Siv rab rab qhov ntswg rub lub taub hau taub hau tawm ntawm cov yas dub.
  • Txiav tawm li 1/3 ntawm qhov ntev nrog koj cov yaug dej.
  • Muab tus pin nruab nrab ntawm ob daim ntaub qhwv. Tuav tes nrog rab rab qhov ntswg lossis rau tes.
  • Nias soldering hlau nqes ntawm ib kawg ntawm tus pin kom txog thaum tus laug ntawm lub ncoo yaj rau nws thiab tuav nws me ntsis.
  • Tam sim no solder lwm sab ntawm tus pin - ntxiv qee cov laug.
  • Rov qab mus rau thawj sab thiab ntxiv qee qhov txuas ntxiv.

Txog qhov ua yeeb yaj kiab, Kuv muaj daim vis dis aus ntawm kuv tus twitter.

Thaum koj tau siv cov LEDs ua ke ntawm cov laug cam, ntxiv cov xov hlau ntawm cov ntu. Nco ntsoov ua raws cov ntaub ntawv hauv -> cov ntaub ntawv tawm kev taw qhia!

Ntsuas qhov ntev kom raug los ntawm kev tso cov LEDs rau hauv qhov cub uas koj xav tau. Koj yuav xav ua cov ntaub ntawv thiab cov xov hlau hauv av ntawm ntu ntu ntev dua vim tias lawv yuav tsum mus deb dua, los ntawm hauv qab hauv ntej mus rau sab saum toj ntawm 2-LED ntu thaum muab tso rau hauv qhov cub.

Kuj tseem siv cov xaim hluav taws xob nyob ntawm sab xub ntiag ntawm 3 -LED ntu - ntev txaus kom mus txog tom qab ntawm lub qhov cub.

Kauj ruam 2: Upload Code rau Microcontroller

Yog tias koj tsis tau teeb tsa nws, ua raws Adafruit cov lus qhia rau txhim kho cov tsav tsheb thiab npaj Arduino IDE rau siv nrog Pro Trinket.

Cov duab kos tau txuas nrog. Kuv siv FastLED los tsim cov tsiaj ntawv, yog li thov nco ntsoov tias koj tau teeb tsa lub tsev qiv ntawv FastLED.

Ua tsaug rau Erin St Blaine uas nws tus lej kuv ua raws qhov no.

Kauj Ruam 3: Xeem LEDs

Xeem LEDs
Xeem LEDs

Kuv pom zoo sim tawm koj cov LEDs kom ntseeg tau tias txhua yam tau muag zoo ua ntej mus.

Kev Sib Txuas:

  • Cov ntaub ntawv -> tus pin 3
  • 5V -> BUS (USB zog)
  • GND -> GND

Koj tuaj yeem siv cov yeeb yaj kiab. Kaw rau ntawm cov xov hlau mus rau hauv LEDs thiab ua tib zoo kaw rau ntawm lub rooj tsavxwm. Kuv pom zoo siv ib qho ntawm GND pins nyob deb ntawm BUS yog li koj tsis txhob ua yuam kev dab tsi.

Kauj Ruam 4: Npaj Qhov cub

Npaj qhov cub
Npaj qhov cub
Npaj qhov cub
Npaj qhov cub
Npaj qhov cub
Npaj qhov cub
Npaj qhov cub
Npaj qhov cub

Siv lub zog laum thiab 1/8 ntsis, tho qhov hauv qab ntawm lub qhov cub kom koj tuaj yeem pub cov xov hlau hla mus rau tom qab.

Kauj Ruam 5: Muab cov kua nplaum tso rau hauv qhov chaw

Glue LEDs hauv Qhov Chaw
Glue LEDs hauv Qhov Chaw
Glue LEDs hauv Qhov Chaw
Glue LEDs hauv Qhov Chaw
Glue LEDs hauv Qhov Chaw
Glue LEDs hauv Qhov Chaw

Pub cov xov hlau hla mus rau tom qab ntawm lub qhov cub, thiab tom qab ntawd siv cov kua nplaum kub los txuas cov LEDs rau lub qhov cub ntoo. Cov kua nplaum kub kub zoo nkauj heev, tab sis nws tuaj yeem tshem tawm yog tias koj ua yuam kev.

Kauj Ruam 6: Solder LEDs rau Microcontroller

Solder LEDs rau Microcontroller
Solder LEDs rau Microcontroller
Solder LEDs rau Microcontroller
Solder LEDs rau Microcontroller
Solder LEDs rau Microcontroller
Solder LEDs rau Microcontroller

Tam sim no cov LEDs nyob hauv qhov chaw thiab cov xov hlau tau khiav hla mus rau tom qab, muab cov xov hlau txuas rau lub microcontroller.

  • Liab: 5V -> BUS (USB zog)
  • Dub: GND -> GND
  • Daj: Cov ntaub ntawv -> tus pin 3

Txiav cov xov hlau ntau dhau nrog cov tshuab txiav. Kub nplaum lub microcontroller board rau sab nraum qab ntawm qhov cub.

Kauj Ruam 7: Ntxiv Diffusion

Ntxiv Diffusion
Ntxiv Diffusion
Ntxiv Diffusion
Ntxiv Diffusion
Ntxiv Diffusion
Ntxiv Diffusion

Txiav tawm ob daim me me ntawm daim pam thiab rub lawv mus rau hauv qhov cub. Koj tuaj yeem siv lwm yam ntxiv rau kev nthuav dav yog tias koj nyiam - tej zaum ntawv/daim npav lossis acrylic txiav rau hauv cov duab hluav taws.

Kauj Ruam 8: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj

Koj tuaj yeem siv qee daim ntawv hnub so los ua lub qhov cub yog tias koj nyiam. Kuv txiav ib co ntsuab tinsel ribbon los ua paj ntaub thiab kub kub nws rau ntawm qhov cub. Kuv kuj tau khi ib rab hneev me me thiab kub kub rau ntawd ib yam.

Kauj ruam 9: Txaus siab rau

Plug koj lub qhov cub thiab txaus siab rau! Thiab tej zaum ua si qee qhov hluav taws kub tawg suab los ib yam.

Pom zoo: