Question About AD7705 ADC - Sensors - Arduino Forum

Question about AD7705 ADC Other Hardware Sensors October 19, 2017, 11:14pm 1

Hi there, I'm a beginner of Arduino and I'm trying to get the 16-bit ADC, AD7705 work with Arduino UNO. I used the AD7705/AD7706 library written by Kerry D. Wong(AD7705/AD7706 Library Revisited – Kerry D. Wong). My connections are:

VDD: 5V on Arduino board GND: GND on Arduino Board Din: D11 on Arduino Board Dout: D12 on Arduino Board SLK: D13 on Arduino Board CS: D10 on Arduino Board

AIN2(+) : connected to the voltage input that I wanna measure.

And My code is:

#include <AD770X.h> AD770X ad7706(2.5); double v; //double v2; void setup() {  Serial.begin(9600);  ad7706.reset();  ad7706.init(AD770X::CHN_AIN1);    //ad7706.init(AD770X::CHN_AIN2); } void loop() {  v = ad7706.readADResult(AD770X::CHN_AIN1);  Serial.print(v);  //v2 = ad7706.readADResult(AD770X::CHN_AIN2);  Serial.print("\n");  //Serial.println(v2);  delay(500); }

My problem is I keep getting 0 from the reading. Can somebody kindly help me on this? Is there some parts that I messed up? Thanks! Ray

October 19, 2017, 11:16pm 2

luxinrui: Is there some parts that I messed up?

Not buying an HX711. :slight_smile: And not posting your code in the code tags </>.

October 19, 2017, 11:29pm 3

Thanks for your reminder I just modified it :slight_smile: But still I only have that AD7705 :cry:

October 20, 2017, 6:02am 4

Judging from the comments on Wong's site, you're not the only one with the "all I get are zeros" problem. One person resolved it by pulling the reset pin high, but that didn't work for others. Worth a shot. If it doesn't work, I'd say ditch it and move on to a different ADC.

October 20, 2017, 7:32am 5

From the code it looks like you read AIN1 while signal is connected to AIN2?

EDIT: it is differential ADC. You need to connect AINx(-) to something, maybe GND (if you are interested in "single-ended" voltage as Arduino measures it).

1 Like
Topic Replies Views Activity
三线噪声传感器连接ad7705读取的值一直是0v为什么 中文 (Chinese) 12 84 December 3, 2025
Request for AD7367 Library for Arduino General Guidance 78 519 August 28, 2025
How to interface AD7710 ADC ic using Arduino Uno Sensors 5 1004 July 27, 2023
Arduino UNO with AD7714 ADC Sensors 17 2998 July 2, 2021
Interfacing AD7367 ADC with Arduino Mega – Need Example Code & Connection Details Programming 15 123 August 6, 2025
Unfortunately, your browser is unsupported. Please switch to a supported browser to view rich content, log in and reply.

Tag » Ad7705 Library