Skip to main content
Home / Sensors / Risym HMC5883 QMC5883P Electronic Compass Module Three-Axis Magnetic Field Sensor

Attributes

Brand -
Category Robotics / STEM Teaching Tools / Sensors
Origin -
Model Number HMC5883L / QMC5883P
Operating Voltage 3.0V - 5.0V DC
Communication Interface I2C (Inter-Integrated Circuit)
Measurement Axes Three-Axis (X, Y, Z)
Magnetic Range ±8 Gauss (Default)
Data Output Rate 0.75 Hz to 75 Hz
Operating Temperature -40°C to +85°C
PCB Dimensions 14mm x 18mm x 2mm
Weight 2.5 grams
Application Compatibility Arduino, Raspberry Pi, STM32

6 reviews

A

Anonymous

Mar 23, 2026

Rating: 5/5

Fast shipping and great performance

Arrived quickly and was well-packaged. The breakout board is compact and fits easily into tight enclosures. Reading consistency is impressive for the price point.

A

Anonymous

Mar 16, 2026

Rating: 5/5

Reliable compass module

I've tested both the HMC5883L and QMC5883P versions from this batch. Both respond well to the same code library. Great for robotics projects requiring orientation.

A

Anonymous

Mar 11, 2026

Rating: 4/5

Good value, needs careful wiring

The sensor itself is accurate, but make sure you use pull-up resistors on the I2C lines if your board doesn't have them built-in. Once wired correctly, it performed exactly as expected.

A

Anonymous

Mar 09, 2026

Rating: 4/5

Great for learning embedded systems

Used this for a university project on navigation systems. The documentation online is plentiful, making it easy to get started. Slightly sensitive to nearby metal, but that's physics, not a defect.

A

Anonymous

Mar 05, 2026

Rating: 5/5

Solid replacement part

Bought this to replace a faulty sensor in an old weather station project. It plugged right in and the data output format matched the original perfectly. Highly recommended.

A

Anonymous

Mar 05, 2026

Rating: 5/5

Perfect for DIY Drones

This module works flawlessly with my Arduino flight controller. The calibration was straightforward using standard libraries, and the heading data is stable even near small motors.

5 FAQ

Q: Is this module compatible with 5V Arduino boards without a logic level converter?

A: Yes, the module includes a voltage regulator and can operate directly with 5V logic levels, making it safe for use with standard Arduino Uno or Mega boards.

Q: What library do you recommend for reading data from this sensor?

A: For Arduino IDE, the 'HMC5883L' library by Electrónica Lab or the generic 'Adafruit HMC5883 Unified' library works perfectly for both HMC5883L and QMC5883P chips.

Q: Does this come with mounting holes?

A: Yes, the PCB features four 2.5mm mounting holes at the corners, allowing you to securely screw the module into your project enclosure or frame.

Q: How do I calibrate the sensor to avoid hard iron distortion?

A: Calibration typically involves rotating the sensor in all directions while running a calibration sketch that records min/max values for each axis. Many example sketches included in popular libraries handle this automatically.

Q: Can I use multiple of these sensors on the same I2C bus?

A: No, this specific breakout board has a fixed I2C address and does not feature an address selection pin. To use multiple units, you would need an I2C multiplexer.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Youzhao Pai Creative Retro 3D Embossed House Number Plate – Custom Door Signs for Villas, Commercial Spaces, and Homes

Youzhao Pai Creative Retro 3D Embossed House Number Plate – Custom Door Signs for Villas, Commercial Spaces, and Homes

$200.00

Tianzheng DZ15LE-100/3N901T 100A Transparent Leakage Circuit Breaker, Molded Case Circuit Breaker 3901T 63A

Tianzheng DZ15LE-100/3N901T 100A Transparent Leakage Circuit Breaker, Molded Case Circuit Breaker 3901T 63A

$278.00

[Daimai Holds Micro-Needle Hair Transplant Patent] Little Red Cap Hydro Glow | Scalp Hydration and Repair

[Daimai Holds Micro-Needle Hair Transplant Patent] Little Red Cap Hydro Glow | Scalp Hydration and Repair

$880.00

Pelican Rolling Case pelican1560 - Waterproof Shockproof Safety Case for Photography Equipment and Instruments

Pelican Rolling Case pelican1560 - Waterproof Shockproof Safety Case for Photography Equipment and Instruments

$1,550.00

Disipulai Hot Air Circulation Vertical Food Warmer Display Cabinet - Adjustable Temperature Countertop Cooked Food Warming Equipment

Disipulai Hot Air Circulation Vertical Food Warmer Display Cabinet - Adjustable Temperature Countertop Cooked Food Warming Equipment

$2,023.00

Complete Pasteurization Production Line for Pomegranate, Grape, Orange, Apple Juice, and Mare's Milk

Complete Pasteurization Production Line for Pomegranate, Grape, Orange, Apple Juice, and Mare's Milk

$6,048.00

Portable Tire Stone Removal Tool - Essential Handheld Hook for Car Owners

Portable Tire Stone Removal Tool - Essential Handheld Hook for Car Owners

$13.73

Factory Direct Longan 160 Curved Hot Stamping Machine Fully Automatic Hot Foil Printer Pneumatic Heat Press Leather Embossing Machine

Factory Direct Longan 160 Curved Hot Stamping Machine Fully Automatic Hot Foil Printer Pneumatic Heat Press Leather Embossing Machine

$10,000.00

Bean Sprout Germinator Tray, Hydroponic Vegetable Growing Container, Soil-Free Pea Sprouting Pot

