unl-digifab

Week 8 - Microcontrollers and Digital I/O

Agenda

Arduino Intro

Arduino 1: Intro and Digital Input/Output. (slides)

Code Basics

The hello world of arduino. By default, the arduino will blink a built-in LED (“L”), next to the RX, TX, and POW lights.

Digital Output

Image

https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink

Let’s wire up our own LED attached to a different pin.

TODO:

Homework

Office Hours

Reference

Arduino

Breadboard

LED

image

Resistor

image

image

from Sparkfun (link)