Professional Documents
Culture Documents
An embedded system is one kind of a computer system mainly designed to perform several tasks like to access,
process, store and also control the data in various electronics-based systems. Embedded systems are a
combination of hardware and software where software is usually known as firmware that is embedded into the
hardware. One of its most important characteristics of these systems is, it gives the o/p within the time limits.
Embedded systems support to make the work more perfect and convenient. So, we frequently use embedded
systems in simple and complex devices too. The applications of embedded systems mainly involve in our real life
for several devices like microwave, calculators, TV remote control, home security and neighborhood traffic control
systems, etc.
1. Power Supply:
● A power supply is a crucial component of the embedded system design.
● It is an electrical device mainly used to power up the electrical load.
2. Microcontroller
● An embedded system is either a microcontroller-based or microprocessor-based
system. They give a system computing power and are called integrated circuits.
● The embedded hardware performance is mainly dependent on the processor which
is normally called the brain of the embedded system.
3. ROM/RAM
● Memory is essential to store important information in the embedded computer
system.
● Memory is integrated into a microcontroller or microprocessor.
● There are two types of memories including ROM (read-only-memory) and RAM
(random access memory). The former is called the code memory that stores the
program code and is non-volatile which means it stays stored in the system when the
power supply is removed. While latter is called the data memory and is a volatile
memory which means it is used for temporally storing the information and is removed
from the system when the power supply is turned off.
4. Timers / Counters
● Sometimes you need to create a delay before a specific function. Timers are used in
such cases. While at times you want to count the number of times a particular event
occurs. Counters are used in such case.
5. Communication Ports
● Communication ports are used in embedded systems to establish communication
with other embedded systems. There are several communication ports including
USB, UART, USB, I2C, SPI, and RS-485.
7. Electrical Circuit
● You need to design an electrical circuit based on your application. The
following are the basic circuit components that can be used in an electrical
circuit.
a. PCB (printed circuit board)
b. Resistors
c. Capacitors
d. Transistors
e. Diodes
f. Integrated Circuits
g. LED
h. Inductors
e. Linker
● A linker, also called a link editor, is a tool that takes one or more object files and combines
them to develop a single executable code.
f. Debugger
● A debugger is a tool used for testing and debugging purposes. It scans the code thoroughly
and removes the errors and bugs, and identifies the places where they occur.
● Programmers can quickly address the errors and fix them.
Characteristics of RISC:
1. It has simpler instructions and thus simple instruction decoding.
2. More general-purpose registers.
3. The instruction takes one clock cycle in order to get executed.
4. The instruction comes under the size of a single word.
5. Pipeline can be easily achieved.
6. Few data types.
7. Simpler addressing modes.
Arduino Technology
A typical example of the Arduino board is Arduino Uno.It includes an ATmega328
microcontroller and it has 28-pin
The pin configuration of the Arduino Uno board is shown in the above. It consists of
14-digital i/o pins. Wherein 6 pins are used as pulse width modulation o/ps and 6 analog i/ps,
a USB connection, a power jack, a 16MHz crystal oscillator, a reset button, and an ICSP
header. Arduino board can be powered either from the personal computer through a USB or
external source like a battery or an adaptor. This board can operate with an external supply
of 7-12V by giving voltage reference through the IORef pin or through the pin Vin.
Digital I/Ps
It comprises of 14-digital I/O pins, each pin take up and provides 40mA current. Some of the
pins have special functions like pins 0 & 1, which acts as a transmitter and receive
respectively. For serial communication, pins-2 & 3 are external interrupts, 3,5,6,9,11 pins
delivers PWM o/p and pin-13 is used to connect LED.
Analog i/ps: It has 6-analog I/O pins, each pin provide a 10 bits resolution.
Aref: This pin gives a reference to the analog i/ps.
Reset: When the pin is low, then it resets the microcontroller
Arduino Architecture
Basically, the processor of the Arduino board uses the Harvard architecture where the
program code and program data have separate memory. It consists of two memories such
as program memory and data memory. Wherein the data is stored in data memory and the
code is stored in the flash program memory. The Atmega328 microcontroller has 32kb of
flash memory, 2kb of SRAM 1kb of EPROM and operates with a 16MHz clock speed.