Application Guide for Sharp A1DU5P2CP006B Humidity Sensor Module - sharpsensoruser/sharp-sensor-demos GitHub Wiki

Application Guide for Sharp A1DU5P2CP006B Humidity Sensor Module

Sharp A1DU5P2CP006B Humidity Sensor Module Application Guide

Overview

A1DU5P2CP006B is a new relative humidity and temperature sensor module from Sharp which incorporates the ENS210 sensor IC made by AMS/ScioSense. Typical applications of A1DU5P2CP006B include:

  • Air purifiers and air conditioners
  • Smart home devices and thermostats
  • Room monitoring devices
  • Air quality monitors
  • Portable / wearable devices

ENS210 is a very compact I2C sensor (2.0 x 2.0 x 0.75mm) which has a recommended application circuit consisting of a capacitor and two resistors. Sharp's module design makes the sensor easier to use by incorporating the necessary circuitry and providing a connector-based interface. The module also includes a rectangular cover which shields the sensor IC from light and dust. With the cover removed, you can see the actual ENS210 sensor as shown in the center of the picture below.

Module with cover removed

You should be able to find the Sharp module at a component distributor under part number A1DU5P2CP006B or ENS210.

A1DU5P2CP006B Characteristics

Sharp A1DU5P2CP006B is designed to be used indoors. Avoid exposing the module to very low or very high humidity conditions over a long period of time.

A1DU5P2CP006B parameters

A1DU5P2CP006B Connector

Sharp A1DU5P2CP006B uses a 4-pin connector made by JWT (Jowle Technology Co. Ltd):

A1DU5P2CP006B connector pins

Using A1DU5P2CP006B with Arduino

Arduino Circuit

Connect the A1DU5P2CP006B sensor module to your Arduino board as shown in the figure below. This example uses Arduino Uno but it should work the same with Arduino Mega 2560. The sensor module requires a supply voltage of 3.3V and its SDA and SCL pins operate on 3.3V logic as well. Therefore, it is necessary to use a logic level converter to convert between 3.3V and the 5V that Arduino uses.

Arduino circuit

The corresponding demo source code for the above circuit uses the Arduino Wire library to request the relative humidity and temperature values from the ENS210 sensor over I2C, and then display both values using the Arduino Serial Monitor.

The demo code uses the Single Shot mode of ENS210 which takes a single measurement and then returns the sensor to a low-power, standby state. The sensor actually supports a wide range of functions and I2C registers. See the ENS210 datasheet for more details and sample code.

Example Serial Monitor Output

If you are switching between different Arduino boards, make sure you go to the Arduino IDE Tools menu and set Board and Port appropriately before compiling or uploading the code. The following picture shows example output from the A1DU5P2CP006B sensor module as displayed on the Arduino Serial Monitor.

Example serial monitor output

For testing purposes, I used a third-party humidity and temperature monitor to validate my Arduino output. You can see from the picture above that the Arduino output has good correlation with the monitor's displayed values. The third-party monitor shown in the picture costs less than US$20 on Amazon and has the following specs:

  • Miaomiaoce Thermo-hygrometer
  • Miaoce Medical Equipment(Tianjin) Co., Ltd.
  • Product model: MHO-C202
  • Sensor IC brand: Sensirion

See also

⚠️ **GitHub.com Fallback** ⚠️