Final Exam Reviewer
Final Exam Reviewer
Final Exam Reviewer
1. TOY INPUT
2. ON-DUTY (SURVEILLANCE) PROCESS/PROGRAM CODE
3. INDUSTRIAL : (EX: ROBOTIC ARM ,
ROBOTIC SYSTEM AUTOMATION) OUTPUT
ARDUINO as a Microcontroller
A good example of a Microcontroller nowadays is
Some examples of EMBEDDED SYSTEMS: the “Arduino”. Arduino is an open-source platform
for rapidly and easy getting started in embedded
Credit Card
systems. It is composed of Arduino board and
(RFID)
Arduino development environment. It is one of the
Radio Frequency ID
known brand of a Microcontroller in the market
Cell phone (messaging)
and It will serve as the Brain of the Robot w/ 13
digital pins that may use as an INPUT or an
OUTPUT.
MICROPROCESSOR
A microprocessor is a computer processor which
incorporates the functions of a computer's central Keep in mind!
processing unit (CPU) on a single integrated circuit
The number base used to store data in digital
(IC), or at most a few integrated circuits.
computer is “2”. The base of “2” in the
computation came from the fact that the smallest
unit of information on a computer has only 2
MICROCONTROLLERS
possible states:
A microcontroller is a small computer on a
On (which corresponds to a 1) or Off (which
single integrated circuit.
corresponds to 0).
Example Program for Blinking an LED for 1 second, and turns off for
another 1 second, repeatedly.
Materials needed:
LED 1pc
220-ohm Resistor 1pc
Jumping wires 2 pc
Breadboard 1 pc
Microcontroller (Arduino) 1 pc
Cable printer 1pc
Computer 1 unit
PROGRAM CODE
void setup() {
// put your setup code here, to run once:
pinMode(13,OUTPUT); //pin 13 will be used for the LED and serve as an OUTPUT
}
void loop() {