<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AMCUs</id>
	<title>Category:MCUs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Category%3AMCUs"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:MCUs&amp;action=history"/>
	<updated>2026-07-22T03:44:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Category:MCUs&amp;diff=29924&amp;oldid=prev</id>
		<title>Chao: /* Software */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Category:MCUs&amp;diff=29924&amp;oldid=prev"/>
		<updated>2021-02-28T16:13:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Software&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Microcontroller Overview ==&lt;br /&gt;
Definition: A '''microcontroller''' is a single chip containing at least a CPU, non-volatile memory, volatile memory, a timer and an I/O control unit.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Basically a microcontroller can be described as a computer on a chip. The difference between a microcontroller and a regular PC is that the PC is a general purpose computer while a microcontroller is a computer dedicated to one or just a few tasks.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A microcontroller apart from the above mentioned components usually also include, but not limited to, serial communication capabilities, interrupt controls and analog I/O capabilities. The figure below gives the basic layout of a general AVR microcontroller.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Microcontoller_Components.png]]&lt;br /&gt;
==Microcontroller (MCU) vs Microprocessor==&lt;br /&gt;
&lt;br /&gt;
What is a microcontroller?&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A Microcontroller is basically a computer on a chip. It differs form normal desktop or laptop computers in that a microcontroller is an application specific computer that usually runs a single program performing dedicated task(s) while the the later two are general purpose computers that can run numerous programs depending on a users needs. A microcontroller contains on chip CPU, input/output interface, memory, clock, timer, and an assortment of of other peripherals.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A Microprocessor on the other hand is just a CPU one has to add externally memory, clock, input/output interfaces, timer and all other needed peripheral. This is the reason a microprocessor has so many pins.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Microcontroller-Microprocessor.png]]&lt;br /&gt;
&lt;br /&gt;
=== Advantages of a similar microcontroller vs microprocessor product ===&lt;br /&gt;
&lt;br /&gt;
* Product smaller - A microcontroller product has many components on one chip and so is more compact. With a microprocessor product one have to add several other chips and so its bulky.&amp;lt;br /&amp;gt;&lt;br /&gt;
* Cheaper - All the components on a microcontroller is manufacturer on a single chip and so is mush cheaper than having to manufacture several chips as is the case for a microprocessor system.&amp;lt;br /&amp;gt;&lt;br /&gt;
* AVR Tutorials hopes that this tutorial on microcontroller vs microprocessor systems was beneficial to you and looks for to your continued visits for all your microcontroller tutorial needs.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ROM &amp;amp; RAM ==&lt;br /&gt;
* ROM (or flash-based MCU) - CPU can only read, can not write, save user program in ROM&lt;br /&gt;
* RAM - CPU can write or read data, when power lost data also lose&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Explain ==&lt;br /&gt;
* 标准51单片机是12T的，就是说12个时钟周期（晶振周期，例如12M的，周期是1/12M，单位秒），机器做一个指令周期，刚好就是1/12M*12=1uS，常见指令例如_nop_就是一个周期，刚好1uS，其他的大多多于一个周期，乘除法更多。所以如果计算指令时间可以这样算。&lt;br /&gt;
== Documents ==&lt;br /&gt;
* [[MCU Compare]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Topics]]&lt;br /&gt;
[[category: Embedded System]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>