TEAM ZETAECE 3400 - Intelligent Physical Systems - Fall 2017
Assignments
Lab 1
Lab 2
Lab 3
Milestone 1
Milestone 2
Milestone 3
About
Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here. Stuff about your team goes here.
More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff More stuff.
The goal of this lab was to get acquainted with the Arduino Uno microcontroller, and to build and control a basic robot.
LAB PROCEDURE
We first installed the Arduino IDE from this link. We then tested the blink sketch on the Arduino via (File->Examples->Basics->Blink):
We then modified it to work with an external LED, by adding these lines of code:
pinMode(9, OUTPUT); //Setup pin 9 as output
digitalWrite(ledPin, HIGH); //Turn on LED
digitalWrite(ledPin, LOW); //Turn off LED
Additionally, we communicated over the serial interface:
Serial.begin(9600); //Setup serial interface to communicate with 9600 baudrate
Serial.print("Alpha team!"); //Send text
Serial.println(""); //Carriage return
Finally, we read an analog input from a potentiometer connected to A0, and used it to control the brightness of the LED:
potmeter = analogRead(A0); //Reads an ADC conversion from pin A0 using default settings for the ADC (10 bit conversion)
Serial.println(potmeter); //Send the potmeter value to the screen
analogWrite(ledPin, potmeter>>2); //The analog write function only takes 8bits, so we have to divide our value by 4
LAB 2
Signal Processing
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!
Use this area of the page to describe your project. The icon above is part of a free icon set by
Flat Icons. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!