Cov txheej txheem:

Selenite RGB Teeb: 6 Kauj Ruam
Selenite RGB Teeb: 6 Kauj Ruam

Video: Selenite RGB Teeb: 6 Kauj Ruam

Video: Selenite RGB Teeb: 6 Kauj Ruam
Video: 13 САМЫХ КРУТЫХ ГАДЖЕТОВ для вашей КОМНАТЫ, которые стоит купить 2024, Kaum ib hlis
Anonim
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb
Selenite RGB Teeb

Kuv tau ua lub teeb tawm ntawm qhov me me ntawm selenite siv lead ua, ib qho siv lead ua, ib txwm, zoo li txaus nrog lub teeb. Nws tau tswj los ntawm arduino Nano, thiab yog li nws muaj qhov tsis muaj qhov tsis zoo rau teeb pom kev zoo. Kuv tsuas yog siv Potentiometer yooj yim los hloov xim. (Saib kuv cov lej ntawm qib 6)

RGB LEDs Kuv tau siv yog ib leeg LED tawm ntawm 144LED / meter kab txaij, thiab yog qhov me me thiab nyuaj heev rau cov laug. Yog tias koj yog tus pib ntawm kev siv tshuaj yaj yeeb, lossis tsuas yog xav tau qee yam yooj yim me ntsis, Kuv pom zoo siv leds tawm ntawm 60 lossis txawm tias 30 LED's/meter sawb, raws li pom hauv duab plaub.

Khoom siv

Ib slab ntawm selenite

Ntoo slab (Kuv siv qee cov txiv ntoo qab zib)

ib qho arduino nano

4x RGB WS12B leds

xaim me me

3D tshuab luam ntawv (yeem)

1 10k potentiometer

1 6v 500mA lub adapter loj (xaiv tau, koj tseem tuaj yeem siv nws los ntawm 5V ncaj qha los ntawm qhov chaw nres nkoj arduino.)

kua nplaum

Kauj Ruam 1: Tau Ntoo Slab

Peb muaj ib feem ntawm tsob ntoo cherry nyob ib puag ncig, yog li kuv tau siv daim ntawv ntawm qhov no. Kuv tsis zoo ntawm kev ua ntoo, yog li kuv tawm ntawm qhov slab zoo li nws yog.

Cov nplais kuv siv yog nyob ib puag ncig 5CM tuab, tab sis koj ib txwm tuaj yeem tuab dua los yog ua kom nyias nyias yog tias koj xav tau. Sim ua kom qhov no tiaj tus li sai tau, nws yuav zoo li zoo dua thiab ua kom yooj yim dua.

Kauj Ruam 2: Sau Cov Pob Zeb Me Me

Sau Me Me Pob Zeb
Sau Me Me Pob Zeb

Txog qhov txiaj ntsig zoo tshaj plaws, koj yuav xav tau cov khoom no kom zoo li qhov loj me, thiab nrog lub tiaj hauv qab/sab saum toj, raws li peb yuav tso lawv rau saum ib leeg tom qab.

Kuv tau ua qhov no los ntawm kev pom thawj lub pob zeb loj, (ncaj li sai tau), tom qab ntawd ua tib zoo siv tus rauj los tsoo nws ua qhov me me.

Cov khoom kuv siv yog txog 5 CM siab, thiab 2 cm dav. Nco ntsoov khaws cov kab me me uas yuav tawm tuaj, vim tias lawv zoo heev los sau qee qhov chaw tom qab.

Kauj ruam 3: Tsev

Tsev!
Tsev!

Tam sim no, qhov tseem ceeb tshaj plaws ntawm lub teeb, lub hauv paus. Kuv pom zoo kom siv cov leds ib zaug, nrog cov xov hlau ntev dua li neccesairy, yog li koj muaj qhov chaw los txiav lawv yog tias xav tau, lossis hle lawv yooj yim dua.

Kuv xub xub siv cov xov hlau ntev heev rau thawj coj (Nco cov ntaub ntawv qhia, qhia los ntawm tus xub me.) Cov no yuav raug siv los txuas lawv mus rau arduino tom qab. tom qab lo ib qho ntawm cov leds rau ntoo puag, nrog cov xov txuas, kuv pib tso pob zeb nyob ib puag ncig nws, tsis muaj kua nplaum, txhawm rau nrhiav tus qauv uas kuv nyiam. Tom qab kuv pom qhov ntawd, kuv glued lawv.

