Eml 5505 - HW#2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Florida International University

Homework #2
Introduction to Arduiuno
EML 5505 Smart Machine Design & Development

Submitted by:
Brian Hernandez
ID#: 4024373
Date of submission:
01/28/21

Spring 2021
Introduction

This homework was an introduction to Arduino microcontroller and


sketch environment. It also served to introduce the basics of
electronics and using a breadboard.

Pictures of project
Circuit diagram
CODE

const int ledPin = 13;

// the setup function runs once when you press reset or power
the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(ledPin, OUTPUT);
}

// the loop function runs over and over again forever


void loop() {
digitalWrite(ledPin, HIGH); // turn the LED on (HIGH is the
voltage level)
delay(100); // wait for a second
digitalWrite(ledPin, LOW); // turn the LED off by making
the voltage LOW
delay(100); // wait for a second
}

Conclusions

This assignment was not a difficult one considering some of my


prior experience with microcontrollers and some mechatronics. I
did learn how to use KiCAD, and I look forward to exploring it
more in future assignments. Luckily, online forums were helpful
for many challenges I had with the software.

You might also like