CMPS03 Magnetic Compass. Voltage Р5v only required. Current Р20mA Typ. Resolution РDegree. Accuracy Рdegrees approx. after calibration. Output 1. Library; Reference. The CMPS03 is a digital compass with an I2C interface. Reference¶. CMPS03 Datasheet. CMPS03 Robot Compass Module This compass module has been specifically designed for use in robots as an aid to navigation. The aim was to produce a.

Author: Voodoorg Maucage
Country: Canada
Language: English (Spanish)
Genre: Art
Published (Last): 27 December 2008
Pages: 457
PDF File Size: 10.24 Mb
ePub File Size: 1.22 Mb
ISBN: 936-5-60444-876-8
Downloads: 89334
Price: Free* [*Free Regsitration Required]
Uploader: Vull

As you can see, I’m pretty newbie on I2C I’ve tried reading the compass using the PWM signal that it generates by using timers, but at 4MHz, I cannot get a timing precise enough.

Mon Sep 05, 3: Also, after reading a couple of other posts involving problems using I2C, I’ve just made a note to myself to check the following: My guess is that the baud rate is mismatched. Page 1 of 1. For this second test, the manufacturer dagasheet pulling sda and scl lines using a 1.

I2C can be very frustrating.

I need help!!! How to read from CMPS03 with HC12 thru i2c

You’ll be notified when we have some answers. I didn’t have a 1.

You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in datazheet forum You cannot post attachments in this forum.


I thought it would take me one or two days to set up the compass, but it’s taking more than two weeks already Now this is what’s happening: Wed Sep 07, Perfect for engineers in the field and in the lab. We will have to check this. I was hoping that somehow I was making something stupid and you would tell me to change one line of code and voila Cmsp03 I’m loosing something here.

Fri Sep 09, 5: Previous topic Next topic. The Beagle analzyer provides a high performance monitoring solution in a small, portable package. I’ve suggested that mE could produce a software product used in conjunction with the easyPIC to do this.

Additionally, the values I read are noisy, meaning that from 10 values I read, 5 or 6 of them have nothing to do with the real compass orientation.

Let’s say the target frequency is kHz 10uS.

Index of /ict/autina/progetto/doc/bussola_CMPS03/altra_doc

You just need to make sure both devices can handle the baudrate, which is always set by the master. Second test was to write code to interface with the unit via I2C.

Wed Apr 21, 6: Fri Sep 09, 8: Then I looked at my code and it was really 50KHz from a test I did the other day. Datasheeg got that yesterday Here’s my code sorry the lenght, it is mainly due to debug leds Code: Is that the normal thing to do?


cmps03 – robot compass module cmps03 – Stock and Price by Distributor

It would be nice if someone made a hardware protocol analyzer for I2C in particular, but all serial protocols in general. This board has two outputs: Google [Bot] and 2 guests. I assume you are having problems with protocol that the sensors require. There is too much material to include it all here, but I can dmps03 it as email attachments. Thanks for the help!

I’ve set the pullups with the suggested resistance values 1. I2C has been proven to be working in many cases if you doubt the library Sun Sep 04, 4: I tried initializing only once and sampling many times, but that didn’t work.

I checked the ASM your code produces and there in nothing wrong with it. I cmpw03 measuring the signal duration on the oscope and it was giving me a frequency of 50KHz Users browsing this forum: Sun Jul 10, 1: Do you smell a bug here?