24
ECE 002 Final Project ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Embed Size (px)

Citation preview

Page 1: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

ECE 002 Final ProjectECE 002 Final ProjectBy Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Page 2: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Team BeardfaceTeam Beardface

Group 11 was undoubtedly one of the most capable groups. True, they had some tough times, but they always knew what to expect. Their preparedness made up for their tardiness; for this reason, they never were late with a report or an assignment, though they might have been late themselves.

Page 3: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Projects This SemesterProjects This Semester

◦Sensor Characterization◦Instrumentation Lab◦Elevator Project◦Circuits Lab◦PSPICE Lab◦MATLAB… Lab…

Page 4: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Instrumentation LabInstrumentation Lab

Learned how to use Oscilloscope and Multimeter

Page 5: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

SENSOR CHARACTERIZATIONSENSOR CHARACTERIZATION

Senors are devices that receive signals from the outside world and use the data to perform useful functions in everyday electronics. ◦Light◦Movement◦Color◦Weight◦Etc.

Page 6: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Light SensorLight SensorThe light sensor is used to interpret light values, more specifically the brightness levels of the surrounding environment. Higher values are dark and low values are light/whiter. /* Light Sensor Program*/ void main() {  int light;    while(start_button()==0) { }    while(1) {     light = analog(6);    printf("The digitized light value is %d\n", light);    sleep(1.0);    printf("\n");   }}

Page 7: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 8: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Sonar SensorSonar SensorThe sonar senor also detects distance but for a much longer range. The range is from 30 - 2000 mm. Small values mean the object is close and large values means it very far away. /* Sonar Sensor Program*/ void main() {  int range;    while(start_button()==0) { }    while(1) {     range = sonar();    printf("The digitized range is %d\n", range);    sleep(1.0);    printf("\n");   }}

Page 9: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 10: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

OpticalOpticalThe optical range finder sensor detects distance. Low values are very far away objects and high values are very close objects. The range is very small, only about 8 inches. /* Optical Rangefinder Sensor Program*/ void main() {  int range;    while(start_button()==0) { }    while(1) {     range = analog(6);    printf("The digitized range is %d\n", range);    sleep(1.0);    printf("\n");   }}

Page 11: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 12: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

IR Top Hat SensorIR Top Hat SensorThe Top sensor

measures brightness. High values signify darkness and low values mean light.

Page 13: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 14: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

ConclusionConclusionOur group encountered some problems

while implementing the experiments◦Top Hat Sensor not giving accurate readings at

first We realized that we had the sensor plugged into

the wrong port◦Handy Board had trouble loading the programs

All these problems made us more aware of testing and triple checking our data to make sure it is accurate.

Page 15: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Elevator ProjectElevator ProjectThe elevator project was used to learn

about how to implement the sensors we tested in the last lab◦to look at the possibilities of what sensor would

do the job most effectively and efficientlySince we only needed to known when the

elevator was at the first or second floor, button sensors would do

Page 16: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Elevator ProgramElevator Program void main() { while(1) // 1 infinite loop { while(start_button()==0){} while(1) // 1 infinite loop { if (digital(7)==1){ motor(0,9); } if(digital(10)==1){ motor(0,0); } if(digital(9)==1){ motor(0,-9); } if(digital(8)==1){ motor(0,0); } } } }

Page 17: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 18: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough
Page 19: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

MATLABMATLABUsed MATLAB to solve a complex circuit

Page 20: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

MATLAB was also used to integrate a function using the trapezoidal rule

Vectorized Integration > Composite Integration

a

f(b)

f(a)

x

y

b

Page 21: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

AM RADIOAM RADIOWe soldered wires together and followed a schematic to assemble an AM radio. The end result was beautiful sound from an AM radio station.

Page 22: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

Circuit LabCircuit Lab The purpose of this integrated lab was to learn how to

calculate commonly used values in circuitry, such as current and voltage, by using a multimeter. Groups also learned how different parts in a circuit can affect these values.

Page 23: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

PSPICE LabPSPICE LabLab involved becoming acquainted with computer

aided circuit designCircuit simulations

V 31 . 7

1 . 0 7 9 m A

R 61 k

1 . 0 7 9 m A

D 11 N 4 5 0 0

1

1 . 0 7 9 m A

2

-1 . 0 7 9 m A

1 . 0 7 9 V

1 . 7 0 0 V

0 V

0

Page 24: ECE 002 Final Project By Brandon Minor, Adam McCormack, Benjamin Miller, Damon McCullough

What we learned…What we learned… A whole bunch Group 11 learned many things, and found even more that they

have to improve upon. They could work more efficiently together by distributing work, but sometimes this left some members clueless as to what was actually going on, what the big goal of the project really was.

In the future, the group should distribute work in cycles, somebody doing this one day and that the other, so that everyone comprehends every process involved.

Also, the group should work on its soldering skills. But that just takes practice.