Cov txheej txheem:

Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: 4 Cov Kauj Ruam (nrog Duab)
Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: 4 Cov Kauj Ruam (nrog Duab)

Video: Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: 4 Cov Kauj Ruam (nrog Duab)

Video: Digital & Binary Moos hauv 8 Tus lej X 7 Segments LED Zaub: 4 Cov Kauj Ruam (nrog Duab)
Video: Rub neeg caum yu hauv YT👍qia ua kom muaj neeg caum yu👉เพื่มผู้ติดตาม 2024, Kaum ib hlis
Anonim
Image
Image

Ua raws ntau los ntawm tus sau:

Lub Sij Hawm Digital Nrog Tsis Siv Neeg Hloov ntawm LED Zaub
Lub Sij Hawm Digital Nrog Tsis Siv Neeg Hloov ntawm LED Zaub
Tham Nrog Mloog Ob Yam Lus (EN+PT)
Tham Nrog Mloog Ob Yam Lus (EN+PT)
Tham Nrog Mloog Ob Yam Lus (EN+PT)
Tham Nrog Mloog Ob Yam Lus (EN+PT)
4-Stroke Digital Moos
4-Stroke Digital Moos
4-Stroke Digital Moos
4-Stroke Digital Moos

Txog: Coding, Electronic Prototyping nrog Arduino thiab Data Analytics yog kuv txoj haujlwm. Ntau Txog Lagsilva »

Nov yog kuv qhov hloov kho tshiab ntawm Digital & Binary Clock siv 8 Tus lej x 7 Segment LED Zaub.

Kuv nyiam muab cov yam ntxwv tshiab rau cov khoom siv ib txwm muaj, tshwj xeeb yog cov moos, thiab qhov no yog siv 7 Seg zaub rau Binary Clock yog qhov tsis zoo thiab nws yog qhov nthuav thiab txawv ntawm kev thov nws.

Kuv qhov kev xaiv hauv txoj haujlwm no yog siv cov zaub siv los ntawm MAX72xx uas yog qhov muaj txiaj ntsig tiag tiag vim tias nws siv tsuas yog peb lub digital Arduino chaw nres nkoj. Kuv kuj tseem siv tus nqi pheej yig DS1307 RTC los khaws lub sijhawm ntawm lub moos ntawm nws lub cim xeeb sab hauv: tus qauv 24HS lossis AM-PM.

Txhua zaus koj rov pib dua lossis rov pib dua Arduino, lub sijhawm yuav hloov.

Thawj plaub tus lej ntawm sab laug ntawm cov duab qhia teev thiab feeb hauv cov lej lej. Peb tus lej tom ntej qhia cov teev, feeb thiab vib nas this hauv cov cim cim zauv thiab tus lej kawg ntawm txoj cai qhia hnub ua haujlwm.

Txog cov cai, Kuv yuav tsum txhim kho txoj hauv kev los siv "LedControl" lub tsev qiv ntawv kom tig tau cov lus pom zoo 7-Seg los ua tus lej Binary. Txoj kev daws teeb meem yog siv "setRow" ua haujlwm uas feem ntau siv rau kev teev npe teev npe. Nrog rau txoj haujlwm no, koj tuaj yeem tswj tus kheej cov zaub LEDs los tsim ib qho qauv tshwj xeeb.

Vam tias koj nyiam!

Kauj Ruam 1: Cov Khoom Npe

Cov Khoom Siv
Cov Khoom Siv
Cov Khoom Siv
Cov Khoom Siv
Cov Khoom Siv
Cov Khoom Siv
  • Arduino UNO R3
  • 8 Tus lej x 7 Segments LED Zaub nrog MAX7219
  • DS1307 RTC Module (Lub Sijhawm Tiag)
  • Me me Breadboard
  • Cov neeg dhia

Kauj ruam 2: Schematics

Schematics
Schematics

Kev sib txuas sib txuas tau pom nyob hauv daim duab txuas.

Ua tib zoo ua ntej tig lub hwj chim.

Kauj Ruam 3: Tus Qauv

Kuv tau ua tus qauv luam tawm ntawm daim ntawv los npog thiab pab txhawb kev nyeem ntawv ntawm LED zaub.

Tsuas yog luam tawm thiab txiav nws hla 7 Seg Zaub.

Kauj ruam 4: Arduino Code

Hauv cov ntawv txuas yog Arduino code.

Koj yuav xav tau cov tsev qiv ntawv hauv qab no los khiav cov cai no:

LedControl.h - Lub tsev qiv ntawv los tswj cov LED zaub nrog MAX72xx

Wire.h - Lub tsev qiv ntawv los txhawb kev sib txuas lus nrog RTC

DS1307RTC.h - Lub tsev qiv ntawv los tswj hwm RTC

Pom zoo: