Cov txheej txheem:

48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe: 6 Kauj Ruam (nrog Duab)
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe: 6 Kauj Ruam (nrog Duab)

Video: 48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe: 6 Kauj Ruam (nrog Duab)

Video: 48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe: 6 Kauj Ruam (nrog Duab)
Video: ✨A Will Eternal EP 01 - 106 Full Version [MULTI SUB] 2024, Kaum ib hlis
Anonim
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe
48 X 8 Scrolling LED Matrix Zaub Siv Arduino thiab Hloov Sau Npe

Nyob zoo txhua tus

Nov yog kuv thawj Kev Qhia thiab nws yog txhua yam hais txog kev ua 48 x 8 Programmable Scrolling LED Matrix siv Arduino Uno thiab 74HC595 hloov npe. Nov yog kuv thawj qhov haujlwm nrog Arduino pawg thawj coj txhim kho. Nws yog qhov nyuaj rau kuv los ntawm kuv tus kws qhia ntawv. Lub sijhawm ntawd ntawm kev lees txais qhov kev sib tw no, kuv tsis tau paub yuav ua li cas ntsais ib qho LED siv cov arduino. Yog li, kuv xav tias txawm tias tus pib tshiab tuaj yeem ua qhov no nrog kev ua siab ntev me ntsis thiab nkag siab. Kuv pib tawm nrog kev tshawb fawb me ntsis txog kev hloov pauv npe thiab kev sib txuam hauv arduino. Yog tias koj yog tus tshiab los hloov npe, kuv pom zoo kom kawm paub qhov pib ntawm multiplexing thiab daisy-chaining hloov pauv npe ua ntej pib nrog cov lej. Qhov ntawd yuav pab koj ntau kom nkag siab txog cov cai thiab ua haujlwm ntawm cov zaub scrolling.

Kauj Ruam 1: Sib sau Cov Cuab Yeej & Cheeb Tsam

Sib Sau Cov Cuab Yeej & Cov Cheeb Tsam
Sib Sau Cov Cuab Yeej & Cov Cheeb Tsam

Cheebtsam

  • 1. Arduino Uno R3 - 1
  • 2. 74HC595 8 ntsis Serial to Parallel Shift Registers. - 7
  • 3. BC 548/2N4401 Transistors - 8
  • 4. 470 Ohms Resistors - tus naj npawb ntawm kab + 8
  • 5. Pref Board 6x4 nti - 4
  • 6. Xim coded xov hlau - Raws li xav tau
  • 7. Cov tuav IC - 7
  • 8. 5 hli lossis 3 hli 8x8 hom cathode mono xim LED Matrix - 6
  • 9. Txiv neej thiab Poj Niam Headers - Raws li xav tau.

Cov cuab yeej xav tau

  • 1. Cov khoom siv Soldering
  • 2. Multimeter
  • 3. Rab yaj phom
  • 4. De-soldering twj tso kua mis
  • 5. 5V Cov Khoom Siv Hluav Taws Xob

Kauj Ruam 2: Tsim Circuit Court ntawm Breadboard

Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard
Tsim Circuit Court ntawm Breadboard

Thawj qhov koj yuav tsum tau ua ua ntej tsim cov qauv yog kom tau txais daim duab kab cim ntawm koj 8x8 matrix thiab kos tus cim taw qhia rau txhawm rau txheeb xyuas tus pin hauv txhua qhov koj qib. Qhov no tuaj yeem pab koj thaum teeb tsa lub Circuit Court.

Kuv tau txuas daim duab kab duab ntawm tus lej matrix uas kuv tau siv ntawm no. Hauv kuv qhov kab kab yog cov pins tsis zoo. Daim duab kab duab no nyob ib yam rau feem ntau ntawm cov qauv hauv khw.

Nws tau qhia hauv kab lus hais tias kev sau npe ua haujlwm ib leeg yog siv los tswj 8 kab thiab rau kev tswj hwm txhua kab, peb siv ib daim ntawv pauv npe rau txhua 8 kab.

Cia peb tsim qhov yooj yim 8 x 8 scrolling zaub ntawm lub khob cij.

Lub Circuit Court tau faib ua ob ntu - kev tswj kab thiab kev tswj kab. Wb tsim kem tswj ua ntej.

