{"product_id":"gy-511-lsm303dlhc-e-compass-3-axis-accelerometer-magnetometer-arduino","title":"GY-511 LSM303DLHC 3-Axis Accelerometer \u0026 Magnetometer for Arduino","description":"\u003ch2\u003eGY-511 LSM303DLHC E-Compass Module – 3-Axis Accelerometer + 3-Axis Magnetometer for Arduino\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eGY-511 LSM303DLHC module\u003c\/strong\u003e is a compact, high-performance sensor combining a \u003cstrong\u003e3-axis accelerometer\u003c\/strong\u003e and a \u003cstrong\u003e3-axis magnetometer\u003c\/strong\u003e into a single easy-to-use breakout board. Whether you're building a digital compass, an inertial navigation system, or a motion-sensing project, this module delivers accurate orientation and magnetic field data over a simple I²C interface — perfectly compatible with Arduino and other microcontroller platforms.\u003c\/p\u003e\n\n\u003cp\u003eMade in Mainland China.\u003c\/p\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDual Sensor in One:\u003c\/strong\u003e Combines the LSM303DLHC's 3-axis linear accelerometer and 3-axis magnetic field sensor for full 6-DOF motion and heading data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWide Supply Voltage:\u003c\/strong\u003e Operates on 3–5V thanks to an onboard low-dropout voltage regulator — compatible with both 3.3V and 5V systems.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI²C Interface:\u003c\/strong\u003e Simple two-wire communication for seamless integration with Arduino, Raspberry Pi, and other popular development platforms.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSMD Package:\u003c\/strong\u003e Compact surface-mount design keeps your build tidy and lightweight.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWide Operating Temperature:\u003c\/strong\u003e Rated from -40°C to +85°C, suitable for demanding environments.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNo Hazardous Chemicals:\u003c\/strong\u003e RoHS-friendly — no high-concern substances.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReady to Use:\u003c\/strong\u003e Ships brand new in excellent condition, ideal for prototyping and production alike.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSensor IC\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eLSM303DLHC\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eAxes\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3-Axis Accelerometer + 3-Axis Magnetometer\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSupply Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3V – 5V (onboard LDO regulator)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eInterface\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eI²C\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSMD\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e-40°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCondition\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eNew\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOrigin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eMainland China\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eWhat You Can Build\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eDigital E-Compass and heading indicator\u003c\/li\u003e\n  \u003cli\u003eDrone \/ UAV attitude sensing\u003c\/li\u003e\n  \u003cli\u003eRobot orientation and navigation\u003c\/li\u003e\n  \u003cli\u003eTilt sensing and gesture recognition\u003c\/li\u003e\n  \u003cli\u003eIoT motion-tracking devices\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eExplore More Electronics \u0026amp; Tools\u003c\/h3\u003e\n\u003cp\u003eLooking for other useful electronics and DIY tools? Check out these related products from our store:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/electromagnetic-induction-tester-coil-motherboard-fault-detector\"\u003eElectromagnetic Induction Tester – Coil \u0026amp; Circuit Fault Detector\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/air-compressor-pressure-gauge-0-10-0-12-0-25-bar-hydraulic-diy\"\u003eAir Compressor Pressure Gauge 0-10\/0-12\/0-25 Bar | DIY Tool\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eLearn more: \u003ca href=\"https:\/\/www.osha.gov\/hand-power-tools\" target=\"_blank\" rel=\"noopener\"\u003eOSHA guidance on hand and power tools\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003ch4\u003eQ: Is the GY-511 LSM303DLHC module compatible with Arduino?\u003c\/h4\u003e\n\u003cp\u003eA: Yes! The GY-511 LSM303DLHC module communicates via I²C, making it fully compatible with Arduino Uno, Nano, Mega, and most other Arduino boards. Libraries such as Adafruit's LSM303 library make it straightforward to read accelerometer and magnetometer data in your sketches.\u003c\/p\u003e\n\u003ch4\u003eQ: Does this module work with both 3.3V and 5V systems?\u003c\/h4\u003e\n\u003cp\u003eA: Absolutely. The GY-511 module includes an onboard low-dropout (LDO) voltage regulator, allowing it to accept supply voltages from 3V to 5V. This makes it compatible with 3.3V platforms like ESP8266 and ESP32 as well as standard 5V Arduino boards.\u003c\/p\u003e\n\u003ch4\u003eQ: What is the difference between the accelerometer and magnetometer on this module?\u003c\/h4\u003e\n\u003cp\u003eA: The 3-axis accelerometer measures linear acceleration and tilt (gravity vector), while the 3-axis magnetometer measures the surrounding magnetic field — including Earth's magnetic field for compass heading. Together, they enable full orientation tracking and an electronic compass (e-compass) in your project.\u003c\/p\u003e\n\u003ch4\u003eQ: How do I connect the GY-511 module to my microcontroller?\u003c\/h4\u003e\n\u003cp\u003eA: Simply connect VCC to your 3.3V or 5V power pin, GND to ground, SDA to your microcontroller's I²C data line, and SCL to the I²C clock line. No additional components are required for basic operation.\u003c\/p\u003e\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Is the GY-511 LSM303DLHC module compatible with Arduino?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes! The GY-511 LSM303DLHC module communicates via I²C, making it fully compatible with Arduino Uno, Nano, Mega, and most other Arduino boards. Libraries such as Adafruit's LSM303 library make it straightforward to read accelerometer and magnetometer data in your sketches.\"}}, {\"@type\": \"Question\", \"name\": \"Does this module work with both 3.3V and 5V systems?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Absolutely. The GY-511 module includes an onboard low-dropout (LDO) voltage regulator, allowing it to accept supply voltages from 3V to 5V. This makes it compatible with 3.3V platforms like ESP8266 and ESP32 as well as standard 5V Arduino boards.\"}}, {\"@type\": \"Question\", \"name\": \"What is the difference between the accelerometer and magnetometer on this module?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The 3-axis accelerometer measures linear acceleration and tilt (gravity vector), while the 3-axis magnetometer measures the surrounding magnetic field — including Earth's magnetic field for compass heading. Together, they enable full orientation tracking and an electronic compass (e-compass) in your project.\"}}, {\"@type\": \"Question\", \"name\": \"How do I connect the GY-511 module to my microcontroller?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Simply connect VCC to your 3.3V or 5V power pin, GND to ground, SDA to your microcontroller's I²C data line, and SCL to the I²C clock line. No additional components are required for basic operation.\"}}]}\u003c\/script\u003e\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"BreadcrumbList\", \"itemListElement\": [{\"@type\": \"ListItem\", \"position\": 1, \"name\": \"Home\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Home page\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/collections\/frontpage\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"GY-511 LSM303DLHC 3-Axis Accelerometer \u0026 Magnetometer for Arduino\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/products\/gy-511-lsm303dlhc-e-compass-3-axis-accelerometer-magnetometer-arduino\"}]}\u003c\/script\u003e","brand":"Axl","offers":[{"title":"Default Title","offer_id":44166526533719,"sku":"\u003cnone\u003e","price":14.81,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/6008\/7383\/files\/Sbbd487336d6b402aab98535c3816b51aw.webp?v=1786740014","url":"https:\/\/axlcustomersupport.com\/products\/gy-511-lsm303dlhc-e-compass-3-axis-accelerometer-magnetometer-arduino","provider":"Axl","version":"1.0","type":"link"}