Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kev Tsim Qauv thiab Kev Tsim Kho Arduino Code
- Kauj Ruam 2: Daim duab Circuit Court
- Kauj Ruam 3: Case Case
Video: 30-feeb Timer Tswb Tswb: 3 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Ib tus phooj ywg tab tom pib ua lag luam me uas xaum peev txheej rau 30 feeb sijhawm.
Kuv tau muab los tsim qhov yooj yim Arduino raws lub tswb moos. Qhov tsim no siv Pro Micro microcontroller, DFPlayer Mini MP3 player, thiab DS3231 lub sijhawm tiag tiag (RTC.) Kuv siv Fusion 360 los tsim rooj plaub, raws li Fusion 360 Tutorial - Yooj Yim Snap Fit Case!
Khoom siv
- Arduino Pro Micro, 5 volt, 16 MHz
- DFPlayer Mini MP3 player
- MicroSD daim npav
- DS3231RTC
- 1602 16x2 LCD nrog I2C Interface
- tus hais lus me me
- 2 lub pob me me SPST
- 5 volt DC fais fab mov
- Barrel jack rau lub hwj chim nkag
- ntau yam ntsia hlau/standoff/ceev, thiab lwm yam.
- pawg thawj coj saib perf
- poj niam thiab txiv neej 2.54mm lub taub hau
- Cov ntawv luam tawm 3D
Kauj Ruam 1: Kev Tsim Qauv thiab Kev Tsim Kho Arduino Code
Kuv tau tsim qauv tsim nrog SparkFun Inventor's Kit uas suav nrog Arduino Uno board, breadboard, jumper wires, thiab lwm yam.
Kuv xub siv "Tiny RTC" DS1307 lub sijhawm tiag tiag. Txawm li cas los xij, Kuv tau kawm tias DS3231 RTC yog qhov kev xaiv zoo dua vim tias nws suav nrog ntsuas kub ntsuas qhov ntsuas kom pom tseeb lub sijhawm khaws cia. Nco ntsoov tias DS3231M tsis yog qhov kub tau them, yog li ua tib zoo saib ua ntej yuav khoom.
DFPlayer Mini MP3 Player cov ntaub ntawv suav nrog daim duab txuas thiab qauv qauv. Qhov no ua haujlwm tau zoo rau kuv. Rau lub suab ceeb toom, Kuv nyiam qhov no "Hu nkauj lub tais ntaus nrog lub mloog pob ntseg" kaw rau Freesound. With Audacity, Kuv hloov pauv cov ntaub ntawv rau mono, txiav nws kom luv dua, ntxiv qhov fadeout, thiab khaws nws rau hauv.mp3 file. Tom qab ntawd, kuv tau theej cov ntawv.mp3 rau hauv daim npav SD thiab muab tso rau hauv DFPlayer Mini. (Tau kawg, qhov qauv tsim no tso cai rau koj siv lub suab rau lub tswb.)
Ob lub laub khawm nce/txo lub sijhawm los ntawm ib feeb. Kuv txuas cov no rau 2 tus pin uas tau qhib rau cuam tshuam thiab siv txuasInterrupt ()
Txoj cai nyob hauv "shoni_clock.ino" txuas ntxiv. Resources rau Arduino code thiab kev sib txuas:
-
DFPlayer Mini MP3 Player
#suav nrog "DFRobotDFPlayerMini.h"
- Adafruit RTClib
- #suav nrog
- LiquidCrystal_I2C
- #suav nrog
Kauj Ruam 2: Daim duab Circuit Court
Kuv siv Fritzing los tsim lub Circuit Court.
- schematic Fritzing qhov chaw: shoni_clock.fzz
- schematic.pdf: shoni_clock_schem.pdf
Kauj Ruam 3: Case Case
Txoj haujlwm no yog lub sijhawm zoo los txhim kho kuv li 3D CAD txuj ci tsim txuj ci. Kuv siv Fusion 360. qhia txog cov txheej txheem muaj txiaj ntsig rau kev tsim cov ntsuas ntsuas (qhov ntev, dav, qhov siab, pluaj tuab) cov xwm txheej nrog sib dhos ua ke rau qhov tsis muaj cov ntsia hlau/kua nplaum.
Kuv ntxiv qhov thiab txiav tawm rau lub hwj chim txuas, LCD zaub, lub sijhawm teeb tsa cov nyees khawm, thiab tus hais lus. Kuv tsim lub nplhaib yooj yim los teeb tus neeg hais lus rau sab hauv sab saum toj ntawm rooj plaub. Kuv siv Fusion 360 tus qauv siv los tsim cov kab sib dhos ntawm qhov rau tus hais lus. Nws yuav tau zoo dua los tsim cov lus hais txog cov hniav nyiaj hniav kub, tab sis kuv tsis tuaj yeem nrhiav txoj hauv kev yooj yim los ua qhov no. Txhua tus neeg tau tsim ib tsab ntawv rau qhov qub version ntawm Fusion, tab sis nws tsis nruab Nyob rau qhov hloov tshiab kawg. Koj puas muaj lub tswv yim yuav ua li cas thiaj ua tus qauv hais lus ncig? Qhia rau peb paub nrog saib.
Kuv luam qhov no hauv PLA ntawm Ender 3 lub tshuab luam ntawv.
3D luam ntawv tsim cov ntaub ntawv:
-
Hais lus mount:
- Fusion 360 qhov chaw: speaker_mount v1.f3d
- STL: speaker_mount.stl
-
Rooj plaub:
- Fusion 360 qhov chaw: ShoniClockCase v20.f3d
- Cov ntaub ntawv kaw STL: shoni_clock_case.stl
- Hauv qab npog STL: shoni_clock_case_bottom_cover.stl
Pom zoo:
Tswb Tswb Tswb Tswb Tswb Ntse Teeb: 8 Kauj Ruam (nrog Duab)
Tswb Tswb Tswb Tswb Tswb Lub Teeb: Hauv qhov haujlwm no kuv tau siv lub tshuab cua-tsoo lub tswb tawg tag. Lub ntsej muag ntawm lub moos tau hloov pauv los ntawm 12 LEDs, teeb pom kev los ntawm LED kab ib ncig ntawm ntug ntawm lub moos. 12 LEDs qhia lub sijhawm thiab cov hlua LED tau teeb tsa los ua lub tswb, tig
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: 10 Kauj Ruam (nrog Duab)
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: Koj puas tau xav tau lub moos ntse? Yog tias yog, qhov no yog kev daws teeb meem rau koj! Thaum lub tswb nrov tawm, yuav muaj lub suab (buzzer) thiab 2 lub teeb yuav
Arduino Push Alerts rau Lub Tswb, Tswb Tswb, Tswb Tswb Tswb Thiab Lwm Yam: 8 Kauj Ruam
Arduino Push Alerts rau Tswb, Tswb Tswb, Tswb Tswb Tswb thiab lwm yam: IoT Cov Ntawv Ceeb Toom los ntawm koj lub Tswb, Tswb Tswb, Tswb Tswb thiab lwm yam siv Arduino Uno thiab Ethernet Shield. Cov ncauj lus kom ntxaws ntawm kuv lub vev xaib ntawm no Hais txog Arduino Push Alert Box Siv Arduino Uno thiab Ethernet Shield raws li Wiznet W5100 nti rau
Tswb Tswb Tswb Tswb Nrog Arduino: 9 Kauj Ruam (nrog Duab)
Tswb Tswb Tswb Tswb Nrog Arduino: Lub caij ntuj no tuaj yeem tu siab. Koj sawv, nws tsaus ntuj thiab koj yuav tsum tau tawm ntawm txaj. Qhov kawg uas koj xav hnov yog lub suab nrov nrov ntawm koj lub tswb tswb. Kuv nyob hauv London thiab kuv muaj lub sijhawm nyuaj thaum sawv ntxov. Tsis tas li ntawd, kuv nco tsis tau txog rau
LED Tswb Tswb Tswb Tswb Tswb Tswb Tsa Tswm Tsa: 7 Kauj Ruam (nrog Duab)
LED Tswb Tswb Tswb Tswb Tswb Tswb Tsa Tswm Tsa Tswm Tswm: Tsa Kuv Lub Caij Ntuj No Lub caij ntuj no kuv tus hluas nkauj muaj teeb meem sawv thaum sawv ntxov thiab zoo li raug kev txom nyem los ntawm SAD (Lub Caij Caij Nyoog Muaj Teeb Meem). Kuv txawm pom tias nyuaj npaum li cas kom sawv thaum lub caij ntuj no vim lub hnub tsis tuaj