Cov txheej txheem:

Tham Nrog Mloog Ob Hom Lus (EN+PT): 5 Kauj Ruam (nrog Duab)
Tham Nrog Mloog Ob Hom Lus (EN+PT): 5 Kauj Ruam (nrog Duab)

Video: Tham Nrog Mloog Ob Hom Lus (EN+PT): 5 Kauj Ruam (nrog Duab)

Video: Tham Nrog Mloog Ob Hom Lus (EN+PT): 5 Kauj Ruam (nrog Duab)
Video: Yasmi - Txiv Nraug Ntsuag ft. JN Vang (Music Video) 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
4-Stroke Digital Moos
4-Stroke Digital Moos
4-Stroke Digital Moos
4-Stroke Digital Moos
Digital & Binary Moos hauv 8 Tus lej X 7 Ntu LED Zaub
Digital & Binary Moos hauv 8 Tus lej X 7 Ntu LED Zaub
Digital & Binary Moos hauv 8 Tus lej X 7 Ntu LED Zaub
Digital & Binary Moos hauv 8 Tus lej X 7 Ntu LED Zaub

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

Lub Sijhawm Tham 2 (Ob Yam Lus) yog qhov hloov tshiab ntawm Tham Sijhawm Kuv tau tshaj tawm qee lub sijhawm dhau los.

Txoj cai tau hloov kho los txhawb ob hom lus (Lus Askiv/Portuguese) thiab cov yam ntxwv tshiab tau qhia rau hauv txoj cai:

  • Hom 1: Teem sijhawm (teev & feeb)
  • Hom 2: Lub moos tham txhua feeb
  • Hom 3: Lub moos tham txhua teev
  • Hom 4: Lub moos hais lus lub sijhawm thaum nias lub pob
  • Hom 5: Teev lus rau Askiv lossis Portuguese

Nco tseg: Cov lus xwm txheej tau khaws cia hauv Arduino - EEPROM kom khaws cov ntaub ntawv no txawm tias thaum nws rov pib dua lossis qhib.

Nws tau tshaj tawm tias yog xaiv tau lub tshuab hluav taws xob me me PAM8403 (3W + 3W) rau kev tswj hwm lub suab zoo hauv tus hais lus.

Kuv siv tsuas yog ib tus neeg hais lus (ib lub suab channel), tab sis koj tuaj yeem ntxiv lwm tus yog tias koj xav tau.

Kauj Ruam 1: Cheeb Tsam

Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
  • Arduino UNO R3
  • DFPlayer Mini MP3 Player
  • Zaub TM1637
  • PAM8403 - Mini Audio Aplifier (3W+3W) - Qhov no yog nyob ntawm yeem
  • SD mini - Daim npav nco
  • Pushbutton Hloov
  • Resistor 1k AW
  • Hais lus 3W
  • Cov qhob cij
  • Cov neeg dhia

Nco tseg: Cov ntsiab lus ntawm DFPlayer Mini ntawm:

www.dfrobot.com/wiki/index.php/DFPlayer_Mi…

Kauj ruam 2: Schematics

Schematics
Schematics

Tseem ceeb: Nws tsis pom zoo siv USB chaw nres nkoj ua lub zog siv hauv txoj haujlwm no. Txuas Arduino mus rau lub zog sab nraud ntawm 9V x 1A (lossis siab dua) vim tias muaj lub zog nce thaum tus neeg hais lus ua haujlwm, ua rau Arduino tsis ruaj khov.

Kauj ruam 3: Txoj Cai & Cov Ntaub Ntawv MP3

Cov Cai & Cov Ntaub Ntawv MP3
Cov Cai & Cov Ntaub Ntawv MP3

Daim npav SD yuav tsum tau muab ua qauv rau FAT32 thiab daim nplaub tshev npe "MP3" yuav tsum tsim.

Hauv MP3 nplaub tshev tau khaws tag nrho cov ntaub ntawv ntawm lub suab (74 hauv tag nrho) ua lus Askiv thiab Portuguese.

Hauv hom 3, thaum lub moos hais lus txhua teev, muaj lub suab "tswb tsev teev ntuj" uas tsuas yog ua haujlwm thaum 08:00 txog 18:00. Lub suab no tau hais ntau zaus ntau zaus raws li teev ntawm lub sijhawm ntawd.

Nco tseg: Txhua cov ntaub ntawv yuav tsum muaj npe raws li qauv "nnnn.mp3", pib hauv "0000.mp3".

Kauj Ruam 4: DFPlayerMini Library

Lub tsev qiv ntawv "DFRobotDFPlayerMini" tuaj yeem nrhiav tau ntawm:

github.com/DFRobot/DFRobotDFPlayerMini

Kauj ruam 5: Teeb

Muaj 3 lub laub khawm siv rau kev ua haujlwm nrog cov haujlwm hauv qab no:

#1:

Tsiv mus rau hom ua haujlwm tom ntej.

#2:

Kho cov teev nyob rau hauv Hom Teeb

Hais lus lub sijhawm hauv Xov Xwm Nyem Hom

Teem rau Portuguese hauv Hom Lus.

#3:

Kho lub feeb nyob rau hauv Hom Teeb

Hais lus lub sijhawm hauv Xov Xwm Nyem Hom

Teem rau Askiv hauv Hom Lus.

Nco tseg: Txhawm rau txav mus rau hom tom ntej, nyem lub pob #1 kom txog rau thaum hais lus tom ntej pib (xiav LED ntawm DFPlayer nyob rau lub sijhawm no).

Pom zoo: