Understanding Microcontrollers To Choose Hardware
Understanding Microcontrollers To Choose Hardware
net/publication/322436662
CITATIONS READS
0 4,724
5 authors, including:
Eray Yilmazlar
Kirklareli University
13 PUBLICATIONS 3 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Software for Calculation of Optimum Conditions for Viscose Based Bobbin Drying in a Hot-Air Bobbin Dryer View project
Object Tracking by PID Control and Image Processing On Embedded System View project
All content following this page was uploaded by Eray Yilmazlar on 12 January 2018.
Abstract: Today’s technology has been evolved into stand-alone systems which can do all necessary process by
itself without any additional hardware. Advance microcontrollers have become microcomputers that is also
known as single board computers. These systems take their power from powerful microcontrollers. These
microcontrollers have many integrated circuits onboard so they can achieve many different process by
themselves. They are being used in many applications from powerful industrial device to simple home
appliance. On today’s market, there are many different microcontrollers with different structure and
capabilities. Therefore, understanding the concepts related to the microcontrollers is really important for
choosing the best hardware. This paper presents main concepts of microcontrollers and reveals basis of their
structure. Their components and abilities have been discussed and comparation of well-known single board
computers has been given.
Keywords: Integrated Circuits, Microcontrollers, Microcomputers, Hardware Optimization, Application
Development
----------------------------------------------------------------------------------------------------------------------------- ----------
Date of Submission: 24-11-2017 Date of acceptance: 06-12-2017
----------------------------------------------------------------------------------------------------------------------------- ----------
I. Introduction
Microcontrollers and microcomputers from the beginning of the 1970s has developed rapidly since the
beginning of the present day. Although they already have the functionality of only one calculator, they are now
single-chip microcomputers (SOCs) that can perform all kinds of functions on all electronic systems.
Microcontrollers with leading 8- and 16-bit processors are often preferred for low cost and ease of
implementation. These systems, which can meet all kinds of needs for a long time, now have high processing
capacity of 32 and 64 bits. The development process of the microcontrollers is shown in table 1.
Table1:Thedevelopmentprocess of themicrocontrollers
Over time, many companies have moved to various microcontroller markets with different features. In
recent years 64-bit microcontrollers have been introduced to the market and have been preferred for many
applications in microcontrollers designed on a single card. The choice of integrated circuits, the provision of
suitable environments for the operation of these circuits, and the complexity of programming stages have led
users to microcomputers designed on this single card. These application development cards, which are provided
38
Understanding The Concept Of Microcontroller Based Systems To Choose The Best Hardware For ..
with the necessary conditions for the operation and programming of the microcontroller, can perform many
functions on its own by means of internal hardware. Microcomputers, on the other hand, have more system
resources and interfaces, so they can perform multiple functions more strongly.
In universities all courses with automation, robotics, communication and control contents are
mentioned with these microcontroller based systems. Various microcontroller application development cards
and microcomputers are used in the applications performed by the students. The purpose of this study is to give
some background information about what kind of hardware infrastructure should be chosen during the
application development phase. First of all, it will provide information about microprocessor architectures and
microcontroller types. Then, some of the current microcomputer systems will be examined and suggestions will
be made about what kind of hardware should be preferred in which applications with various application
examples.
II. Microprocessors
Microcontroller and microcontroller concepts are often intermingled. While each microcontroller has a
microcontroller in the center, not every microcontroller is a microcontroller. Microprocessors are programmable
integrated circuits that can perform mathematical and logical operations on digital inputs. Basically it consists of
a single chip which contains the register areas required for the operations as well as the input / output units and
the data paths that provide the communication between them, as well as the transistor based structure (Osborne,
1980: 12).
The general structure of the microcontroller shown in Fig. 1 includes different units such as ALU
(Arithmetic Logic Unit) where arithmetic and logic operations are performed, memory units (Accumulator)
where the result of these operations are recorded, and recording units (Registers) where important information is
recorded. Three different ways of communicating data, addressing information and control commands between
these units are used (Hall, 1994: 15).
39
Understanding The Concept Of Microcontroller Based Systems To Choose The Best Hardware For ..
RISC CISC
Fast Slow
Basic Hardware Requirements High Hardware Requirements
Basic Hardware Design High Hardware Design
Single Cycle Multiple Cycle
Today, processors used in computer technology have CISC architecture. RISC architecture is preferred in
simple systems with fewer hardware resources, as seen in Table 2. Frequently preferred microcontrollers in
electronic applications use processors with RISC architecture.
Hardware Function
DSP (Digital Signal Processor) Digital signal operations
GPU (Graphic Processing Unit) Visual creation and processing
FPU (Floating Point Unit) Handling very large and small numbers
ALU (Arithmetic-Logic Unit) Mathematical and logical operations
APU (Acceleration Processing Unit) Hardware acceleration
Table 3: The functions of additional hardware
Microcontrollers can handle hundreds of thousands of integrated circuits and can perform routine and
long operations quickly; all of which are integrated electronic circuits that provide the least space and provide
the lowest energy consumption. Basically a central processing unit consists of register fields and input / output
units, but may also contain additional integrated circuits that can perform special functions. When choosing a
processor, attention should be paid to technical features such as word processing length, working clock
frequency, memory amount, bus width and internal additional hardware as well as the compatibility of the codes
to be operated with the instruction set and processor architecture. In short, since the microprocessor is the heart
of the microcontroller, a microcontroller can be as powerful as a microcontroller. This means that hardware
optimization begins with choosing the right processor for application development.
40
Understanding The Concept Of Microcontroller Based Systems To Choose The Best Hardware For ..
III. Microcontrollers
A microcontroller is an integrated circuit that is housed within each component that it needs to perform
the necessary operations and that can perform a particular task routinely without requiring another boom. It
contains a microprocessor, memory units and input-output interfaces, analog-to-digital conversion (ADC), pulse
width modulation (PWM) and various control and communication modules.
Besides the arithmetic-logical unit (ALU), special registers, processor control unit and processor core
in the processor, the microcontroller has memory units with special functions. They can be divided into fixed
and temporary memories. Random access memory (RAM) stores the information that the processor needs
during its operation, while ROM, PROM, EPROM, and EEPROM memories, which do not change the contents,
store information such as command set, program and program data as long as they are not reprogrammed. Input
and output are special recording areas that allow the microcontroller to receive data from external units and send
data (Gridling and Weiss, 2007: 11-35).
42
Understanding The Concept Of Microcontroller Based Systems To Choose The Best Hardware For ..
IV. Microcomputers
This section will review several current microcomputer systems. Single card computer systems (SBC)
are used in many applications such as control, automation, signal processing. These systems, which can run
multiple systems at the same time with powerful processor and high memory capacity, can be programmed
through different platforms and can even run the operating system, is actually a long time in our lives. We have
been using it for a long time, from the first calculators to mini-computers connected to television and even game
consoles. The single-card computers that emerge from the development process of computer systems that
everyone can access in the last few years are now preferred for many applications.
43
Understanding The Concept Of Microcontroller Based Systems To Choose The Best Hardware For ..
Single-chip microcomputers with a wide range of applications thanks to their different processor and
memory capacities as well as the different interfaces they have (Ethernet, Hdmi, DSI, CVBS, PCI-ex etc.) are
also used in electronic applications with general purpose inputs and outputs (GPIOs). These cards, which can be
wired or wirelessly connected internally, have wireless communication options such as Bluetooth, and support
industrial communication standards, are embedded systems that house both the control system and the control
system. It is very easy to use for educational purposes due to low costs and widespread software support. Even
in the future, taking up the space of bulky desktop computers that occupy a lot of space, will be programmed for
special purposes to provide more efficient use.
V. Conclusion
In recent years, the number of applications developed using microcontrollers has increased rapidly. A
variety of microcontroller development cards are used in most of the courses in the universities. These systems,
which are also preferred in student projects, are increasing in importance due to the large number of hardware
and the large software support. However, when there are many different types of microcontroller and application
development cards on the market, it is observed that students have difficulty in where to start. In addition, they
are unfamiliar with the basic concepts of microprocessors and microcontrollers, so they are inadequate in
selecting the necessary hardware for reading and implementing technical documents.
Rapidly evolving microcontroller technologies now become embedded systems that can do all the work
at the same time with single card computer systems. Many of these systems, which are open source, are
becoming more and more popular. Linux, Android and Windows, as well as its own operating systems,
automation and control systems, as well as image and signal processing can perform many functions. It is aimed
that this work will be a guide for newcomers to microcontrollers and embedded systems.
References
Journal Papers:
[1]. M.D. Godfrey and D.F. Hendry, “The Computer as von Neumann Planned It," IEEE Annals of the History of Computing, Vol. 15,
No. 1, 1993, pp. 11-21.
[2]. Osborne, Adam (1980). An Introduction to Microcomputers.Volume 1: Basic Concepts (2nd ed.). Berkeley, California: Osborne-
McGraw Hill. ISBN 0-931988-34-9.
[3]. Douglas W. Jones, A Minimal CISC; Part of the Computer Architecture on-line Collection. University of Iowa Department of
Computer Science.http://homepage.divms.uiowa.edu/~jones/arch/cisc/, 02 January 2017.
[4]. Gridling, G. ve Weiss B. Introduction to Microcontrollers. Course 182.64-74.Vienna University of Technology.Institute of
Computer Engineering. 26 February 2007.
[5]. Beningo, J. 10 Step to Selecting a Microcontroller. ARM Embedded Communities. 12 Jan
2014.https://community.arm.com/iot/embedded/b/embedded-blog/posts/10-steps-to-selecting-a-microcontroller, 11 February 2017.
Books:
[6]. Hall, V. D. (1994). MikroişlemcilerveSayısalSistemler.MEB Publications, Eskişehir, Turkey.
44