Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

MARITIME ACADEMY OF ASIA AND THE PACIFIC

KAMAYA POINT
Associated Marine Officers’ and Seamen’s Union of the Philippines – PTGWO - ITF
Kamaya Point, Brgy. Alas-asin, Mariveles, Bataan

Sayson, Maino IIi G.


___________________________________ betelgeuse___________ March 28,
________ 2022_________
____
(Surname), (First Name) (Middle Initial) (Section) (Date)

WEEK 12.1
WORK BOOK FOR ROBOTICS (D401/E501-ROBOTICS)
8. MICROCONTROLLER
8.1 Introduction to Microcontroller
Topic
8.2 Basics of Microcontroller
Course
Outcome CO 3: Apply light related sensing methods for robot navigation.

Learning
Outcome LO 3.2 Program a microcontroller for basic robot navigation and motion.

Activity No.17
State the function of the components of a microcontroller.
1. CPU

Central Processing Unit or CPU is the brain of the Microcontroller. It consists of an Arithmetic Logic Unit
(ALU) and a Control Unit (CU). A CPU reads, decodes and executes instructions to perform Arithmetic,
Logic and Data Transfer
operations._____________________________________________________________________________
______________________________________________________________________________________
_________
2. RAM
store temporary data while executing the
instructions.____________________________________________________________________________
______________________________________________________________________________________
__________
3. ROM
contains the program i.e. the instructions to be executed by the
CPU.__________________________________________________________________________________
______________________________________________________________________________________
MARITIME ACADEMY OF ASIA AND THE PACIFIC
KAMAYA POINT
Associated Marine Officers’ and Seamen’s Union of the Philippines – PTGWO - ITF
Kamaya Point, Brgy. Alas-asin, Mariveles, Bataan

____
4. I/O Ports
The interface for the Microcontroller to the external world is provided by the I/O Ports or Input/Output
Ports. Inputs device like Switches, Keypads, etc. provide information from the user to the CPU in the form
of Binary
Data.__________________________________________________________________________________
______________________________________________________________________________________
____
5. Timers and Counters
One of the important components of a Microcontroller are the Timers and Counters. They provide the
operations of Time Delays and counting external events. Additionally, Timers and Counters can provide
Function Generation, Pulse Width Modulation, Clock Control, etc.

______________________________________________________________________________________
______________________________________________________________________________________
6. Interrupts
A very important feature of a Microcontroller is Interrupts and its Interrupt Handling Mechanism.
Interrupts can be external, internal, hardware related or software
related.________________________________________________________________________________
______________________________________________________________________________________
______
7. ADC
Analog to Digital Converter or ADC is a circuit that converts Analog signals to Digital Signals. The ADC
Circuit forms the interface between the external Analog Input devices and the CPU of the
Microcontroller. Almost all sensors are analog devices and the analog data from these sensors must be
converted in to digital data for the CPU to
understand.____________________________________________________________________________
______________________________________________________________________________________
__________
8. DAC
DIgital to Analog Converter or DAC is a circuit, that works in contrast to an ADC i.e. it converts Digital
Signals to Analog Signals. DAC forms the bridge between the CPU of the Microcontroller and the external
analog devices.

______________________________________________________________________________________
______________________________________________________________________________________
MARITIME ACADEMY OF ASIA AND THE PACIFIC
KAMAYA POINT
Associated Marine Officers’ and Seamen’s Union of the Philippines – PTGWO - ITF
Kamaya Point, Brgy. Alas-asin, Mariveles, Bataan

9. Serial Interfacing Ports


One of the important requirement of a Microcontroller is to communicate with other device and
peripherals (external). Serial Port proves such interface through serial communication. Most common
serial communication implemented in Microcontrollers is UART.

______________________________________________________________________________________
______________________________________________________________________________________
10. Oscillatory Circuits
______________________________________________________________________________________
______________________________________________________________________________________

You might also like