Close

Does this project spark your interest?

Become a member to follow this project and don't miss any updates

Is grandpa alive ? (Breathing Detection)

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

This project was created on 01/22/2014 and last updated 9 months ago.

Description

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.

Details

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

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

Build instructions
  • 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

See all instructions

Discussions

Similar projects

1k 1 17 6
Project Owner Contributor

HB100 Radar Shield

by koppi