Cov txheej txheem:

3D Luam Ntawv Nyij Pooj Teeb Nrog Tsiaj Pom Teeb: 3 Kauj Ruam
3D Luam Ntawv Nyij Pooj Teeb Nrog Tsiaj Pom Teeb: 3 Kauj Ruam

Video: 3D Luam Ntawv Nyij Pooj Teeb Nrog Tsiaj Pom Teeb: 3 Kauj Ruam

Video: 3D Luam Ntawv Nyij Pooj Teeb Nrog Tsiaj Pom Teeb: 3 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Image
Image
Circuit Court
Circuit Court

Kuv tau tsim 3d luam tawm Japanese style décor teeb nrog Arduino tswj chaw nyob RGB coj sawb. Kuv vam tias koj txaus siab rau nws, sim ua koj tus kheej thiab txhim kho kuv txoj haujlwm nrog koj txoj kev koom tes.

Khoom siv

  • WS2812B coj sawb (https://www.aliexpress.com/item/32854968564.html)
  • Arduino (Kuv nyiam Nano vim qhov loj me)
  • USB Ib Tus Poj Niam Txuas
  • Cable
  • Daim ntawv xim dej 160g

Kauj ruam 1: Circuit Court

Circuit Court
Circuit Court

Muaj ntau txoj hauv kev rau teeb pom kev zoo, txawm tias yog lub teeb qub. Kuv siv WS2812 vim tias lawv ob leeg tau siv nrog 5V USB, thiab lawv tuaj yeem siv rau teeb pom kev zoo.

Txiav koj cov hlua coj (WS2812) los tsim ib lub xwmfab thiab ua kom muaj kev sib txuas zoo li pom hauv daim duab kab lus saum toj no.

Qhov loj me me (sab nrauv) yuav tsum yog ntau tshaj 8.1 cm kom haum rau hauv paus. Txiav & txuas koj cov hlua coj kom haum.

Cov qauv tsim hluav taws xob tseem nyob ntawm tinkercad:

Kauj ruam 2: Upload Code

Muaj ntau qhov piv txwv ntawm cov phiaj xwm Arduino los tsav WS2812. Kuv siv hsiboy tus lej (https://gist.github.com/hsiboy/f9ef711418b40e259b06) thiab xaiv cov animation #9.

ino cov ntaub ntawv tseem txuas rau qhov kev qhia no.

Koj tuaj yeem hloov pauv qhov ua kom nrawm los ntawm kev ua si nrog tus nqi animateSpeed.

Kauj ruam 3: Luam & Tsim

Luam & Tsim
Luam & Tsim
Luam & Tsim
Luam & Tsim
Luam & Tsim
Luam & Tsim

Koj yuav pom cov ntaub ntawv stl ntawm nplooj ntawv no lossis ntawm Thingiverse (https://www.thingiverse.com/thing:4128367). Tsuas yog rub tawm thiab luam tawm lawv. Koj yuav xav tau 4 daim ntawv theej ntawm #4 rau txhua sab.

Kuv tau ntxiv 0.2 hli txheej txheej los tiv thaiv warping ntawm luam ntawv. Yog tias koj muaj teeb meem tib yam lossis koj xav hloov kho qee yam hauv kuv tus qauv koj tuaj yeem clone kuv tus qauv Tinkercad ntawm

Cov lej raug suav (1..6) los ntawm hauv qab mus rau saum. Cov ntu tau tsim los kom koj tsis tas yuav ntxiv kev txhawb nqa tshwj tsis yog thawj tus (#1).

Muab cov ntawv tso rau sab hauv thiab sab phab ntsa. Kuv nyiam daim ntawv xim dej vim tias nws cov qauv zoo nkauj dua.

Ntu #3 yog rau coj sawb thiab Arduino. Koj tuaj yeem lo nws rau #2, tab sis kuv hais kom ntswj nws rau kev saib xyuas ntxiv.

Koj tuaj yeem ua ke tag nrho lwm qhov nrog cov kua nplaum.

Pom zoo: