The sensor AHT3001 cannot be recognized by Arduino Uno

The temperature and humidity sensor's information can be found at AHT3001 Temperature and Humidity Sensor

My circuit details:

  1. The pullup resistor for SDA & SCL is 4.7kΩ(I also tried 10 kΩ).
  2. The RC for VCC is 106 and 100 Ω.

The code for scanning:

#include <Wire.h>

void setup() {
  Wire.begin();
  Wire.setClock(100000);
  Serial.begin(9600);
  Serial.println("\nI2C Scanner");
}

void loop() {
  byte error, address;
  int nDevices = 0;

  Serial.println("Scanning...");

  for (address = 1; address < 127; address++) {
    Serial.print("Scanning address: 0x");
    if (address < 16) Serial.print("0");
    Serial.println(address, HEX);
    Wire.beginTransmission(address);
    error = Wire.endTransmission();

    if (error == 0) {
      Serial.print("I2C device found at address 0x");
      if (address < 16) Serial.print("0");
      Serial.println(address, HEX);
      nDevices++;
    } else if (error == 4) {
      Serial.print("Unknown error at address 0x");
      if (address < 16) Serial.print("0");
      Serial.println(address, HEX);
    }
  }

  if (nDevices == 0) {
    Serial.println("No I2C devices found\n");
  } else {
    Serial.println("done\n");
  }

  delay(5000);
}

BTW, the sensor AHT30 works fine, so Arduino Uno has no problem.

I see no link to the appropriate data sheet.

Hi robtillaart,

Very appreciate your quick reply.
Actually, I didn't find a datasheet in English and the picture below is the pin definitions missing.


And its technical parameter is like below
image

My circuit diagram is like


I have tried different R1 values like 10Ω,100Ω, 330Ω with VCC 3.3V and 5 V and no one works.

  • VCC 5V + R1 10Ω, the scanning will be stuck
  • VCC 5V + R1 100Ω, normally, the scanning won't find the sensor. Occasionally, it will get stuck or tell me the sensor found at 0x01(I think this is wrong).
  • VCC 5V + R1 330Ω, the scanning won't find the sensor.

Besides, this is its official website: http://www.aosong.com/en/products-114.html

Any language is OK,

try 1K pullups, especially when VCC is 2.2 or 3.3 volt the 4K7 can be too weak.

Hello robtillaart,

Very appreciate it.
Oh, my VCC is 5V and let me try 3.3V with 1K pullups.
Besides, as a new user, I cannot upload the doc.

Any link is OK

Hi robtillaart,
Thank u.
I just snapshot it. It is an only 1 page file.


Besides, 3.3V with 1K also cannot be recognized.

Thanks, it provides no new information (google translate: Chinese => English)

On the website you linked to in post #1, is an email address.

Maybe you should contact them for a more detailed datasheet which includes registers to access for temp / humidity etc.

Hi robtillaart,

Thanks a lot. They said they will contact me tomorrow. Hope we can get something useful.

I believe it uses the AHT30 sensor.
Here is the datasheet:
good-pdf-12751003-1.pdf (1.1 MB)

The I2C address is 0x70
Vdd should be 5V

I think the device you have already has R1/C1 on it

1 Like

Hi jim-p,

Thanks a lot.
Actually, it is AHT3001 instead of AHT30. I have tested AHT30 with my Arduino Uno and it works fine. Besides, the circuit diagram above is from the AHT30 data sheet.

I don't see an AHT3001 sensor only the AHT30.
AHT3001 is the part number of customized product using the FPC cable which I believe uses the AHT30

1 Like

Hi jim-p,

They told me this is a new sensor designed by themselves. I don't know the details and maybe your understanding is correct. Hope tomorrow they can give me more details. Besides, I am using a converter to use it.

That would be a big help

Hi jim-p,

I looked at it very carefully, and I think you are right that there is C1 & R1. But if I don't add C1 & R1 in my circuit, the scanning will get stuck.

You may have it wired backwards.
Pin 1 of the AHT3001 is on the top in your picture. That may be connected to pin 4 on the header
image

Hi jim-p,

I think you mean I should wire it like this way, right?

I just tried it with 4.7Ω pull-ups, and it is still not recognized.

No, the FPC cable orientation in you first picture is correct.
If your board looks like the one I show, then it's the connections on the pin header that need to be reversed.
See how pin 1 of the FPC connects to pin 4 on the header.


I just changed it back and exchanged pin 1 and pin 4 as above. Then scanning program get stuck.
image

It may have been damaged when you connected it wrong.

1 Like