Cov txheej txheem:

LED Matrix Tswb Tswb (nrog MP3 Player): 6 Cov Kauj Ruam (nrog Duab)
LED Matrix Tswb Tswb (nrog MP3 Player): 6 Cov Kauj Ruam (nrog Duab)

Video: LED Matrix Tswb Tswb (nrog MP3 Player): 6 Cov Kauj Ruam (nrog Duab)

Video: LED Matrix Tswb Tswb (nrog MP3 Player): 6 Cov Kauj Ruam (nrog Duab)
Video: JBL CHARGE 3 - BASS TEST !!! 2024, Hlis ntuj nqeg
Anonim
LED Matrix Tswb Tswb (nrog MP3 Player)
LED Matrix Tswb Tswb (nrog MP3 Player)
LED Matrix Tswb Tswb (nrog MP3 Player)
LED Matrix Tswb Tswb (nrog MP3 Player)

Arduino raws lub tswb moos no muaj txhua yam uas koj xav tau los ntawm koj lub tswb - muaj peev xwm tsa koj nrog txhua zaj nkauj koj nyiam, khawm khawm thiab nws yooj yim los tswj los ntawm peb lub khawm. Muaj peb lub ntsiab lus tseem ceeb - LED matrix, RTC module thiab MP3 shield nrog tus hais lus.

Kauj Ruam 1: Cov Khoom & Cov Cuab Yeej

  • LED Matrix Cov
  • Arduino Ib
  • MP3 ntaub thaiv npog DHF player Mini
  • RTC tus qauv DS1307
  • Txhua Tus Hais Lus
  • 3 cov nyees khawm (nrog rub tawm/pulldown resistors 10k)
  • Hlau
  • Plexi (lossis cov khoom siv uas koj xav tau koj lub thawv)
  • 3D tshuab luam ntawv (rau luam ntawv matrix thawv)
  • DC fais fab mov txuas
  • USB B poj niam txuas.

Kuv ntseeg tias koj tuaj yeem hloov kho cov npe khoom no raws li koj muaj peev xwm (twv yuav raug hu koj tuaj yeem siv MP3 Shields sib txawv, sib txawv RTC cov qauv thiab txhua yam yuav tsum ua haujlwm zoo xwb:)

Kauj Ruam 2: LED Matrix

LED Matrix Cov
LED Matrix Cov
LED Matrix Cov
LED Matrix Cov
LED Matrix Cov
LED Matrix Cov

Raws li kev tshoov siab, Kuv siv cov ntawv qhia no los tsim cov lej LED, Kuv tsuas yog txiav txim siab tsis siv daim ntawv pov thawj tsim qauv thiab tsim kuv tus kheej PCB. Koj tuaj yeem pom kuv qhov haujlwm hauv tus tsim hluav taws xob ntawm no. Koj kuj tseem tuaj yeem siv cov lej thiab yog tias koj xav xa cov ntaub ntawv gerber (es tom qab ntawd tsim nws los ntawm cov phiaj xwm tsim hluav taws xob los ntawm peb tus kheej) qhia rau kuv paub tias kuv yuav muab nws rau koj:). Qee qhov lus qhia - ua ntej kuv siv LED pheej yig heev tab sis tom qab kuv tau siv tag nrho cov diodes thiab khiav cov lej arduino, tig tawm qhov sib txawv ntawm LED diode xim tsis tuaj yeem lees txais yog li kuv xav xaj kom sib txawv thiab ua lwm qhov LED matrix. Kuv yuav piav qhia txoj haujlwm ua haujlwm hauv Tshooj arduino. Xijpeem, txhawm rau nrhiav seb koj puas ua haujlwm tau zoo thiab tso saib tau ua haujlwm, tsuas yog hloov qhov nyob hauv DisplayChar ua haujlwm hauv lub ntsiab arduino voj (piv txwv li siv DisplayChar (1, letA); siv DisplayChar (0, 9); uas yuav sau tus lej 9 pib los ntawm kab 1), koj tsis tas yuav hais dab tsi ntxiv.

Kauj Ruam 3: Lwm HW

