16
Programming for Engineers Winter 2015 Final Project Andreas Rau, Saarland University

Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Programming for EngineersWinter 2015

Final Project

Andreas Rau, Saarland University

Page 2: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

The Final Project• Groups of 2 Students

• Design & Implement a Complete Arduino Project (Hard- & Software)

• Deadline: Tuesday, March 1st

• Grading based on originality complexity functionality

Page 3: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Overall Grading

Project 25 %

Exercises 25 %

50 %

Exam (must be

passed successfully)

Page 4: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Licht-UhrMurat Güner, Maximilian Junk, Pierre Kehl und Thomas Kreis

Page 5: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

W

L

A

N

W

o

r

l

d

I

n

s

p

e

c

t

o

r

G

r

o

u

p

X

-

A

n

d

r

e

a

s

R

a

u

A

b

s

t

r

a

c

t

In todays gray and dull world, people need a new perspective on things. Our fancy drone is based on the arduino

project and utilizes open source code to manage flight tasks. It starts flying andm

a

k

e

s

a

v

i

d

e

o o↵ering a new

perspective on the world from far above.

It managesp

r

e

-

p

r

o

g

r

a

m

m

e

d

fl

i

g

h

t

s

c

h

e

m

e

s, based on GPS coordinates, afl

y

-

b

a

c

k algorithm allowing it

to return to the start of a programmed course. Of course its

t

a

b

i

l

i

z

e

s

i

t

s

e

l

f due to included acceleration sensors.

Finally it features an advanced web socket control mechanism, which allows the drone to bes

t

e

e

r

e

d

b

y

c

o

n

n

e

c

t

e

d

s

m

a

r

t

p

h

o

n

e

s.

(a) The drone(b) A subfigureFigure 1: Drone with controlling mechanism

1 Detailed DescriptionOur implementation basically follows the standard setup of a quadrocopter. The sported camera is attached to the

bow of the drone and is mounted on rubber domes to minimalize vibrations generated by the chassis and motors.

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et

dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita

kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur

sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem

ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor

invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et

ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat

nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis

dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh

euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

1

What we expect…

• Proposal (2-3 Pages)

• Overview, Motivation

Page 6: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

What we expect…

• Proposal (2-3 Pages)

• Overview, Motivation

• Hardware Requirements

2 Hardware Requirements/List

(a) Ultra-Sonic Sensor(b) 6-axis accelerationsensor

(c) Electronic Speed Controller(d) LIPO battery

(e) Rotor (f) Arduino UNO

(g) WIFI Module(h) Motor

Figure 2: Drone parts

Fig Item

Description

PricePieces

2a Ultrasonic Sensor

Used for distance measures while indoor fly-

ing

0.000a

2b 6 Axis acceleration sensor

Automatic level and acceleration measure-

ment

7.73 b

1

2c Electronic Speed Controller (ESC)Used for distance measures while indoor fly-

ing

22.234

2d LIPO battery

Power Supply while flying

34.001

... ...

...

......

SUM

130.96

ab

a

s

e

p

a

c

k

a

g

e

-

n

o

o

r

d

e

r

r

e

q

u

i

r

e

d

bh

t

t

p

:

/

/

w

w

w

.

a

m

a

z

o

n

.

d

e

/

g

p

/

p

r

o

d

u

c

t

/

B

0

0

D

1

K

5

Z

5

Q

3

Page 7: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

What we expect…

• Proposal (2-3 Pages)

• Overview, Motivation

• Hardware Requirements

• Use cases

3 Contracts3.1 Use case scenarioDrones have multiple purposes and can carry a lot of equipment and sensors on board for a fairly short amount of time.

Using it to measure temperature condition in a remote destination is possible without setting up a central weather

station. Thus we can overlook a large amount of places ...

Our drone allows it to enter a set of GPS coordinates and the drone automatically reaches its destination, takes a

picture and records the current weather conditions.

3.2 Must-Haves• The drone can fly• Webinterface allows setting of a course on google maps coordinates

