Skip to content

Arduino library support the ADS129X family of analog front-ends by TI

License

Notifications You must be signed in to change notification settings

ferdinandkeil/ADS129X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADS129X Arduino library

This library adds support for the ADS129X series of analog front-ends from Texas Instruments to the Arduino environment. It is based on work by conorrussomanno.

So far the library has only been tested with the ADS1298. In theory it should be compatible to all members of the ADS129X family.

Modes of operation

The library support two modes of operation: interrupt-driven and polling. Both modes use the same API and your sketch still has to poll for available data even when in interrupt mode. However in interrupt mode the response time to changes on the DRDY line is much quicker and thus higher sample-rates are supported (tested with up 8 kSPS). Interrupt mode is the default, to switch to the old polling operation add this to your sketch as the first line:

#define ADS129X_POLLING

When multiple devices share the SPI bus you will want to use polling mode as not to interfere with the SPI transactions of other devices.

Example sketches

Two example sketches are included. One transfers the data to a PC via a serial connection, the other uses a nRF8001 BTLE chip to send it to a phone. Both were tested using a custom board including an Olimex nRF8001 breakout and a Teensy 3.1.

Libraries required by the sketches:

License

See LICENSE

About

Arduino library support the ADS129X family of analog front-ends by TI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages