Digital Compass - HMC6352
(Redirected from Compass Module - HMC6352)

From bildr

Jump to: navigation, search

HMC6352 A.jpg

This is a very simple breakout board for the popular HMC6352. Remember the KISS mantra? We really enjoy the simplicity and ease of use with the HMC6352. If you need simple, clean, degree resolution compass heading, this is the way to go.


  • Simple I2C interface
  • 2.7 to 5.2V supply range
  • 1 to 20Hz selectable update rate
  • True drop-in solution
  • 0.5 degree heading resolution
  • 1 degree repeatability
  • Supply current : 1mA @ 3V

The HMC6352 uses a 2-wire(TWI) I2C serial connection for communication. (See the I2C article for I2C pins on specific microcontrollers.)

  • SCL – the serial clock
  • SDA – the serial data line


Hooking it up

Pin No. Pin Name Pin Function

  1  *      OF-       Offset Strap Negative              
  2  *      SR+       Set/Reset Strap Positive           
  3  *      NC        No Connection                      
  4  *      NC        No Connection                      
  5         GND       Ground                             
  6         NC        No Connection                      
  7         SDI       I2C Data Output (SPI Data In)      
  8  *      SDO       SPI Data Out                       
  9  *      PGM       Program Enable                     
 10         SCL       I2C Clock (SPI Clock)              
 11  *      SS        Slave Select                       
 12         NC        No Connection                      
 13         NC        No Connection
 14         VDD       Positive Input (+2.7VDC to +5.0VDC)
 15         NC        No Connection
 16         NC        No Connection
 17         NC        No Connection
 18         NC        No Connection
 19         CB2       Amplifier B Filter Capacitor Conn
 20         CB1       Amplifier B Filter Capacitor Conn
 21         NC        No Connection
 22         CA2       Amplifier A Filter Capacitor Conn
 23         CA1       Amplifier A Filter Capacitor Conn
 24  *      OF+       Offset Strap Positive

Note :- * = No User Connection

HMC6352 B.jpg


This page is a Component on bildr. Components are pages about specific parts, and include connection details and code when available.

NOTE: All information contained within this article is pure opinion. Although this article is intended to help people, it may contain faulty or misleading information. This article is not to be considered professional opinion or advice, and is in no way a replacement for reading all safety/instructional documentation. Always remember to protect yourself when handling/using hazardous materials, as well as test new techniques before using them on projects/work intended to be handed in or used.

bildr and its contributers take NO responsibility for the information contained within.