Cov txheej txheem:
- Kauj Ruam 1: Siv Software:
- Kauj Ruam 2: Cov Cheeb Tsam Yuav Tsum Tau:
- Kauj Ruam 3: Daim duab Circuit Court
- Kauj ruam 4: Code:
- Kauj ruam 5: Yees duab:
Video: 8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb tau piav qhia koj li cas peb tuaj yeem cuam tshuam 8051 microcontroller nrog ds1307 RTC. Ntawm no peb tab tom tso saib RTC lub sijhawm hauv lcd siv kev sim ua piv txwv.
Kauj Ruam 1: Siv Software:
Raws li peb tab tom qhia proteus simulation yog li CODING THIAB YUAV UA LI CAS KOJ YUAV TSUM PAUB:
1 Keil uvision: Lawv yog cov khoom lag luam ntau los ntawm keil. yog li koj yuav xav tau c51 tus neeg sib tw. Koj tuaj yeem rub tawm software ntawd los ntawm no
2 Proteus Software rau simulation: Qhov no yog software los qhia simulation. Koj yuav tau txais cov ntaub ntawv ntau los rub tawm cov software no.
Yog tias koj ua nws hauv kho vajtse ces koj yuav xav tau ib lub software uas yog flash khawv koob txhawm rau rub cov lej hauv koj lub kho vajtse. Nco ntsoov flash magic tau tsim los ntawm nxp. Yog li koj tsis tuaj yeem tso tag nrho 8051 tsev neeg microcontroleer los ntawm cov software no. Yog li Philips raws tus tswj hwm nkaus xwb koj tuaj yeem rub tawm.
Kauj Ruam 2: Cov Cheeb Tsam Yuav Tsum Tau:
Nov ntawm peb cov vis dis aus peb tab tom siv kev sim tiv thaiv kab mob tab sis twv yuav raug hu yog tias koj ua nws hauv koj cov cuab yeej koj yuav xav tau cov khoom siv no rau txoj haujlwm no:
8051 pawg thawj coj loj: Yog li yog tias koj muaj lub rooj tsavxwm no nws yuav zoo dua yog li koj tuaj yeem yooj yim upload cov cai los ntawm koj tus kheej.
LCD 16*2: Nov yog 16*2 lcd. Hauv lcd no peb muaj 16 tus pin.
DS1307 RTC Module: Tus qauv raws li DS1307, Lub DS1307 lub sijhawm tiag tiag lub sijhawm (RTC) yog lub zog qis, puv binary-coded decimal (BCD) moos/daim ntawv qhia hnub ntxiv rau 56 bytes ntawm NV SRAM. Chaw nyob thiab cov ntaub ntawv raug xa mus ib ntus los ntawm I²C, tsheb npav ob tog. Lub moos/daim ntawv qhia qhia vib nas this, feeb, teev, hnub, hnub, hli, thiab xyoo qhia. Qhov kawg ntawm lub hli hnub tau hloov kho rau lub hlis nrog tsawg dua 31 hnub, suav nrog kev kho rau xyoo dhau mus. Lub moos ua haujlwm hauv 24-teev lossis 12-teev hom nrog AM/PM qhia. DS1307 muaj lub hauv paus tsim hluav taws xob zoo uas pom tias lub zog tsis ua haujlwm thiab hloov pauv mus rau cov khoom siv thaub qab. Lub sijhawm ua haujlwm txuas ntxiv mus thaum lub sijhawm ua haujlwm los ntawm cov khoom siv thaub qab.
Peb tau pom ib daim duab saum toj no ntawm cov khoom siv cob qhia ntawm 8051, muaj lcd thiab rtc ntu ntu twb muaj nyob hauv pawg thawj coj lawm yog li yog tias koj yuav lub rooj tsav xwm ntawd nws yuav yooj yim rau koj los cuam tshuam rau qhov ds1307 module, lwm qhov yog tias koj yuav lub rooj tsav xwm txhim kho me me ces koj kuj tseem yuav yuav ib lub lcd thiab ib qho RTC module nrog npib cell.
USB rau UART hloov pauv: CP1202 USB UART hloov pauv module, lub rooj sib tham yooj yim heev kom txuas USB sai rau USB lossis USB rau TTL lossis Serial rau USB. Koj tuaj yeem sib txuas lus tau yooj yim nrog microcontrollers / microprocessors los ntawm koj lub khoos phis tawj los ntawm tus qauv.
Kauj Ruam 3: Daim duab Circuit Court
Kauj ruam 4: Code:
Koj tuaj yeem tau txais cov cai los ntawm peb qhov GitHub txuas.
Kauj ruam 5: Yees duab:
Kev piav qhia tag nrho txoj haujlwm tau muab rau hauv cov vis dis aus saum toj no.
Yog tias koj muaj kev tsis ntseeg txog txoj haujlwm no thov tawm lus rau peb hauv qab no. Thiab yog tias koj xav kawm paub ntau ntxiv txog kev teeb tsa kab ke koj tuaj yeem mus ntsib peb tus youtube channel.
Thov mus saib thiab nyiam peb Facebook nplooj ntawv rau hloov tshiab tas li.
Ua tsaug & Ua tsaug, Embedotronics yees
Pom zoo:
Siv DS1307 thiab DS3231 Lub Sijhawm Teev Sijhawm Sijhawm Nrog Arduino: 3 Kauj Ruam
Siv DS1307 thiab DS3231 Lub Sijhawm Caij Nyoog Sijhawm Nrog Arduino: Peb tseem tau txais kev thov yuav siv DS1307 thiab DS3231 lub sijhawm teev sijhawm nrog Arduino los ntawm ntau qhov chaw-yog li qhov no yog thawj ntawm ob ntu kev qhia yuav siv li cas. Txog qhov kev qhia Arduino no peb muaj ob lub sijhawm teev sijhawm ua haujlwm rau peb
Kev cuam tshuam 8051 Microcontroller Nrog Lcd hauv 4-ntsis Hom: 5 Cov Kauj Ruam (nrog Duab)
Kev cuam tshuam 8051 Microcontroller Nrog Lcd hauv 4-ntsis Hom: Hauv qhov kev qhia no peb yuav qhia koj txog yuav ua li cas peb tuaj yeem cuam tshuam lcd nrog 8051 hauv 4-ntsis hom
Sib cuam tshuam 8051 Microcntroller Nrog 16*2 Lcd hauv Proteus Simulation: 5 Kauj Ruam (nrog Duab)
Sib cuam tshuam 8051 Microcntroller Nrog 16*2 Lcd hauv Proteus Simulation: Qhov no yog qhov haujlwm yooj yim heev ntawm 8051. Hauv qhov haujlwm no peb yuav qhia koj txog yuav ua li cas peb tuaj yeem cuam tshuam 16*2 lcd rau 8051 microcontroller. Yog li ntawm no peb siv tag nrho 8 ntsis hom. Hauv qhov kev qhia tom ntej peb yuav qhia txog 4 ntsis hom ib yam nkaus
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam Xov: Ua LED Zaub thiab Npuag Hluav Taws Xob uas Rolls Up: 7 Cov Kauj Ruam (nrog Duab)
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam: Ua kom pom LED thiab Cov Khoom Siv Hluav Taws Xob uas Rolls Up: Ua rau koj tus kheej cov ntaub ua hluav taws xob, xov, kua nplaum, thiab kab xev, thiab siv lawv los ua lub zog ntsuas hluav taws xob, tiv thaiv, hloov pauv, LED cov lus qhia thiab siv hluav taws xob. thiab cov xov hluav taws xob koj tuaj yeem ua cov lus qhia LED thiab cov kab hluav taws xob ntawm ib qho ntaub uas hloov pauv tau
Tus Cuam Tshuam Cuam Tshuam (ntsuas phoo Cam Cuam Tshuam Cuam Tshuam): 4 Cov Kauj Ruam
Solder Saver (txhav tas Cam Cuam Tshuam Cuam Tshuam): "Yuav ua li cas kuv thiaj yuav tsum qhia ua ntej Cov Lus Qhia no?" Kuv nug kuv tus kheej. Zoo li, txij li thaum pib ntawm lub sijhawm, tus txiv neej muaj qhov xav kom lo lo rau hauv tus cwj mem thiab tshaj tawm cov duab online. Zoo, Kuv tau txiav txim siab luv luv delving rau hauv keeb kwm loj dua ntawm tus cwj mem yaj, b