Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

EEE 202 Lab 4 Arduino DATA SHEET Online | Complete Solutions, Verified

Rating
-
Sold
-
Pages
12
Grade
A
Uploaded on
15-04-2025
Written in
2024/2025

EEE 202 Lab 4 Arduino DATA SHEET Online | Complete Solutions, Verified

Institution
Course

Content preview

Name:_____________________________________________
EEE 202 Lab 4: Arduino
*** IMPORTANT NOTE REGARDING THE ARDUINO BOARDS***
Never connect the USB cable to a computer and a battery or power supply to the board at the same time or
you risk sending a charge in through the USB port and damaging the computer. Always keep any power
supplies separate and distinct from the 5V or 3V pin of the Arduino***
Data Sheet
Part 1: SOS Code
Put Arduino SOS code here:

int led = 13;
void setup() {
pinMode(led,OUTPUT);
}

void flash(int duration){
digitalWrite(led,HIGH);
delay(duration);
digitalWrite(led,LOW);
delay(duration);
}

void loop() {
flash(200); flash(200); flash(200);
delay(300);
flash(500); flash(500); flash(500);
flash(200); flash(200); flash(200);
delay(1000);
}

Part 2: Digital Input with Switch
What did you observe with your physical circuit when you toggle the slide switch (when running the
code on Page 12)?

The slide switch turns the led on/off when toggled.



What did you observe when monitoring the Serial port (when running the code on Page 13)?

When the led is not lit it constantly shows Time On: 0 milliSeconds. When the led is lit it constantly counts
up in milliSeconds.




1

, Provide a screenshot of your Serial Port window here (Have a look at an example screenshot at the
end of this document):




2

Written for

Institution
Course

Document information

Uploaded on
April 15, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Bri254 Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
919
Member since
5 year
Number of followers
738
Documents
3524
Last sold
2 weeks ago
Best Tutorials, Exam guides, Homework help.

When assignments start weighing you down, take a break. I'm here to create a hassle-free experience by providing up-to-date and recent study materials. Kindly message me if you can't find your tutorial and I will help.

4.0

181 reviews

5
106
4
20
3
25
2
6
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions