Argon iot starter kit (sensor malfunction)

Hi,
I just bought the argon iot starter kit which comes with the groove shield and sensors.

Unfortunately after trying multiple examples using the cloud ide libraries for the dht11 sensor , electromagnetic field finder etc.. none of the sensors seem to be working.

(The temp was fixed to 255 and distance to 0 )

The firmware version on my argon is 4.2.0 and my friend who just bought the exact same starter kit is running into similar issues…

Any kind of help would be appreciated

Thanks

Your symptoms are a little unusual. The Grove DHT11 library will periodically return errors instead of valid data, but will at least some times return valid data. If you want to use this for real, switching to the DHT22Gen3RK library is the best option on Gen 3 (nRF52840) devices like the Argon. Follow example 4 for using it with the DHT11.

It's weird that you have other sensors that are not returning valid data, however. Are you using the Grove shield? Which sensor, port, and what firmware are you using?

Thank you for your help.

I will try switching libraries for the DHT11.

Yes, I am using the Grove shield with firmware version 4.2.0 on my Argon with the sensors included in the Grove IoT starter kit.

I am plugging them into the ports that are specified per the developer community examples.

Hi, maybe you can send pictures of the connections?

can you point us to the examples you are looking at?

Thanks

1 Like

Hi - I am having the same problem with the IOT Starter Kit. I am following the directions here: https://docs.particle.io/quickstart/isk-project/ and using the Web IDE.

This is the output I am getting:

18:25:33.205 -> Humidity: 255.000000
18:25:34.490 -> Temp: nan
18:25:34.490 -> Humidity: 255.000000
18:25:35.512 -> Temp: 375.799988
18:25:35.512 -> Humidity: 255.000000
18:25:36.756 -> Temp: nan

I have tried a Grove DHT11 sensor I have from a different kit and I get the same results. Not the end of the world if it can't be made to work, but I want to make sure it isn't something I did wrong.

That looks like the sensor is not connected. Make sure the software is configured for the pin that it's connected to. A picture of your setup and your code would be helpful.

Agreed - it is like it is not finding the sensor. Here is the code I am using from the tutorial. It is being initialized on D2 and that is the port it is connected to on the carrier board. I tried other cables too.

// This #include statement was automatically added by the Particle IDE.
#include <Grove_Temperature_And_Humidity_Sensor.h>

DHT dht(D2);

void setup()
{
Serial.begin(9600);

dht.begin();
}

void loop()
{
float temp, humidity;

temp = dht.getTempFarenheit();
humidity = dht.getHumidity();

Serial.printlnf("Temp: %f", temp);
Serial.printlnf("Humidity: %f", humidity);

delay(1000);
}

The Grove library should work on D2. It will occasionally return an error, but it should return something. I wrote a different library for the DHT11 and DHT22 on nRF52 that's another option

Got it to work using the 4-simple example. I plugged it into the Grove board A2/A3 connector. Tested on Boron with 6.2.0 but it should be the same on the Argon.

// Global
DHT22Gen3 dht(A4, A5);

// Read
dht.getSample(A2, sampleCallback, &DHT22Gen3::sensorTypeDHT11);

// Log
0000015024 [app] INFO: sampleResult=0 tempF=75.2 tempC=24.0 humidity=26.0 tries=1
0000015025 [app] INFO: dewPointF=37.9 dewPointC=3.3

thanks! you library worked perfectly the first try. Super weird that the Grove library doesn't seem to be working anymore... but good to have a fix!

Time to finish building out the tutorial!