+ All Categories
Home > Documents > Final project presentation ea

Final project presentation ea

Date post: 05-Jul-2015
Category:
Upload: eric-ayala
View: 402 times
Download: 1 times
Share this document with a friend
22
FINAL PROJECT REPORT BY ERIC AYALA ECT-295L APPLIED PROJECT INSTRUCTOR: PROFESSOR CLIFF PRESENT
Transcript
Page 1: Final project presentation ea

FINAL PROJECT

REPORT

BY ERIC AYALA

ECT-295L

APPLIED PROJECT

INSTRUCTOR: PROFESSOR CLIFF PRESENT

Page 2: Final project presentation ea

TABLE OF CONTENTS

1. Executive Summary

2. Description

3. Justification

4. Schematic

5. Parts List

6. Theory of Operation

7. Software Listing Letters

8. Software Listing Arrows

9. Block Diagram

10. Test Procedure

11. Test Report

12. Time Line

13. Problems

14. References

15. Data Sheets

Page 3: Final project presentation ea

EXECUTIVE SUMMARY

• Built an electronic

compass

• Displays the cardinal

directions

• Costs $25.83

• Took seven weeks to

complete

Page 4: Final project presentation ea

DESCRIPTION

• Had to order and build the compass within a deadline and budget.

• The compass needed hardware and software construction.

• Hardware: soldered and assembled the components onto the circuit board.

• Software: created a program that instructs the hardware what to do.

• Within the deadline I would document a weekly progress report upon completion.

Page 5: Final project presentation ea

JUSTIFICATION

MintyBoostv3.0

• Its purpose is to function as a small portable USB charger for devices like iPhones and iPods.

• Costs $19.50.

Chap Stick LED Flashlight

• Functions as a mini flashlight.

• Made from LEDs, Chap Stick Tube, battery and more…

Electronic Compass

• Runs on hardware and software.

• Displays all the cardinal directions.

• Costs $25.83.

• I chose to build the compass because the other devices were too easy to make.

• Plus, I need practice in programming so that will help my experience.

Page 6: Final project presentation ea

SCHEMATIC

U3

PIC16F72

MCLRA0A1A2A3A4A5VSSOCS1OSC2C0C1C2C3 C4

C5C6C7VssVddB0B1B2B3B4B5B6B7 U2

08FYD5421AS

E1

N2

NC3

M4

L5

G26

D7

DP8

C9

B10

CC211

A12

G113

K14

J15

CC116

H17

F18

Bus1

F(‎1)‎H(‎2)‎E(‎3)‎N(‎4)‎G1(‎5)‎A(‎6)‎L(‎7)‎

C(‎11)‎CC1(‎8)‎CC2(‎9)‎

R2

220Ω R5

220Ω

Bus1 Bus1

B5(‎12)‎B4(‎14)‎

B1(‎15)‎B0(‎16)‎C7(‎17)‎

C6(‎18)‎

B7(‎19)‎B6(‎20)‎C5(‎21)‎

B3(‎22)‎B2(‎23)‎C4(‎24)‎C1(‎25)‎

G2(‎26)‎

D(‎27)‎B

Title:

Designed by:

Checked by:

Approved by:

Document No:

Date:

Sheet of

Revision:

Size:

COMPASS2 COMPASS2

Eric Ayala

ECT-295L

0001

2012-12-04

1 1

1.0

A

Desc.:

801-111 Peter StreetToronto, ON M5V 2H1(416) 977-5550

National Instruments

U1LM7805CTLINE VREG

COMMON

VOLTAGE

VDD

5V

C110µF

C31µF C2

1µF

P1

HDR1X2

On/Off jumper

C4

10pF

R110kΩ

RNET1E100kΩ

VDD

5V

C510pF

U4

11S1490

SB1

SE2

SC3

EB4

EE5

EC6

NB7

NE8

NC9

WB10

WE11

WC12

RNET1C100kΩ

RNET1B100kΩ

RNET1A100kΩ

RNET1E4100kΩ

KM

J

Page 7: Final project presentation ea

PARTS LIST

Item # Quantity Part # Description Vendor Item Cost Subtotal