Lwm HW
Lwm HW
Lwm HW
Lwm HW
Lwm HW
Lwm HW

Lwm HW cov khoom siv los tsim lub tswb moos yog: RTC module, MP3 shield, Nyees khawm thiab arduino UNO.

Txog RTC tus qauv Kuv siv tus qauv DS1307 thiab lub tsev qiv ntawv MD_DS1307.h nws yooj yim heev txhua yam ua haujlwm tau zoo, tab sis kuv xav kom tej zaum siv ntau qhov tseeb RTC module zoo li 3231 lossis lwm yam - yog tias kuv tso nws tsis muaj hwj chim li ob peb hnub nws pib xoob qee lub sijhawm.

MP3 ntaub thaiv npog DHF player Mini - Cov ntaub thaiv MP3 no yooj yim heev, koj tuaj yeem rub qee qhov mp3 rau SD daim npav, txuas ib tus neeg hais lus uas koj pom thiab tom qab ntawd nws tuaj yeem ua ob txoj hauv kev los ntawm kev sib txuas lus, lossis los ntawm I/O pins. Ua siab ncaj los ntawm qee qhov laj thawj kuv tsis ua tiav hauv kev sib txuas lus (nws tsis ua haujlwm nrog SPI thiab I2C kev sib txuas lus siv rau lwm qhov sib piv) tab sis kuv tau ua siab zoo tsuas yog siv IO pins (Kuv siv ADKEY1 txuas nrog rau arduino Digital output raws li tus ua kom ua nkauj thiab dua tus pin USB+ kom nres lub suab nkauj).

Raws li koj tuaj yeem pom ntawm daim duab, Kuv tau siv peb lub khawm yooj yim ntawm lub rooj tsav xwm qauv txuas nrog rau Digital Inputs ntawm arduino nrog rub nqis 10kOhm resistors.

Txoj hlua rau arduino tuaj yeem pom meej hauv Arduino code:)

Kauj Ruam 4: Cov Neeg Kho Tshuab

Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab
Qhov Chaw Kho Tshuab

Txhawm rau tsim qhov pom ntawm cov zaub zoo ib txwm, koj yuav tsum siv qee daim phiaj los txheeb xyuas qhov tseeb ntawm txhua tus LED. Kuv siv daim ntawv luam tawm 3D yooj yim uas ua haujlwm tau zoo - Nws yog tsim los ntawm ob ntu, sab laug thiab sab xis, koj tuaj yeem pom cov ntaub ntawv STL hauv cov ntawv txuas.

Lub thawv yog milled ntawm CNC tshuab los ntawm mis plexi. Nws yog tag nrho ntawm koj los ntawm cov ntaub ntawv twg koj ua hauv, tsuas yog ib qho kev pom zoo, yog tias koj yuav siv cov khoom zoo ib yam li kuv tau ua, muab qee cov txheej txheej semipermeable rau ib feem uas yog ncaj qha ntawm LEDs txhawm rau tiv thaiv LEDs pom raws li lub hauv paus ntawm lub teeb. Koj tuaj yeem pom tias nyob rau sab phab ntsa muaj qhov chaw rau DC lub zog txuas hluav taws xob thiab USB txhawm rau tshaj tawm cov tswv yim zoo ntawm cov lej:) Kuv tau siv cov kua nplaum rau cov yas rau cov kua nplaum plexi ua ke. Hauv cov ntawv txuas muaj cov ntaub ntawv STL rau txhua ntu (Ua tsaug kuv tus phooj ywg Peshi rau kev tsim lub thawv txias no:))

Kauj Ruam 5: Tshooj Arduino

Arduino Tshooj
Arduino Tshooj

Hauv ib feem cuam tshuam nrog arduino Kuv tsuas yog xav piav qhia luv luv lub ntsiab lus txheej txheem txheej txheem thiab tom qab ntawd ob peb lo lus los tswj hwm Shift sau npe los ntawm SPI thiab Tswb teeb tsa.

Hauv lub voj tseem ceeb koj tsuas yog txheeb xyuas seb qee lub pob tau nias, txheeb xyuas seb RTC xa koj cov txiaj ntsig tshiab tshiab ntawm feeb thiab seb nws puas yog lub sijhawm los ua qee zaj nkauj paj yeeb paj yeeb:) thiab yog tias tsis yog, koj tsuas yog qhib thiab tua LEDs nrog teev cov zauv.

