Giter Site home page Giter Site logo

analogdevicesinc / max32655_max30009 Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 300 KB

MAX32655 code to communicate with the MAX30009 through SPI

Home Page: https://www.analog.com/en/products/max30009.html

License: Other

C 79.35% Makefile 20.65%
afe analog bioimpedance frontend galvanic gsr healthcare-application max32655 response sensors skin spi bio-medical bioz max30009

max32655_max30009's Introduction

Description

This project records galvanic skin response (GSR) or electrodermal activity (EDA) using the MAX30009 with the MAX32655 microcontroller.

The values for I-Phase, Q-Phase, BIOZ and adjusted BIOZ are printed to a file that can then be analysed or plotted

Software

Project Usage

  • As is, when run, the program will wait 100 counts and then print the Quadrature Phase, In Phase, BIOZ and adjusted BIOZ in four separate columns as below:
Quad Phase In Phase BIOZ Adjusted BIOZ
12291.000000 9556.000000 51515.124947 46353.879949
12290.000000 9560.000000 51520.638092 46359.450341
12295.000000 9555.000000 51523.544096 46362.386522
12293.000000 9552.000000 51512.227608 46350.952527
12291.000000 9556.000000 51515.124947 46353.879949
12296.000000 9549.000000 51513.977253 46352.720338
12294.000000 9556.000000 51522.962058 46361.798440
12300.000000 9559.000000 51544.729169 46383.791646
12302.000000 9555.000000 51541.834769 46380.867176
12302.000000 9555.000000 51541.834769 46380.867176
12290.000000 9556.000000 51512.512737 46351.240616
12291.000000 9551.000000 51504.971749 46343.621338
12294.000000 9551.000000 51512.810405 46351.541374
12296.000000 9554.000000 51524.126552 46362.975027
12293.000000 9551.000000 51510.197439 46348.901280
12294.000000 9554.000000 51518.900999 46357.695210
12291.000000 9555.000000 51513.094043 46351.827957
12287.000000 9550.000000 51492.490675 46331.010712
12293.000000 9555.000000 51518.318909 46357.107075
12298.000000 9556.000000 51533.412660 46372.357580
12299.000000 9554.000000 51531.965481 46370.895369
12294.000000 9555.000000 51520.931462 46359.746757
12286.000000 9552.000000 51493.939813 46332.474891
  • These must also be printed to a separate .txt file that can be done by turning on the Toggle File Logging and choosing a Log File Directory: VSCode Log File

Project-Specific Build Notes

  • Visual Studio Code that is capable of writing/compiling C programs.
  • MATLAB or Excel to plot outputs.

Setup

Hardware needed

  • Connect the MAX32655FTHR to the MAX30009EVKIT via SPI lines
  • Connect jumpers J5 and J7, leaving J4, J6, J7 and J8 open
  • Replace the capacitors C5, C6, C7 and C8 with capacitors of at least 220nF
  • Use two wet or dry electrodes on the wrist, connected 4cm apart

max32655_max30009's People

Contributors

brianhindman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.