1 2 14DK50010P-W Ceramic Cap 10pf (0.2' spacing) RadioShack 2 x $0.74 $1.48

2 2 14MN0501U-W Mono Cap 1uf (0.2' spacing) RadioShack 2 x $1.75 $3.50

3 2 13005220 220 ohm, 1/4W RadioShack 2 x $1.44 $2.88

4 1 1300510K 10k ohm, 1/4W RadioShack 1 x $1.44 $1.44

5 1 14ER05010O 10uf electro cap sparkfun ELECTRONICS 1 X $0.45 $0.45

6 1 08FYD5421AS Dual alphanumeric display Ebay 1 x $2.50 $2.50

7 1 10PIC16F72-I/SP PIC Microprocessor 16F72 Ebay 1 x $2.39 $2.39

8 1 19ICL28-N IC socket 28 pin Ebay 1 x $0.99 $0.99

9 1 11S1490 Compass module -Sensor 1490 Zagros Robotics 1 x $16.95 $16.95

10 1 24SHTEXBAR Shorting Bar (Long Bar) Digi-Key Corporation 1 x $4.75 $4.75

11 1 107805-L 5 Volt Regulator 78L05 Ebay 1 x $1.99 $1.99

12 1 2800RG9 9V battery Ebay 1 x $0.99 $0.99

13 1 2801BSI 9V battery conector Ebay 1 x $0.59 $0.59

14 1 97COMPASS PCB Ebay 1 x $3.98 $3.98

15 1 240220DF Female Header (10x2) Ebay 1 x $0.99 $0.99

16 1 23561L6.50 Nylon tapped spacer 1/2' Ebay 1 x $0.99 $0.99

17 1 2321M3-10 Screw M 3-10 RC PLANET 1 x $2.49 $2.49

18 1 13S8,7100K 100k SIP (8,7) network Ebay 1 x $1.00 $1.00

19 1 240202S Jumper 1x2 Ebay 1 x $0.99 $0.99

20 1 60700 Solder Tube RadioShack 1 x $7.49 $7.49

21 1 2330RB1 Rubber Feet Ebay 1 x $2.99 $2.99

Total $61.82

1 32DVRECETCOMPR1 Electronic Compass Kit Follet Bookstore 1 x $25.83 $25.83

Page 8: Final project presentation ea

THEORY OF

OPERATION

• For software:

Converted binary

data into

hexadecimal in

order to simplify

the program

Assigned cardinal

directions to the

proper ports

(A, B, & C)

Page 9: Final project presentation ea

THEORY OF

OPERATION CONT.

• Also, the data was used

to program the PIC to

send data at the correct

segments

Page 10: Final project presentation ea

THEORY OF

OPERATION CONT.

• Flowcode

• Used conditions to

hold true an input

which displayed an

output until it

became false

• Then, created a loop

that made it possible

to use both sides of

the display by having

each side flicker

back and forth fast

Page 11: Final project presentation ea

THEORY OF

OPERATION CONT.

• For hardware, the compass needs its electronic components:

• a sensor which detects the cardinal directions

• an alphanumeric display which will display the cardinal directions

• a programmable integrated circuit that processes the programmed data

• a female header that will provide an interface for another circuit that connects to the PC

• a shorting bar that controls the on/off state of the board.

• Plus, the circuit also runs on its:

• 9V battery supply, capacitors, resistors, SIP and voltage regulator which:

• supplies, stores, limits and regulates the current throughout the circuit.

Page 12: Final project presentation ea

SOFTWARE LISTING

LETTERS

Page 13: Final project presentation ea

SOFTWARE LISTING

LETTERS CONT.

Page 14: Final project presentation ea

SOFTWARE LISTING

ARROWS

Page 15: Final project presentation ea

SOFTWARE LISTING

ARROWS CONT.

Page 16: Final project presentation ea

BLOCK DIAGRAM

9V batteryPIC

Microprocessor 16F72

Dual alphanumeric

display

Compass module sensor

Page 17: Final project presentation ea

TEST PROCEDURE

1. Checked if the circuit connectivity by connecting the 9V battery.

2. Turned the compass clockwise and counter-clockwise to check if the display module was displaying the correct signals from the sensor.

3. Compared the cardinal directions of my compass to a functional compass.

Page 18: Final project presentation ea

TEST REPORT

Voltage: 7.79V

Current: 28.7mA

Power : Ohm’s Law

P = V x I = 223.57mW

Page 19: Final project presentation ea

TIME LINE

Week 1: Reviewed three possible projects and chose the preferred project based on a budget, time and difficulty.

Week 2: Created a schematic diagram of electronic compass that displays the connectivity throughout the circuit.

Week 3: Created the first initiation of the program that displayed singly four letters (N, S, W, and E).

Week 4: Created/converted binary data to hexadecimal and decimal in order to simplify the program. We altered the program to display the rest of the cardinal directions (NW, NE, SW, and SE).

Week 5: Received my compass kit. Then, soldered and assembled my circuit. And, added some adjustments to the program that displayed arrows that always point north. I then programmed my own board for the first time.

Week 6: Experimented more with the software and added the compatible hardware that adjusted with the new program. This involved adding a speaker, wires, and a capacitor. So, by using a speaker the program will output different frequencies at different cardinal directions.

Week 7: Documented the whole project on the electronic compass which includes a: technical summary, description, justification, schematic diagram, parts list, theory of operation, software listings, block diagram, test procedure and report, time line, problems, references and data sheets.

Page 20: Final project presentation ea

PROBLEMS

1. First, I didn’t receive my

kit until the fifth week.

But, the instructor let me

borrow his kit so I could

test my programs.

2. Then, the other problem

was that I had trouble

getting my program to

work properly. I had

forgotten to declare my

variables but the

instructor overlooked it

and caught the mistake.

Page 21: Final project presentation ea

REFERENCES

1. Professor Cliff Present

2. Colleague Paul Noska

3. Datasheet: PIC16F72

(http://ww1.microchip.com/downloads/en/devicedoc/3959

7b.pdf)

4. eCollege (www.devryu.net)

Page 22: Final project presentation ea

DATA SHEETS


Recommended