توضیحات
ميکروکنترلر نوعي ريزپردازنده است که داراي حافظه RAM ROM، تايمر، پورتهاي ورودي و خروجي (I/O) و درگاه ترتيبي (Serial Port پورت سريال)، درون خود تراشه است، و ميتواند به تنهايي ابزارهاي ديگر را کنترل کند. به عبارت ديگر يک ميکروکنترلر، مدار مجتمع کوچکي است که از يک CPU کوچک و اجزاي ديگري مانند تايمر، درگاههاي ورودي و خروجي آنالوگ و ديجيتال و حافظه تشکيل شدهاست. در واقع يک ريزپردازنده درون ميکروکنترولر قرار گرفتهاست که با استفاده از آن ميتواند محاسبات منطقي و حسابي را انجام دهد. وجود RAM و ROM و پورتهاي I/O در ميکروکنترلرها آنها را يک انتخاب ايده ال براي کاربردهايي ميکند که قيمت و اندازه در آنها مهم است. در بسياري از کاربردها مثل کنترل از راه دور تلويزيون نيازي به محاسبات سنگين وجود ندارد. در اين گونه موارد و بسياري ديگر از کاربردها فضاي مورد استفاده توان مصرفي و قيمت هر واحد مهم تر از قدرت محاسبات است.
Description
A microcontroller (MCU for microcontroller unit) is a small computer on a single integrated circuit. In modern terminology, it is similar to, but less sophisticated than, a system on a chip (SoC); an SoC may include a microcontroller as one of its components. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals. Program memory in the form of ferroelectric RAM, NOR flash or OTP ROM is also often included on chip, as well as a small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications consisting of various discrete chips.
Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes. Mixed signal microcontrollers are common, integrating analog components needed to control non-digital electronic systems. In the context of the internet of things, microcontrollers are an economical and popular means of data collection, sensing and actuating the physical world as edge devices.
|