Compass 3-Axis QMC5883L Module Magnetometer (GY-271)

New
-+
21 available
R107.36
Shipping
Standard courier shipping from R30
R30 Standard shipping using one of our trusted couriers applies to most areas in South Africa. Some areas may attract a R30 surcharge. This will be calculated at checkout if applicable.
Check my rate
Ready to ship in
The seller has indicated that they will usually have this item ready to ship within 3 business days. Shipping time depends on your delivery address. The most accurate delivery time will be calculated at checkout, but in general, the following shipping times apply:
 
Standard Delivery
Main centres:  1-3 business days
Regional areas: 3-4 business days
Remote areas: 3-5 business days
Get it now, pay later
Seller
Buyer Protection

Product details

Condition
New
Location
South Africa
Product code
SEN-014
Bob Shop ID
614719052

Compass 3-Axis QMC5883L Module Magnetometer (GY-271)

Compass 3-Axis QMC5883L module Specifications

The Compass Module is designed for low-field magnetic sensing with a digital interface, to provide heading information for your microcontroller project.

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. Example codes in C are provided below.

Compass 3-Axis QMC5883L module Key Features:

  • Measures Earth's magnetic fields
  • Precision in-axis sensitivity and linearity
  • Designed for use with a large variety of microcontrollers with different voltage requirements
  • Datasheet.

Compass 3-Axis QMC5883L Module Magnetometer (GY-271) Example Code:

This example sketch shows a reading of a heading from an QMC5883L triple-axis magnetometer on the Arduino Serial monitor.

#include <Arduino.h>
#include <Wire.h> // I2C Library
#include <QMC5883LCompass.h> // QMC5883L Compass Library

QMC5883LCompass compass;

void setup() {

Serial.begin(9600); // Initialize the serial port.
Serial.print("Sample code from botshop\n ");
Wire.begin(); // Initialize I2C.
delay(500);
Serial.print(" Initialize I2C.\n ");
compass.init(); // Initialize the Compass.
delay(500);
Serial.print(" Initialize the Compass.\n ");
delay(1000);
}

void loop() {
int x, y, z;


compass.read(); // Read compass values

x = compass.getX();
y = compass.getY();
z = compass.getZ();

Serial.print("X: ");
Serial.print(x);
Serial.print(" Y: ");
Serial.print(y);
Serial.print(" Z: ");
Serial.println(z);

delay(300);
}


Technical Specification:

Parameter QMC5883L

Voltage Supply (Vs) 2.16V ~ 3.6V

Digital Supply (VDDIO) (max) 1.65V ~ 3V6

Interface I2C

I2C Address (R,W) [RW] 0x0D [R/W]

I2C rates (kHz) 100,400

Resolution (ADC) 16Bits

Gauss Resolution +-2mG~ +-8G

Acquisition time 6ms

Active current (7Hz,10Hz) 75uA

Operating temperature -40C ~ 85C

 

More from this seller

View all
ESP8266 Esp-01 Serial WIFI Wireless Transceiver
R78.75
R30 shipping
D1 Mini WeMos 4MB
R134.53
R30 shipping
LILYGO T-WATCH Transparent Watchband for T-WATCH 2020 V1/V2/V3
R158.54
R30 shipping
12V 20A Gamistar Pulse Charger
R496.35
Add to cart

Similar products

R30 shipping
3Pcs GY-BMI160 Module 6DOF 6 Axis Angular Velocity Gyroscope + Gravity Acceleration Sensor IICSPI
R506
R30 shipping
ADXL 345 -GY 291 3 Axis Accelerometer- 3 Pack
R189.12
R30 shipping
GY-511 LSM303DLHC E-Compass 3 Axis Magnetometer And 3 Axis Accelerometer Module
R336
R30 shipping
ADXL335 GY-61 Module 3 Axis analog Accelerometer
R104.48