Cov txheej txheem:

Tissue Box With LED Light Show: 4 Kauj Ruam
Tissue Box With LED Light Show: 4 Kauj Ruam

Video: Tissue Box With LED Light Show: 4 Kauj Ruam

Video: Tissue Box With LED Light Show: 4 Kauj Ruam
Video: 4 Health Benefits of Light Therapy 2024, Hlis ntuj nqeg
Anonim
Tissue Box Nrog LED Teeb Qhia
Tissue Box Nrog LED Teeb Qhia
Tissue Box Nrog LED Teeb Qhia
Tissue Box Nrog LED Teeb Qhia

Muaj lub cev nqaij daim tawv ib txwm tsis muaj teeb meem loj lossis siv Arduino los ua lub teeb pom kev nyuaj. Tab sis los ntawm kev sib txuas ob yam koj tau txais qee yam sib txawv.

Lightshow Thawj Txoj Cai

Kauj ruam 1: Cov ntaub ntawv

  • 10 LEDs (Xiav, Ntsuab, Liab, Dawb, Daj) * ob ntawm txhua qhov
  • 6 220-ohm resistors
  • 4 100-ohm resistors
  • Arduino UNO lossis LEONARDO
  • USB cable 12 M-rau-M jumper xov hlau
  • Ib daim ntawv qhia zaub mov
  • Ib lub thawv uas haum rau koj daim ntawv qhia zaub mov
  • Ib lub thawv ntawm cov ntaub so ntswg
  • Kho kom zoo nkauj ex: cov ntawv xim, daim kab xev zoo nkauj, cov cim thiab lwm yam.
  • Ib rab txiab txiab thiab ib rab riam siv tau
  • Staplers
  • Daim kab xev

Kauj Ruam 2: Txuas cov LEDs

Txuas cov LEDs
Txuas cov LEDs
Txuas cov LEDs
Txuas cov LEDs
Txuas cov LEDs
Txuas cov LEDs

Kuv ua raws lawv ib kab thiab 2 qhov ntawm ib leeg kom muaj tag nrho 10 LEDs haum rau ntawm lub khob cij. Sab xis yog tus coj ntev dua, qhov kawg zoo, uas txuas nrog tus lej digital. Sab laug yog cov hlau lead luv dua, qhov tsis zoo kawg, siv ib qho 220 lossis 100-ohm resistor txuas rau txoj kev tsis zoo ntawm lub khob cij. Kev txiav txim thiab teeb tsa cov xim tsis muaj teeb meem, koj tuaj yeem tso lawv raws li tus kheej nyiam.

*Siv 220-ohm resistor muab rau koj me me thiab ntau dua lub teeb thaum siv 100-ohm resistor zoo li ci ntau dua piv rau 220-ohm resistor. Yog li koj tuaj yeem hloov pauv xim ntawm lub teeb los ntawm 220-ohm resistor mus rau 100-ohm resistor los qhia qhov kev nkag siab ntawm ntau yam hauv koj cov txiaj ntsig.

Kauj ruam 3: Coding

Txuas Arduino rau koj lub khoos phis tawj nrog USB cable. Lub coding ntawm lub teeb pom kev zoo nyob ntawm no. Qhov qeeb tuaj yeem hloov pauv thiab cov ntu kuj tseem tuaj yeem hloov pauv. Xyuas kom tseeb tias koj tus lej tsawg dua tau hloov pauv yog tias koj siv ntau dua lossis tsawg dua LED teeb. Zoo li cov pins ntawm qhov tsawg dua.

Kauj Ruam 4: Ua Lub Tissue Box

Ua Tissue Box
Ua Tissue Box
Ua Tissue Box
Ua Tissue Box
Ua Tissue Box
Ua Tissue Box
Ua Tissue Box
Ua Tissue Box

Lub thawv yuav tsum muaj peev xwm haum koj li Arduino thiab tsis tas yuav tsum muaj lub ntsej muag zoo nkauj vim tias koj tuaj yeem kho nws tom qab. Qhov kuv tau ua yog txiav tawm ib lub duab plaub thiab daig ib daim ntawv kom lub teeb pom kev nyob rau sab ntev ntawm lub thawv. Muaj lwm qhov xwm txheej ntawm sab luv rau koj lub USB cable hla mus. Tom qab ntawd kuv kho lub thawv nrog daim ntawv xim. Ntawm ib sab ntawm sab saum toj ntawm lub npov, kuv kuj txiav tawm ib lub me me duab plaub kom cov nqaij tuaj yeem rub tawm. Ob daim nyob rau sab saum toj tau tsau nrog cov khoom siv vim tias kuv tsis tuaj yeem pom dab tsi zoo dua uas tuaj yeem ua rau lawv nyob. Tab sis yog tias koj muaj lub tswv yim zoo thov ua li ntawd vim tias siv cov khoom siv yog qhov tsis yooj yim tiag tiag.

Pom zoo: