Wish List 0

Hw 127 Gy127 Hmc5883L 3 Axis Electronic Compass Module Magnetic Field Sensor

Rs. 279.00 Rs. 344.00

-HW-127 HMC5883L 3-axis Electronic Compass Module Magnetic Field Sensor(with Original HMC5883L Driver Chip) is designed for low field magnetic sensing with a digital interface and it is perfect to give precise heading information.
-This compact sensor fits into small projects such as UAVs and robot navigation systems.
-The sensor converts any magnetic field to a differential voltage output on 3 axes.
-This voltage shift is the raw digital output value, which can then be used to calculate headings or sense magnetic fields coming from different directions.
-A development board that provides a simple interface for the HMC5883L (three-axis magnetic field module).

Features:
-3-axis magnetic electronic compass.
-Precise heading information.
-Fits into small projects easily.
-I2C communication.
SPECIFICATIONS:
Driver IC               HMC5883L
Type                    GY-271
Operating Voltage (VDC) 3 ~ 5
Communication           I2C Protocol
Measuring Range         ± 1.3-8 Gauss
OVERVIEW:
3-axis magnetic electronic compass.
Precise heading information.
Operating Voltage 3 -5 V DC.
Driver Chip       HMC5883L.
Communication     I2C protocol.
Measuring range   ± 1.3-8 Gauss.

PACKAGE INCLUDES:

1 PCS x Hw 127 Gy127 Hmc5883L 3 Axis Electronic Compass Module Magnetic Field Sensor


//SOURCE CODE FROM

include <Wire.h>

#include <MechaQMC5883.h>


MechaQMC5883 qmc;


void setup() {

  Wire.begin();

  Serial.begin(9600);

  qmc.init();

  //qmc.setMode(Mode_Continuous,ODR_200Hz,RNG_2G,OSR_256);

}


void loop() {

  int x,y,z;

  qmc.read(&x,&y,&z);


  Serial.print("x: ");

  Serial.print(x);

  Serial.print(" y: ");

  Serial.print(y);

  Serial.print(" z: ");

  Serial.print(z);

  Serial.println();

  delay(100);

}


15 days

Write a review

Please login or register to review