Skip to content

AD594x related application examples and block level examples.

License

Notifications You must be signed in to change notification settings

Brandon-Hurst/ad5940-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

About

AD594x related application examples and block level examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published