Cov txheej txheem:

LED - Mega Moos: 8 Kauj Ruam (nrog Duab)
LED - Mega Moos: 8 Kauj Ruam (nrog Duab)

Video: LED - Mega Moos: 8 Kauj Ruam (nrog Duab)

Video: LED - Mega Moos: 8 Kauj Ruam (nrog Duab)
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Hlis ntuj nqeg
Anonim
Image
Image
Cov Nqi Khoom (Txhua Yam Koj Yuav Tsum Xav)
Cov Nqi Khoom (Txhua Yam Koj Yuav Tsum Xav)

LED - Mega Moos

Kauj Ruam 1: Nqi Khoom (Txhua Yam Koj Yuav Tsum Tau)

Rau Vaj Tsev

  • Peb 300x300mm x 3mm tuab Acrylic iav (dub)
  • Ib qho 300x300mm x 3mm tuab Acrylic iav (pom tseeb)
  • Acrylic iav nplaum thiab txhuam
  • Nees nkaum 15mm spacers M3 xov
  • Nees nkaum M3 ntsia hlau + tshuab ntxhua khaub ncaws
  • Ib daim duab 300x300

Rau Electronic

  • 480 3mm LEDs (xim koj xaiv)
  • Rau caum 120 Ω resistors
  • Ib qho 4-Zauv 7-Segment Display nquag anode
  • Yim 74HC595 Hloov Chaw Sau Npe
  • Yim BD139 NPN Transistors
  • Ib Arduino ATMEGA 2560 Board
  • Ib qho TLC5940
  • 1m RGB-LED-Sawb
  • Ib LM317 tus tswj hluav taws xob
  • Ib qho 0.1μF capacitor
  • Ib qho 1μF capacitor
  • Ib qho 1 kΩ resistor
  • Ib qho 330 Ω resistor
  • Ib qho 2.5 hli DC Jack
  • Ribbon Cable
  • Header Strips
  • Ib I2C RTC DS1307 AT24C32 Lub Sijhawm Tiag Module Rau Arduino Mega2560
  • Ntau ntawm tooj liab Hlau thiab tin solder
  • Yim 750 Ohm Resistors
  • Plaub daim phiaj hluav taws xob
  • Ib 12V 1A Powersupply lossis 11, 1 1000-2000mAh Lipo roj teeb rov tau

Kauj Ruam 2: Txhim Kho Vaj Tsev (Ntu 1)

Ua Tsev Nyob (Ntu 1)
Ua Tsev Nyob (Ntu 1)
Ua Tsev Nyob (Ntu 1)
Ua Tsev Nyob (Ntu 1)
Ua Tsev Nyob (Ntu 1)
Ua Tsev Nyob (Ntu 1)
  1. Txiav thiab laum 3mm acrylic daim hlau raws li qhia hauv daim duab
  2. Nplaum pem hauv ntej vaj huam sib luag phaj (phaj dub), txuas ib feem (phaj tshab) thiab LEDs daim phaj (phaj dub) ua ke

Kauj Ruam 3: Tsim Vaj Tsev (Ntu 2)

Ua Tsev Nyob (Ntu 2)
Ua Tsev Nyob (Ntu 2)
Ua Tsev Nyob (Ntu 2)
Ua Tsev Nyob (Ntu 2)
Ua Tsev Nyob (Ntu 2)
Ua Tsev Nyob (Ntu 2)
  1. Kaw ib qho 300x300mm 3mm tuab acrylic phaj rau sab nraub ntawm daim duab duab kom ruaj khov dua, yog daim duab thav duab muaj iav koj tuaj yeem nqa nws tawm, peb tsis xav tau nws
  2. Screew plaub 15mm spacers rau lub phaj acrylic zoo li qhia hauv daim duab
  3. Tam sim no koj tuaj yeem lo plaub lub spacers los ntawm ib sab ntawm daim duab thav duab mus rau lub phaj pem hauv ntej (ntxeev kos lub phaj ua ntej gluing cov spacers, lawv yuav kho tau zoo dua)
  4. Ntsia tus ntsia hlau plaub txuas rau qib tom ntej

Kauj Ruam 4: Ntxig LEDs rau Phaj Pem Hauv Ntej

