Elevator Altimeter

Dependencies:   Lab7 mbed

Dependents:   Lab7

Committer:
kmhatre
Date:
Sat Mar 10 01:42:14 2018 +0000
Revision:
1:cdd11865c2a8
Parent:
0:a67807d31892
Elevator Altimeter

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kmhatre 0:a67807d31892 1 LAB 7 - DOCUMENTATION
kmhatre 0:a67807d31892 2 Krish Hemant Mhatre
kmhatre 0:a67807d31892 3 Ethan Zhang
kmhatre 0:a67807d31892 4
kmhatre 0:a67807d31892 5 The code first calculates the altitude (distanceA) then waits for one second and then calculates altitude once again (distanceB).
kmhatre 0:a67807d31892 6 It calculates the velocity of the elevator by the formula velocity = (difference in altitude)/time.
kmhatre 0:a67807d31892 7 Time is one second.
kmhatre 0:a67807d31892 8
kmhatre 0:a67807d31892 9 The altimeter waas tested in two different elevators - Luddy Hall and Geology Building.
kmhatre 0:a67807d31892 10 The observations are as follows:
kmhatre 0:a67807d31892 11
kmhatre 0:a67807d31892 12 Luddy Hall Up
kmhatre 0:a67807d31892 13 Time (s) Velocity (m/s)
kmhatre 0:a67807d31892 14 1 0.2500
kmhatre 0:a67807d31892 15 2 0.1250
kmhatre 0:a67807d31892 16 3 2.1250
kmhatre 0:a67807d31892 17 4 2.4375
kmhatre 0:a67807d31892 18 5 2.5625
kmhatre 0:a67807d31892 19 6 0.7500
kmhatre 0:a67807d31892 20 7 0.0625
kmhatre 0:a67807d31892 21
kmhatre 0:a67807d31892 22 Luddy Hall Down
kmhatre 0:a67807d31892 23 Time (s) Velocity (m/s)
kmhatre 0:a67807d31892 24 1 0.0625
kmhatre 0:a67807d31892 25 2 0.6250
kmhatre 0:a67807d31892 26 3 1.3750
kmhatre 0:a67807d31892 27 4 2.3750
kmhatre 0:a67807d31892 28 5 3.3750
kmhatre 0:a67807d31892 29 6 1.1875
kmhatre 0:a67807d31892 30 7 0.2500
kmhatre 0:a67807d31892 31 8 0.1875
kmhatre 0:a67807d31892 32
kmhatre 0:a67807d31892 33 Geology Up
kmhatre 0:a67807d31892 34 Time (s) Velocity (m/s)
kmhatre 0:a67807d31892 35 1 0.1250
kmhatre 0:a67807d31892 36 2 0.8750
kmhatre 0:a67807d31892 37 3 1.8125
kmhatre 0:a67807d31892 38 4 1.3750
kmhatre 0:a67807d31892 39 5 1.8750
kmhatre 0:a67807d31892 40 6 1.5625
kmhatre 0:a67807d31892 41 7 0.2500
kmhatre 0:a67807d31892 42 8 0.1250
kmhatre 0:a67807d31892 43
kmhatre 0:a67807d31892 44 Geology Down
kmhatre 0:a67807d31892 45 Time (s) Velocity (m/s)
kmhatre 0:a67807d31892 46 1 0.4375
kmhatre 0:a67807d31892 47 2 1.2500
kmhatre 0:a67807d31892 48 3 1.6875
kmhatre 0:a67807d31892 49 4 1.6250
kmhatre 0:a67807d31892 50 5 1.5000
kmhatre 0:a67807d31892 51 6 1.5000
kmhatre 0:a67807d31892 52 7 1.1250
kmhatre 0:a67807d31892 53 8 0.5625
kmhatre 0:a67807d31892 54 9 0.4375
kmhatre 0:a67807d31892 55 10 0.1875
kmhatre 0:a67807d31892 56
kmhatre 0:a67807d31892 57
kmhatre 0:a67807d31892 58 The graphs for all four observations and the eagle schematic of the board have been submitted in canvas.