-
E7277604 6c23 47bf ac65 f58458506baf

invention

Littlebits humidity indicator

by alexpikkert

Published on November 12, 2015

Do you have a room where you think the humidity is too high?
Put a moisture absorber in the room and keep an eye on the relative humidity with this Littlebits humidity indicator. It uses the KY015-DHT11 humidity sensor.


Duration: 3 hrs.

How To Make It

STEP 1 : The humidity sensor

0a6b97b7 8704 4c33 a02c 9823c195a148

The sensor connected to the proto bit

B851564c c7d6 452d 997a 10aa832725e6

Th complete indicator

4284d96d 4d2a 41e4 a9fd 0493e556e9ea

The proto bit with the sensor connection.

I used the KY015 sensor board from Robotlinking, with the DHT11 humidity and temperature sensor on it. The pin-layout is a little different from the connections on the protobit so I had to make some wiring to connect this board properly. The sensor worked OK in a prototype setup with an Arduino UNO and a Duemilanove, but on the Littlebits Arduino Leonardo it refused to start indicating after a power down. I had to connect an additional resistor of 10 kOhm between the signal output of the sensor and the GND connection. Funny enough this is deviating from the sensor documentation, showing a resistor connected to VCC.... But it works !

STEP 2 : The Arduino program

I used the original INO file and changed it to be used with Littlebits. The program normally stores the data from the humidity and the temperature in an array, and shows the values on the serial monitor of the connected computer.
I only used the array part for the humidity (stored in dat[0]) to activate the number bit, the RGB LED and the Cloudbit. I used the serial monitor only for testing. I connected the Cloudbit to output 9 of the Arduino instead of connecting it to the number bit. The only reason was that it fitted nicely on just one mounting board.....

You could change the program and connect a second number bit to the Arduino for an indication of the temperature.  

There is a warning RGB LED connected to the Arduino that lights up when the humidity reaches the level of 50% or more.

The Cloudbit sends the level to my smartphone.  Now I can really check if the moisture absorber is working !



Related Projects

Auto Roll

  Knowing how to roll is not essential to be able to smoke.Made with two engines and a starting button. You just have to...

Buzzer Car

Jordyn (8) built a remote controlled BitBot and remixed it by adding a buzzer.  She calls it her "Buzzer Car". 

Delayed One-Shot Pulse Timer Module

This circuit generates a single positive pulse after a prescribed delay.  The length of the delay and the pulse width are i...