Nco ntsoov cia cov kua nplaum qhuav ua ntej pib txheej thib ob! Lub sijhawm xav tau yuav hloov nyob ntawm cov kua nplaum uas koj siv. Kuv tos txog ib teev ntawm cov txheej. Koj tseem yuav pom qee cov kua nplaum yuav muaj lub sijhawm nyuaj tiag tiag rau cov muaju, yog li nco ntsoov nws tuaj yeem qhuav hauv qhov chaw ruaj khov.

Kauj ruam 4: Mus txuas ntxiv

Mus txuas ntxiv!
Mus txuas ntxiv!
Mus Ntxiv Mus!
Mus Ntxiv Mus!

Tam sim no, nws tsuas yog rov ua cov kauj ruam 3! Nco ntsoov lo cov leds ua ntej, vim tias lawv tuaj yeem nyuaj tuav tseem nyob rau tib qhov chaw kom cov kua nplaum tuaj yeem qhuav, thiab tsis txhob hnov qab cov xov hlau! Tom qab ntawd, tsuas yog khaws cov pob zeb mus rau txheej yav dhau los!

Kuv ua 3 txheej, tab sis koj tuaj yeem mus ntau dua lossis tsawg dua yog tias koj xav tau = D

Kauj Ruam 5: Txuas Cov Hluav Taws Xob, thiab Tshaj Tawm Txoj Cai

Txuas Cov Hluav Taws Xob, thiab Tshaj Tawm Txoj Cai!
Txuas Cov Hluav Taws Xob, thiab Tshaj Tawm Txoj Cai!

Tom qab txhua qhov ntawd, peb yuav luag tiav! Koj tsuas yog yuav tsum txuas cov xov hlau mus rau arduino!

Muaj 3 xov hlau ntawm LED.

Qhov nruab nrab ib txwm yog cov ntaub ntawv, txuas qhov no rau txhua tus lej digital ntawm arduino. (Kuv siv tus pin 4.)

Ob sab sab nraud yog rau lub zog: 5V thiab hauv av.5V yuav cim nrog "5V" lossis "+", thiab koj tuaj yeem txuas qhov no mus rau 5V tus pin ntawm arduino.

av yog cim ua "GND" lossis "-", thiab qhov ntawd mus rau ib qho ntawm GND pins ntawm arduino.

Txog cov cai, koj tuaj yeem siv cov cai uas koj xav tau, muaj txiaj ntsig zoo li cas! Kuv siv lub lauj kaub yooj yim (saib cov kauj ruam tom ntej) los hloov cov xim ntawm cov xim zas xim, tab sis txhua yam tuaj yeem ua tau. Rau qhov piv txwv yooj yim, Kuv pom zoo FastLED demo 100 los ntawm Kriegsman Nco ntsoov hloov pauv qhov chaw rau koj lub pluaj/teeb tsa!

Lossis, txheeb xyuas kuv cov lej ntawm qib 6, rau kev tswj hwm nrog lub zog!

Kauj Ruam 6: (Xaiv tau) Ntxiv Potentiometer

(TSIS MUAJ) Ntxiv Potentiometer
(TSIS MUAJ) Ntxiv Potentiometer
(TSIS MUAJ) Ntxiv Potentiometer
(TSIS MUAJ) Ntxiv Potentiometer

Yog tias koj xav siv lub hwj chim ntsuas hluav taws xob los tswj cov xim, Koj yuav tsum tau ua cov kauj ruam no ib yam nkaus. Qhov lauj kaub, koj yuav pom, kuj muaj 3 lub xov hlau. Ib zaug ntxiv, cov sab nraud yog rau lub zog, ib nrab yog rau cov ntaub ntawv. Txuas ib qho ntawm sab nraud mus rau 5V ntawm arduino, thiab lwm sab nraud rau GND. Qhov nruab nrab txuas rau ib tus pin analog. (Kuv siv A0).

Koj tuaj yeem rub tawm cov cai kuv siv hauv qab no:

Rub tawm kuv tus lej ntawm no

Pom zoo: