10DOF 9-axis L3G4200D ADXL345 HMC5883L BMP085 module GY-80

19,95

Out of Stock

Receive stock notification email?

SKU: HE0221-910 Categories: , , Tags: , , , Send:

Description

10DOF 9-axis combines the following chips on one breakout board: L3G4200D, ADXL345, HMC5883L and BMP085.

L3G4200D: MEMS Motion Sensor has a 3-axis (x, y, and z axis) gyro with digital outputs
ADXL345: for the Analog Devices accelerometer ±16g
HMC5883L: 3-axis digital compass module
BMP085: barometric pressure sensor

10DOF 9-axis GY-80 specifications:
– Works on: 3-5V
– Interface: IIC
– dimensions: 25.8mm x 16.8mm

DOF = Degrees Of Freedom

You can find a manual for connecting and sample code here here.

Arduino code example:

#include "Wire.h"
#include "ADXL345.h"

const float alpha = 0.5;

double fXg = 0;
double fYg = 0;
double fZg = 0;

ADXL345 acc;

void setup()
{
	acc.begin();
	Serial.begin(9600);
	delay(100);
}

void loop()
{
	double pitch, roll, Xg, Yg, Zg;
	acc.read(&Xg, &Yg, &Zg);

	//Low Pass Filter to smooth out data
	fXg = Xg * alpha + (fXg * (1.0 - alpha));
	fYg = Yg * alpha + (fYg * (1.0 - alpha));
	fZg = Zg * alpha + (fZg * (1.0 - alpha));

	//Roll and Pitch Equations
	roll  = (atan2(-fYg, fZg)*180.0)/M_PI;
	pitch = (atan2(fXg, sqrt(fYg*fYg + fZg*fZg))*180.0)/M_PI;

	Serial.print(pitch);
	Serial.print("   ");
	Serial.println(roll);

	delay(50);
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shipping within the Netherlands

This product will be delivered via PostNL letter post in a bubble envelope.
- €3.45 shipping costs for orders under €25.
- €2.95 shipping costs for orders between €25 - €45.
- Orders above € 45,- will be free of charge sent by PostNL letter post.

  • Ordered before 16:30 PM on workdays, shipped the same day!
    Click here for costs outside the Netherlands.
  • Product question?

      Your Name (required)

      Your Email (required)

      your question