Tswj cov lej LED - Txhawm rau nkag siab zoo nws yog qhov zoo los ua raws cov lus qhia rau LED matrix Kuv tau hais thaum pib, tab sis tsuas yog luv luv - nws yog qhov tseem ceeb kom nkag siab tias los qhia tus lej lossis cov ntawv hauv Matrix no, koj yuav tsum xaiv ib qho LED los ntawm teeb kab yuav tsum tau qhib, thiab tom qab ntawd tig tag nrho LEDs los ntawm kab rau qee lub sijhawm. Hauv cov kauj ruam tom ntej koj yuav tua kab no thiab npaj kab thib ob thiab qhov no ib zaug ntxiv. Qhov no txhais li cas? - tsis txhob siv sijhawm qeeb! - txwv tsis pub nws yuav tsis qhia koj tus lej tab sis tsuas yog ntsais:)

Kuv siv qhov sib txawv heev thiab kuv yuav hais txoj hauv kev yooj yim los tswj kev hloov npe (ua tsaug rau kuv tus phooj ywg Krystof uas tau sau txoj haujlwm no kom du). Yog li thawj kauj ruam (npaj cov ntaub ntawv rau kev hloov pauv rau npe tau tshwm sim hauv kev ua haujlwm DisplayChar, qhov uas koj tsuas yog pom lub cim xav tau los ntawm kab ntawv tas li thiab npaj cov ntaub ntawv rau npe. pom qhov screen los ntawm arduino IDE)

Teeb Tswb. Muaj peb lub khawm, sab laug, nruab nrab, thiab sab xis. Thaum koj nias ob sab xis thiab nruab nrab, koj yuav nkag mus rau lub tshuab raj ceeb toom. Hauv Alarm menu muaj cov haujlwm hauv qab no muaj - khawm sab laug (Teeb tsa lub tswb rau teev) khawm nruab nrab (Teeb tsa lub tswb rau feeb) Txoj cai khawm ntev nias (lees paub lub tswb), nias ntev ntawm nruab nrab thiab khawm sab xis (tshem lub tswb uas twb muaj lawm).

Thaum lub tswb tau teeb tsa (koj tuaj yeem lees paub qhov no los ntawm qhov tseeb lub tswb tig rau ntawm lub cim LED hauv qab sab xis) thiab Lub moos yuav pib ua si koj nyiam nkauj thaum sawv ntxov:) muaj cov haujlwm hauv qab no tuaj yeem siv tau - khawm sab laug (Snooze rau lwm 5 feeb), khawm nruab nrab (tshem tawm lub tswb).

Kauj Ruam 6: Ua Tsaug Tswb

Image
Image
Tiav Tswb
Tiav Tswb

Thaum kawg, Kuv tsuas yog lo txhua yam sab hauv ua ke:) thiab kaw cov kua nplaum sab nraub qaum ntawm lub tswb. Hauv daim vis dis aus txuas nrog, koj tuaj yeem pom lub tshuab tswj ntawm lub tswb no. Tsuas yog nco ntsoov hauv kab lus, hauv kab vis dis aus nws zoo li nws ntsais muag, nws tshwm sim los ntawm txoj cai ntawm kev qhib thiab tua LEDs thiab lub koob yees duab kab lus kab lus tus nqi - qhov tseeb koj lub qhov muag pom qhov no raws li qhib yam tsis ntsais muag:)

Rau yav tom ntej kuv xav sim cov khoom sib txawv - hom phiaj qee qhov dub:) thiab ntxiv qee qhov haujlwm ntxiv, xws li qhia hnub tim, tej zaum kub thiab lwm yam:)

Vam tias koj yuav txaus siab tsim koj lub tswb moos, thiab tos ntsoov koj lub tswv yim:)

Clocks Contest
Clocks Contest
Clocks Contest
Clocks Contest

Qhov khoom plig thib ob hauv Kev Sib Tw Clocks

Pom zoo: