Close
0%
0%

Breathing Detection

This is simple project for breathing detection. It uses Arduino Uno as driver with LabView.

Similar projects worth following

Program monitors breathing and stores
data in txt file.

LabVIEW
is
based on dataflow visual programming language and
environment.

I chose LabView to communicate
with Arduino, because it has integrated function to
calculate frequency and threshold of raw data from sensor.

NTC resistor should be placed near
mouth or nose.

Stopping of breathing is detected with
frequency and threshold.
If breathing stops Arduino turns on
LED.
Program stores threshold and frequency
in data.txt file.

NTC of nominal 10k resistance should
be used.

If NTC of a different resistance
value is used, code should be modified.

Arduino reads voltage from voltage divider with standard 10k resistor and NTC. Breathing causes NTC to change resistance which leads to voltage changes on divider. ATmega328 in Arduino reads voltage with ADC and passes data to LabView function. Function calculates average value and DFT to determine frequency.



First step is to acquire signal from voltage divider.

Next we determine acquired signal frequency and test it against threshold value. Every value is converted to string and logged in data.txt file

Button Read and Write in front control panel control this case structures

  • 1 × Arduino Uno The Arduino Uno is a microcontroller board based on the ATmega328
  • 1 × Thermistor NTC 10KOhm NTCLE100E3103HB0
  • 1 × Resistor 10KOhm

  • 1
    Step 1

    Labview and Arduino Introduction

    LabVIEW (short for Laboratory Virtual Instrument Engineering Workbench) is a system-design platform and development environment for a visual programming language from National Instruments.

    To learn about LabView check official National Instruments site.

    Check out this youtube tutorial about LabView programing examples.

    In this project I'm using low cost Arduino Uno kit for data acquisition. Main reason for using Arduino is low price and built in support in LabView. You can modify this project to work with Data Acquisition (DAQ) devices but those are professional tools and cost a lot.

    Please do get familiar with LabVIEw because next step is to program Arduino with specific driver which enables communication between these two products.

    Official page with tutorial can be found at https://decibel.ni.com/content/groups/labview-interface-for-arduino

View all instructions

Enjoy this project?

Share

Discussions

Marko Dragoslavic wrote 04/29/2015 at 23:19 point

Arduino Uno

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates