Skip to content

ayushgupta98/ECEN5803-Project-1-Flowmeter

 
 

Repository files navigation

Flowmeter

Project Overview

This Project has a 4 part objective:

  1. Module-1 : Write a function to compute the square root of a number in Assembly.
  2. Module-2 : Integrate FRDM-KL25Z's onboard I2C accelerometer and touch sensor.
  3. Module-3 : Setup UART Console for for the KL25Z.
  4. Module-4 : Capture frequency and temperature from the ADC and compute the flow rate (gallons/min)

Block Diagram of the System

Block Diagram of Vortex Flowmeter:

block_diagram

Simulink result for the given requirements

Simulink Result:

block_diagram

Lab Setup


Picture 1

block_diagram


Picture 2

block_diagram

Test Results

Module 1

block_diagram block_diagram

Module 2

Accelerometer

Accelerometer.Working.mp4

Touch Sensor

Touch.Sensor.working.mp4

Module 3

block_diagram


Module 4

block_diagram

Also a Dhrystone benchmarking has to be performed on this microcontroller to calculate the speed of the microcontroller.

Authors

  1. Ayush Gupta - aygu7370@colorado.edu
  2. Sankalp Agrawal - saag2511@colorado.edu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 81.3%
  • C 9.2%
  • JavaScript 7.2%
  • C++ 2.1%
  • CSS 0.1%
  • Makefile 0.1%