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: Vudokree Malagar
Country: Qatar
Language: English (Spanish)
Genre: Art
Published (Last): 19 December 2011
Pages: 452
PDF File Size: 17.8 Mb
ePub File Size: 7.43 Mb
ISBN: 358-3-62665-788-5
Downloads: 83074
Price: Free* [*Free Regsitration Required]
Uploader: Milkis

CMPS03 Datasheet pdf – CMPS03 – Robot Compass Module – etc

I’ve used the example provided in the help and also searched a couple of topics here. This would be a nontrivial task to create the product, but I’m convinved ccmps03 a definate market, because this ends up being so time-consuming. Mcps03 you can see, I’m pretty newbie on I2C Do you smell a bug here? Fri Sep 09, 5: I’ve suggested that mE could produce a software product used in conjunction with the easyPIC to do this.

Thanks for you help!

Arduino – RobotCompassCalibration

I assume you are having problems with protocol that the sensors require. Now this is what’s happening: Then I looked at my code and it was really 50KHz from a test I did the other day. Datashfet would be nice if someone made a hardware protocol analyzer for I2C in particular, but all serial protocols in general.


Also, after reading a couple of other posts involving problems using I2C, I’ve just made a note to myself to check the following: I did it to get experience and understanding of I2C protocol and I will be happy to share this with anyone who is interested.

Clearly I’m loosing something here. Mon Dec 31, 6: Perfect for engineers in the field and cmos03 the lab.

There is too much material to include it all here, but I can send it as email attachments. Fri Sep 09, 8: 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. The datasheet says that the lower 7 bits of SPADD shall be initialized with such a value that when counted every other clock pulse Q2 and Q4it should take exactly the 10uS.

Hi Padu, i had some problems trying to use the standard I2C for my project, i dont have time right now but i’ll look into my and your program and hopefully find something usefull diogenes. I2C can be very frustrating.


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

I checked the ASM your code produces and there in nothing wrong with it. Hey, thanks for checking that.

You just need to make sure both devices can handle the baudrate, which is always set by the master. This board has two outputs: So here’s what happens: One thing that is still unanswered for me and I think it’s piece of cake for you I2C guru guys. Xatasheet my code sorry the lenght, it is mainly due to debug leds Code: Wed Sep 07, My guess is that the baud rate is mismatched.

(PDF) CMPS03 Datasheet download

I think it must be something very simple and I will feel very dumb when I find out, but I couldn’t figure out by myself. Previous topic Next topic. I thought it would take me one or two days to set up the compass, but it’s taking more than two weeks already