Search the Community

Showing results for tags 'compass'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 2 results

  1. Hello, I am using the digilent CMPS2 module which uses the Memsic MMC34160PJ magnetometer. In the datasheet of chip CMPS2 there is a formula with actan(x/y)*180/pi. Is it right to use for x and y only the LSB (8 bits) multiplied with the number 0,48.... as shown in the datasheet in point 1? It‘s clear that I only get values between 0 and 90 degrees because the sensor delivers only unsigned values. When I use atan2 I get values between 0 and 180 degrees. I know it would be easier if I had signed data. But unfortunately the sensor delivers only unsigned values. How is such a conversion form of unsigned magnometer data 0 to 360 degrees possible?
  2. varun332

    Pmod CMPS2

    Hi, I am working with the Pmod CMPS2 and an Arduino Uno to get an accurate reading of the direction a user is facing for a personal project. I am having trouble writing the code since the code on the website on Reference Materials is giving me a lot of errors. Is there any other code I can try?