{"product_id":"gy-271m-kompass-modul-magnetfeldsensor-ersetzt-hmc5883l-gy-271","title":"GY-271M compass module - 3-axis magnetic field sensor, I2C, 3-5 V","description":"\u003ch3\u003eProduct overview\u003c\/h3\u003e \u003cul\u003e \u003cli\u003e3-axis magnetic field sensor for compass measurements and direction determination\u003c\/li\u003e \u003cli\u003eI2C bus communication, multiple modules can be connected to one bus\u003c\/li\u003e \u003cli\u003e3–5 V power supply, can be used directly with 3.3-V and 5-V systems\u003c\/li\u003e \u003cli\u003eOptional interrupt pin (DRDY) signals new measurement values\u003c\/li\u003e \u003cli\u003eSoftware calibration required to compensate for ambient magnetic fields\u003c\/li\u003e \u003c\/ul\u003e \u003ch3\u003eProduct description\u003c\/h3\u003e \u003cp\u003eThe magnetic field sensor measures the Earth's magnetic field components in three spatial directions, enabling the object's orientation to be calculated. The three axis values can therefore be used to create an electronic compass that indicates the cardinal direction.\u003c\/p\u003e \u003cp\u003eCommunication takes place via the I2C bus, which makes it possible to connect multiple modules to the same interface while using only two data lines (SDA and SCL) instead of separate pins for each module. An additional DRDY pin indicates via an interrupt when new measurement values are available, but this is optional and not necessary for simple applications.\u003c\/p\u003e \u003cp\u003eSince the module operates with supply voltages from 3 to 5 V, it works directly with 3.3-V systems such as the Raspberry Pi as well as with 5-V boards such as the Arduino Uno, so no level shifter is required. For reliable measurements, the sensor must be calibrated in software before use to compensate for distortions caused by nearby magnetic fields or metal components.\u003c\/p\u003e \u003cp\u003eTypical applications include robotics and navigation, where the compass function provides orientation in the horizontal plane, as well as projects for determining direction in general. Control software for the I2C bus and processing of the measurement values is required; corresponding libraries are available for various platforms.\u003c\/p\u003e \u003ch3\u003eSafety information\u003c\/h3\u003e \u003cp\u003eThe module is intended exclusively for building prototypes and for testing and development purposes and is not suitable for installation in household power circuits. Work on or near electrical installations must be carried out by qualified electricians. If you are unsure about commissioning the module, consult a qualified electrician before connecting it to the power circuit.\u003c\/p\u003e \u003ch4\u003eScope of delivery\u003c\/h4\u003e \u003cul\u003e \u003cli\u003e1x GY-271M compass module \/ magnetic field sensor (replaces HMC5883L GY-271)\u003c\/li\u003e \u003c\/ul\u003e","brand":"Funduino","offers":[{"title":"Default Title","offer_id":66045642539357,"sku":"F23107574","price":9.52,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1074\/5649\/5965\/files\/gy-271m-kompass-modul-magnetfeldsensor-ersetzt-hmc5883l-gy-271-funduino-4122705.png?v=1791490626","url":"https:\/\/funduino.com\/en\/products\/gy-271m-compass-module-magnetic-field-sensor-replacement-for-hmc5883l-gy-271","provider":"Funduino","version":"1.0","type":"link"}