Cov txheej txheem:

Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs: 5 Kauj Ruam
Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs: 5 Kauj Ruam

Video: Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs: 5 Kauj Ruam

Video: Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs: 5 Kauj Ruam
Video: DIY Cardboard 90's Boom Box - Plays MP3s! 2024, Lub Xya hli ntuj
Anonim
Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs
Ua Cardboard Ghetto Blaster Nrog Fancy Flashing LEDs

Kuv tau ua ib lub thawv ntawv thawv ghetto blaster rau 80s themed zoo nkauj tiab tog. Kuv xav tias kuv yuav qhia qhov kuv tau ua ntawm no. Kuv siv dab tsi/Koj yuav xav tau dab tsi:

  • Lub thawv ntawv
  • Cov xim sib txawv
  • Daim npog qhov ncauj
  • 20 LEDs
  • 40 xov hlau txog 10 ntiv tes ntev (nyob ntawm qhov loj ntawm koj lub npov)
  • Arduino cov khoom siv
  • Pawg thawj coj saib xyuas
  • Roj teeb 12V (yog tias koj xav ua lub xov tooj no)
  • Arduino code:

Yog li mus tau txhua qhov ntawd thiab rov qab los! Nov yog daim vis dis aus ntawm cov khoom tiav hauv kev nqis tes ua.

Kauj Ruam 1: Kos Duab Ntxhib Tsim ntawm Koj Lub Thawv

Sketch Rough Design ntawm Koj Lub Thawv
Sketch Rough Design ntawm Koj Lub Thawv
Sketch Rough Design ntawm Koj Lub Thawv
Sketch Rough Design ntawm Koj Lub Thawv
Sketch Rough Design ntawm Koj Lub Thawv
Sketch Rough Design ntawm Koj Lub Thawv

Txheeb tawm lub tswv yim ntxhib ntawm koj lub suab paj nruag blaster tsim ntawm lub thawv thiab nqa daim duab rau siv tom qab thaum peb tab tom pleev xim nws. Use koj nyiam tshawb fawb tshuab txhawm rau nrhiav qee daim duab rau kev tshoov siab yog tias koj xav tau.

Kauj Ruam 2: Xim Koj Cov Xim Xim

Xim Koj Cov Xim Xim
Xim Koj Cov Xim Xim

Txau/Xim koj lub thawv nrog cov xim puag. Cia kom qhuav thiab tawg nrog cov khoom siv hluav taws xob.

Kauj Ruam 3: Teeb tsa cov LEDs

Program cov LEDs
Program cov LEDs

Nqa koj cov khoom siv Arduino thiab 10 LEDs kom peb tuaj yeem ua si. Sau koj tus lej lossis siv kuv li ntawm GitHub los ua kom koj cov LEDs seev cev thiab nyem hauv 80s yam! Txoj haujlwm no ntawm Arduino.cc qhia koj yuav ua li cas txuas ntau lub LEDs nrog Arduino board thiab pawg thawj coj saib. Upload cov cai rau Arduino board. Thaum qhov ntawd ua haujlwm koj yuav tsum tau hloov kho lub tshuab hluav taws xob kom siv 20 LEDs (txhua tus hais lus muaj 10 LEDs nyob ib puag ncig nws). Nws yuav yog squash tab sis koj yuav tsum muaj 1 tus tiv thaiv ib qho LED, tab sis koj yuav tsum txuas lub anode (sab zoo (tus pin ntev)) ntawm 2 LEDs rau 1 tso tus pin tsim rau Arduino.

Kauj Ruam 4: Pleev Xim

Pleev xim
Pleev xim

Xa mus rau daim duab ntawm kev nthuav dav koj tau ua yav dhau los, ghetto-ify koj lub thawv tho txawv!

Kauj ruam 5: Sib sau ua ke

Sib sau ua ke
Sib sau ua ke

Tam sim no koj yuav tsum tau txuas tag nrho cov xov hlau rau LEDs yog tias koj tsis tau ua dua. Xim xim cov xov hlau kom ua kom yooj yim ntsaws nws ua ke. Nws yog qhov zoo tshaj yog tias koj "tin" qhov xaus ntawm cov xov hlau ua ntej yuav txuas mus rau cov LEDs - nws tsuas yog ua kom yooj yim rau lawv sib txuas. txoj kev dhau. Teem koj lub xov tooj cua nyob hauv nruab nrab ntawm lub thawv thiab npog daim kab xev nws hauv qhov chaw. Txuas txhua lub LEDs, thiab ntxiv ib daim kab xev me me los tuav txhua tus nyob hauv qhov chaw thiab txwv tsis pub lawv raug thawb rov qab mus rau hauv lub thawv.

Pom zoo: