Cov txheej txheem:
- Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
- Kauj Ruam 2: Daim duab Circuit Court
- Kauj ruam 3: Coding
- Kauj ruam 4: Thaum kawg…
Video: Mloog Digital Siv Microcontroller (AT89S52 Tsis Muaj RTC Circuit): 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cia piav qhia lub moos … "Lub moos yog lub cuab yeej uas suav thiab qhia lub sijhawm (txheeb ze)" !!!
Kwv yees kuv tau hais yog lawm yog li cia ua CLOCK nrog ALARM feature.
NCO TSEG: nws yuav siv sijhawm li 2-3 feeb hauv kev thov thov nyeem tag nrho txoj haujlwm lossis lwm yam kuv yuav tsis muaj lub luag haujlwm rau ib feem puas
Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
6 yam xav tau:
1. Microcontroller (Kuv tau siv AT89S52-8051 tsev neeg), txhua lub programmable microcontroller tuaj yeem siv tau.
2.7 ntu tso saib
3. Crystal oscillator (12MHz)
4. Capacitor (10uF, 33pF/22pF)
5. LWD
6.resistances (330 Ohm)
7.zoo (piezo)
8.push hloov
Thiab kuv tsis suav nrog cov hlau txuas, xaim, flux….. hluav taws xob !!! pab kuv tawm:)
Kauj Ruam 2: Daim duab Circuit Court
Nov yog daim duab qhia chaw ntawm lub moos digital siv 8051 microcontroller.
Raws li peb tuaj yeem pom lub microcontroller txuas nrog peb 7 ntu ntu nrog cov chaw nres nkoj sib txawv tsis sib npaug thiab cov teev teev kawg tsuas yog txuas rau tus pin raws li nws qhia tau 1.
LED thiab buzzer yog tus kheej piav qhia raws li txoj cai.
1 ntawm LED yog rau AM thiab kuv tau txuas nrog lwm LED tsis pom hauv daim duab rau tswb.
Crystal Oscillator ntawm 12MHz txuas nrog lub moos nrawm thiab ua tiav qhov tseeb 1second suav nrog siv cov cuab yeej cuam tshuam ntawm microcontroller.
MIDDLE LEDS DENOTING SECOND tau txuas rau "28TH THIAB 32ND" PIN
Thov zam txim rau kuv, 3 LEDs tsis tau qhia hauv daim duab qhia chaw rau kuv kev tub nkeeg
28th tus pin LED: thawj 30 thib ob ntsais muag
32nd pin LED: so 30 thib ob ntsais muag
**** pab txhawb rau tag nrho feeb !! *** Kuv paub tseeb tom qab qhov haujlwm no kuv tau los paub 60 thib ob ua rau feeb !!! WOW
Kauj ruam 3: Coding
Kuv tau siv keil software los tsim C code rau RTC siv microcontroller thiab tau txais cov ntaub ntawv hex.
NCO NTSOOV CODING PORTION ntawm qhov no kom paub ntau ntxiv !!
Qhov tseem ceeb hauv ntu coding yog, thaum tus pin ntawm txhua qhov chaw nres nkoj yuav hloov pauv rau qhov qhia tus lej cuam tshuam nrog txhua 7 ntu saib.
Cov cuab yeej cuam tshuam ntawm 8051 tau siv los suav thiab rov ua dua ib pliag. piv txwv nkaus xwb, Ib yam li tsim kev ncua sijhawm nrog kev sib cav 1 ua rau 1second ncua. (TMOD, TL0, TH0, IE txhua qhov txiaj ntsig txhawb rau lub sijhawm ua)
LED rau AM tau npaj rau lwm 12 teev.
Ntxiv rau lub tswb kuj tseem tuaj yeem teev rau AM lossis PM tshwj xeeb thiab tus lej buzzer tau dhau nrog cov lej zaus rau lub suab ntawm lub tswb sijhawm. Tswb khawm nrog min, teev & txuag hloov tau siv los teeb tsa lub tswb. Ntawm ob zaug nyem lub tswb tsis ua haujlwm lub tswb nrov
CODE: C code kom tau txais lub tswv yim nkaus xwb (cov ntawv hex yog qhov tseeb ntawm ib qhov haujlwm)
github.com/abhrodeep/Arduino_projs/blob/master/digitalclock.c
Kauj ruam 4: Thaum kawg…
TXHOB ua tiav !!! Tam sim no yog lub sijhawm txaus siab rau lub moos uas ci thiab meej.
Pom zoo:
Ua kom yooj yim Infinity Daim iav Cube - TSIS MUAJ 3D Luam Ntawv thiab Tsis Muaj Kev Sau Npe: 15 Kauj Ruam (nrog Duab)
Ua kom yooj yim Infinity Daim iav Cube | TSIS MUAJ 3D Luam Ntawv thiab Tsis Muaj Kev Sau Npe: Txhua leej txhua tus nyiam lub voos xwmfab zoo, tab sis lawv zoo li lawv yuav nyuaj ua. Kuv lub hom phiaj rau Cov Lus Qhia no yog qhia koj ib qib zuj zus tias yuav ua li cas. Tsis tsuas yog qhov ntawd, tab sis nrog cov lus qhia uas kuv tau muab rau koj, koj yuav muaj peev xwm ua ib qho
Mloog Digital Tab sis Tsis Muaj Microcontroller [Hardcore Electronics]: 13 Kauj Ruam (nrog Duab)
Lub Sij Hawm Digital Tab sis Tsis Muaj Microcontroller [Hardcore Electronics]: Nws yooj yim zoo nkauj los tsim kev sib txuas nrog lub microcontroller tab sis peb tsis nco qab tag nrho cov tons ntawm kev ua haujlwm uas microcontroller yuav tsum ua kom tiav txoj haujlwm yooj yim (txawm tias ntsais muag coj). Yog li, nyuaj npaum li cas nws yuav ua kom lub moos digital ua tiav
DIY Tsis Tiv Tauj Tes Ntxuav Tes Tsis Muaj Arduino lossis Microcontroller: 17 Kauj Ruam (nrog Duab)
DIY Tsis Tiv Thaiv Tus Kheej Tus Kheej Lub Tshuab Ntxuav Tsis Muaj Arduino lossis Microcontroller: Raws li peb txhua tus paub, COVID-19 tau tshwm sim rau lub ntiaj teb thiab hloov peb txoj kev ua neej. Hauv qhov xwm txheej no, Cawv thiab tshuaj ntxuav tes yog cov dej tseem ceeb, txawm li cas los xij, lawv yuav tsum tau siv kom raug. Kov cov ntim cawv lossis tshuaj ntxuav tes uas muaj kab mob txhais tes
Kaw Cov Duab Tsiaj Qus Tsis Muaj Cov Khoom Siv Hi-Tech. Hloov tshiab: 7 Kauj Ruam (nrog Duab)
Kaw Cov Duab Tsiaj Qus Tsis Muaj Cov Khoom Siv Hi-Tech. Hloov tshiab: Rov qab rau hauv 60's & 70's thaum kuv tseem yog menyuam yaus peb tau coj kev ua neej sib txawv rau cov menyuam feem ntau niaj hnub no, thaum kuv muaj plaub xyoos peb tau tsiv los ntawm peb lub tsev nyob saum Broadway txoj kev loj heev hauv Loughton Essex mus rau Stevenage lub nroog tshiab hauv Hertfordshire
PIR Hloov Hloov (lossis Txhua Yam Khoom Siv AC) Tsis Muaj Microcontroller: 4 Cov Kauj Ruam (nrog Duab)
PIR Hloov Hloov (lossis Txhua Yam Khoom Siv AC) Tsis muaj Microcontroller: Qhov no yog ib qho yooj yim Circuit Court rau qhib kev xa xov txuas nrog AC (lossis DC rau qhov teeb meem ntawd) Ntaus li lub teeb, Kuv yuav xav tias koj paub siv qhov txuas thiab cov xov hluav taws xob yooj yim (google yog koj tus phooj ywg) Lub Circuit Court yog tsim los rau kev siv wi