Cov txheej txheem:
- Kauj Ruam 1: Tshawb Nrhiav Txog Tus Xib Hwb Koj Puas Tau Hloov
- Kauj Ruam 2: Koj Xav Tau Cov Khoom No
- Kauj Ruam 3: Muab Nws Ua Ke Cov Khoos Phis Tawj
- Kauj Ruam 4: Tsim Cov Khoom Siv Hluav Taws Xob
- Kauj ruam 5: Arduino Firmware
- Kauj Ruam 6: Lub Tsev Qiv Ntawv Nruab Hnub
- Kauj Ruam 7: Java Control Program
- Kauj Ruam 8: Kev teeb tsa
- Kauj ruam 9: Nws Ua Haujlwm
Video: Arduino-based Master Clock for Schools: 9 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Yog tias koj lub tsev kawm ntawv, lossis tsev kawm ntawv menyuam yaus, lossis lwm qhov chaw tso siab rau lub hauv paus tus tswv lub sijhawm uas tawg, koj tuaj yeem siv tau rau lub cuab yeej no. Tus tswv lub moos tshiab muaj nyob ntawm chav kawm, tab sis tsev kawm ntawv pob nyiaj siv tau nyob rau hauv kev nyuaj siab heev, thiab nws yog qhov haujlwm txaus siab tiag tiag yog tias koj muaj txuj ci tsim nyog.
Lub moos tseem ceeb no tswj hwm cov cim xa mus rau tus qhev lub moos, thiab ua kom lawv sib koom ua ke. Lub khoos phis tawj hauv lub moos tam sim no txhawb nqa Lub Sijhawm Tebchaws sib koom ua ke. Tus tswv tseem tseem tswj hwm lub tswb uas tuaj yeem teeb tsa lub sijhawm teem thaum nruab hnub. Lub khoos phis tawj hauv lub moos tam sim no txhawb nqa ob lub tswb tswb (tswb sab hauv tsev thiab sab nraum zoov). Lub khoos phis tawj hauv lub moos tseem tuaj yeem hloov kho kom haum rau lub sijhawm nruab hnub (qhov no tuaj yeem tua tau). Lub tsev qiv ntawv no tseem yuav muaj txiaj ntsig zoo rau lwm qhov phiaj xwm hauv moos (nco ntsoov tseem tau hloov kho Lub Sijhawm Sijhawm Sijhawm). Lub moos tau teeb tsa los ntawm kev txuas nws mus rau lub khoos phis tawj ntawm Arduino USB chaw nres nkoj, thiab khiav Java txoj haujlwm tswj hwm nrog GUI interface. Thaum lub sijhawm tau teeb tsa, thiab lub tswb tswb tau teeb tsa, lub khoos phis tawj tuaj yeem txuas tau. Tus tsim ntawm lub moos qhia txog kev yooj yim, nrog qhov tsawg kawg ntawm kev tswj hwm. Txhua qhov teeb meem nyuaj tau ua haujlwm zoo dua los ntawm kev ua haujlwm tswj hwm lub khoos phis tawj thiab txuas mus rau lub sijhawm ib ntus. Daim duab qhia pom lub vaj huam sib luag pem hauv ntej ntawm lub moos. Qhov hloov pauv tso lub tswb kom raug kaw yog tias tsis xav tau lub tswb (hnub so, hnub qhia kws qhia ntawv thiab lwm yam.) Cov LEDs ib txwm yog ntsuab, txhua yam qhia tau tias yog lub xeev txawv.
Kauj Ruam 1: Tshawb Nrhiav Txog Tus Xib Hwb Koj Puas Tau Hloov
Tus tswv lub moos uas tau hloov pauv los ntawm txoj haujlwm no yog "Rauland 2490 Master Clock". Nws tau tsum tsis ua haujlwm thaum muaj cua daj cua dub hnyav. Cov moos qhev tau txav nrawm heev (txuas ntxiv ua lub teeb liab sib txuas), thiab tus tswv lub sijhawm tom qab raug kaw. Yog li cov moos hauv tsev kawm ntawv txhua tus tau qhia txog tib lub sijhawm, tab sis txhua yam tsis raug, thiab ib txwm tsis raug. Qhov no ua pov thawj tias qhov kev hais tawm "txawm tias lub moos tawg raug yog ob zaug hauv ib hnub" yog qhov tsis tseeb. cov cheeb tsam tau siv rau tswb (sab hauv tsev, sab nraum zoov, cov tsev sib txawv thiab lwm yam) Koj lub tsev kawm ntawv (lossis lwm qhov chaw) tseem tuaj yeem muaj cov ntaub ntawv teev tseg nyob rau hauv daim ntawv ntawm cov kab hluav taws xob. Cov no tuaj yeem pab tau heev thaum txhim kho lub moos tshiab.
Kauj Ruam 2: Koj Xav Tau Cov Khoom No
Daim duab qhia qee yam ntawm cov khoom koj yuav xav tau. Koj yuav xav tau ntxiv. Thov tawm ib tsab ntawv yog tias kuv hnov qab qee yam. Hmoov tsis zoo, cov lus qhia no tau tsim tom qab qhov tseeb yog li kuv tsis muaj txhua daim duab uas kuv xav tau. * Arduino (lossis zoo sib xws) nrog Atmel '328 thiab USB txuas (Duemilanove yog qhov zoo tshaj)* 12v phab ntsa wart (hais 250 mA, nyob ntawm seb muaj pes tsawg tus xa koj yuav tsav)* 9V roj teeb, tus tuav, thiab txuas* LED's (ib qho ntsuab, ob xim liab/ntsuab)* diodes* resistors* relays (ib qho rau txhua lub tswb tswb, thiab ib lossis ntau dua rau cov teeb liab sib txuas)* LCD (tus qauv 2x20 cim HD44780-tso saib tau)* cov ntaub thaiv kom haum (loj, nruab nrab, thiab cov phiaj xwm me me)* ntsaws thiab txuas rau lub zog (5.5/2.1 mm piv txwv)* ntau yam ntsia hlau thiab lwm yam khoom siv khoos phis tawj nrog* Arduino IDE teeb tsa (nrog cov tsev qiv ntawv xav tau, saib cov kauj ruam 5)* Java-based Master Clock Control program (thiab Java ib puag ncig kev ua haujlwm, thiab rxtx lub tsev qiv ntawv)* USB chaw nres nkoj muaj* USB cable txuas rau Arduino* sijhawm teem rau qee yam tsim nyog
Kauj Ruam 3: Muab Nws Ua Ke Cov Khoos Phis Tawj
Kuv siv peb lub thawv ntawv* ib lub thawv loj rau cov khoom siv hluav taws xob* ib lub thawv nruab nrab rau kev xa xov hluav taws xob (sib xyaw ntawm qhov hluav taws xob qis thiab qhov hluav taws xob siab)* ib lub thawv me me rau kev sib txuas hluav taws xob siab Ua qhov nyob hauv cov thawv uas cov ntsia hlau tuaj yeem tuav lawv ua ke. Kuj ua qhov uas cov xov hlau tuaj yeem mus nruab nrab ntawm cov thawv. Lub thawv me me tseem xav tau qhov uas cov xaim tuaj yeem txuas rau kev teeb tsa. Lub thawv nruab nrab xav tau lub qhov rau txuas lub 9V lub roj teeb lub thawv. Qhov loj lub thawv xav tau qhov rau USB txuas ntawm Arduino thiab lub qhov rau lub zog ntsaws. Lub hau/sab saum toj ntawm lub thawv loj tseem xav tau qhov rau LEDs, hloov pauv, thiab LCD.
Kauj Ruam 4: Tsim Cov Khoom Siv Hluav Taws Xob
Schematics yuav muab ntxiv sai sai no!
Kauj ruam 5: Arduino Firmware
Thauj khoom "Master Clock Firmware" Arduino kos duab rau hauv Arduino IDE. Koj kuj tseem yuav tsum tau teeb tsa tus lej ntawm lwm lub tsev qiv ntawv (yog tias koj tseem tsis tau teeb tsa lawv)* Hnub Tim (siv cov ntawv hloov kho txuas nrog ntawm no)* Kev Nruab Hnub Nruab Hnub (saib cov kauj ruam tom ntej)* Hnub Tim Tim Sijhawm* Flash* Streaming* LiquidCrystal (los nrog IDE) Cov tsev qiv ntawv ua ke nrog cov cai ua rau kos duab loj dhau kom haum rau hauv Arduino ATmega128, uas yog vim li cas thiaj xav tau '328. Tej zaum yog tias koj tshem qee qhov chaws uas koj tsis xav tau rau koj txoj haujlwm nws tuaj yeem haum.
Kauj Ruam 6: Lub Tsev Qiv Ntawv Nruab Hnub
Nov yog lub tsev qiv ntawv xaiv uas ua haujlwm nrog hloov kho Lub Sijhawm Sijhawm. Yog tias koj qhov kev txuag nyiaj nruab hnub hloov pauv tsis zoo ib yam li Asmeskas kev tshaj tawm xyoo 2007, nws tsuas yog tsim nyog los hloov kho ib qho haujlwm uas nyob hauv nws cov ntaub ntawv. Qhov tseeb, raws li cov ntaub ntawv ntau ntxiv rau cov chaw sib txawv tau muab, lawv txhua tus tuaj yeem faib thiab xaiv los ntawm kev siv ib qho ntawv raug. Qhov no txwv tus lej tsim tawm rau lub tsev qiv ntawv no.
Kauj Ruam 7: Java Control Program
Cov duab no qhia lub vijtsam ntawm Java Master Clock Control program ua haujlwm. Ua ntej tshaj plaws, nws yog siv los teeb lub sijhawm ntawm Arduino board.
Nws muaj peev xwm sib txuas lus nrog Tus Xib Hwb Siv lub cuab yeej ntawm Arduino IDE.
Kauj Ruam 8: Kev teeb tsa
Yog tias koj tsis paub meej txog kev tiv thaiv kev nyab xeeb tsim nyog thaum teeb tsa lub mater moos tshiab, koj yuav tsum zaum tham nrog kws kho hluav taws xob. Txoj hauv kev huv tshaj plaws los teeb tsa lub moos tshiab tus tswv yog kom yooj yim hla kev sib txuas ntawm lub moos qub qub. Piv txwv li, yog tias muaj lub davhlau ya nyob twg ntawm tus tswv qub moos uas rub mus rau hauv av thaum lub teeb liab sib txuas yog "ntawm", tom qab ntawd txuas cov xov hlau no mus rau lub davhlau ya nyob twg ntawm lub moos tshiab. Lwm sab ntawm lub davhlau ya nyob twg sib txuas yuav tsum txuas nrog hauv av kom thaum kev sib txuas txuas cov xov hlau mus rau hauv av ua haujlwm zoo ib yam. Ib qho ntxiv, cov chaw xa xov tuaj yeem txuas nrog xaim kub (120 lossis 24V AC nyob ntawm tus qhev qheb kev qhia tshwj xeeb) thiab tom qab ntawd mus rau cov xov tooj sib txuas. Nws tiag tiag nyob ntawm kev teeb tsa ntawm cov txheej txheem uas twb muaj lawm thiab ntau npaum li cas koj txaus siab ua kom koj txhais tes qias neeg.
Kauj ruam 9: Nws Ua Haujlwm
Tus tswv lub moos tshiab tau teeb tsa thiab ua haujlwm tau zoo ntawm lub tsev kawm ntawv theem qis. Nov yog txoj hauv kev zoo rau txhua tus kws qhia paub koj yog leej twg. Cov menyuam yaus tsis raug yuav tuaj ntsib koj thiab ua tsaug rau "kho lub moos". Yog lawm, tib neeg txawm yuav tuaj cuag koj hauv khw muag khoom hauv nroog thiab ua tsaug! Lawv qhov tseem ceeb ntawm no tau kawg, tsis yog los hloov lub moos tawg tam sim ntawd, tab sis tos ib pliag ua ntej ua li ntawd. Tus tswv tseem ceeb tau ua haujlwm rau lub Kaum Ib Hlis 1, 2009 hloov los ntawm kev txuag nruab hnub nrig rau lub sijhawm. Tus tswv tswv qhia lub sijhawm raug, tab sis tus qhev moos tsis ua. Qhov no yog vim muaj teeb meem thaiv hluav taws xob (kab laum) qhov twg cov teeb liab sib txuas tau txais lub zog tsuas yog los ntawm roj teeb, thiab lub roj teeb tsis muaj zog heev. Qhov no tau kho tas thiab tam sim no teeb meem roj teeb tau raug kho tas lawm.
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Master Koj Micro: ntsis Nrog Arduino IDE-Khawm thiab Lwm Yam GPIO: 3 Cov Kauj Ruam (nrog Duab)
Master Koj Micro: ntsis Nrog Arduino IDE-Khawm thiab Lwm Yam GPIO: Hauv peb qhov blog yav dhau los Master Koj Micro: me ntsis nrog Arduino IDE - - Teeb LED, peb tau tham txog yuav ua li cas rau nruab micro: me tsev qiv ntawv ntawm Arduino IDE thiab ua li cas tsav LED ntawm micro: me ntsis nrog Arduino IDE. Hauv kab lus no, peb yuav qhia koj h