Skip to main content

What is Microcontroller?

 What is Microcontroller?

What is Microcontroller?


The microcontroller is a smallest computer on a single (MOS) metal oxide semiconductor joint with circuit chip. A microcontroller encloses one or more CPUs together with memory and programmable input/output peripherals. The program memory in the method of ferroelectric RAM, OTP ROM or NOR flash is also regularly comprised on chip, along with a slight size of RAM. In difference to the microprocessors used in personal computers the microcontrollers are designed for embedded applications. In modern language, the microcontroller is a system on a chip that usually participates with advanced peripherals similar to one or more coprocessors, graphics processing unit (GPU) and Wi-Fi module. The microcontrollers are economical and prevalent earnings of data collection, sensing and actuating the physical world as edge devices in the environment of the internet of things (IoT).

Microcontroller Uses

The microcontrollers are typically used in automatically controlled products and devices. These are used in automobile engine control systems, remote controls, office machines, implantable medical devices, power tools, appliances, toys and other embedded systems. Particular microcontrollers can use four-bit words and function at frequencies as little as 4 kHz for low power consumption. The microcontrollers can help performance-critical roles. With higher clock speeds and power consumption they can essential to act more like a digital processor (DSP).

Microcontroller Characteristics

  • Architecture (ARM, ESP32)
  • Data path bit width (4 - 128 bits)
  • Number of bits in each registry
  • Determine accuracy and data throughput

Input/output pins

  • Need enough pins to support the application


  • The clock rates are slower than desktops


  • Needed for real-time applications

Analog to Digital Convertors

  • Used to read input from analog sensors

Low power modes

  • Power saving is key

Communication protocol support

  • Interface with other IC’s
  • UART, I2C, SPI, etc.

Microcontroller Development​

  • First microcontroller was created by Gary Boone and Michael Cochran in 1971.
  • The first microcontroller was shared with read-only memory and read/write memory.
  • Japanese started producing microcontrollers for automobiles in the early-to-mid 1970s. Those microcontrollers were 4-bit MCU for in-car entertainment, electronic locks, automatic wipers & dashboard and 8-bit MCUs for engine control.
  • The Intel Company developed a computer system on a chip optimized for control applications in 1977. This was combined with RAM and ROM on the same chip with a microprocessor.
  • The starter of EEPROM memory permitted microcontrollers to be electrically erased rapidly without an affluent package as necessary for EPROM, permitting together quick prototyping, and in-system programming in 1993.
  • These days the microcontrollers are low-priced and willingly available for hobbyists, with great online communities everywhere certain processors.

Tiniest computer​

The University of Michigan announced the world’s tiniest computer on 21, June 2018.It is a "0.04mm3 16nW wireless and batteryless sensor system with combined Cortex-M0+ processor and optical communication for cellular temperature measurement. The device is combined with block chain and has a million transistors as it costs less than $0.10 to manufacture. The device has 1/10th the size of IBM's formerly claimed world-record-sized computer.

Embedded System

The microcontroller may be measured a self-contained system with a processor, memory and peripherals. It can be used as an embedded system. Today, the standard of microcontrollers in use is embedded in different other equipment, for example telephones, automobiles, appliances, and peripherals for computer systems. Though certain embedded systems are very refined, numerous have minimal requirements for memory and program length, with low software complexity and with no operating system. Usually the input and output devices comprise on relays, switches, solenoids, LED's, radio frequency devices, small or custom liquid-crystal displays and sensors for data such as temperature, humidity, light level etc. Generally, the embedded systems have no screen, keyboard, printers, and disks.

Microcontroller programs and its programming environments​

The programs of microcontroller must appropriate in the obtainable on-chip memory. Meanwhile it would be costly to deliver a system with outside and expandable memory. For converting the high level assembly language codes into a compact machine code for storage in the micro controller’s memory the compilers and assemblies are used.

The program memory can be permanent, read-only memory depending on the device. It can only be programmed at the factory, field-alterable flash or erasable read-only memory. Builders have repeatedly made special versions of their micro-controllers in order to benefit the hardware and software development of the board system these formerly built-in EPROM versions. The routine of field-programmable devices on a micro controller might permit field update of the firmware or allow late factory revisions to products that have been collected but not yet shipped. Programmable memory similarly decreases the lead time necessary for deployment of a new product.

High-level programming languages such as C, Python and JavaScript, are in common use to emphasis on microcontrollers and embedded systems. A number of microcontrollers have environments to support developing firm sorts of applications.

Microcontroller retailers regularly make tools freely available to form it stress-free to accept their hardware. Moreover, the interpreter firmware is obtainable for a few microcontrollers. The Simulators are open for rare microcontrollers. These permit a developer to research what the behavior of the microcontroller and their program should be if they were using the particular part. New microcontrollers are frequently combined with on-chip debug motherboard. It allows debugging of the firmware with a debugger when accessed by an in-circuit emulator (ICE) via JTAG. The real-time ICE can allow watching and operating of internal states while running.


















Popular posts from this blog

What is Internet of Things (IoT)?

 What is Internet of Things (IoT)?    The internet of Things, or IoT, refers to the billions of physical devices  round the  world that are now connected to  the web  , collecting, sharing and analyses  of knowledge  . It presents and provides the explanation of the network of physical things which is embedded with software , sensors,  and other technologies for the benefit of connecting and exchanging data with other devices and systems on the internet   . Due to the cheap processors and wireless networks, it's possible to  means  anything, from a pill to an aero plane to a self-driving car into  an area  of the IoT. Overview IoT will control the Fourth  technological revolution  . The Fourth  technological revolution  is changing the very software-defined automation allows manufacturers to link all stages of  the worth  chain, rapidly adapt to changing markets , and make highly personalized products on a mass scale. The opportunities provided by this revolution are authenticated

What is Rust Borrowing?

What is Rust Borrowing? Borrowing We call having references as function parameters borrowing. As in real world , if an individual owns something, we 'll borrow it from them . Whenever we’re done, we 've got to offer it back. Referencing  The reference is that the act of consulting somebody or something so as to urge information We would  declare reference in terms of Rust programing as if we are taking a replica of it without damaging or taking its ownership. ‘&’ symbol is employed to pass the reference Have a look that  how ‘&’ symbol is employed in code. fn main() { let s1 = String::from("hello"); let len = calculate_length(&s1); println!("The length of {} is {}.", s1, len); } fn calculate_length(s: &String) -> usize { s.len()} Mutable References The actual concept of mutable reference is same as we use mutable variable When  we  need to  modify  mutable reference is employed once   the worth we make regard to.

Kubernetes Readiness Probes

 Kubernetes Readiness Probes Description We understand that liveness probes and the way they assist keep our apps healthy by ensuring unhealthy containers are restarted automatically. Same like liveness probes, Kubernetes permit us to also define a readiness looked for our pod. The readiness probe is deployed periodically and examines whether the precise pod should receive client requests or not. Whenever a container’s readiness probe returns back success, it’s signaling that the container is ready to simply accept requests. This notion of being prepared is clearly something that’s specific to every container. Almost as liveness probe Kubernetes sends requests to container and supported the result either successful or unsuccessful response it decides container is prepared to require traffic or still preparing for that. The liveness probes not like, if a container fails the readiness check, it won’t be killed or restarted.   This is a very good practice to