Data Acquisition With The AD7705 On The Raspberry PI! - GitHub
Maybe your like
The AD7705 is a two channel sigma delta converter which has differential inputs, a PGA and programmable data rates. It's perfect for slowly changing inputs such as pressure, temperature, heart rate etc.
This repo offers the class AD7705Comm which does all the low level communications with the AD7705. The user just need to register a callback handler which then returns the samples in realtime.
The class uses the DRDY of the AD7705 connected to Port 22 and waits for a falling edge on this port to read the data. This is done via interrupts / poll so that the ADC process sleeps until new data becomes available.
Hardware design
The design files (for EAGLE) are in the subdirectory "pcb".

Building:
To build:
cmake . makeInstall
sudo make installUsage example
In the subdir example is a simple application which prints the ADC data to the screen.
cd example sudo ./ad7705_printerGeneral usage
The online doc is here: http://berndporr.github.io/rpi_AD7705_daq/
Callback handler
class AD7705printSampleCallback : public AD7705callback { virtual void hasSample(float v) { // process your sample here } };Main program
Instantiate the AD7705 class and the callback handler:
AD7705Comm ad7705comm; AD7705printSampleCallback ad7705printSampleCallback; ad7705comm.setCallback(&ad7705printSampleCallback);Start the data acquisition:
ad7705comm.start();once start has been called the data will be arriving.
Stop the data acquisition:
ad7705comm.stop();Author: Bernd Porr
- [email protected]
- [email protected]
- www.berndporr.me.uk
Tag » Ad7705
-
[PDF] AD7705/AD7706 | 3 V/5 V, 1 MW, 2-/3-Channel, 16-Bit, Sigma-Delta ...
-
AD7705 Datasheet And Product Info - Analog Devices
-
AD7705 - Analog To Digital Converters (ADC) - Digikey
-
AD7705 Dual ADC | Electrical Engineering And Computer Science
-
Analog Devices Inc. AD7705 Series Analog To Digital Converters
-
Search Results For: AD7705 - Mouser Electronics
-
AD7705 Datasheet(PDF) - Analog Devices - ALLDATASHEET.COM
-
[PDF] AD7705/AD7706 - ZMiTAC
-
AD7705 Dual 16 Bit ADC Module With Programmable Input Gain ...
-
NOYITO AD7705 Dual 16-Bit ADC Data Acquisition Module Input ...
-
HiLetgo 2pcs AD7705 Dual 16 Bit ADC Data Acquisition Module ...
-
AD7705 Footprint & Symbol By Analog Devices Inc. - SnapEDA
-
AD7705.C