Bean Sprout Germinator Tray, Hydroponic Vegetable Growing Container, Soil-Free Pea Sprouting Pot

$14.06

TOPTOY Crayon Shin-chan Memory Echo Series Blind Box - Anime Figure Collectible Toy and Birthday Gift

TOPTOY Crayon Shin-chan Memory Echo Series Blind Box - Anime Figure Collectible Toy and Birthday Gift

$47.20

Natural Lightning Cat's Eye Yellow Tiger Eye Loose Beads, Single Crystal Beads for DIY Bracelets and Accessories

Natural Lightning Cat's Eye Yellow Tiger Eye Loose Beads, Single Crystal Beads for DIY Bracelets and Accessories

$3.91

Pirelli Tire 235/55R19, Original Equipment for Mercedes-Benz GLC, Genuine Tire Compatible with Audi/Land Rover/etc.

Pirelli Tire 235/55R19, Original Equipment for Mercedes-Benz GLC, Genuine Tire Compatible with Audi/Land Rover/etc.

$512.00

Biliansheng Hair Transplant: No-Shave Hairline Restoration, Top Thinning Density Enhancement, Nationwide Chain

Biliansheng Hair Transplant: No-Shave Hairline Restoration, Top Thinning Density Enhancement, Nationwide Chain

$9,999.00

Luru Authentic 15-Note Steel Tongue Drum - Professional Grade for Beginners, Adults, and Children

Luru Authentic 15-Note Steel Tongue Drum - Professional Grade for Beginners, Adults, and Children

$500.00

MOOCAT [Postage Stamp Stub] Hand-Drawn Blank Irregular Wood Pulp Fine-Texture Paper for Cyanotype, OC Signing, and Collage

MOOCAT [Postage Stamp Stub] Hand-Drawn Blank Irregular Wood Pulp Fine-Texture Paper for Cyanotype, OC Signing, and Collage

$9.90

Used Car Tires - Sizes 155/165/175/185/195/205/215 for 13/14/15/16 inch Rims

Used Car Tires - Sizes 155/165/175/185/195/205/215 for 13/14/15/16 inch Rims

$140.00

Pin Puller Extractor Mechanical Repair Tool Bearing Puller and Locating Pin Extractor

Pin Puller Extractor Mechanical Repair Tool Bearing Puller and Locating Pin Extractor

$76.50

Water Brush Pen Set with Large Capacity - Essential Tools for Beginners Using Gouache, Solid Watercolor Paints, and Line Drawing; Perfect for Art Students

Water Brush Pen Set with Large Capacity - Essential Tools for Beginners Using Gouache, Solid Watercolor Paints, and Line Drawing; Perfect for Art Students

$32.00

C9335 Automotive Brake Disc Lathe – Resurfacing, Boring, Grinding & Polishing Machine

C9335 Automotive Brake Disc Lathe – Resurfacing, Boring, Grinding & Polishing Machine

$16,005.00

Jaguar Tire Lug Nuts Compatible with XE/XF/XJL/F-TYPE/F-PACE - Wheel Hub Screw Caps for Modification

Jaguar Tire Lug Nuts Compatible with XE/XF/XJL/F-TYPE/F-PACE - Wheel Hub Screw Caps for Modification

$118.00

Three-Hook Tire Stone Removal Tool, Wheel Groove Cleaner for Removing Stones from Vehicle Tires

Three-Hook Tire Stone Removal Tool, Wheel Groove Cleaner for Removing Stones from Vehicle Tires

$4.80

Pad Printer Accessories: 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Assembly

Pad Printer Accessories: 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Assembly

$5.40

3M Industrial Scouring Pad 7447C, Metal Rust Removal, Stainless Steel Brushing and Polishing Cloth

3M Industrial Scouring Pad 7447C, Metal Rust Removal, Stainless Steel Brushing and Polishing Cloth

$4.00

Qinghe Blazing Rose Series

Qinghe Blazing Rose Series

$1,580.00

Cheddar Cheese Production Line, Front-End Processing and Deep Processing Machinery, Mozzarella Cheese Equipment

Cheddar Cheese Production Line, Front-End Processing and Deep Processing Machinery, Mozzarella Cheese Equipment

$25,480.00

MGQ Konjac Noodle Bubble Cleaning Machine, Fully Automatic Soaking and Lifting Washer

MGQ Konjac Noodle Bubble Cleaning Machine, Fully Automatic Soaking and Lifting Washer

$17,555.40

Industrial Large Meat Grinder Fresh Meat Mince Chopper Fruit Vegetable Crusher Meat Grinding and Mixing Integrated Meat Filling Mixer

Industrial Large Meat Grinder Fresh Meat Mince Chopper Fruit Vegetable Crusher Meat Grinding and Mixing Integrated Meat Filling Mixer

$32,030.00

Zhuolide D-302 UV Glue - Invisible Adhesive for Transparent Glass, Metal, Coffee Tables, and Crystal Glass, 250g Large Capacity

Zhuolide D-302 UV Glue - Invisible Adhesive for Transparent Glass, Metal, Coffee Tables, and Crystal Glass, 250g Large Capacity

$130.00

Hell Training Rock Guitar by Shinichi Kobayashi: Electric Guitar Tutorial for Speed Playing

Hell Training Rock Guitar by Shinichi Kobayashi: Electric Guitar Tutorial for Speed Playing

$106.00

[Buy One Get One Free] Natural Agarwood, Sandalwood, and Cypress Incense Powder Set with Electric Burner

[Buy One Get One Free] Natural Agarwood, Sandalwood, and Cypress Incense Powder Set with Electric Burner

$8.42