Coder Social home page Coder Social logo

ad5940-examples's Introduction

AD5940 Examples

AD5940/AD5941 is the latest high precision impedance and electrochemical front end. It communicates with external MCU via SPI bus.

This repository targets to provide rich examples for you to get start with and provide system level examples like EDA(electrodermal activity), BIA(Body Impedance Analysis) which you can use directly in your project.

Useful links

How to Use it

If MCU is not ADuCM3029, you need to port the the code by re-writing seral simple functions in file YOURMCUPort.c, ADICUP3029Port.c for example. Follow guide here from AD5940 Wiki.

Firstly, checkout the repository using below command. Make sure you have cloned the ad5940lib submodule which these examples are based on.

git clone --recursive https://github.com/analogdevicesinc/ad5940-examples.git

If you are downloading code from web browser, it won't automatically download folder examples/ad5940lib, please download it manually from ad5940lib and extract it to examples/ad5940lib.

The final file structure should be:

ad5940-examples\doc...
ad5940-examples\examples\ad5940lib\ad5940.c
ad5940-examples\examples\ad5940lib\ad5940.h
ad5940-examples\LICENSE...
ad5940-examples\README.md...

To run the example code, you need the AD5940 evaluation board, and the software development IDE like IAR or Keil.

Keil is verified on all examples and it's recommended.

Be aware if you are using Keil with ADuCM3029 that ADuCM3029 requires the ARM Compiler version 5, which does not come with a standard Keil install. This issue is similar to what is documented in this article from ARM's documentation. To resolve this, download the ARM Compiler version 5.06, update 7 from the ARM Compiler Index. Then register and add the installed Arm Compiler 5 release by following the steps in the "Manage Arm Compiler Versions" section of the Keil MDK documentation.

If you want to use IAR, do not forget to manually install ADuCM3029 Device Support Pack(ADuCM302x_DFP) from IAR CMSIS-Pack-Manager, under tab 'Packs/AnalogDevices.ADuCM302x_DFP'.

Hardware

Currently, there are two kinds of EVB.

  • EVAL-AD5940BIOZ is used for healthcare application like EDA/BIA/ECG. You can find the related introduction in Wiki. pic
  • EVAL-AD5940ELEC is used for industrial application like Gas Detection with electrochemical sensor, Water Quality etc. It has on board socket for gas sensor and a BNC connector for PH sensor. The USB connector actually carries the analog signal from AD5940 which allows you to connect any other sensors so you can do either impedance measurement or used as potentiostat circuit. Find more introduction on Wiki. pic

Software

Both IAR and Keil example projects are provided.

On how to use the IAR project, follow this link from ADI Wiki.

For Keil project, follow this link.

Note: CMSIS pack is used in all examples, make sure you installed the pack no matter in Keil or IAR.

License

Copyright (c) 2017-2019 Analog Devices, Inc. All Rights Reserved.

ad5940-examples's People

Contributors

neoanalog avatar mlambe avatar akilamarimuthu avatar brandon-hurst avatar mhennerich avatar tonynaggs avatar mkhairy89 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.