Operácie

Acrob030

Z SensorWiki

Verzia z 12:52, 26. február 2011, ktorú vytvoril Balogh (diskusia | príspevky) (Theory behind)

Following text will show You a basic connection and operation of the digital compass module.

Parallax HM55B.jpg

Product page: #29123 Hitachi HM55B Compass Module

Schematic diagram:

Parallax HM55B Schematic.png

Demo program:



Demo software:

Download from here...


Arduino page about HM: http://www.arduino.cc/playground/Main/HM55B



Theory behind

What actually measures magnetic sensor? Yes, the strength of the magnetic field. It is just random coincidence, that current north magnetic pole is near the geographic one. Also, the Earth magnetic field is very unhomogenous. See picture:

http://netdaw.com/wp-content/uploads/2010/10/solar_wind1.jpg

Also beware of the magnetic inclination and declination... More:

You will need Your home coordinations. Determine Your location using Google Maps or GPS.


Tip: how to find lat and lon without the GPS: http://astro.unl.edu/naap/motion1/tc_finding.html