Ntxig LEDs rau Phaj Pem Hauv Ntej
Ntxig LEDs rau Phaj Pem Hauv Ntej
Ntxig LEDs rau Phaj Pem Hauv Ntej
Ntxig LEDs rau Phaj Pem Hauv Ntej
Ntxig LEDs rau Phaj Pem Hauv Ntej
Ntxig LEDs rau Phaj Pem Hauv Ntej
  1. Ua ntej tso 3mm LEDs hauv thawj kab ntawm cov phaj drilled (thawj 60 LEDs)
  2. Khoov anodes rau sab thiab muab cov cathodes puag ncig lub phaj ua ke nrog 0.8 hli tooj liab xaim
  3. Rov ua qhov no rau lwm 7 kab
  4. Tam sim no solder anodes ntawm tib kem ua ke
  5. Koj yuav tsum muaj cov lej ntawm 8 kab (cathodes) thiab 60 kab (anodes)

Kauj Ruam 5: Soldering Matrix Ua Ke

Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
Soldering Matrix Ua Ke
  1. Siv ib qho 8-pol cable txuas mus rau 8 kab (cathodes) ntawm cov lej
  2. Cov kab laug sab yim 8-pol cable txuas rau 60 kab (anodes) ntawm matrix. Kuv tau siv 8-pol txuas txuas tam sim no kuv muaj 64 kab muaj tab sis peb tsuas xav tau 60, ntawm plaub sab laug kuv muab daim kab xev roj hmab. Koj kuj tseem tuaj yeem ua tau zoo tshaj plaws thiab siv xya 8-pol txuas txuas ib qho 4-pol txuas kom koj muaj 60 qhov sib txuas meej

Kauj Ruam 6: Ntxig rau 4-Digit 7-Segment Display

Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
Ntxig rau 4-Zauv 7-Segment Display
  1. Txiav LEDs Slice phaj ntawm qhov nruab nrab thiab lo rau 4-Zauv 7-Segment zaub (taw tes txuas cov xov hlau rau cov zaub ua ntej lo rau cov duab)
  2. Kuv yuav tsum tau kos sab nraub qaum ntawm lub phaj thiab kaw cov spacers dua, vim tias nws tsis tau kho tau zoo li kuv tau hais ua ntej

Kauj Ruam 7: Tsim Lub Tshuab Hluav Taws Xob

Tsim Lub Tshuab Hluav Taws Xob
Tsim Lub Tshuab Hluav Taws Xob
Tsim Lub Tshuab Hluav Taws Xob
Tsim Lub Tshuab Hluav Taws Xob
Tsim Lub Tshuab Hluav Taws Xob
Tsim Lub Tshuab Hluav Taws Xob
  1. Txiav cov kab hluav taws xob hauv Circuit Court kom haum rau hauv kab duab
  2. Koj yuav xav tau qee qhov txuas uas koj tuaj yeem tsim koj tus tswv zoo li kuv tau ua

Kauj Ruam 8: Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia

Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia
Tsim Lub Tshuab Hluav Taws Xob thiab Cov Lus Qhia

Nov yog qhov ua tiav Circuit Court thiab cov cai

Kuv kuj tseem muaj 11, 1V 1000mAh Lipo roj teeb rov tau dua yog li kuv tuaj yeem siv lub moos tsis muaj sab nraud DC cable.

Kev piav qhia txoj cai:

Tom qab txuas txhua qhov hluav taws xob rub tawm tus zip 3 zip-Cov ntaub ntawv ib tus yog tus lej thiab lwm tus yog lub tsev qiv ntawv. Ua ntej koj yuav tsum muab ob lub tsev qiv ntawv qhib rau TLCs thiab RTC-Module rau hauv koj lub tsev qiv ntawv arduino txwv tsis pub koj yuav ua yuam kev thaum qhib lub chaws, lossis koj tseem tuaj yeem rub tawm cov tsev qiv ntawv los ntawm arduino site.

Cov cai suav nrog 3 daim ntawv tais ceev tseg:

SetTime Folder nrog SetTime.ino: siv cov ntaub ntawv no los teeb tsa lub sijhawm rau koj tus kheej RTC-Module thawj zaug, rau qhov no koj yuav tsum hloov pauv byte hloov pauv hauv setDateTime () ua haujlwm nrog koj Lub Sijhawm Hauv Zos, tom qab ntawd thauj cov cai no rau koj arduino thiab RTC-Module yuav khaws koj Lub Sijhawm Hauv Zos, koj tsuas yog yuav tsum ua qhov no thawj zaug los teeb tsa lub sijhawm lossis yog tias koj hloov lub roj teeb ntawm koj li RTC-Module. TestTimeFolder nrog