• Photographs are possible and can be transmitted wirelessly to a central storage

• I can hover without changing the position

3.3 May-Haves• The drone measures the temperature, humidity and athmospheric pressure

• Webinterface allows for recording of videos

• automatic fly back• I can hover without changing the position

3.4 Must-not-haves• No collision detection, e.g. overland power lines, birds

• No weather resistence• No power supply measurements

4

Page 8: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

What we expect…

• Proposal (2-3 Pages)

• Overview, Motivation

• Hardware Requirements

• Use cases

• Must/May/Must-Not haves

3 Contracts3.1 Use case scenarioDrones have multiple purposes and can carry a lot of equipment and sensors on board for a fairly short amount of time.

Using it to measure temperature condition in a remote destination is possible without setting up a central weather

station. Thus we can overlook a large amount of places ...

Our drone allows it to enter a set of GPS coordinates and the drone automatically reaches its destination, takes a

picture and records the current weather conditions.

3.2 Must-Haves• The drone can fly• Webinterface allows setting of a course on google maps coordinates

• Photographs are possible and can be transmitted wirelessly to a central storage

• I can hover without changing the position

3.3 May-Haves• The drone measures the temperature, humidity and athmospheric pressure

• Webinterface allows for recording of videos

• automatic fly back• I can hover without changing the position

3.4 Must-not-haves• No collision detection, e.g. overland power lines, birds

• No weather resistence• No power supply measurements

4

Page 9: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Project

• Originality:

• Complexity:

• Functionality:

Checked Against Contracts

Page 10: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Project

• Originality:

• Complexity:

• Functionality:

Checked Against Contracts

Page 11: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

What can I use?

• Chair can buy hardware for 10 Euro per group (no reimbursement)

• all hardware from previous projects

• wood/metal constructions

• be creative

Page 12: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Delivery

• Deadline: 1st of March

• Video

• Group Presentation

Page 13: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Delivery

• Deadline: 1st of March

• Video

• Group Presentation

• Circuit Diagram/Design

Page 14: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Delivery

• Deadline: 1st of March

• Video

• Group Presentation

• Circuit Diagram/Design

• Well Documented Code

• Final Document

Page 15: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Final Document

• Extend Your Proposal

• Discuss Design Decisions

• Occuring Problems

• Present Your Circuit/Code

W

L

A

N

W

o

r

l

d

I

n

s

p

e

c

t

o

r

G

r

o

u

p

X

-

A

n

d

r

e

a

s

R

a

u

A

b

s

t

r

a

c

t

In todays gray and dull world, people need a new perspective on things. Our fancy drone is based on the arduino

project and utilizes open source code to manage flight tasks. It starts flying andm

a

k

e

s

a

v

i

d

e

o o↵ering a new

perspective on the world from far above.

It managesp

r

e

-

p

r

o

g

r

a

m

m

e

d

fl

i

g

h

t

s

c

h

e

m

e

s, based on GPS coordinates, afl

y

-

b

a

c

k algorithm allowing it

to return to the start of a programmed course. Of course its

t

a

b

i

l

i

z

e

s

i

t

s

e

l

f due to included acceleration sensors.

Finally it features an advanced web socket control mechanism, which allows the drone to bes

t

e

e

r

e

d

b

y

c

o

n

n

e

c

t

e

d

s

m

a

r

t

p

h

o

n

e

s.

(a) The drone(b) A subfigureFigure 1: Drone with controlling mechanism

1 Detailed DescriptionOur implementation basically follows the standard setup of a quadrocopter. The sported camera is attached to the

bow of the drone and is mounted on rubber domes to minimalize vibrations generated by the chassis and motors.

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et

dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita

kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur

sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem

ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor

invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et

ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat

nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis

dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh

euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

1

Page 16: Final Project - uni-saarland.de · The Final Project • Groups of 2 Students • Design & Implement a Complete Arduino Project (Hard- & Software) • Deadline: Tuesday, March 1st

Demo