Skip to main content
Home / Computer Hardware, Monitors & Peripherals / GY-511 LSM303DLHC 3-Axis Electronic Compass with Accelerometer and Angle Sensor Module

Attributes

Brand -
Category Electronic Components / Maker DIY / Computer Hardware, Monitors & Peripherals
Origin -
Chip Model LSM303DLHC
Operating Voltage 3.3V - 5V DC
Communication Interface I2C / TWI
Accelerometer Axes 3-Axis (X, Y, Z)
Magnetometer Axes 3-Axis (X, Y, Z)
PCB Dimensions 23mm x 15mm
Module Weight 3 grams
Operating Temperature -40°C to +85°C
Accelerometer Range ±2/±4/±8/±16 g
Package Includes 1 x GY-511 Module

5 reviews

A

Anonymous

Mar 28, 2026

Rating: 4/5

Solid compass module

Compass heading is accurate after calibration. Accelerometer is a nice bonus feature.

A

Anonymous

Feb 25, 2026

Rating: 4/5

Good sensor, slight noise

Accuracy is decent for the price. Noticed some magnetic interference near motors but shielding helped.

A

Anonymous

Feb 15, 2026

Rating: 5/5

Perfect for Arduino

Works flawlessly with my Arduino Uno. Calibration was straightforward using existing libraries.

A

Anonymous

Feb 07, 2026

Rating: 5/5

Great for learning

Used this for a university project on orientation tracking. Documentation online is plentiful.

A

Anonymous

Feb 02, 2026

Rating: 5/5

Compact and Reliable

Small form factor fits well in my drone project. I2C communication is stable.

5 FAQ

Q: Can I use this outdoors?

A: Yes, but ensure the module is protected from moisture and direct water exposure.

Q: Which library do you recommend?

A: We recommend the Adafruit LSM303 library for easy integration.

Q: Is this 5V tolerant?

A: Yes, the module includes a voltage regulator, safe for 5V logic.

Q: What is the default I2C address?

A: The accelerometer is 0x19 and magnetometer is 0x1E typically.

Q: Does it need calibration?

A: Yes, magnetometers require calibration for accurate heading data.

Explore your interests

All Categories
Best Seller (30)
New List (30)
Sheepskin Rattle with Brass Bells - Handmade Wooden Peach Wood Baby Toy for Chewing, Perfect for Children's Day

Sheepskin Rattle with Brass Bells - Handmade Wooden Peach Wood Baby Toy for Chewing, Perfect for Children's Day

$10.80

Commercial Square Insulated Warmer Cabinet with Constant Temperature Heating, Countertop Display Case for Roast Duck, Chicken, Fried Chicken, Smoked Goose, and BBQ Meat

Commercial Square Insulated Warmer Cabinet with Constant Temperature Heating, Countertop Display Case for Roast Duck, Chicken, Fried Chicken, Smoked Goose, and BBQ Meat

$338.00

PISEN Desktop Cable Organizer - Magnetic Data Cord Manager, Soft Silicone Fixed Wire Winder with Adhesive Clips, Mini Portable Hub

PISEN Desktop Cable Organizer - Magnetic Data Cord Manager, Soft Silicone Fixed Wire Winder with Adhesive Clips, Mini Portable Hub

$10.10

Handcrafted Peach Wood and Sheepskin Rattle with Brass Jingle Stick – Traditional Chewable Wooden Baby Toy

Handcrafted Peach Wood and Sheepskin Rattle with Brass Jingle Stick – Traditional Chewable Wooden Baby Toy

$74.00

DC Drive DCS550-S02-0050-05-00-00

DC Drive DCS550-S02-0050-05-00-00

$10,838.20

Waterproof Storage Bag for Clothes and Bathroom Use, Large-Capacity Drawstring Organizer for Men and Women, Outdoor Travel and Toiletry Pack

Waterproof Storage Bag for Clothes and Bathroom Use, Large-Capacity Drawstring Organizer for Men and Women, Outdoor Travel and Toiletry Pack

$39.90

Steel Speed Bump with Rubber Surface for Cars and Railways

Steel Speed Bump with Rubber Surface for Cars and Railways

$3,668.00

Huaboshi Thickened Resin Vegetable Planter Box – Rectangular Plastic Balcony Grow Container with Drainage Tray

Huaboshi Thickened Resin Vegetable Planter Box – Rectangular Plastic Balcony Grow Container with Drainage Tray

$45.99

New Data Cable Storage Bag Travel Digital Charger Cord Organizer Protective Visible Multi-Use Portable Case

New Data Cable Storage Bag Travel Digital Charger Cord Organizer Protective Visible Multi-Use Portable Case

$1.64

Press Wash Blade for KBA Printing Presses - Model KBA105 Ink Scraper, 1160*40mm

Press Wash Blade for KBA Printing Presses - Model KBA105 Ink Scraper, 1160*40mm

$40.50

Genuine Pirelli Run-Flat Car Tire P7 225 245 275 285/35 40 45 R18 19 20 21

Genuine Pirelli Run-Flat Car Tire P7 225 245 275 285/35 40 45 R18 19 20 21

$336.00

Chuangshidai 100XP Compact Desktop Fume Extractor for Soldering Irons - Rapid Smoke Purification

