Professional Documents
Culture Documents
LO3.2 ROBOTICS Lecture Workbook - Week12.1
LO3.2 ROBOTICS Lecture Workbook - Week12.1
KAMAYA POINT
Associated Marine Officers’ and Seamen’s Union of the Philippines – PTGWO - ITF
Kamaya Point, Brgy. Alas-asin, Mariveles, Bataan
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
______________________________________________________________________________________
______________________________________________________________________________________
10. Oscillatory Circuits
______________________________________________________________________________________
______________________________________________________________________________________