Bryan and Naved Debub monitor

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

frequency_detector.cpp File Reference

frequency_detector.cpp File Reference

---------------------------------------------------------------------------- More...

Go to the source code of this file.


Detailed Description

----------------------------------------------------------------------------

-- -- -- ECEN 5803 Mastering Embedded System Architecture -- -- Project 1 Module 4 -- -- Microcontroller Firmware -- -- frequency_detector.cpp -- -- -- ------------------------------------------------------------------------------- -- -- Designed for: University of Colorado at Boulder -- -- -- Designed by: Tim Scherr -- Revised by: Naved Maududi and Bryan Cisneros -- -- Version: 2.1 -- Date of current revision: 2017-09-25 -- Target Microcontroller: Freescale MKL25ZVMT4 -- Tools used: ARM mbed compiler -- ARM mbed SDK -- Freescale FRDM-KL25Z Freedom Board -- -- Functional Description: This file contains code that takes in quasi-sine wave ADC inputs from the flow meter From the ADC inputs, it calculates the frequency of that sine wave. The frequency is important in determining the flow rate and velocity for the flowmeter that are outputed to the display. -- -- Copyright (c) 2015 Tim Scherr All rights reserved.

-- -- -- ECEN 5803 Mastering Embedded System Architecture -- -- Project 1 Module 4 -- -- Microcontroller Firmware -- -- frequency_detector.cpp -- -- -- ------------------------------------------------------------------------------- -- -- Designed for: University of Colorado at Boulder -- -- -- Designed by: Tim Scherr -- Revised by: Naved Maududi and Bryan Cisneros -- -- Version: 2.1 -- Date of current revision: 2017-09-25 -- Target Microcontroller: Freescale MKL25ZVMT4 -- Tools used: ARM mbed compiler -- ARM mbed SDK -- Freescale FRDM-KL25Z Freedom Board -- -- Functional Description: This file contains calcuate the flow of fluid that is being measured. The flow i measured in gallons per minute. The flow function takes in two inputs, which is the frequency and temperature. Frequency is calculated from the vortex analog signal on ADC channel 2. The temperature is determined from an internal sensor. -- -- Copyright (c) 2015 Tim Scherr All rights reserved.

Definition in file frequency_detector.cpp.