Categories
TUTORIALS

Use a Grove Water Atomizer as a DIY Humidifier

BACKGROUND

This tutorial will explain how to mist or humidify one’s surroundings as a response to an environmental trigger using the Arduino Uno in connection with Grove’s Water Atomizer.

This tutorial is the fourth in the series of tutorials corresponding to the ‘Philly Air Mist’ project completed in the Sensing the City course taught by Allison Lassiter for students in University of Pennsylvania’s Department of City and Regional Planning. In this project, the water atomizer is triggered to produce mist as a response to high air pollution levels detected by a MQ135 air quality sensor.

LIST OF PARTS & SPECIFICATIONS

EXTERNAL Parts:
  1. Grove Water Atomization Module consisting of :
    • a Driver Board,
    • a JST Connection Wire, and
    • an Ultrasonic Transducer Plate
  2. Grove Base Shield v2
  3. MQ 135 Air Quality Sensor
Parts INCLUDED IN KIT:
  1. Arduino Uno
  2. Breadboard
  3. Jumper Wires
  4. 220Ω resistor
  5. 9V Battery
SENSOR SPECIFICATIONS:

Grove Water Atomization Module: The ultrasonic atomizer works by using the high-frequency mechanical oscillation of a piezoelectric transducer plate to convert the water particles into tiny droplets. As the frequency of oscillation is higher, the converted droplets are finer. The water droplets are then guided into the air with an inbuilt blower.

Grove Water Atomization Module. Source – Seeed Studio

Grove Base Shield v2: The Grove Base Shield provides a simple way to connect with Arduino boards in place of the breadboard and jumper wires. It has 16 on-board connectors, with JST connections. The pinout of Base Shield V2 is the same as Arduino Uno R3, therefore the base shield can easily be mounted on top of the Arduino.

Grove Base Shield v2. Source: Seeed Studio

MQ 135 Sensor: The MQ-135 sensor belongs to a family of air quality sensors called the MQ series. The MQ-135 sensor is used to detect gases such as NH3,NOx, alcohol, Benzene, smoke, and CO2 ,among others. As these gases come close to the sensor, their particles are ionized and absorbed by the sensor because of a heating current that is generated. This change affects the resistance of the sensor, in turn changing the value of the current leaving it.

MQ 135 Air Quality Sensor. Source – Amazon.com

CIRCUIT DIAGRAM

Wiring Diagram showing connections between Grove Water Atomizer, Grove Base Shield v2, MQ135 air quality sensor and Arduino Uno
WIRING STEPs:

1. Set up the Grove base shield: Position the Grove base shield v2 over the Arduino Uno so that the pins are aligned. Mount it on top of the Arduino Uno board.

2. Atomizer Module Connections: The atomizer module uses JST connections which use female to female connections in place of jumper wires which offer male to male connections. Connect the humidifier disk to the ‘Output’ end of the atomizer module’s driver board. Use the JST wire given in the atomizer kit to connect the other end of the driver board to the base shield mounted on top of the Arduino Uno. In this case, the driver is connected to analog pin A3 on the base shield

3. MQ 135 Sensor Connections: Mount the MQ135 sensor on top of the breadboard. Connect the analog output of the sensor (AO) to analog pin A0 of the Arduino. Connect the digital output of the sensor (DO) to digital pin 2 of the Arduino. Connect the VCC end of the sensor to the 5V source. Connect the ground pin of the sensor to a 220Ω resistor and then to the ground pin of the Arduino Uno.

4. Setting up: Take the circular ultrasonic disk of the humidifier and place it inside a water tray so that it floats. Ensure that the concave side of the disk touches the water.

5. Connect the Arduino Uno to your computer or a power source and run the code below.

CODE

Step 1: The MQ135 sensor needs calibration before using the module. This involves setting a baseline value of R0 (sensor resistance in 1000ppm concentration of LPG) by calculating Rs (Internal resistance of the sensor which changes by gas concentration). Run the following code for 15 minutes in clean air before the first use until R0 has a fixed value.

Step 2: Run the following code to trigger the atomizer to produce mist when readings from the air quality sensor crosses a pre-defined threshold value.

Thus, the water atomizer can be used as a mitigating device when poor air quality is recorded. The atomizer can also be used with a variety of other sensors including temperature and humidity sensors to monitor environmental quality and produce mist to function as an indoor humidifier, as a scent emitter, and as a warning system accompanying smart home setups among many others.

Leave a Reply

Your email address will not be published. Required fields are marked *