Crowtail-IMU-10DOF

From Elecrow
(Difference between revisions)
Jump to: navigation, search
(Created page with "== Description == This module can help you detect the temperature and humidity of the environment of your house. The HTU21D is a low-cost, easy to use, highly accurate, digit...")
 
(Description)
Line 1: Line 1:
 
== Description ==
 
== Description ==
  
This module can help you detect the temperature and humidity of the environment of your house.
+
This is a 10-axis sensor that can be used for motion pose monitoring, and can also read azimuth, altitude and temperature. Very suitable for use in DIY aircraft or balance robot for human-computer interaction.
The HTU21D is a low-cost, easy to use, highly accurate, digital humidity and temperature sensor. This sensor is ideal for environmental sensing and data logging and perfect for a weather stations or humidor control systems. All you need is two lines for I2C communication and you’ll have relative humidity readings and very accurate temperature readings as a bonus!<BR>
+
  
'''Model:[http://www.elecrow.com/crowtail-temperature-humidity-sensor-p-1229.html Crowtail- XXXX]'''<br>
+
The onboard MPU9255 incorporates a 3-axis accelerometer, a 3-axis gyroscope and a 3-axis magnetometer. The built-in digital motion processing engine reduces the processor load. Compared to the MPU6050, with lower power consumption, more suitable for wear equipment.
 +
Onboard BMP180 (barometric altimeter), built-in temperature sensor, can be temperature compensation.
  
[[File:Crowtail-HTU21D Humidity&Temperature Sensor.JPG|400px]]
+
10-axis data can be acquired only through the IIC interface.
 +
 
 +
'''Model:[http://www.elecrow.com/Crowtail-IMU-10DOF.html Crowtail-IMU-10DOF]'''<br>
 +
 
 +
[[File:Crowtail-IMU-10DOF.JPG|400px]]
  
 
== Specification ==
 
== Specification ==

Revision as of 08:50, 9 February 2017

Description

This is a 10-axis sensor that can be used for motion pose monitoring, and can also read azimuth, altitude and temperature. Very suitable for use in DIY aircraft or balance robot for human-computer interaction.

The onboard MPU9255 incorporates a 3-axis accelerometer, a 3-axis gyroscope and a 3-axis magnetometer. The built-in digital motion processing engine reduces the processor load. Compared to the MPU6050, with lower power consumption, more suitable for wear equipment. Onboard BMP180 (barometric altimeter), built-in temperature sensor, can be temperature compensation.

10-axis data can be acquired only through the IIC interface.

Model:Crowtail-IMU-10DOF

400px

Specification

  • Supply voltage: 3.5 to 5.0V.
  • Humidity measurement range: 0-100% RH
  • Temperature measurement range: -40 ℃ -105 ℃
  • The maximum power consumption: 2.7uW
  • Communication: I2C
  • 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

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