CT 318 Microprocessor Systems
This course provides understanding the architecture of microprocessor-based systems: registers, study of microprocessor operation, assembly language, arithmetic operations, and interfacing.
INTENDED LEARNING OUTCOMES
1. Explain the principles of LEDs which use in a broad range of LED devices with using digital and analog outputs.
2. Distinguish functions and parameters use in digital and analog outputs.
3. Apply skills in electrical, electronics and programming, to develop various LED devices.
At the end of the course, the students are able to:
1. Perform modern electronic systems with microprocessor/microcontroller, digital logic, and digital interfaces.
2. Recognize usefulness of microprocessor/microcontroller platform to develop AI, IoT and Embedded Systems. (PO1, PO6, PO7, PO8) CLO 3. Develop knowledge, skills and techniques necessary in Industry-based professional practice.
4. Apply automation by means of microprocessor/microcontroller platforms.
2. z
Previous Discussions
arithmetic
compound assignments
comparison operators
logical operators
constants values
if statements
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
2
3. z
Previous Discussions
if… else statement
for statement
while loop statement
do… while statement
pinMode(pin, mode)
digitalRead(pin)
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
3
4. z
Previous Discussions
digitalWrite(pin, value)
analogRead(pin)
analogWrite(pin, value)
delay(ms)
millis()
min(x, y)
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
4
5. z
Previous Discussions
max(x, y)
randomSeed(seed)
random(max)
random(min, max)
Serial.begin(rate)
Serial.println(data)
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
5
6. z
OBJECTIVES
At the end of this lesson, learners will be able to;
1. solve complex Arduino projects;
2. sketch Arduino codes;
3. discover techniques by sketching in the Arduino language;
4. explain the principles of LEDs, which are used in a broad range of LED devices with
digital and analog outputs;
5. distinguish functions and parameters used in digital and analog outputs, and;
6. apply skills in electrical, electronics and programming, to develop various LED
devices.
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
6
27. z
Explain each part of a “for statement”.
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
27
28. z
What will happen if the expression
inside the parentheses becomes
false?
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
28
29. z
What will happen if x is no longer
less than 100?
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
29
31. z
Demonstration of
HANDS – ON Activity
using tinkercad
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
31
32. z
HANDS – ON Activity
The Problem:
Assemble and sketch an Arduino Project that uses Serial Input, you will be
given 45 minutes to do the task.
Where;
Use 3 LEDs like yellow, green, and red.
Then in the serial monitor;
If you type 1 then the yellow LED will turn on,
If you type 2 then the LEDs will blink sequentially,
If you type 3 then all LEDs will turn on
If you type 0 all LEDs will turn off.
11/23/2022
Lesson
3
-
LED
Display
PART
3
|
MIDTERM
|
Mark
John
P.
Lado,
MITc
32
Scan the QR code using your phone camera to
download the pseudo-code.
Having trouble to scan?
Go to www.markjohn.cf/courses/