Tus Pin 4 los ntawm arduino txuas nrog Pin 14 (SER) ntawm kev hloov npe. (Nov yog cov ntaub ntawv xov xwm tus lej nkag ntawm tus lej hloov pauv. Cov laj thawj xav tau kom qhib lub LEDs tau pub los ntawm tus pin no

Pin 3 los ntawm arduino txuas nrog Pin 12 (RCLK) ntawm kev hloov npe. (Cia peb lub npe tus pin no ua tus pin lub zog tso tawm. Cov ntaub ntawv hauv lub cim xeeb ntawm cov ntawv teev npe ua haujlwm raug thawb mus rau qhov tso tawm thaum lub moos no tshwm sim.)

Tus Pin 2 los ntawm arduino txuas nrog Pin 11 (SRCLK) ntawm kev hloov npe. (Nov yog lub moos nkag tus pin uas hloov cov ntaub ntawv hauv lub cim xeeb.)

VCC +5V tau muab rau cov npe hloov pauv los ntawm nws tus Pin 16 thiab tib yam txuas nrog Pin 10. (Vim li cas? Tus Pin 10 yog SRCLR Pin, uas tshem tawm cov ntaub ntawv hauv kev hloov pauv npe thaum ua haujlwm., yog li txhawm rau khaws cov ntaub ntawv hauv kev nco ntawm kev hloov npe, tus pin no yuav tsum tau muab nrog +5V txhua lub sijhawm.)

Hauv av txuas nrog ob tus GND Pin (Tus Pin 8 ntawm daim ntawv teev npe ua haujlwm) thiab OE Pin (Tus Pin 13 ntawm tus lej hloov npe). (Vim li cas? Cov zis tso tawm tus pin yuav tsum tau ua kom thiaj li muab cov txiaj ntsig raws li lub moos teeb liab. cov zis.)

Cov kab pins ntawm cov lej tau txuas nrog rau daim ntawv teev npe ua haujlwm raws li qhia hauv daim duab qhia chaw nrog 470 ohms resistor nyob nruab nrab ntawm cov lej thiab cov npe ua haujlwm

Tam sim no, rau kab tswj kab.

Tus Pin 7 los ntawm arduino txuas nrog Pin 14 (SER) ntawm kev hloov npe

Pin 5 los ntawm arduino txuas nrog Pin 11 (SRCLK) ntawm kev hloov npe

Pin 6 los ntawm arduino txuas nrog Pin 12 (RCLK) ntawm kev hloov npe

VCC +5V tau muab rau Pin 16 thiab Pin 10 raws li tau piav qhia saum toj no

Av tau txuas nrog Pin 8 thiab Pin 13

Raws li kuv tau hais los saud, kab ntawv yog cov pins tsis zoo hauv kuv rooj plaub. Nws zoo dua los txiav txim siab qhov tsis zoo ntawm koj tus lej raws li kab ntawm koj cov zaub. Kev sib txuas hauv av yuav tsum tau hloov mus rau cov pins tsis zoo siv BC548/2N4401 transistors uas tau tswj hwm los ntawm cov txheej txheem kev tso tawm ntawm cov npe hloov pauv. Yog li cov pins tsis zoo ntau, peb xav tau transistors ntau dua

Muab kab sib txuas raws li qhia hauv daim duab kab hluav taws xob

Yog tias koj tau ua tiav hauv kev ua 8 x 8 matrix display prototype, koj tuaj yeem yooj yim rov ua dua ib feem ntawm qhov Circuit Court rau kev tswj kab thiab txuas cov lej rau txhua tus lej. Koj tsuas yog xav tau ntxiv ib qho 74HC595 rau txhua 8 kab (ib qho 8 x 8 tus qauv) thiab daisy saw nws nrog yav dhau los.

Daisy txuas txoj haujlwm hloov npe rau ntxiv ntau kab

Daisy saw hauv kev tsim hluav taws xob yog cov phiaj xwm thaiv kab mob uas ntau yam khoom siv sib txuas ua ke.

Cov txheej txheem yog yooj yim: SRCLK (lub moos nkag. Pin 11) thiab RCLK (tso zis moos. Tus pin 12) pins tau sib koom ntawm txhua qhov daisy-saw ua haujlwm hloov pauv rau npe thaum txhua QH PIN (Tus Pin 9) ntawm kev hloov pauv yav dhau los sau npe hauv cov saw hlau tau siv ua cov lej nkag rau qhov hloov pauv hauv qab no los ntawm SER PIN (Tus Pin 14).

Hauv cov lus yooj yooj yim, los ntawm daisy txuas cov ntawv teev npe ua haujlwm, lawv tuaj yeem raug tswj raws li kev hloov pauv ib leeg nrog lub cim xeeb loj dua. Piv txwv li, yog tias koj daisy saw ob 8 ntsis hloov pauv npe, lawv yuav ua haujlwm zoo li ib leeg 16 ntsis hloov pauv npe.

Cov cai

Hauv txoj cai peb pub cov kab nrog cov qib kev xav sib txawv raws li cov lus nkag thaum peb luam theej duab raws kab. Cov cim los ntawm A txog Z tau teev tseg hauv cov cai raws li qib kev xav hauv ib byte array. Txhua tus ua cim yog 5 pixels dav thiab 7 pixels siab. Kuv tau muab cov lus piav qhia ntxaws txog kev ua haujlwm ntawm cov cai raws li cov lus pom hauv tus lej nws tus kheej.

Arduino code yog txuas ntawm no.

Kauj ruam 3: Soldering

Soldering
Soldering
Soldering
Soldering
Soldering
Soldering

Txhawm rau ua kom cov txheej txheem nkag tau yooj yim nkag siab, kuv tau ua nws loj li sai tau thiab muab cais cov laug cam rau kab thiab kab tswj thiab txuas lawv ua ke siv lub taub hau thiab xov hlau. Koj tuaj yeem ua kom nws me dua los ntawm kev siv cov khoom sib xyaw kom ze rau ib leeg lossis yog tias koj ua tau zoo ntawm PCB tsim, koj tuaj yeem ua tus PCB me me kev cai ib yam.

Nco ntsoov muab 470 ohms resistor rau txhua tus pin coj mus rau hauv matrix. Ib txwm siv lub taub hau los txuas LED Matrices rau lub rooj tsavxwm. Nws yog qhov zoo dua tsis txhob siv lawv ncaj qha mus rau lub rooj tsavxwm vim tias lub sijhawm raug cua sov tuaj yeem ua rau lawv puas tas mus li.

Raws li kuv tau ua cais cov laug cam rau kab thiab kab kev tswj hwm, Kuv txuas cov xov hlau los ntawm ib lub rooj tsavxwm mus rau lwm qhov kom txuas kab. Ntawm no, lub rooj tsavxwm nyob rau sab saum toj yog rau kev tswj kab thiab lub rooj tsavxwm hauv qab yog rau kev tswj kab.

nws tsuas yog xav tau ib qho nkaus xwb 74HC595 los tsav tag nrho 8 kab. Tab sis raws li tus naj npawb ntawm kab, ntau qhov hloov pauv npe yuav tsum tau ntxiv, tsis muaj qhov kev xav theoretical rau tus lej uas koj tuaj yeem ntxiv rau hauv cov lej no. Koj ua tau loj npaum li cas? Qhia rau kuv paub thaum koj mus txog ntawd!;)