Chuangshidai 100XP Compact Desktop Fume Extractor for Soldering Irons - Rapid Smoke Purification

$696.00

Multi-Function Kitchen Sink Rack - Dish Drying Organizer for Bowls and Plates

Multi-Function Kitchen Sink Rack - Dish Drying Organizer for Bowls and Plates

$33.10

Water Brush Kids Water Painting Book Graffiti Special Pen Water Sketchbook Eco-Friendly Safe Tap Water Refillable Pen Set

Water Brush Kids Water Painting Book Graffiti Special Pen Water Sketchbook Eco-Friendly Safe Tap Water Refillable Pen Set

$2.16

No-Drill Over-Toilet Storage Rack for Bathroom Restroom Organizer

No-Drill Over-Toilet Storage Rack for Bathroom Restroom Organizer

$8.90

Jingdezhen Blue and White Porcelain Antique Brush Washer, Traditional Chinese Painting Calligraphy Brush Rinse Basin, Large and Small Water Pots

Jingdezhen Blue and White Porcelain Antique Brush Washer, Traditional Chinese Painting Calligraphy Brush Rinse Basin, Large and Small Water Pots

$16.90

Sketch Blending Stump Set for Art Students - Highlight Detail Shadow Tool Kit with Replacement Sponge Heads for Beginners

Sketch Blending Stump Set for Art Students - Highlight Detail Shadow Tool Kit with Replacement Sponge Heads for Beginners

$9.00

Changyiyou Outdoor Large-Capacity Wheeled Duffel Bag - Thickened Storage Backpack with Wheels for Camping Gear and Travel

Changyiyou Outdoor Large-Capacity Wheeled Duffel Bag - Thickened Storage Backpack with Wheels for Camping Gear and Travel

$109.00

Lightweight Waterproof Dry Bag for River Trekking and Rafting – Travel Storage for Clothes, Shoes, Socks with Moisture-Proof Buckle, Roll-Top Carry Design

Lightweight Waterproof Dry Bag for River Trekking and Rafting – Travel Storage for Clothes, Shoes, Socks with Moisture-Proof Buckle, Roll-Top Carry Design

$15.80

Tupai 3D Self-Adhesive Wall Stickers, Custom Acrylic Logo Advertising Letters for Signage, Background Walls, and Image Wall Decor

Tupai 3D Self-Adhesive Wall Stickers, Custom Acrylic Logo Advertising Letters for Signage, Background Walls, and Image Wall Decor

$8.50

Durable Replacement DEUBLIN 525/357 Water Inlet/Outlet Rotary Union for Curved Surface Printing and Cup Printing Machines

Durable Replacement DEUBLIN 525/357 Water Inlet/Outlet Rotary Union for Curved Surface Printing and Cup Printing Machines

$300.00

Detachable Large Water Barrel Rack for Mineral and Purified Water, Office Bottled Water Storage Stand with Wheels

Detachable Large Water Barrel Rack for Mineral and Purified Water, Office Bottled Water Storage Stand with Wheels

$136.00

Tea Packaging Gift Box - Empty Ceramic Tea Canister for Longjing, Green Tea, White Tea, Ripe Pu'er, Universal Packaging

Tea Packaging Gift Box - Empty Ceramic Tea Canister for Longjing, Green Tea, White Tea, Ripe Pu'er, Universal Packaging

$68.00

Ruke Floating Skimmer Machine for Sewage Treatment Plant Biochemical Tanks

Ruke Floating Skimmer Machine for Sewage Treatment Plant Biochemical Tanks

$12,064.00

Car Tire Stone Removal Tool Rock Picker Anti-Explosion Hook Stone Cleaner Car Hook Window Breaker Hammer

Car Tire Stone Removal Tool Rock Picker Anti-Explosion Hook Stone Cleaner Car Hook Window Breaker Hammer

$2.07

Negotiable Price: Siemens 10mA Leakage Circuit Breaker, 2P 16A Ground Fault Protection

Negotiable Price: Siemens 10mA Leakage Circuit Breaker, 2P 16A Ground Fault Protection

$130.00

Jingdezhen Ceramic Brush Washer Set, Blue and White Porcelain Calligraphy Ink Well and Pen Holder

Jingdezhen Ceramic Brush Washer Set, Blue and White Porcelain Calligraphy Ink Well and Pen Holder

$14.99

Beishanlang Outdoor Camping Foldable Lighting Stand Aluminum Alloy Portable Lamp Pole Bracket Camp Light Night Fishing Light

Beishanlang Outdoor Camping Foldable Lighting Stand Aluminum Alloy Portable Lamp Pole Bracket Camp Light Night Fishing Light

$49.00

Mobile Gas Cylinder Stand with Wheels - Plastic Base Tray for Propane Tanks and Water Buckets

Mobile Gas Cylinder Stand with Wheels - Plastic Base Tray for Propane Tanks and Water Buckets

$10.65

Fast Grocery Shopping Cart, Foldable Portable Home Trolley with Stair-Climbing Wheels, Lightweight Hand Truck for Seniors

Fast Grocery Shopping Cart, Foldable Portable Home Trolley with Stair-Climbing Wheels, Lightweight Hand Truck for Seniors

$299.06