TestTime.ino: siv qhov no nkaus xwb txhawm rau txheeb xyuas yog tias RTC-Module khaws lub sijhawm kom raug, ntsaws cov cai no thiab qhib lub koos pij tawj saib xyuas nws.

LED_Mega_Clock Folder: nrog 6 cov ntaub ntawv, tag nrho 6 cov ntaub ntawv no yuav tsum nyob hauv tib lub nplaub tshev, qhib tsuas yog LED_Mega_Clock.ino thiab koj yuav tau txais tag nrho 6 cov ntaub ntawv hauv cov kais dej sib txawv.

  • "LED_Mega_Clock Tap": ntawm no yog teeb tsa rau tus pin thiab txhais ntawm cov kev hloov pauv thoob ntiaj teb thiab arrays rau npe thiab lub voj () muaj nuj nqi. Kuv tau ua 3 lub luag haujlwm hauv "program Tab" nrog 3 qhov kev ua yeeb yaj kiab sib txawv xaiv ib qho ntawm lawv thiab muab tso rau hauv lub voj ua haujlwm.
  • "RTC Tab": ntawm no yog teeb tsa ntawm RTC koj tsis tas yuav hloov kho tab no tab sis xav paub ntau ntxiv mus ntsib arduino site. Nov kuv tau ua txoj haujlwm checkTime () kom pib hloov pauv ntawm RTC-Module thiab arduino. Kuv siv qhov no ua ntej txhua qhov kev ua yeeb yaj kiab thiab tseem tsis txhob hnov qab nyeem lub sijhawm ua ntej qhov ua yeeb yaj kiab thiab hloov cov ntaub ntawv binary coded no mus rau zauv zauv nrog rau byte bcdToDec () muaj nuj nqi kuv tau ua. Piv txwv li: int thib ob = bcdToDec (Wire.read ()); "RGB_LED_Strip Tap": ntawm no kuv tau ua 2 qhov haujlwm uas hloov tag nrho cov xim-spectrum los ntawm liab mus rau magenta heev 20 min thiab ib qho uas hloov txhua xim txhua thib ob siv PWM tso tawm ntawm koj cov arduino los ua qhov no. koj tuaj yeem ua koj tus kheej lub luag haujlwm.
  • "blue_LEDs Tap": ntawm no kuv tau ua 3 lub zog siv ntau qhov sib ntxiv ib qho los teeb xiav LED-Matrix nrog thib ob, feeb, thiab teev qhia lwm tus ua tib yam tab sis nrog lub viav vias taw tes los ntawm sab xis mus rau sab laug raws li qhov ntsuas thib ob. thiab ua haujlwm () ua haujlwm kom hloov cov ntaub ntawv. Koj tuaj yeem tsim koj tus kheej cov duab.

Yuav hloov cov ntaub ntawv li cas:

digit_display Tap: ntawm no yog 3 lub zog ib qho los teeb tsa tus lej (anodes lossis arduino pins tau hais tseg hauv CA array hauv "LED_Mega_Clock Tap") ib qho los teeb tsa ntu (cathodes lossis TLC pins txhawm rau tam sim no rau GND) thiab ib qho rov pib dua TLC Qhov ntawd txhais tau tias koj muaj 4 tus lej uas koj teeb tsa siab lossis qis nrog koj tus pin arduino thiab 7 ntu hauv txhua tus lej uas koj teeb tsa siab lossis qis nrog TLC siv Multiplexing. Yuav siv TLC lub tsev qiv ntawv li cas:

Koj tuaj yeem ua kom zoo dua lub moos piv txwv los ntawm kev txuas Foto-Resistor hauv Circuit kom tswj tau lub teeb ntawm lub moos nyob ntawm lub teeb pom kev ntawm koj chav, lossis koj tuaj yeem siv 10k Potentiometer los tswj qhov ci ci ntawm tus kheej.

Koj kuj tseem tuaj yeem ntxig lub pob kom hloov betteew cov haujlwm sib txawv lossis tso lwm LED Sawb sab hauv lub moos kom pom lub ntsej muag yas pob tshab nyob rau sab pem hauv ntej.

Pom zoo: