Skip to main content

The Brain within an Embedded System-Difference between Microprocessors and Microcontrollers



To understand the working of an Integrated Circuit, we need to first understand what an Embedded System is. 

It is basically a conjunction of Hardware and Software parts. Embedded System is a stripped-down version of a mainstream computer, specializing in a single task. They are connected either as a standalone device, or as part of a larger electrical or mechanical system.

Mainly in consumer electronics like fridges or microwaves, they have low power rating and, is economical to build.

Embedded system performs complex mathematical calculations at any specific time. This is done thru a Central Processing Unit (CPU), mostly a Microcontroller or at times, a Microprocessor.


A Sensor is used to collect data from the external environment Eg: Temperature, atmospheric pressure etc. This is then fed into an Analog to Digital (ADC) converter. The digital signal thus obtained is stored in memory and, decoded by the CPU. 

The output of the operation is then fed to a Digital to Analog (DAC) converter. The resulting analog signal is send to an Actuator, which converts electrical signal into mechanical or pneumatic action Eg: Motor or Hydraulic press. 





So, what is the basic difference between these two Integrated Circuits. 

Microcontrollers are basically small computers with a Central Processing Unit (CPU), inbuilt memory (RAM, ROM), output peripherals and BUS connections. They specialize in a single task. The working clock speed is low, in MHz. They have different programming languages which varies with manufacturers. Low cost and reduced power consumption are the main highlights. Espressif ESP32 is a notable example.

Microprocessors are basically a digital system that assimilate data, decode and then, execute them. They are mainly used for general purpose computing and, performs multiple tasks at any given time. However, they need to be connected to external memory, provide separate peripheral boards, and BUS configuration. Consuming more power, their clock speed is calculated in GHz. Examples include Pentium and AMD processors.

Even though embedded systems mainly use microcontrollers, there are certain areas where both are used in conjunction.

The usage of the above, depends on the type of application. Where low power and high integration is concerned, Microcontrollers is a prime choice. However, when dealing with multiple tasks and complex calculations Eg: laptops and computers, Microprocessor reigns supreme.


Helpful Links

Embedded System Definition

https://www.ibm.com/blog/microcontroller-vs-microprocessor/


Comments

Popular posts from this blog

Virtual Private Network (VPN) - Browsing Anonymous

  Privacy is a major concern when browsing the internet. Your data could be eavesdropped by hackers, companies targeting ads or even rogue state actors. What gets revealed would be personal browsing history, location monitoring, IP addresses to name a few. Enter the tech... Virtual Private Network or simply known as VPN is a technology used to prevent unauthorized access of your private data. Even if a hacker penetrates the network and get hold of data packets, all that is revealed is gibberish.  This is because all the information that passes through your device is encrypted and can be only revealed through a personal key.  Internet Service Provider Before going further, a knowledge of Internet Service Provider (ISP) is needed. They are the backbone of the World Wide Web. ISP provides each device with a unique IP (Internet Protocol) address, bandwidth allocation and network security. When a website is searched, first it goes from your device to the Router or Modem which...

Ransomware - Trojan in Disguise

  You log into the computer, and it boots up. But instead of seeing the welcome screen, you get a dialog box.  "Your data has been encrypted. To recover, pay $$ of Bitcoin." The message also has a countdown timer, which indicates a payment deadline.  Passwords, credit card details, personal videos/pictures all have been compromised. The hacker even threatens to leak everything online. What happened...... Ransomware is a type of malware that encrypts personal data and blocks access to a computer/network. To regain control, a ransom needs to be paid. Usually this is through Bitcoin, or other crypto currencies. On payment, a key is given, which decrypts everything, and returns access to the system.  However, you could be placed in a "Sucker's list" which is sold in the dark web. This can attract more ransomware attacks, in future. History.... Originating in the 90s, the attacks were first recorded in Russia. Since then, it has crossed into Europe and North America...

Clock Speed - Benchmark for Processors?

Intel i7 - Base Frequency 2.80 GHz, 4.70 GHz (Turbo Frequency) Intel i9 - Base Frequency 2.2 GHz, 5.8 GHz (Turbo Frequency)  AMD Ryzen 7 - Base Frequency 3.4 GHz, 4.6 GHz (Max Boost Clock) Whenever we shop for a laptop or home PC, we note the processor speed. The saying being more the clock speed, higher the performance . However, efficiency of a chip is determined by a range of other factors What is clock speed? The CPU (Central Processing Unit), or processor performs various arithmetic operations, at any given time. This is performed by opening and closing billions of transistors, embedded within it. That constitutes a cycle.  Simply put, clock speed is the number of cycles executed per second ,  calculated in GHz.  So, a processor having 3 GHz speed, performs 3 billion cycles per second. Higher this ratio, better the performance. At least, in paper. But there are other things in play, when looking at the overall functionality.   Multi Core processing A sing...