I am working with a AHT20 temperature and humidity sensor connected on one of the groove ports.
I can read it on the first two ports and not on the third and fourth ports.
I loaded the programme proposed for scanning I2C bus and finding addresses of devices on it.
I get the right address on the first two ports:
“I2C device found at address 0x38!”
but nothing when the device is on the two last ports:
“No I2C devices found”
Do they need some activation?
Moreover, when getting data from it, humidity is coherent but temperature is always around -18°C (in my office).
I tried several libraries and their examples as sketches (AHT20_Arduino_Library, DFRobot_DHT20, Seeed_Arduino_ATH20). All of them seem to have the same offset.
May I know which specific MCU model you are referring to as “Seeeduino LoraWan”? Perhaps you can provide me with the SKU or the specific name of the product you are using.
Regarding the issue of inaccurate temperature measurements with the AHT20, we will conduct testing on our end. If we have any test results, we will promptly reply to you on this thread.
I thought there was only one by seeeduino:
Seeeduino LoRaWAN with GPS (RHF76-052DM)
looking closely at it, I can see on the board itsel V1.0 by Seeed Studio 2016/10/08 (but I bought it less than a year ago), and on the RisingHF chip V3.5.13
Thanks for your interest in my issue
I apologize for keeping you waiting for so long.
Regarding the 4 Grove interfaces on the Seeeduino LoRaWAN with GPS, two of them are I2C interfaces, and the other two are Analog interfaces. Therefore, if you connect your device to an Analog interface and cannot detect the I2C address, it is expected behavior.
Regarding the issue you mentioned about the temperature always being -18℃, we have conducted tests. When using the code provided on our Wiki to retrieve temperature and humidity, everything is working normally.
May I ask if you have made any modifications to the code yourself?
Thanks for your answers.
OK for the groove connectors. How was I supposed to guess that when reading Seeeduino LoRaWAN | Seeed Studio Wiki ?
Now that you said it, I can see a Pin Map but I am not sure it is related to the groove connectors.
As for the Demo programme, I have just downloaded it again to be sure (from Grove - AHT20 I2C Industrial Grade Temperature&Humidity Sensor | Seeed Studio Wiki ) and got the same output: