Home

Lab 6 - Accelerometer Drop Testing

Technology: C

For this lab, we had to create a program that calculated the distance and time fallen
of an Arduino Esplora based off of the accelerometer data when dropped from a certain
height. Also, we had to print periods while the Esplora was waiting to fall, and print
exclamation marks for when it was falling. In addition to this we had to implement a
feature that would calculate the distance fallen while compensating for air resistance,
and calculate the percent difference between this value and the calculated value.

Project Files

lab6.c (click on image to download file):



Example Outputs: