Qhov txawv ntawm Microprocessor thiab Microcontroller

Qhov txawv ntawm Microprocessor thiab Microcontroller
Qhov txawv ntawm Microprocessor thiab Microcontroller

Video: Qhov txawv ntawm Microprocessor thiab Microcontroller

Video: Qhov txawv ntawm Microprocessor thiab Microcontroller
Video: Difference between microprocessor and microcontroller | 2024, Kaum ib hlis
Anonim

Microprocessor vs Microcontroller

A microprocessor thiab microcontroller yog ob qho tib si tseem ceeb processors uas tau tsim los khiav computers. Hom tshuab computer uas ob qho kev khiav haujlwm sib txawv, txawm hais tias qhov tseem ceeb ntawm ob lub microprocessor thiab microcontroller yog tib yam. Ob qho tib si feem ntau hu ua lub hauv paus ntawm txhua lub tshuab uas muaj daim ntawv computerized. Ib qho yog ib daim ntawv tshwj xeeb ntawm cov processor thaum lwm qhov muaj nyob hauv txhua lub khoos phis tawj.

Microprocessors

Microprocessors feem ntau hu ua qhov peb xa mus rau Central Processing Unit, uas feem ntau hu ua lub plawv thiab lub hlwb ntawm lub tshuab computer. Lub microprocessor yuav tsum tau ua kom tiav cov haujlwm. Cov no yog cov hom phiaj dav dav thiab yog li nws tau hais tias microprocessor yog qhov tseem ceeb rau kev ua haujlwm ntawm cov laj thawj. Cov microprocessors tau teeb tsa rau hauv microchips los ua haujlwm rau lawv lub hom phiaj ntawm kev pib lub khoos phis tawj thiab khau raj hais kom ua thiab thaum lub khoos phis tawj tau hais kom ua.

Microcontrollers

Microcontrollers yog qhov tshwj xeeb ntawm cov haujlwm uas lawv xav tau ua. Feem ntau pom muaj nyob rau hauv tsheb thiab cov khoom siv, lub microcontroller muaj lub microprocessor ntawm nws lub rooj tsavxwm los ua txhua qhov kev ua haujlwm zoo ntawm lub gadget. Lub microcontroller ib zaug programmed, tuaj yeem ua haujlwm ntawm nws tus kheej vim nws muaj cov txheej txheem khaws cia uas nws ua raws li thiab thaum xav tau. Lub microcontroller tuaj yeem hais tau yooj yim los ua ib lub microprocessor me me uas muaj CPU, RAM, ROM thiab cov tswv yim thiab cov chaw nres nkoj tawm txhua qhov kos rau ntawm ib qho microchip.

Qhov txawv ntawm Microprocessor thiab Microcontroller

Qhov sib txawv loj ntawm microprocessor thiab microcontroller yog lawv txoj haujlwm. Qhov twg microprocessor muaj ntau txoj haujlwm dav dav, microcontroller yog qhov tshwj xeeb rau nws txoj haujlwm.

A microprocessor kuj tseem tsis tau tsim los tswj cov haujlwm ntawm lub sijhawm tiag tiag thaum lub microcontroller xws li hauv cov khoom siv uas xav tau los tswj qhov kub thiab txias ntawm chav dej lossis tej zaum ntsuas qhov kub ntawm chav tsev yuav tsum tau saib xyuas lub sijhawm tiag tiag thiab yog li nrog nws cov teeb tsa inbuilt ntawm cov lus qhia lub microcontroller ua haujlwm ntawm nws tus kheej.

A microprocessor xav tau cov tswv yim tas li los ntawm tib neeg xws li hauv lub computer tus kheej kom cov lus qhia tuaj yeem khau raj. Lub microprocessor yog lub cim xeeb ntawm lub tshuab computer thaum lub microcontroller integrates tag nrho lub computer hauv ib nti. Tsis tsuas yog nws muaj lub cim xeeb embedded nyob rau hauv, nws kuj muaj input thiab output ports ntxiv rau peripherals xws li timers thiab converters. Tag nrho cov no tuaj yeem daws nrog ib qho kov.

Zaj lus

Ob lub microprocessors thiab microcontrollers yuav tsum tau khiav cov lus txib thiab yog li khiav ib lub cuab yeej ntawm nws tus kheej, txawm li cas los xij nws yog lub sijhawm tsim qauv tsim ntawm lub microcontroller uas tawm hauv ib tus neeg txaus siab rau kev txaus siab ntawm cov haujlwm nws tuaj yeem ua tau thaum nws piv rau ib qho microprocessor. Thaum ib tug neeg yuav tsum tau khiav ib lo lus los yog ib qho kev ua si video hauv lawv lub computer lawv yeej tseem ceeb siv microprocessor, thiab thaum lawv yuav tsum ua hauj lwm lub qhov cub microwave, lawv ua hauj lwm lub microcontroller. Yog li, microcontrollers yog qhov tshwj xeeb rau cov khoom siv uas lawv tau teeb tsa rau.

Pom zoo: