Tag Archives: humidity sensor

Adding software features to Artemis

New things! Everything is progressing nicely. Did additional testing on the 230VAC detection circuit and wrote software to read SHT31 digital humidity/temperature sensors. Also added a ClosedLoop function so analog inputs can be used to compare to store values and have an outputs act on the comparison.

230VAC detection

Finally I had the time to properly measure the mains voltage inputs. No shorts or anything… So I decided to go on and plug in the mains voltage into the Artemis.

The 230VAC detection circuit is connected to D48 (ICP5 on the Arduino), which mean I could potentially measure the exact frequency of the mains AC voltage. Still, I do not require to have that, so instead I built a simple timer that resets if the phase comes up, and counts down if the phase disappears. This way I always have a stable reading on the signal, even when the Artemis accidentally measures on an exact phase zero crossing.

        if (digitalRead(PIN_230V_DETECT) == LOW) // Active? Reset Timer.
        {
                TIM_50HzDetect = 10;
        }
        else
        {
                if (TIM_50HzDetect) // Not active -> count 2 zero and stay.
                {
                        TIM_50HzDetect--;
                }
        }
Read more »

Sensirion SHT-11 humidity and temperature sensor ready to go!

One of the sensors that can be read by the Neptune module is the Sensirion SHT-11 I have had laying about for years.

Now finally it is ready for use! The sensor sits on the end of a 2,5 meter cable which is soldered on directly. A small capacitor is glued on as well to cope with the excessive cable length. The sensor in its entirety is covered in a drop of silicon glue to keep the moisture out of the electronic contacts. This sensor will be measuring over 98% relative humidity at times!

The Sensirion SHT-11 sensor glued into a drop of silicone. This digital sensor measures air temperature and relative humidity in the Paludarium.

The Sensirion SHT-11 sensor glued into a drop of silicone. This digital sensor measures air temperature and relative humidity in the Paludarium.

So far the results are looking good. This is the sensor still hanging in the living room:

sensirion

22.24 degrees centigrade and 65.94% relative humidity. Sounds realistic as it’s a very moist day.

When the silicone had dried, I put the sensor inside the paludarium. After settling it showed measurements like these:

Measured values when the Sensirion sensor is inside the Paludarium.

Measured values when the Sensirion sensor is inside the Paludarium.

Great! Tempereature at 23.16 degrees, relative humidity at 87,61%. Very Jungley 🙂

What I did find out, is that the location of the sensor heavily influences the measurements. Especially the humidity is VERY dependent on where you measure.