Cov txheej txheem:

8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD: 5 Kauj Ruam
8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD: 5 Kauj Ruam

Video: 8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD: 5 Kauj Ruam

Video: 8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD: 5 Kauj Ruam
Video: 8051 serial communication 2024, Hlis ntuj nqeg
Anonim
8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD
8051 cuam tshuam nrog DS1307 RTC thiab Qhia Sijhawm Sijhawm hauv LCD

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:

Siv Software
Siv Software
Siv Software
Siv Software
Siv Software
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:

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
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

Daim duab Circuit Court
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: