0% found this document useful (0 votes)
6 views9 pages

Lab Sheet Exp 1

Uploaded by

2023641418
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views9 pages

Lab Sheet Exp 1

Uploaded by

2023641418
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

lOMoARcPSD|47807104

EEE250 : ELECTRICAL ENGINEERING LABORATORY

LAB SHEET
WEEKLY LABORATORY ACTIVITY

Semester 3
Diploma EE111 & EE112
Pengajian Kejuruteraan Elektrik
Kolej Pengajian Kejuruteraan
Universiti Teknologi MARA

Experiment Title: INTRODUCTION TO EMBEDDED Lecturer:SYAZILAWATI BINTI MOHAMED


SYSTEM

Experiment Date:15/10/2023
Group:TCEEE1123BB
Submission Date:15/10/2023

STUDENT’S NAME ID NUMBER

1 2023641418
(K) MUHAMMAD FAREZ AIKAL BIN MOHD ROZI
2
MUHAMMAD ABBAS BIN AZHAR 2023860214
lOMoARcPSD|47807104

LABORATORY PRACTICAL ASSESSMENT (100 Marks) – 70%


CO1-PO5
Ma
Very Weak Fair Goo
Weig Sco r
Criteria Sub- Weak d
ht re k
Attribute
1 2 3 4 (w) (s) (s x
w)

Able to Able to Able to Able to


Ability to follow follow follow follow
follow the procedure procedure procedure procedures
s with full 2.5
procedur s with s with independe
es supervisio moderate minimum ntl y
completel n. supervisio supervisio without
y n. n. supervision
.
Able to
Able to Able to
Ability handle the
Not able to handle handle the
to software/
handle the the software/
handle equipment
software/ software/ equipment 5
softwar tools
equipment equipmen tools with
e independe
l t tools minimum
/equipment ntl y
s with supervisio
tools without
moderate n.
supervision
too supervisio
efficiently .
n.
Ability to
Able to Able to
construct Not able to Able to
construct construct
model/circ construct construct
Practic model/circu model/circu
uit s/ model/circ model/circ
al skill it s/ it s/ 5
system/cod uit s/ uit s/
system/cod system/cod
in g using system/cod system/cod
in g with in g
software in g in g with
Co minor completely
tools errors
mpliant of errors without
sa error
proced Minimum Moderate
Not Full
comply comply
comply comply
fety rules and the safety the safety
the the safety
ures while rules and rules and 2.5
Ability safety rules and
using the procedure procedure
rules and procedur
tools s while s while
to procedur es while
using the using the
produce es while using the
tools tools
all using the tools
giv tools
e
tech Able to
ni output/result Not able Able to
Perfo produce
for tasks to produce prSoudcuces produce all
minimum 5
using output/res msfousllty esult
output/res
n/dedicated ult for all output/roeus correctly.
ult
ques and tasks. tuplut t/r
correctly.
rmtools correctly.
technica Able to
Able to
giv perform Good in
Not able to perform
el analysis technical performing
perform technical
technusing analysis analysis 5
technical analysis
n/dedicated with with all
analysis with most
ques and minimum criteria
criteria
tools criteria fulfilled
fulfilled
fulfilled

TOTAL MARKS = Σ(s x w)


lOMoARcPSD|47807104

PART A: Arduino Uno connection and IDE

Codin
g
lOMoARcPSD|47807104

Result and output


lOMoARcPSD|47807104

PART B: LED blinking

1. LED blinking alternately between the two LEDs

coding

Result
&
Output

2.LED blinking alternately between the three LEDs


lOMoARcPSD|47807104

coding

Result
&
Output
lOMoARcPSD|47807104

//** Definitions **//


coding const int BUTTON1 = 2;
const int BUTTON2 = 4;
const int LED1 = 8;
const int LED2 = 12;
int BUTTONstate1 = 0;
int BUTTONstate2 = 0;
//** Programa **//
void setup() //declarations
{
pinMode(BUTTON1, INPUT);
pinMode(BUTTON2, INPUT);
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
}
void loop() //repeat loop continuously
{
BUTTONstate1 = digitalRead(BUTTON1);
if (BUTTONstate1 == HIGH)
{
digitalWrite(LED1, HIGH);
}
else
{
digitalWrite(LED1, LOW);
}
BUTTONstate2 = digitalRead(BUTTON2);
if (BUTTONstate2 == HIGH)
{
digitalWrite(LED2, HIGH);
}
else
{
digitalWrite(LED2, LOW);
}
}
Result &
Output

PART C=WITH PUSH BUTTON


lOMoARcPSD|47807104

OUTPUT VALIDATION

Answer the questions based on the observation output:

1. From your observations of the results in Table 1.1, what happens when you
change the delay value in Tinkercad code from 1000ms to 100ms for Part A?
-When the delay value is changed from 1000ms to 100ms, the LED light will
blink faster than before which means the gap between blinking time is shorter.

2. Based on the LED Push Button circuit in Part C, observe the LED light and
measure the voltage value at the output when the button is pressed and
released. (hint: use a multimeter)
lOMoARcPSD|47807104

Schematic
diagram

Voltage (V) Voltmeter 1=1.89V


Voltmeter 2=5V

You might also like