Cov txheej txheem:

Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub: 6 Cov Kauj Ruam
Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub: 6 Cov Kauj Ruam

Video: Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub: 6 Cov Kauj Ruam

Video: Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub: 6 Cov Kauj Ruam
Video: Moog One - A Meditation On Listening 2024, Hlis ntuj nqeg
Anonim
Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub
Mloog Digital Siv Arduino thiab Led Dot Matrix Zaub

Tam sim no, Cov Tsim, Cov Tsim Kho xav tau Arduino rau kev txhim kho sai ntawm cov qauv ntawm cov phiaj xwm. Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Arduino muaj cov neeg siv zoo hauv zej zog Hauv qhov haujlwm no peb yuav pom yuav tsim lub moos digital siv Arduino li cas. Txoj haujlwm no yooj yim los tsim thiab Hloov nws raws li qhov xav tau.

Kauj Ruam 1: Cheeb Tsam

Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam

Hauv qab no yog cov khoom siv xav tau rau qhov project

1 x Arduino Uno

Arduino Uno hauv Is Nrias teb-

Arduino Uno hauv UK -

Arduino Uno hauv Asmeskas -

4 x MAX7219 Led Dot Matrix zaub

Dot Matrix Display hauv UK -

Dot Matrix Display hauv Asmeskas -

Dot Matrix Display hauv Is Nrias teb-

1 x DS1307 RTC module

DS1307 RTC Clock in India-

DS1307 RTC Clock in UK -

DS1307 RTC Clock in USA -

Ob peb Hlau

Kauj Ruam 2: Ntau Txog MAX7219

Ntau Txog MAX7219
Ntau Txog MAX7219

MAX7219/MAX7221 yog kev cog lus, cov ntawv tawm tswv yim/tso tawm ntau-cathode cov tsav tsheb uas cuam tshuam cov microprocessors (μPs) mus rau 7-ntu lej lej LED qhia txog 8 tus lej, kab lus kab lus, lossis 64 tus kheej LEDs.

Nrog rau ntawm-nti yog BCD code-B decoder, multiplex scan circuitry, ntu thiab tus lej tsav tsheb, thiab 8x8 zoo li qub RAM uas khaws txhua tus lej.

Tsuas yog ib tus tiv thaiv sab nraud xav tau los teeb tsa ntu tam sim no rau txhua lub LEDs. MAX7221 tau sib xws nrog SPI ™, QSPI ™, thiab MICROWIRE ™, thiab tau ua rau cov neeg tsav tsheb tsawg tsawg los txo qis EMI.

Ib qho yooj yim 4-xaim serial interface txuas rau txhua yam μPs. Cov lej ntawm tus kheej tuaj yeem hais thiab hloov kho yam tsis tau sau dua tag nrho cov zaub.

MAX7219/MAX7221 kuj tseem tso cai rau tus neeg siv xaiv tus lej-B txiav txim lossis tsis-txiav txim siab rau txhua tus lej.

Kauj Ruam 3: Ntau Ntxiv Txog DS1307

DS1307 lub sijhawm tiag tiag lub sijhawm (RTC) yog lub zog qis, puv binary-coded decimal (BCD) moos/daim ntawv qhia hnub

ntxiv rau 56 bytes ntawm NV SRAM.

Chaw nyob thiab cov ntaub ntawv raug xa tawm ib ntus dhau los ntawm I2C, tsheb npav ob tog.

Lub moos/daim ntawv qhia qhia vib nas this, feeb, teev, hnub, hnub, hli, thiab xyoo qhia.

Qhov kawg ntawm lub hli hnub tau hloov kho rau lub hlis nrog tsawg dua 31 hnub, suav nrog kev kho rau xyoo dhau mus.

Lub moos ua haujlwm hauv 24-teev lossis 12-teev hom nrog AM/PM qhia. DS1307 muaj lub hauv paus tsim hluav taws xob zoo uas pom tias lub zog tsis ua haujlwm thiab hloov pauv mus rau cov khoom siv thaub qab. Lub sijhawm ua haujlwm txuas ntxiv mus thaum lub sijhawm ua haujlwm los ntawm cov khoom siv thaub qab.

Kauj Ruam 4: Daim Duab Sib Txuas

Daim duab sib txuas
Daim duab sib txuas

Kauj ruam 5: Qhia

Kauj ruam 6: Code

Rau Code thiab cov ntsiab lus txuas:

github.com/stechiez/Arduino/tree/master/di…

Koj tuaj yeem tau txais cov tsev qiv ntawv los ntawm cov repo hauv qab no:

github.com/stechiez/Arduino/tree/master/l…

Pom zoo: