Grove – 3-Axis Digital Compass 三軸電子羅盤 感測器 seeed原廠

-36%

Grove – 3-Axis Digital Compass 三軸電子羅盤 感測器 seeed原廠

NT$600 NT$386 未稅

尚有庫存

  • 商品說明
  • 原廠資料
  • 技術文件
  • 評論 (0)

商品說明

Grove – 3-Axis Compass  三軸電子羅盤感測器

這是一款高性能的 三軸電子羅盤 感測器 。模塊基於磁場感應晶片HMC5883L,可提供高達1°〜2°的航向精度。HMC5883L包含高解析度的HMC118X系列磁場傳感器,及Honeywell公司開發的專用放大器,具有自動消除功能,另外採用了12位高精度模數轉換器作為數據採集。採用I2C介面進行通信,可以方便的連接到Arduino的I2C口,為你的Arduino提供完美的磁場檢測解決方案。支援 Arduino 與 數莓派 Raspberry Pi 與支援 GrovePI+ 模組

Grove - 3-Axis Digital Compass

特徵

  • Grove兼容接口
  • 3軸磁阻型傳感器
  • I² C串口
  • 1度; 到2° 度標題準確性
  • 最高116 Hz最大輸出速率
  • 內置自檢

 

規格參數

  • 輸入電壓:3.3V,5V
  • 睡眠模式下功耗:2.5uA
  • 測量模式下功耗:640uA
  • 高分辨率
  • I2C接口
  • 最大116Hz輸出頻率
  • 高航向精度

 

 

Grove - 3-Axis Compass 三軸電子羅盤

 

  • 測量三軸的地球磁場強度,具有1~2度的精確度Measures the earth’s magnetic field in three axes, with a 1–2 degree accuracy
  • 提供三軸個別的磁場強度值,可以作為3D的計算
  • 可測量地球磁場在X,Y,Z三軸方向的原始高斯強度(gauss),並可作為測量地球的磁場北極方向

出貨清單

  • Grove – 3-Axis Digital Compass x1
  • Grove連接線 x1

 

Documents

 

 

=========================================================

 

Grove – 3-Axis Digital Compass

3-Axis Compass module, a member of grove family uses I²C based Honeywell HMC5883L digital compass. This ASIC is equipped with high resolution HMC118X magneto-resistive sensors and a 12-bit ADC. It provides compass heading accuracy up to 1° to 2°. Signal conditioning like amplification, automatic degaussing strap drivers and offset cancellation are inbuilt. This grove module also includes a MIC5205-3.3 for power supply requirement. Hence user can connect any 3.3V to 6V DC power supply.

Features

  • Grove compatible interface
  • 3-Axis Magneto-resistive type sensors
  • I²C serial interface
  • 1° to 2° Degree heading accuracy
  • Up to 116 Hz Maximum output rate
  • Built-In self test

 

Specifications

  • Input Voltage: 3.3V, 5V
  • Sleep Mode Current: 2.5uA
  • Measurement Mode Current: 640uA
  • High resolution
  • Easy to control I2C interface
  • Compatible with either 3.3V or 5.0V development platform
  • Max 116Hz output rate
  • High heading accuracy

 

Introduction

This 3-axis digital compass features a low field magnetic sensing multi-chip module HMC5883L, which provides up to 1° to 2° heading accuracy. HMC5883L consists of high-resolution HMC118X series magneto-resistive sensors, as well as Honeywell developed ASIC containing amplification, automatic degaussing strap drivers, offset cancellation and 12 bit ADC. With peripheral power management circuit added, this is an easy to use and reliable compass module for low cost compassing and magnetometry.

Specifications

  • Input Voltage: 3.3V, 5V
  • Sleep Mode Current: 2.5uA
  • Measurement Mode Current: 640uA
  • High resolution
  • Easy to control I2C interface
  • Compatible with either 3.3V or 5.0V development platform
  • Max 116Hz output rate
  • High heading accuracy

Demonstration

With Arduino

This demo is going to show you how to read raw data, how to calibrate the data with your local magnetic declination angle and how to get heading angle.

First off, before any action you are going to take, you need to prepare a parameter you are going to use in your demo. That’s your local magnetic declination.

You can find it out in degree via the magnetic declination webpage. For example, mine is -2°37’, which is -2.617 degree.

Then transfer it from degree to radians, and there you get the “declinationAngle”. For example, in my case, declinationAngle = -2.617 * π / 180 = -0.0456752665 rad. Three significant figures are enough. So I would shorten it into -0.0456 rad. And this is the parameter you are going to replace the value of “declinationAngle” in the domo code with.

Now let’s start to run your compass.

1. Plug the 3-axis compass into the I2C port of Grove – Base Shield.

2. Download the library file: Digital Compass Library. Unzip it into the libraries file of Arduino IDE by the path: ..\arduino-1.0.1\libraries.

3. Open the demo by the path:File -> Example ->Digital Compass ->HMC5883L_Example.

Digital Compass1.jpg

4. Replace the value of variable “declinitionAngle” with the one you’ve figured out already.

5. Upload the Code. Please click here if you do not know how to upload.

6. Check the output result by opening the serial monitor.

Digital Compass2.jpg

With Raspberry Pi

1.You should have got a raspberry pi and a grovepi or grovepi+.

2.You should have completed configuring the development enviroment, otherwise follow here.

3.Connection

  • Plug the sensor to grovepi socket i2c-x(1~3) by using a grove cable.

4.Navigate to the demos’ directory:

   cd yourpath/GrovePi/Software/Python/
  • To see the code
   nano grove_compass_lib.py       
   nano grove_compass_example.py    
import grove_compass_lib
c=grove_compass_lib.compass()
while True:
        print "X:",c.x,"Y:",c.y,"X:",c.z,"Heading:",c.headingDegrees
        c.update()
        time.sleep(.1)

5.Run the demo.

   sudo python grove_compass_example.py

Resources

Download File Not available

商品評論

目前沒有評論。


只有註冊並且購買過商品的顧客才能撰寫評論

建議您請使用FireFox火狐瀏覽器來下單結帳會比較順暢!!! 忽略