Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696

    Default Re: Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)

    we need the raw readx and ready values when the module is held level and :-

    1 facing magnetic north
    2 south
    3 east
    4 west
    these readings should represent maxima and minima also. if not this setup is not going to work

    if the min- max readings are not the full 4096 range then the existing 360 degree scaling will be way off' and will need to allowed for .

    you may also need to "normalise" the readings in some way to compensate for varying field strengths (or adjust the gain).

    the reading results may need to rotated by a fraction of pi to achieve proper orientation (ie to make 0 equate to north).

  2. #2

    Default Re: Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)

    Are you using one of the break-out boards, GY0281 or GY282? George

  3. #3
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237

    Default Re: Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)

    Hi George

    Yes a GY-271 I Think...
    Last edited by andybarrett1; - 4th January 2015 at 17:30.

  4. #4
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237

    Default Re: Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)

    Hi Richard

    I am seeing what you are suggesting.... My problem is I have no time to really play.

    Plus I non to good at software.... Will check out what you are suggesting ASAP

    BR
    Andy

Similar Threads

  1. HMC5883L Magnetometer chip Possibilities.
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 57
    Last Post: - 3rd February 2015, 16:15
  2. 16f818 from 16f628a
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 08:31
  3. HMC5883L code please
    By trilian in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st August 2014, 17:12
  4. 3 axis digital compass sensor HMC5883L
    By ScaleRobotics in forum General
    Replies: 1
    Last Post: - 8th June 2014, 23:19
  5. Interface for 16f818
    By davekav in forum Serial
    Replies: 4
    Last Post: - 17th April 2008, 12:33

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts