Department of Electrical and Electronic Engineering
Universiti Teknologi PETRONAS
An Introduction to Embedded System Using Arduino
Course Outline
Day 1
Day 2
Module 1
Introduction
Embedded System
Arduinos and their features
Setting up an Arduino system
Programming an Arduino
Module 2
Digital inputs and outputs
LED
Buttons
Digital sensors
Reading multiple digital inputs
Finite State Machine
Module 3
Analog inputs and outputs
Controlling blinking rate using analog input
Using analog output for fading effect
Generating sound
Module 4
Project 1: Musical box
Module 5
Structured Programming
Selection constructs
Logical (Boolean) expressions
Modular programming
User-defined functions
Writing your own functions
Module 6
Interfacing to LCD display
Displaying value from analog input
Selecting output using digital input
Module 7
Interfacing to DC motors
What is PWM?
H-bridge
Module 8
Project 2: A line follower robot
Equipment and Tools
1.
2.
3.
4.
5.
6.
7.
Personal computer
Arduino board
Mini breadboard (normal breadboard can do)
LED (8 pcs)
LCD display (16x2 ??)
Potentiometer (kena tanya Sayuthi value dia)
Photoresistors (Light Dependent Resistors, LDR, 3 pcs rasanya kat
store ada bnyk.. klu xde bagitau))
8. Resistors (220, 1 k, 10 k etc)
9. Connectors (wires)