Kauj Ruam 4: Kuaj Qhov Ua Ntej Ua Ntej Ua Ntej Ib Nrab ntawm Circuit

Kuaj Qhov Ua Ntej Ua Ntej Ib Nrab Ntawm Qhov Circuit
Kuaj Qhov Ua Ntej Ua Ntej Ib Nrab Ntawm Qhov Circuit

Ib txwm sim nws ib nrab kom pom qhov ua yuam kev xws li kev sib txuas xoob, txuas tus lej tsis raug thiab lwm yam: Ntau tus neeg uas nug kuv kom pab nrhiav qhov yuam kev hauv lawv cov lej tau ua lawv qhov yuam kev nrog kab-kab pin-tawm ntawm cov qauv matrix. Txheeb nws ob zaug ua ntej yuav siv lub tshuab ziab khaub ncaws thiab siv cov xim xaim xov tooj kom paub qhov txawv ntawm tus pin yooj yim.

Kauj Ruam 5: Tsim Ib Nrab Ob

Txhim Kho Ib Nrab Ob
Txhim Kho Ib Nrab Ob
Txhim Kho Ib Nrab Ob
Txhim Kho Ib Nrab Ob
Txhim Kho Ib Nrab Ob
Txhim Kho Ib Nrab Ob

Ncua tib txoj kab tswj kab. Cov kab tau txuas nrog hauv kab rau yav dhau los.

SRCLK thiab RCLK pins tau muab coj los ua ke thiab QH (Cov ntaub ntawv xov xwm tawm. Tus lej 9) ntawm qhov hloov pauv zaum kawg ntawm kev ua haujlwm tiav tau txuas nrog SER (Cov Ntaub Ntawv Teev Npe hauv. Pin 14) ntawm kev hloov npe tom ntej. VCC thiab GND lub zog kuj tseem sib koom ntawm txhua ICs.

Kauj Ruam 6: Qhov tshwm sim

Image
Image

Tom qab koj tau ua tiav nrog cov laug, cov kauj ruam tom ntej yog ua rooj plaub rau koj cov zaub. Nws ib txwm zoo dua los tsim cov ntaub ntawv raug cai siv Fusion 360 lossis lwm yam cuab yeej tsim 3D thiab 3D luam tawm rooj plaub. Raws li kuv tsis tau nkag mus rau 3D luam ntawv nyob rau lub sijhawm ntawd, kuv tau ua rooj ntoo nrog kev pab los ntawm tus phooj ywg uas zoo ntawm kev ua ntoo.

Vam tias koj nyiam nyeem cov lus qhia no. Tshaj tawm cov duab ntawm koj qhov haujlwm ntawm txoj haujlwm no hauv cov lus hauv qab no thiab Yog tias koj muaj lus nug, thov nug nws ntawm no lossis xa ntawv mus rau [email protected]. Kuv yuav zoo siab los pab koj.

Pom zoo: