Distance Measurement (Time Capture)

Distance Measurement (Time Capture)

Description:

The objective of this project is to implement ultrasonic ranger with the 7-segment display to show the distance between an object and the ranger. The measurements contain two modes: millimeter and inches. As well as two system states: Run and Pause. Coded in C and Arm Assembly.

System Summary:
  • Push button SW1 controls the system states of RUN and Pause.
  • Push button SW2 controls the selected mode, millimeter or inches (feet and inches).
  • The ultrasonic ranger obtains the range of an object by using waves that are sent and received by the system. The information (measurement of the distance received) is then displayed on the 7-segment display depending on the mode.
Materials Used:
  • Tiva C TM4C123G Micro-controller
  • Grove Base BoosterPack (BOOSTXL-GROVEBP)
  • Grove - 4-Digit 7-Segment Display (D) [Connected to Port J10]
  • Grove - Ultrasonic Ranger (D) [Connected to Port J15]
  • Git (Partner Collaboration)
  • Code Composer Studio 10.0 (IDE)

Download Code Here