Cov txheej txheem:
- Kauj Ruam 1: Peb Xav Tau Dab Tsi?
- Kauj Ruam 2: Kev Sib Txuas/Xov Tooj
- Kauj ruam 3: Coding
- Kauj Ruam 4: Kev Tshaj Tawm (Yeem Xaiv)
Video: Arduino Digital Clock Siv DS1302: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Taw qhia
Nyob zoo cov phooj ywg, Kuv vam tias koj txhua tus ua tau zoo. Qhov no yuav yog txoj haujlwm luv luv thiab yooj yim txog yuav ua li cas thiaj ua lub moos digital siv Arduino.
Hauv txoj haujlwm no, peb yuav ua lub moos digital nrog kev pab los ntawm Arduino thiab hloov pauv npe. Qhov no tsuas tuaj yeem tso saib lub sijhawm hauv 24 teev hom ntawv nrog ntsais muag teev (sawv cev rau vib nas this).
Kuv tab tom siv Sijhawm Sijhawm Sijhawm Sijhawm (RTC) DS1302 rau lub sijhawm. Qhov zoo tshaj plaws txog nws yog siv tsuas yog Shift register thiab 4-digit 7segment display.
Kauj Ruam 1: Peb Xav Tau Dab Tsi?
Nov yog daim ntawv teev cov ntu peb xav tau:
- Arduino Uno/Nano
- RTC Moog Module (DS1302)
- 4-tus lej Xya Segment Zaub
- Hloov Sau Npe (74HC595)
- 220 Ohm Resistor x4 (Kom Txo Lub Teeb)
- CR2032 npib cell (Rau RTC module)
- Jumper Hlau
- BreadBoard
- Perf Board (Yeem rau Prototyping) Lithium-Ion Battery (Rau Lub Hwj Chim Source)
Yog li Nov yog qhov peb txhua tus xav tau.
Kauj Ruam 2: Kev Sib Txuas/Xov Tooj
Hauv qhov no, peb txuas Segment Display rau Arduino thiab Shift Register raws li hauv qab no:
Pin A rau Q0, Pin B rau Q1, Pin C rau Q2, Pin D rau Q3, Pin E rau Q4, Pin F rau Q5, Pin G rau Q6 ntawm Kev Hloov Npe
Pin DP (H) rau tus Pin 3 ntawm Arduino
Pin Digit1 rau Tus Pin 7 ntawm Arduino
Pin Digit2 rau Tus Pin 6 ntawm Arduino
Pin Digit3 rau Tus Pin 5 ntawm Arduino
Pin Digit4 rau Tus Pin 4 ntawm Arduino
Tsis tas li, txuas 220-ohm Resistors nrog txhua tus lej ntawm ntu zaub. (Saib daim duab)
Tam sim no peb txuas RTC Module rau Arduino, ntxig cov npib cell hauv tus qauv, thiab txuas raws li daim duab qhia. Ib yam rau Shift Register.
Koj tuaj yeem rub tawm cov duab no los ntawm qhov txuas hauv qab no. Schematic BreadBoard Kev Sib Txuas
Kauj ruam 3: Coding
Koj yuav pom tus lej zoo li no raws li qhia hauv duab:
Tsuas yog teeb tsa lub sijhawm tam sim no hauv kab kab ntawv no thiab xa nws mus. Tom qab rub tawm, tawm tswv yim rau kab ntawv no (siv ob qhov sib piv piv txwv li //) vim tias thaum lub sijhawm tau teeb tsa nws tseem tsis hloov pauv.
Suav nrog lub tsev qiv ntawv (muab hauv kab ntawv txuas hauv qab no) hauv qhov program los ntawm kev mus rau
Sketch <Xws li Lub Tsev Qiv Ntawv <Ntxiv. ZIP cov ntaub ntawv <Ntxiv txoj hauv kev ntawm koj cov ntaub ntawv rub tawm
Rub tawm cov cai thiab tsev qiv ntawv los ntawm qhov txuas hauv qab no:
Download tau Code
Kauj Ruam 4: Kev Tshaj Tawm (Yeem Xaiv)
Peb tuaj yeem ua qhov haujlwm no nqa tau los ntawm kev sib txuas ntawm PCB.
Thaum ua nws ntawm PCB kom ntseeg tau tias koj tab tom siv tus poj niam header pins txhawm rau txhim kho Arduino circuits txwv tsis pub siv ncaj qha yuav ua rau lub cuab yeej puas. Tsis tas li, siv 16 tus pin IC puag rau kev hloov ua haujlwm tiv thaiv lwm yam cuab yeej tuaj yeem tau txais kev puas tsuaj (tib yam tshwm sim hauv kuv kis).
Tsis tas li ntawd, Kuv tau muab cov ntu tso rau ntawm lwm PCB uas tuaj yeem ntsia tau yooj yim ntawm lub npov lossis lwm yam.
Txuas txhua qhov sib koom kom raug lwm qhov hauv Circuit yuav tsis ua haujlwm.
Cov lus pom zoo: Ua ntej ua nws ntawm daim ntawv tais ntawv tom qab ntawv koj tuaj yeem muab nws txuas rau PCB.
Pom zoo:
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 6 Cov Kauj Ruam
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Los Siv Rov Los: " Suab paj nruag yog cov lus thoob ntiaj teb ntawm tib neeg. Thiab qhov zoo tshaj plaws-lawv tsis tau them kuv ib dime. Txhua yam nyob rau hauv no pr
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Yooj Yim Cov Chaw Siv Cov Ntaub Ntawv Hauv Chaw Siv Hauv / Arduino / PfodApp: 6 Cov Kauj Ruam
Yooj Yim Cov Ntaub Ntawv Tseem Ceeb Siv Hauv Hauv/Arduino/PfodApp: Rau Plotting Cov Ntaub Ntawv tawm tsam Hnub/Sijhawm siv tsuas yog Arduino's millis () pom qhov qhia no Android mobile thiab ntes nws rau
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