Crowtail-Weight Sensor

From Elecrow
(Difference between revisions)
Jump to: navigation, search
(Description)
(Specification)
Line 9: Line 9:
 
== Specification ==
 
== Specification ==
  
*Supply voltage: 3.5 to 5.0V.
+
*Weighing pan size: 10cm × 7cm.
*Humidity measurement range: 0-100% RH
+
*Operating voltage: 5V.
*Temperature measurement range: -40 ℃ -105 ℃
+
*Maximum range: 5Kg.
*The maximum power consumption: 2.7uW
+
*Total height (including pillars): 3.5cm.
*Communication: I2C
+
*Measurement accuracy: not more than 1g.
*Humidity accuracy range (10% RH to 95% RH): HTU21D ± 2% RH
+
*Humidity hysteresis: ± 1% RH
+
*Measurement time: 50ms
+
*Annual drift: -0.5% RH / year
+
*Response time: 5 s
+
  
 
== Usage ==
 
== Usage ==

Revision as of 07:56, 10 February 2017

Description

The Crowtail-Weight Sensor uses 24-bit high-precision A / D converter chip HX711, is a high-precision electronic design, with two analog channel input, the internal integrated 128-fold gain programmable Amplifier, the pressure signal into analog voltage signal after the AD module to enlarge to digital signals. The input circuit can be configured to provide bridged bridge-type (such as pressure, weighing) sensor mode, is an ideal high-precision, low-cost sampling front-end module; module output four lines,

Model:Sensor-p-1229.html Crowtail-XXXXX

400px

Specification

  • Weighing pan size: 10cm × 7cm.
  • Operating voltage: 5V.
  • Maximum range: 5Kg.
  • Total height (including pillars): 3.5cm.
  • Measurement accuracy: not more than 1g.

Usage

This demo is going to show you how to read temperature and humidity information from this Crowtail - HTU21D Humidity&Temperature Sensor.

1.Hardware Connection
The HTU21D Humidity&Temperature Sensor is connecting to digital port D5 of Crowtail - Base Shield.

Connection of HTU21D Humidity&Temperature Sensor.jpg

2.Download the HTU21D Humidity&Temperature Sensor Library. Unzip and put it in the libraries file of Arduino IDE by the path: ..File/arduino IDE/Arduino/library/SparkFunHTU21D. You can also copy the following program to Arduino IDE and upload to your Arduino/Crowduino.

3.Open “SparkFunHTU21D” example:


#include <Wire.h>
#include "SparkFunHTU21D.h"

//Create an instance of the object
HTU21D myHumidity;

void setup()
{
  Serial.begin(9600);
  Serial.println("HTU21D Example!");

  myHumidity.begin();
}

void loop()
{
  float humd = myHumidity.readHumidity();
  float temp = myHumidity.readTemperature();

  Serial.print("Time:");
  Serial.print(millis());
  Serial.print(" Temperature:");
  Serial.print(temp, 1);
  Serial.print("C");
  Serial.print(" Humidity:");
  Serial.print(humd, 1);
  Serial.print("%");

  Serial.println();
  delay(1000);
}

4.Upload it into your Arduino board and open the serial monitor to observe the temperature and relative humidity information of the environment.

Result of HTU21D Humidity&Temperature Sensor.png

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox