Coder Social home page Coder Social logo

fireinstallations / arduino_magnetometer-hmc5883 Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 69 KB

Smart Arduino-sketch to measure Earth's magnetic field

License: GNU Affero General Public License v3.0

C++ 100.00%
arduino magnet c magnetometer magnetism magneticnorth arduino-sketch ready-to-use

arduino_magnetometer-hmc5883's Introduction

Arduino_Magnetometer

Just Download it, compile it (with ArduIno IDE) and use it with HMC5883 Magnetic detector!

From the magnetometer definite values are known only. One can direct an axis of the HMC5883 parallel or antiparallel to the earth magnetic field and so use it for calibration. The earth magnetic field in Berlin has a strength of 0.5 G. The ideal behavior of the HMC, that it has a sensitivity of 0.00435 G/count. So we attain 115 counts in the maximum. The gauging procedure of the sensor, determines these positive and negative maxima and interpolates in between by a certain formula, which is derived in the following.

The readings, this means the originally detected counts, are rx and the settings, the scaled (gauged) values, are sx. rxp is the positive maximum, which means the value for the x axis parallel to the magnetic earth field B, and rxm is the negative value for directing the x axis antiparallel to B.

My image Figure: The relationship between read counts rx and calibrated counts sx. The blue dots show the real read counts for the calibration condition (parallel or antiparallel to B). The red line is the calibration line.

arduino_magnetometer-hmc5883's People

Contributors

fireinstall avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.