Cov txheej txheem:

LED Christmas Light Strip: 3 Kauj Ruam
LED Christmas Light Strip: 3 Kauj Ruam

Video: LED Christmas Light Strip: 3 Kauj Ruam

Video: LED Christmas Light Strip: 3 Kauj Ruam
Video: 3 SIMPLE IDEAS WITH LED STRIP. 2024, Kaum ib hlis
Anonim
LED Christmas Light Strip
LED Christmas Light Strip

Kuv xav tsim kom muaj kev lom zem thiab ua kev lom zem rau Arduino txoj haujlwm rau Christmas hnub so, yog li kuv txiav txim siab los tsim kuv tus kheej DIY coj teeb lub teeb. Txoj haujlwm no yuav tsum tau siv lub tshuab ua kom zoo li ntawd kom nco ntsoov!

Khoom siv:

  • LEDs ntawm kev xaiv (nyob ntawm seb koj xav tsim koj cov hlua LED ntev npaum li cas, cov LEDs yuav txawv)
  • Jumper xov hlau (yog tias koj tsis muaj lub xov hlau txuas ntev heev, koj tuaj yeem siv ntau lub xov hlau thiab txuas lawv ua ke los tsim ib txoj hlua ntev rau koj lub LEDs)
  • Soldering tshuab
  • Arduino
  • Cov qhob cij
  • 220-330 ohm resistor
  • Txiab los yog hlau txiav
  • Rau cov yam ntxwv ntxiv: Kov sensor, lub suab txav, lub ntsuas nrug deb, thiab lwm yam

Kauj Ruam 1: Tsim LED Sawb

Tsim LED Sawb
Tsim LED Sawb
Tsim LED Sawb
Tsim LED Sawb

Txhawm rau pib nrog, koj xav tsim LED sawb ntawm qhov loj me uas tsim nyog. Ua qhov no los ntawm kev ntsuas ob lub xim sib txawv ntev jumper xov hlau thiab txiav cov hlais hauv cov xov hlau jumper kom xaim ntawd raug. Nyob ntawm seb koj xav kom koj cov LEDs nyob deb npaum li cas, ntsuas qhov ntev kom raug thiab txiav cov hlais hauv thaj chaw uas tsim nyog. Xa mus rau daim duab saum toj no.

Kauj Ruam 2: Teeb LEDs

Teeb LEDs
Teeb LEDs

Tam sim no koj xav pib solder cov LEDs. Ua ntej koj pib siv cov LEDs kom ntseeg tau tias koj sim txhua tus LED kom ntseeg tau tias nws ua haujlwm (koj tsis xav paub tias nws tsis ua haujlwm ib zaug koj tau muab nws tso rau ntawm koj cov hlua LED).

Muab tag nrho cov anodes rau ib qho ntawm cov xov hluav taws xob thiab txhua lub cathodes rau lwm lub xov hlau jumper. Ceev faj thaum siv cov xaim kom koj tsis txhob txhuam ob txhais ceg ua ke!

Kauj Ruam 3: Teeb Lawv

Teeb lawv!
Teeb lawv!
Teeb lawv!
Teeb lawv!
Teeb lawv!
Teeb lawv!

Thaum koj txaus siab rau koj daim kab xev LED, koj xav tau koj daim ntawv qhia mov ci thiab txuas cov hlua ntawm cov ceg luv rau GND thiab cov ceg ntev kom muaj zog nrog 220 lossis 330 ohm resistor (xa mus rau daim duab saum toj no).

Nrog txoj haujlwm no koj tseem tuaj yeem teeb tsa koj cov LEDs kom qhib lossis tua siv lub suab/kov lub ntsej muag lossis tseem ua cov qauv lom zem! Kuv siv cov cai yooj yim heev kom pom lub LEDs yog tias lub ntsuas tau kov. Kuv tus lej thiab qhov yooj yim hauv Circuit tuaj yeem pom hauv qab no!

Qhia kuv yog tias koj muaj lus nug! Zoo Siab Hnub So!

Pom zoo: