Giter Site home page Giter Site logo

mind2hand / ad5933-bioimpedance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dyarleniber/ad5933-arduino-bioimpedance

0.0 0.0 0.0 1.63 MB

Arduino code for a bioimpedance or bioelectrical impedance analysis (BIA) system for body composition analysis using the AD5933.

License: GNU General Public License v3.0

C++ 100.00%

ad5933-bioimpedance's Introduction

Arduino code for a bioimpedance or bioelectrical impedance analysis (BIA) system for body composition analysis using the AD5933.

The code was developed to be part of a system that uses a mobile application in a Bluetooth device as user interface.

Besides controlling the AD5933, the Arduino is used to perform the body composition equations, using as parameters the impedance values measured by the AD5933, and the patient's personal data provided by the mobile app, the results of the body composition equations, fat mass (FM), fat free mass (FFM) and total body water (TBW), are sent to the mobile application again by Bluetooth.

The source code has four states, in the initial state, the software waits for a Bluetooth command to start reading the user data, after that, in the second state, the software waits for reading the age, sex, height and weight of the users and stores the data in an array. In the third state, the measurement is initiated, and the electrical signal is generated on the Vout pin of AD5933. After the frequency sweep is completed, and the impedance magnitude values at 50 KHz and 100 KHz are collected, the software then switches to the fourth and last state. In the last state, the bioimpedance calculations are performed, and the results are sent to the mobile application by Bluetooth.

AD5933 configuration

  • Internal oscillator: MCLK = 16.776 MHz
  • Start frequency = 50 KHz
  • Frequency increment (โˆ†f) = 1 KHz
  • Number of increments = 50
  • PGA gain = ร—1
  • Output range = 1

For more details of AD5933 configuration, and the AD5933 operation mode, access the component datasheet.

This source code is part of my Bachelor's degree in Computer Engineering final paper. To download the full final paper (pt-BR) click here.

License

GNU General Public License v3.0

ad5933-bioimpedance's People

Contributors

dyarleniber avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.