HMC5883L GY271 3-assige magnetometer kompasmodule voor Arduino
Merk: satkit
IVA inbegrepen (Excl. btw: 2,99€)
De HMC5883L GY271 kompasmodule is een driedimensionale magnetometersensor die drie magnetische veldsensoren op de X-, Y- en Z-as integreert. Dit apparaat gebruikt een HMC5883L-chip met een 12-bits ADC-converter en communicatie via een 2-draads I2C-bus, wat de aansluiting en het gebruik met microcontrollers zoals Arduino, PIC of Freescale vereenvoudigt.
Deze module is perfect voor toepassingen die een nauwkeurige detectie van het aardmagnetisch veld vereisen, waardoor de absolute oriëntatie van het apparaat kan worden berekend via trigonometrische berekeningen. Hij wordt veel gebruikt in automatiseringsprojecten, robotica, onbemande voertuigen en quadcopters.
- Voedingsspanning: 3V to 5V
- Interface: I2C
- Model: GY-271
- Chip: HMC5883L
- Meetnauwkeurigheid: ±2º
- Type: Digitale kompas
- Laag stroomverbruik
- Meetbereik: ±1,3 to 8 Gauss
- Resolutie: 5 mili Gauss
- Afmetingen: 14 mm x 15 mm
- Inclusief twee pinstrips voor montage: een rechte en een van 90º
Deze sensor is compatibel met de meeste Arduino-borden en kan eenvoudig worden geïntegreerd in projecten die ruimtelijke oriëntatie of magnetische detectie vereisen. Het lage stroomverbruik en het compacte formaat maken hem ideaal voor draagbare apparaten en embedded systemen.
Voorbeelden van gebruik zijn onder andere:
- Digitale kompassen voor mobiele robots
- Navigatiesystemen voor drones en onbemande voertuigen
- Automatiseringsprojecten die oriëntatiedetectie vereisen
- Monitoring van magnetische velden in industriële of educatieve omgevingen
Dankzij de I2C-interface biedt de module een eenvoudige en snelle communicatie met microcontrollers, wat de programmering en integratie in elektronica- en robotica-projecten vergemakkelijkt.
- 3-assige magnetometersensor met HMC5883L-chip
- Communicatie via I2C-interface, compatibel met Arduino
- Meetnauwkeurigheid van ±2º voor betrouwbare oriëntatie
- Laag stroomverbruik, ideaal voor draagbare projecten
- Meetbereik van ±1,3 to 8 Gauss met resolutie van 5 mili Gauss
- Inclusief twee pinstrips voor flexibele montage
- Compacte afmetingen van 14 mm x 15 mm
- Compatibel met Arduino-, PIC- en Freescale-microcontrollers
Klantvragen & Antwoorden
Quins avantatges ofereix l’HMC5883L respecte a altres magnetòmetres per a Arduino?
L’HMC5883L destaca pel seu baix consum energètic, alta resolució (5 mGauss) i precisió de ±2°, cosa que facilita aplicacions on la resposta ràpida i l’estalvi d’energia són clau. Davant d’alternatives com el QMC5883 o el MPU9250, es prefereix quan la compatibilitat I2C estàndard i la simplicitat d’integració són prioritàries, tot i que el seu rang de mesura (±1,3–8 Gauss) pot ser inferior al de sensors per a entorns d’alt camp magnètic.
Quines són les dimensions i el pes del mòdul i quins accessoris inclou la caixa?
El mòdul mesura 14 mm x 15 mm, és molt compacte i lleuger; el seu pes típic és inferior a 5 g. El paquet inclou el sensor principal GY-271 amb xip HMC5883L i dues tires de pins (una recta i una altra en angle de 90°) per a opcions flexibles de muntatge en protoboard o PCBs.
Quines consideracions he de tenir en compte per a la instal·lació elèctrica i la compatibilitat de voltatge?
El mòdul funciona amb una alimentació de 3 V a 5 V DC, de manera que és directament compatible amb la majoria de plaques Arduino, STM32 i altres microcontroladors d’aquests nivells lògics. El bus I2C requereix pull-up a SDA i SCL si no estan integrats a la placa. No s’han d’emprar voltatges fora d’aquest rang per evitar danys permanents.
Hi ha recomanacions per calibrar i optimitzar la precisió del sensor en projectes reals?
Per a la màxima precisió es recomana fer una calibració 'hard iron' i 'soft iron' per compensar distorsions degudes a components metàl·lics propers i camps magnètics paràsits. Eviteu instal·lar-lo a prop de motors elèctrics o imants. Idealment, munteu el sensor en horitzontal i executeu rutines de calibratge a l’entorn definitiu del dispositiu.
Quina és la durabilitat i hi ha algun tipus de manteniment necessari per a aquest magnetòmetre?
L’HMC5883L és un dispositiu sòlid d’estat sense parts mòbils, per la qual cosa no requereix manteniment periòdic. La seva durabilitat supera els 10 anys en condicions normals (0–70°C, humitat < 85%). Es recomana evitar l’exposició a líquids i cops que puguin danyar la placa o les soldadures.
What advantages does the HMC5883L offer compared with other magnetometers for Arduino?
The HMC5883L stands out for its low power consumption, high resolution (5 mGauss) and accuracy of ±2°, making it suitable for applications where fast response and energy saving are key. Compared with alternatives such as the QMC5883 or MPU9250, it is preferred when standard I2C compatibility and simple integration are priorities, although its measurement range (±1.3–8 Gauss) may be lower than sensors designed for high magnetic field environments.
What are the dimensions and weight of the module and what accessories are included in the box?
The module measures 14 mm x 15 mm, is very compact and lightweight; its typical weight is under 5 g. The package includes the main GY-271 sensor with HMC5883L chip and two pin headers (one straight and one 90-degree angled) for flexible mounting options on breadboards or PCBs.
What should I bear in mind regarding electrical installation and voltage compatibility?
The module operates from a 3 V to 5 V DC supply, so it is directly compatible with most Arduino, STM32 and other microcontroller boards at those logic levels. The I2C bus requires pull-ups on SDA and SCL if they are not already built into your board. Do not use voltages outside this range to avoid permanent damage.
Are there recommendations for calibrating and optimising the sensor's accuracy in real projects?
For maximum accuracy, it is recommended to perform hard iron and soft iron calibration to compensate for distortions caused by nearby metal components and stray magnetic fields. Avoid installing it near electric motors or magnets. Ideally, mount the sensor horizontally and run calibration routines in the device's final environment.
What is its durability and does this magnetometer require any maintenance?
The HMC5883L is a solid-state device with no moving parts, so it does not require periodic maintenance. Its service life exceeds 10 years under normal conditions (0–70°C, humidity < 85%). It is recommended to avoid exposure to liquids and impacts that could damage the board or solder joints.